Commit graph

673 commits

Author SHA1 Message Date
Graham Knop
89d4f46a18 Merge branch 'psgi' into WebGUI8 2010-06-11 23:05:06 -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
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
8c759ed7bc Implement keywords differently (successfully) in the Asset class. Extra tests to verify it in Asset.t 2010-06-04 11:33:06 -07:00
Colin Kuskie
923e03f048 Add a method for getViewCacheKey. Update number of tests. 2010-05-09 19:03:20 -07:00
Doug Bell
cb3f83a93e Merge branch '8' into psgi
Conflicts:
	lib/WebGUI/Asset/Template.pm
	lib/WebGUI/Session/Scratch.pm
2010-04-21 13:03:03 -05:00
Doug Bell
a9ff59d7b2 started asset helpers 2010-04-21 11:20:22 -05:00
Colin Kuskie
c214e5f6e5 remove some ->get calls 2010-04-20 11:01:04 -07:00
Graham Knop
0efa62a73c asset immutability 2010-04-19 18:57:01 -05:00
Graham Knop
a1d8dbd67a more object destruction cleanups 2010-04-19 18:57:01 -05:00
Graham Knop
c4204eff89 clean up more uses of ->get 2010-04-19 18:57:01 -05:00
Doug Bell
165be5b389 remove eval{} from caching code 2010-04-19 18:41:13 -05:00
Colin Kuskie
841e9d5784 fix purgeCache in Asset.pm. Add a test for it to Asset.t 2010-04-19 16:36:22 -07:00
Doug Bell
92cd204b31 fix composite cache keys and remove setByHttp 2010-04-19 14:59:24 -05:00
Colin Kuskie
43413fe75c Put back the skipNotification property into Asset. 2010-04-19 11:00:45 -07:00
Graham Knop
8186754b86 asset immutability 2010-04-18 18:50:56 -05:00
Graham Knop
83dbe97687 more object destruction cleanups 2010-04-18 18:48:59 -05:00
Graham Knop
22619cfb9a clean up more uses of ->get 2010-04-18 18:47:16 -05:00
Graham Knop
373be0881d Merge branch 'WebGUI8' into HEAD 2010-04-16 20:52:46 -05:00
Graham Knop
2400f19099 Merge branch 'master' into WebGUI8 2010-04-13 07:50:02 -05:00
Colin Kuskie
4895b14383 hm, actually need that WebGUI::Asset::Shortcut thing 2010-04-09 15:04:34 -07:00
Colin Kuskie
953df9d6a9 Remove a bunch of circular dependencies, based on using WebGUI::Asset::Template 2010-04-07 15:03:48 -07:00
Colin Kuskie
a0253fa599 Remove really old code from the old Rss From Parent asset. 2010-04-07 14:50:51 -07:00
Colin Kuskie
f01abc42ff Remove really old code from the old Rss From Parent asset. 2010-04-07 14:48:04 -07:00
Patrick Donelan
2516ff12c1 Added URLMap support (e.g. virtual hosts and mounting) 2010-04-06 18:21:47 -04: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
1363a8627a Serialize _to_ json in write. 2010-03-18 15:05:19 -07:00
Colin Kuskie
b41338cef5 Pull types into its own file. 2010-03-18 14:46:13 -07:00
Colin Kuskie
b0cad3b155 Remove get and update overrides in Asset::Role::Comments 2010-03-18 09:10:45 -07:00
Colin Kuskie
2997471b5f fix assetName calls for Asset and Wobject. 2010-03-12 08:55:07 -08:00
Graham Knop
45ca61b7c2 more import cleanups 2010-03-10 12:59:52 -06:00
Colin Kuskie
a3614f5211 Move uiLevel from a define to a property so it can be inherited. 2010-03-09 12:58:55 -08:00
Colin Kuskie
ed58eba697 More instanciator cleanup in Asset.pm 2010-03-03 19:48:32 -08:00
Colin Kuskie
f88c18ee50 Fix the write method to iterate over each property to get the table names instead of looking in the class metaproperties. 2010-03-03 15:45:47 -08:00
Colin Kuskie
0a0b6557e2 Eval and error handling for processTemplate. 2010-03-03 11:09:50 -08:00
Colin Kuskie
122bd26afa Add keywords accessor for looking up Asset keywords. 2010-03-03 11:03:35 -08:00
Colin Kuskie
117c7897bb Closer to Roles. Remove also from WebGUI::Definition, and put use Moose in all Asset classes. 2010-02-26 12:01:25 -08:00
Graham Knop
20ee527dbd change aspect to define 2010-02-17 16:31:10 -06:00
Colin Kuskie
74ccbef83f Update POD in Asset.pm for ->new 2010-02-12 11:01:32 -08:00
Colin Kuskie
63f829ee96 Fix processTemplate for new instanciators and exception handling. 2010-02-11 13:49:58 -08:00
Colin Kuskie
d1572c4257 Make sure that all builder methods that use session sare set to be lazy. 2010-02-05 15:41:01 -08:00
Colin Kuskie
95b93fb5dd Add triggers to groupIdEdit, groupIdView and ownerUserId so that File.pm can override them to set storage location privileges. 2010-02-03 18:33:04 -08:00
Colin Kuskie
006570a05a newByUrl should throw an exception. Test it. 2010-01-29 17:35:19 -08:00
Luke Robinson
017a9a7fc2 allow field overrides in the config file 2010-01-27 15:57:26 -08:00
Colin Kuskie
d66b3b891b Make revisedBy a property, so it gets written on ->update. Change addRev not to write to the db when it does not need to. Update tests to verify that addRev does the right thing for tagId and revisedBy. 2010-01-25 22:49:22 -08:00
Colin Kuskie
9b3e21c123 Attribute => aspect change. 2010-01-25 19:21:44 -08:00
Colin Kuskie
886a896f27 Note in POD which methods throw exceptions, and why. 2010-01-22 15:15:59 -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