Commit graph

10042 commits

Author SHA1 Message Date
Colin Kuskie
6d4d51c6ee Use placeholder parameters to prevent string interpolation in SQL queries. 2010-06-16 08:55:25 -07:00
Colin Kuskie
7057e92248 Use the Plack::Request object to get the server hostname. 2010-06-16 08:42:15 -07:00
Colin Kuskie
f7e0c9f940 Archived content should be shown in the Account/Contributions screen. Fixes bug #11643. 2010-06-15 14:11:26 -07:00
Colin Kuskie
169fa47cdc Insert mail footers into the first attachment of the email, trying to match its type (text/html). Convert email messages with only 1 part to singlepart, instead of multipart. Fixes bug #11560. 2010-06-15 12:26:02 -07:00
Colin Kuskie
ef419c8b7b There's no need to special case Posts in Account/Contributions. The view method referes you to the Thread, and if a user has multiple posts in a thread, it links to the Thread multiple times. Also, this fixes bug #11622. 2010-06-15 11:08:50 -07:00
Colin Kuskie
fc1e356cfe Fix a bug in the HTMLArea, introduced with the lineageIterator changes. Fixes bug #11629. 2010-06-15 09:36:11 -07:00
Graham Knop
3be3150224 fix file uploading and storage test 2010-06-15 08:22:24 -05:00
Graham Knop
498f15a167 purge asset cache on write 2010-06-15 07:10:06 -05:00
Graham Knop
4bf184009c fix url generation 2010-06-15 07:09:05 -05:00
Graham Knop
d5744acd5b fix FilePump/Bundle test 2010-06-15 07:08:43 -05:00
Graham Knop
392bb0306f fix setting user for request 2010-06-15 05:36:02 -05:00
Graham Knop
c4b309f434 make fixUrl work when lots of recursion is required 2010-06-15 05:33:43 -05:00
Graham Knop
4c7e00b298 fix exporting RssFeed for uncommitted assets 2010-06-15 05:32:10 -05:00
Graham Knop
26efb0e6b0 fix setRow for when only id provided 2010-06-15 03:56:26 -05:00
Colin Kuskie
6c3369d0cb Revert "use temp config file for testing"
This reverts commit 9b725c6d42.
2010-06-14 15:19:54 -07:00
Colin Kuskie
dc62dedf76 Remove bad POD from the Gallery. 2010-06-14 11:30:36 -07:00
Colin Kuskie
d661d97d30 Referring to onesself in the third person is reserved for policitians like Bob Dole. 2010-06-13 19:58:33 -07:00
Colin Kuskie
cb8268f50f Fix POD problem 2010-06-13 17:41:28 -07:00
Graham Knop
0d311117e2 fix session expiry 2010-06-13 06:17:10 -05:00
Graham Knop
cd68b13f61 use better api for form variables 2010-06-13 06:16:49 -05:00
Graham Knop
9c6b4201f7 fix SQL methods 2010-06-13 06:16:32 -05:00
Graham Knop
89d4f46a18 Merge branch 'psgi' into WebGUI8 2010-06-11 23:05:06 -05:00
Graham Knop
e063818e2d some URL fixes and removing some uses of PseudoRequest 2010-06-11 23:01:57 -05:00
Colin Kuskie
dcdd671b2c Fix the pending flag, get a fresh copy of the photo asset under test. 2010-06-11 20:18:48 -07:00
Colin Kuskie
7df0cc51ed Always get a fresh copy of the survey after doing revision control. 2010-06-11 19:11:12 -07:00
Colin Kuskie
9b071c1510 Update the JSON collateral test. Duplicate JSONCollateral into a Role so it can be used with Assets. 2010-06-11 11:51:38 -07:00
Colin Kuskie
b8fc033bd7 Update the icalFeeds field to use JSON fields correctly. 2010-06-11 11:50:32 -07:00
Colin Kuskie
4b730ac13d Use the right fieldtype for JSON fields in the db. 2010-06-11 11:49:37 -07:00
Colin Kuskie
2c1e2b9d3e quickArray returns 1 row, buildArray returns all rows 2010-06-11 10:48:11 -07:00
Colin Kuskie
509b833d08 quickArray returns 1 row, buildArray returns all rows 2010-06-11 10:21:40 -07:00
Graham Knop
dfa1a3d7cb temporary config file fix 2010-06-10 23:52:11 -05:00
Graham Knop
24c8e0db7e reset groups for asset classes listed in database instead of in config file 2010-06-10 23:52:10 -05:00
Graham Knop
870d3e591c add require for needed module 2010-06-10 23:52:10 -05:00
Graham Knop
b1b1a3cc62 force scalar context in some needed places 2010-06-10 23:52:10 -05:00
Colin Kuskie
ef32e856bf Exception handling for the Template in UsersOnline macro. 2010-06-10 19:11:04 -07:00
Graham Knop
596420cd1f generate better hex ids for manually created badly formed guids 2010-06-10 11:32:32 -05:00
Graham Knop
0ddd109775 reset groups for all assets in database instead of those listed in config file 2010-06-10 10:09:55 -05:00
Colin Kuskie
705f0d49ba Setup keywords as a string, not an array ref. Add tests for that. 2010-06-09 18:58:01 -07:00
Colin Kuskie
53721581a1 Fix cleanup of Inbox messages for users. Provide a method for cleaning up Admin's messages. 2010-06-09 17:24:21 -07:00
Colin Kuskie
8edcab37a6 Fix a whitespace POD issue. 2010-06-09 17:24:21 -07:00
kimd
fa04d01518 o Allow return from photo edit view to gallery edit view (RFE 11571)
o Reject form submissions without image selected for upload in edit view of Photo asset
2010-06-09 15:28:42 -05:00
kimd
cb82394575 Added search by location to the Gallery (RFE 11504) 2010-06-09 15:28:42 -05:00
Colin Kuskie
e222b6c4ef Document that url's passed to Session/Icon methods will have the gateway URL prepended to that URL. 2010-06-09 13:20:54 -07:00
Colin Kuskie
6d2d950f52 Fix the delete expired events workflow (again). Fixes bug #11619 2010-06-09 11:28:00 -07:00
Graham Knop
02af1c68f9 Merge branch 'WebGUI8' into psgi 2010-06-08 17:59:17 -05:00
Graham Knop
7b9e230409 improving setRow 2010-06-08 17:55:13 -05:00
Scott Walters
07657e5011 Reworked active messages SQL. Fixes #11594. Don't try to relate
to groups that the user may not be a part of any longer.
2010-06-08 17:01:13 -04:00
Scott Walters
867095d811 A user removed from a group with deleteUsers() will still appear to be in that
group according to Inbox.pm, User::getGroupIdsRecursive() and User::getGroups().
Groups.pm wasn't clearing the cache key "getGroupsForUser" in clearCaches().
Tests and fix.
2010-06-08 13:49:02 -04:00
Colin Kuskie
2c08b4e712 Fix a bug in getLineageSql, where it would return the empty string. This could cause downstream problems. Fixes bug #11616 2010-06-08 09:22:28 -07:00
Graham Knop
1e2b6fd0c2 allow undefined template or snippet text 2010-06-07 18:09:18 -05:00