Commit graph

2914 commits

Author SHA1 Message Date
Colin Kuskie
0983362204 Fix WebGUI::Crud to autowrite objects when created. 2010-11-28 22:01:26 -08:00
Colin Kuskie
e7fcf33a4d Move ifModifiedSince into WebGUI::Session::Request 2010-11-22 09:53:03 -08:00
Colin Kuskie
995b04e7de Remove getRedirectLocation and setRedirectLocation from Session::Http 2010-11-22 09:28:14 -08:00
Colin Kuskie
8b6bbdb9f7 Remove setFilename, getFilename from Session::Http, and use Plack::Response methods instead. 2010-11-22 08:06:25 -08:00
Colin Kuskie
fd8f03a186 Change getMimeType and setMimeType to response->content_type. 2010-11-21 22:35:26 -08:00
Colin Kuskie
e5adc07a05 Remove getStatus and setStatus in Session::Http, and replace them with status, from $session->status. 2010-11-21 21:11:41 -08:00
Graham Knop
e71e95544f add WebGUI::GUID and make WebGUI::Session::Id a wrapper around that 2010-11-19 18:32:39 -06:00
Colin Kuskie
cd0986ecdf Fix session leak from this test. 2010-11-19 11:51:09 -08:00
Colin Kuskie
5812d88bd4 No using Var! 2010-11-18 08:41:49 -08:00
Colin Kuskie
678406d54d Fix tests that were using var. 2010-11-18 08:40:22 -08:00
Colin Kuskie
39dc7323f3 Finish moving over Var tests into session. Remove Session::Var. 2010-11-17 16:18:51 -08:00
Colin Kuskie
e319f56a04 Pull more test over from Var. 2010-11-15 18:56:21 -08:00
Colin Kuskie
3a601c2c96 Begin moving Var tests over to Session. 2010-11-15 11:02:41 -08:00
Colin Kuskie
aeb825a14f Switch sense of test answer and question to the correct order. 2010-11-15 10:10:05 -08:00
Colin Kuskie
a1571b90d4 Explicit class for addToCleanup, otherwise the debugger fails. 2010-11-12 09:19:50 -08:00
Colin Kuskie
7dc51b6c2b Merge branch 'Crud' into WebGUI8 2010-11-11 14:23:11 -08:00
Colin Kuskie
e6f7f218f2 Only import what we're going to use from Test::Deep::NoTest. 2010-11-11 14:02:19 -08:00
Colin Kuskie
52337ee0d6 Check for property inheritance and the around for update for handling lastUpdated. 2010-11-11 11:57:17 -08:00
Colin Kuskie
ca2b7cd2c5 update method not working, switching to direct access for the test. 2010-11-10 21:08:49 -08:00
Colin Kuskie
8ead662a39 Update Crud serialize test for unsafe references. 2010-11-10 15:40:16 -08:00
Colin Kuskie
5903cc5524 Update the Crud serialize test for Moose. 2010-11-10 15:18:14 -08:00
Colin Kuskie
753cc9b75c Update Crud::SubClass test. 2010-11-10 14:55:09 -08:00
Colin Kuskie
4c5c9fc840 Move test to use new instead of create. 2010-11-10 14:48:13 -08:00
Colin Kuskie
50d92f9113 Fix default for tests in Survey::Test. Also change usage of create to new in the test for ::Test. 2010-11-10 14:39:12 -08:00
Colin Kuskie
9832f38a93 Convert PassiveAnalytics over to Moose. 2010-11-10 10:05:07 -08:00
Colin Kuskie
2ad9fc1c16 Convert FilePump over to the new Crud. 2010-11-10 09:50:15 -08:00
Doug Bell
17c540f041 add more classy tests 2010-11-09 16:51:42 -06:00
Doug Bell
3fbf3ffd9b make run_assets.t work 2010-11-09 16:51:42 -06:00
Colin Kuskie
07cde4d696 rework crud_getProperties. Update tests. 2010-11-05 11:03:45 -07:00
Colin Kuskie
447fe27d5f Add the sequenceNumber property to Crud, and serialize it to the db. Tweak some tests for new code. 2010-11-05 08:17:06 -07:00
Colin Kuskie
213a153b58 Can't autoincrement methods. Write test collateral to database if you want to read it back later. 2010-11-05 08:06:51 -07:00
Colin Kuskie
87f49191db Fix instanciating an object from the database. Write core Crud properties to the db. 2010-11-04 17:13:54 -07:00
Colin Kuskie
2e79a4b52f Remove code autogeneration for table,sequence keys. 2010-11-04 16:48:12 -07:00
Colin Kuskie
b4abac9a40 Add defaults for lastUpdated, dateCreated. Crud data now has to be manually written to the db. 2010-11-04 15:11:04 -07:00
Colin Kuskie
6686860b08 Remove default tableKey and tableName from Crud. Refactor t/Crud.t to have a test package. Add dateCreated. Rework crud_updateTable. 2010-11-04 15:01:09 -07:00
Doug Bell
f515d85b2d fix tests for www_auth. fix deprecate for callers 2010-11-03 19:43:59 -05:00
Doug Bell
5a2d4d8d03 change to www_ methods everywhere 2010-11-03 19:43:59 -05:00
Colin Kuskie
26853527a0 Fix number of tests in SQL.t 2010-11-03 13:24:58 -07:00
Colin Kuskie
f5764b0f1e Update Fork to work with 8. All tests passing. 2010-11-03 13:22:56 -07:00
Colin Kuskie
53280bacc0 Cleanup a test merge. 2010-11-03 11:34:40 -07:00
Colin Kuskie
bd48b97a6e Cleanup the AdSpace created for testing. 2010-11-03 11:30:02 -07:00
Colin Kuskie
5f3014aaee Merge branch 'master' into WebGUI8. Merged up to 7.10.4 2010-11-03 09:47:36 -07:00
Colin Kuskie
9ad32eb335 Remove unused module. 2010-11-02 16:11:00 -07:00
Colin Kuskie
5bda366e27 Fix leaky assets in the EditBranch asset helper test. 2010-11-02 15:41:12 -07:00
Colin Kuskie
a90eadda7c Merge commit 'bfe9780ce0' into WebGUI8. Merged up to 7.10.3 2010-11-02 14:49:33 -07:00
Colin Kuskie
e66092deaa Anchor words to replace in processReplacements. Fixes bug #11939. 2010-11-02 11:28:20 -07:00
Doug Bell
4864a75340 fix 11940: quickCSV chokes on newlines in data 2010-11-01 14:39:44 -05:00
Colin Kuskie
f2ac0bc67c Shortcut uses the wrong date for the overridden getContentLastModified. Fixes bug #11935. 2010-11-01 10:26:08 -07:00
Doug Bell
d182f0f1bb add tests and convenience to Auth constructor 2010-11-01 12:17:59 -05:00
Colin Kuskie
04ec75719e Make a new storage location when an Event is duplicated. Fixes bug #11937. 2010-11-01 09:19:08 -07:00