Commit graph

9628 commits

Author SHA1 Message Date
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
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
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
Scott Walters
7933e12ab5 get() shouldn't return session; fixes the Asset.t "get, specific properties - no session" test 2010-06-03 20:04:01 -04:00
Colin Kuskie
95b6b66d69 fix a problem with the generated HTML id. 2010-06-03 16:56:19 -07:00
Colin Kuskie
4fb7933e34 Exception handling for getSku. 2010-06-03 16:11:11 -07:00
Colin Kuskie
7b27498912 Change ->get to direct object accessors. 2010-06-02 19:59:14 -07:00
Scott Walters
483acbc382 Revert "Calls to set() and update() set attributes as well as "properties"."
This reverts commit 57fe0721ab.
2010-05-31 14:39:36 -04:00
Colin Kuskie
636ca8ae86 Update AssetHelper/Lock test. Missing use line in the module itself. 2010-05-28 12:00:26 -07:00
Scott Walters
b5b841e19b Merge branch 'WebGUI8' of github.com:plainblack/webgui into WebGUI8 2010-05-27 22:35:55 -04:00
Scott Walters
57fe0721ab Calls to set() and update() set attributes as well as "properties".
Fixes t/Keywords.t number 11.
2010-05-27 22:26:37 -04:00
Colin Kuskie
89302e9875 Fix taxConfiguration property for the Sku asset. 2010-05-23 16:33:30 -07:00
Scott Walters
14b79a671b Merge branch 'WebGUI8' of github.com:plainblack/webgui into WebGUI8 2010-05-23 13:27:32 -04:00
Colin Kuskie
095b7c7ef9 Add missing use lines to ITransact. 2010-05-22 22:38:32 -07:00
Colin Kuskie
ae88345e04 Revert the sense of the exception handling, to the right state. 2010-05-22 22:27:46 -07:00
Colin Kuskie
5759620eb4 Add missing use line for Asset. 2010-05-22 20:41:32 -07:00
Colin Kuskie
0fac75759e Actually build an array of items in getRssFeedItems. Fix several method modifiers. 2010-05-21 19:26:55 -07:00
Colin Kuskie
3faacabed2 Change prepareView to use around instead of override, so it can work with packages that also need to wrap prepareView. 2010-05-21 19:26:07 -07:00
Colin Kuskie
3870aea526 Remove deprecated methods in SyndicatedContent. 2010-05-21 19:15:22 -07:00
Colin Kuskie
a4dd6f1362 POD for WebGUI::Types 2010-05-21 18:39:36 -07:00
Colin Kuskie
74c6f50bd2 Document init_meta in POD (I hope). 2010-05-21 18:32:43 -07:00
Colin Kuskie
bf268bc66b Fix the canEdit method in the Matrix. 2010-05-21 15:05:00 -07:00
Colin Kuskie
9059cf5f3f Exception handling for finding children in AssetLineage. 2010-05-21 13:58:07 -07:00
Colin Kuskie
dab177324d Change from encode/decode to to/from in JSON, and call them explicitly. Exception handling for AJAX methods in the GalleryAlbum. 2010-05-21 13:37:06 -07:00
Colin Kuskie
9e50f5e8c2 Exception and class handling for getLastPost in the Thread. Update a test accordingly. 2010-05-20 15:45:28 -07:00
Scott Walters
aeb36106e2 warning / Useless use of /d modifier in transliteration operator 2010-05-19 12:57:01 -04:00
Colin Kuskie
f3c1c0e4a5 Better handling of calling validParent without an asset, somewhere. 2010-05-13 21:10:44 -07:00
Colin Kuskie
d690148c2c Fix a syntax error in the SQL to get shortcuts in the trash. 2010-05-13 21:03:27 -07:00
Colin Kuskie
427fd5e53a Removing more dead code. There is no maxImageSize property. 2010-05-13 19:46:47 -07:00
Colin Kuskie
4fef8cb486 Fix a bad sort. Clarify some POD in the Photo. 2010-05-13 15:41:51 -07:00
Colin Kuskie
7258e11e7e Move Shortcut definition methods to Moose methods. 2010-05-13 15:28:45 -07:00
Colin Kuskie
8a9e4c73c1 Remove dead code in the Photo asset. 2010-05-13 14:06:13 -07:00
Colin Kuskie
7f23c286da Change newByDynamicClass to newById. 2010-05-13 13:50:04 -07:00
Colin Kuskie
2a6e50b478 Make this code readable. 2010-05-11 22:13:25 -07:00
Colin Kuskie
7ba305109a Set a trigger for the snippet. Update tests for snippet packing. 2010-05-09 21:44:18 -07:00
Colin Kuskie
50b2b116eb Updated to Moose, and test updates. 2010-05-09 21:04:12 -07:00
Colin Kuskie
ecf1c521f3 Updates for Moose. 2010-05-09 21:03:59 -07:00
Colin Kuskie
8be35923e4 Drop session from get data generated by exportAssetData 2010-05-09 19:16:40 -07:00
Colin Kuskie
923e03f048 Add a method for getViewCacheKey. Update number of tests. 2010-05-09 19:03:20 -07:00
Colin Kuskie
95fe1e6d52 Module use, and cache updates. 2010-05-09 18:14:27 -07:00
Colin Kuskie
057260f131 fix a ->get conversion typo. 2010-05-09 18:04:19 -07:00
Colin Kuskie
97d5caab17 Exception handling for Thumbnail macro. 2010-05-09 15:37:13 -07:00
Colin Kuskie
a2feddc3b5 Exception handling. 2010-05-09 15:35:07 -07:00
Colin Kuskie
4ecc8dce2a AssetLineage should throw exceptions. 2010-05-09 15:27:39 -07:00
Colin Kuskie
ab6476012a Add missing module use line to Group.pm 2010-05-09 15:08:18 -07:00
Colin Kuskie
2c80c501c6 Test assets for valid methods before calling them. 2010-05-09 15:05:41 -07:00
Colin Kuskie
0bef2b2839 Change the core to use newById instead of new. 2010-05-09 14:30:47 -07:00
Colin Kuskie
1450d1361d Fix POD problems 2010-05-07 18:27:39 -07:00
Colin Kuskie
2fad20dcd0 Exception handling when trying to get assets for their content. 2010-05-07 18:02:17 -07:00