Commit graph

9747 commits

Author SHA1 Message Date
Colin Kuskie
6ac0aa936c Update Shop::Ship to use Moose instead of C::IO. Update tests, and core code. Provide a shim for the old syntax. 2010-06-24 13:41:07 -07:00
Colin Kuskie
9678c3d8a7 Convert Shop::Pay to use Moose instead of Class::InsideOut. Update tests, and core usages to Moose syntax. Provide a shim so the old, base ->new($session) syntax. 2010-06-24 13:31:32 -07:00
Colin Kuskie
3fbc109429 Update Session->Style setScript to default to text/javascript. Update the entire codebase to take advantage of it. 2010-06-24 13:07:03 -07:00
Colin Kuskie
eed390e96b Prevent type-casting warning when a Product has no price. 2010-06-23 08:45:33 -07:00
Colin Kuskie
10f2cda847 Change purge from override to around. 2010-06-17 11:31:31 -07:00
Graham Knop
0e9b793af9 fix WebGUI::Session->duplicate 2010-06-17 10:27:10 -05:00
Graham Knop
29428d7d40 small adjustments to session middleware 2010-06-17 10:27:10 -05:00
Graham Knop
8bfa022441 add type with coersion for WebGUI::Config 2010-06-17 10:27:09 -05:00
Colin Kuskie
19c2c5fa1c Remove status description from Session/Http, and update all users of setStatus. 2010-06-17 08:18:24 -07:00
Colin Kuskie
433700b6f0 Fix a typo with headers instead of header. 2010-06-16 17:37:44 -07:00
Colin Kuskie
65873d538e Replace calls to Apache2::RequestUtil->no_cache with direct sets of the appropriate HTTP headers. 2010-06-16 13:59:54 -07:00
Colin Kuskie
9b91dd558b Remove mention of getCookies, since it's supposed to use Session::Request now. 2010-06-16 11:06:24 -07:00
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
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
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
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
Colin Kuskie
705f0d49ba Setup keywords as a string, not an array ref. Add tests for that. 2010-06-09 18:58:01 -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
Graham Knop
1e2b6fd0c2 allow undefined template or snippet text 2010-06-07 18:09:18 -05:00
Graham Knop
5cb384ec73 ensure JSON is loaded 2010-06-07 18:00:04 -05:00
Colin Kuskie
963591d5e1 Fix a bad around wrapper in the RssFeed assetExportHtml sub. 2010-06-07 15:49:07 -07:00
Colin Kuskie
be259d803c Fix problems with assetExportHtml. The method needs to be rethought, and make check that one exists before calling it via can/DOES. Fix a problem with duplicating the session, since duplicate is not a class method. 2010-06-05 22:25:18 -07:00
Patrick Donelan
f16ba76b86 Merge branch 'WebGUI8' into psgi
Conflicts:
	sbin/testEnvironment.pl
2010-06-04 21:01:03 -04:00
Colin Kuskie
dd716fa796 Fix the default URL for an Asset. It should be based on the parent, if available, and the menutitle. 2010-06-04 13:27:40 -07:00
Colin Kuskie
193223c678 Adding Settable flag for non-properties that should be handled by set/write. 2010-06-04 13:19:03 -07:00