Commit graph

13108 commits

Author SHA1 Message Date
Colin Kuskie
45b6f45e4b Add tests for Article->getStorageLocation, call addToCleanup by classname. 2010-04-06 19:27:38 -07:00
Colin Kuskie
ce39ad6a14 Must set cache after updating, since the attribute clears the cache if the ids are different. 2010-04-06 19:10:57 -07:00
Colin Kuskie
c549803777 Reindent Article.pm 2010-04-06 19:05:12 -07:00
Colin Kuskie
1860408b62 Set a default template for the Subscription role.
use WebGUI::Mail::Send, too.
2010-04-06 18:57:55 -07:00
Colin Kuskie
54ea1f66e1 Catch exceptions when making assets to commit. 2010-04-06 18:49:10 -07:00
Colin Kuskie
e03fdef2bb i18n fix for EMSRibbon definition 2010-04-06 18:26:46 -07:00
Colin Kuskie
18466cad09 Stubbed out i18n file for Asset_GalleryFile 2010-04-06 18:25:01 -07:00
Colin Kuskie
dee5bbe5d0 Proper Moose setup for addRevision... 2010-04-06 16:13:02 -07:00
Doug Bell
64f7bd9365 more work on Admin. added FamFamFam icon set 2010-04-06 15:45:42 -05:00
Doug Bell
5e77a948ad Bare minimum working 2010-04-02 18:44:46 -05:00
Doug Bell
8f4024a4b2 initial commit: new admin console 2010-04-01 16:52:21 -05:00
Colin Kuskie
743e57c8ae Add a test for the Story asset. 2010-03-24 18:26:29 -07:00
Colin Kuskie
237eaa9990 Add a version tag so we work on a committed parent. 2010-03-24 17:02:05 -07:00
Colin Kuskie
54f0148ec9 Use lots and lots of Moose modifiers in the Article. 2010-03-24 17:01:18 -07:00
Colin Kuskie
8a3f36a449 Fix an accessor name. 2010-03-24 15:09:59 -07:00
Colin Kuskie
56fcb761a1 Rework StoryArchive for exceptions and modifiers. 2010-03-24 14:54:53 -07:00
Colin Kuskie
a10e65f883 Use Moose method modifiers for overriding addRev in Story. 2010-03-24 10:25:29 -07:00
Colin Kuskie
82bc730a8a Remove another bad file. 2010-03-24 10:02:12 -07:00
Colin Kuskie
2a7f64c4ab Removing bad file. 2010-03-24 10:01:30 -07:00
Colin Kuskie
3229663c9f Add tests for Event, MatrixListing and WikiPage 2010-03-23 17:09:45 -07:00
Colin Kuskie
7c8979c823 Tests for Post and Thread 2010-03-23 16:15:33 -07:00
Colin Kuskie
e004eab9f5 New infrastructure for building the parents that an asset requires. 2010-03-23 16:15:09 -07:00
Colin Kuskie
d966711f00 List of parents for Gallery File, also inheritance fixes. 2010-03-23 16:07:22 -07:00
Colin Kuskie
5ad0dc21c3 Fix module line broken by previous commit and injudicious perl -pi 2010-03-23 16:06:55 -07:00
Colin Kuskie
9dc2977f95 Use correct inheritance for test modules. 2010-03-23 16:02:57 -07:00
Colin Kuskie
cbfe3825a8 Fixes for creating parents for testing. 2010-03-23 15:58:40 -07:00
Colin Kuskie
93e9f71a6c Set the correct valid parent classes for Post. 2010-03-23 14:14:11 -07:00
Colin Kuskie
4fb5a55d2f Moose appropriate SUPER for RssFeed role. 2010-03-23 12:42:32 -07:00
Colin Kuskie
22bbf2e23c Check the Asset, not the class, and make sure it is loaded. 2010-03-23 11:54:19 -07:00
Colin Kuskie
4a78377936 Fix WikiMaster's assetName 2010-03-23 11:52:56 -07:00
Colin Kuskie
4c3a26b023 WikiPage uses an role to force hiddenness now. No need to subclass addRevision. 2010-03-23 11:52:18 -07:00
Colin Kuskie
c2fac1e865 Fix i18n namespace typos in the EMS 2010-03-23 11:08:57 -07:00
Colin Kuskie
d32a380943 Fix a typo in the Wobject i18n file. 2010-03-23 11:06:57 -07:00
Colin Kuskie
efbe9a9691 Fix typo in i18n namespace. 2010-03-23 11:04:49 -07:00
Colin Kuskie
454ac13a4b Remove debug code. 2010-03-22 16:50:26 -07:00
Colin Kuskie
a874b0201e Add a test to make sure every property has a table defined in it. If you need an attribute without a table, use has. 2010-03-19 14:48:55 -07:00
Colin Kuskie
e2033afbac Fix a typo in Subscribable Role. 2010-03-19 14:42:16 -07:00
Colin Kuskie
b04651ecc8 No comments table in the WikiMaster. 2010-03-19 14:33:51 -07:00
Colin Kuskie
88ec09d279 rework how validParent works, and where it is checked. Add an explicit check for it in addChild, and remove a bunch of overridden addChild methods. 2010-03-19 14:31:49 -07:00
Colin Kuskie
a8496c4d15 Convert Comments role to use Types. Build a test for it. 2010-03-18 15:06:17 -07:00
Colin Kuskie
1363a8627a Serialize _to_ json in write. 2010-03-18 15:05:19 -07:00
Colin Kuskie
d3f139d43c Test WebGUI::Types 2010-03-18 14:46:32 -07:00
Colin Kuskie
b41338cef5 Pull types into its own file. 2010-03-18 14:46:13 -07:00
Colin Kuskie
a92a50046e Add a file to hold WebGUI types for Moose. Note, reads from the db come back as undef, so it has to be explicitly coerced. 2010-03-18 14:44:52 -07:00
Colin Kuskie
bc466ab74f Add a validParent check to Post. 2010-03-18 12:40:47 -07:00
Colin Kuskie
a3f58bd841 Remove override of addChild in Post, since the same check is done via www_add/canAdd/validParent. 2010-03-18 12:38:31 -07:00
Colin Kuskie
b0cad3b155 Remove get and update overrides in Asset::Role::Comments 2010-03-18 09:10:45 -07:00
Colin Kuskie
e076ecbfe2 Add tests for traits and coercion for JSON in the db. 2010-03-18 09:00:21 -07:00
Colin Kuskie
ae315972ea Forgot the custom test subclass. 2010-03-14 09:04:05 -07:00
Colin Kuskie
3a2f94f1b3 Test for some Sku's. 2010-03-13 20:27:20 -08:00