Commit graph

672 commits

Author SHA1 Message Date
Colin Kuskie
44c6048da4 Update test for exception handling. 2010-03-03 11:10:16 -08:00
Colin Kuskie
abaeab36e0 Refactor code to force assets to always be hidden into a role and use it. 2010-02-16 08:50:00 -08:00
Colin Kuskie
d41affa4cc Update Survey for Moose and new accessors. Also update the tests. 2010-02-11 13:54:46 -08:00
Colin Kuskie
b6e56566c1 Fix deleteFileUrl for image*, warranty, brochure and other file collateral in the product. 2010-02-09 20:38:21 -08:00
Colin Kuskie
b2b03b662c Better cleanup for a Shortcut test. 2010-02-09 10:52:23 -08:00
Colin Kuskie
c1a3030191 Another Article method change. 2010-02-04 15:22:23 -08:00
Colin Kuskie
5203c35563 Remove test for headBlock handling. 2010-02-04 12:53:51 -08:00
Colin Kuskie
4a240ba0e0 Test cleanup, and add extra tests for sanity checks. 2010-02-03 18:34:21 -08:00
Colin Kuskie
4089e39d58 Peel out permissions testing from t/Asset/Asset.t into a separate test. 2010-02-02 08:17:26 -08:00
Colin Kuskie
006570a05a newByUrl should throw an exception. Test it. 2010-01-29 17:35:19 -08:00
Colin Kuskie
387866cfcb Update Asset::File for Moose 2010-01-29 17:17:38 -08:00
Colin Kuskie
1736b481b6 Update Article for Moose 2010-01-26 16:13:36 -08:00
Colin Kuskie
0f32e9b6fb Fix the AssetLineage test that I broke. 2010-01-26 15:21:15 -08:00
Colin Kuskie
7e7bc9ca20 Label loop inside getLineage. Drop a clause from getLineageSql, since we can use LIKE to make sure the lineage does not include the parent. Move getLineage tests to the top since downstream tests depend on getting assets in lineage order. 2010-01-26 12:55:40 -08:00
Colin Kuskie
eb60168627 sessionification of AssetLineage, conversion to use moose accessors. 2010-01-26 07:25:51 -08:00
Colin Kuskie
e940dc0427 Change this test to use a Snippet instead of a Template. 2010-01-25 22:52:25 -08:00
Colin Kuskie
5b24340994 sessionify duplicate. Tweak AssetClipboard test to use Moose methods. 2010-01-22 18:36:54 -08:00
Colin Kuskie
de34ab3b95 fix getLineage. All tests in t/Asset/AssetTrash.t are passing. 2010-01-22 15:25:50 -08:00
Colin Kuskie
451eb33f0f Fix requestAutoCommit. All tests in t/Asset/Asset.t passing. 2010-01-22 15:10:23 -08:00
Colin Kuskie
e5affbd0c2 Add tagId property, fix cloneFromDb. Fix several tests. 2010-01-22 11:42:05 -08:00
Colin Kuskie
5c3a3d440b Fix inheritUrlFromParent, using trigger instead of around. 2010-01-22 11:07:46 -08:00
Colin Kuskie
6573884db6 Add exceptions to newPending. Change it to use newById instead of new. Tweak some messages and tests. 2010-01-22 08:40:49 -08:00
Colin Kuskie
f798ae533b remove newByDynamicClass tests, which was replaced by newById 2010-01-21 21:44:28 -08:00
Colin Kuskie
04ed78e8f1 Remove use of getAttribute from Asset.pm. Tweak a few tests. 2010-01-21 21:06:58 -08:00
Colin Kuskie
143e2e0d7b pull permission tests out of Asset.t. Fix getName. 2010-01-21 20:45:58 -08:00
Colin Kuskie
52d5883b77 More exceptions and tests for Asset.pm 2010-01-21 19:52:48 -08:00
Colin Kuskie
9004007b0e Changing undef to exceptions in Asset.pm 2010-01-21 19:10:56 -08:00
Colin Kuskie
56eadab746 Update test for new Moose API. 2010-01-20 21:54:29 -08:00
Colin Kuskie
3a425f29bc Change the name of the sku accessor for shipsSeparately to isShippingSeparately, since it clashes with a property. Add tests. t/Asset/Sku.t passes. 2010-01-20 18:47:35 -08:00
JT Smith
3938f9ff0d removed last remnants of old definition 2009-10-22 17:00:45 -05:00
Colin Kuskie
77fc01af38 Do not set a redirect when streaming downloads. fixes file #11029 2009-09-23 21:27:43 -07:00
Colin Kuskie
564378bba8 Do not log empty statuses in the InOutBoard. 2009-09-23 16:34:24 -07:00
Colin Kuskie
8276336cbe Templates in the trash or clipboard now log and return warnings. fixes bug #11031 2009-09-23 15:40:35 -07:00
Colin Kuskie
e4b99f1d6c Clear cache on assets in trash and clipboard limbo states. fixes bug #11027 2009-09-23 15:39:56 -07:00
Graham Knop
bb77bc484e fix warnings in IOB test 2009-09-23 17:10:00 -05:00
Graham Knop
328f3dfcec test cleanups 2009-09-23 16:48:04 -05:00
Colin Kuskie
65f1377081 Add tests for InOutBoard. documents bug#11024.
Also, add a purge method to clean-up the collateral tables for this asset.
2009-09-23 09:55:25 -07:00
Graham Knop
67b729fee0 use note instead of diag in tests for non-error debug output 2009-09-23 08:29:05 -05:00
Colin Kuskie
a3228ebcb5 Adjust test to work more than 1 time. 2009-09-22 18:18:08 -07:00
Colin Kuskie
9d438f7266 Fix bad URLs from happening when inheritUrlFromParent is used. Fixes bug #11011 2009-09-22 11:45:06 -07:00
Colin Kuskie
3acaea22e8 Remove bad test requirement. 2009-09-21 22:18:03 -07:00
Colin Kuskie
50d3f48936 Extend existing non-recurring Subscriptions when rebought. Fixes bug #11010 2009-09-21 22:17:21 -07:00
Colin Kuskie
27f474ec64 Do not cleanup Admin's friends group. 2009-09-21 08:27:36 -07:00
Graham Knop
eebece7a2a check WEBGUI_LIVE in some more live tests 2009-09-20 23:49:33 -05:00
Graham Knop
44110cdb00 fix WikiPage test cleanup 2009-09-20 14:29:54 -05:00
Colin Kuskie
56f68bf291 Make subscribable asset handle its built-in group correctly. Fixes bug#11004 2009-09-18 09:25:30 -07:00
Colin Kuskie
255abcdf97 Set correct defaults for icalFeeds in existant calendars. Fixes bug #11005 2009-09-17 15:36:58 -07:00
Colin Kuskie
8395d090fa Show thingy controls when maxEntriesPerUser is reached. Fixes bug #10950. 2009-09-16 21:58:24 -07:00
Colin Kuskie
f4d19c41f7 DataForms logs an error when it cannot load the requested form type. Fixes bug #10954. 2009-09-16 19:24:28 -07:00
Colin Kuskie
79b849262c WikiPage displays a locked label when locked. fixes bug #10998 2009-09-16 16:07:59 -07:00