Commit graph

10377 commits

Author SHA1 Message Date
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
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
e77b2b9722 Swap out Net::Subnets for Net::CIDR::Lite in PerformanceProfiler. 2010-03-17 13:25:27 -07:00
Colin Kuskie
a7b4fbc0ed Fix thread search URLs when threads are archived, or trashed. Location in the pagination is now found by interrupted linear search. 2010-03-16 18:29:09 -07:00
Colin Kuskie
f8dba07d52 Remove debug code from FilePump. 2010-03-16 12:26:39 -07:00
Colin Kuskie
9810b57f40 Fix double slash removal in FilePump macro. Fixes bug #11478. 2010-03-16 12:07:25 -07:00
Graham Knop
1919973f2b fixed: Unable to add threads with permission to edit CS but not in post group 2010-03-16 13:20:41 -05:00
Colin Kuskie
fb14f13a4b Add labels to the Layout templates so they show up in Shortcut overrides. Fixes bug #11476. 2010-03-16 11:04:44 -07:00
Colin Kuskie
0a005834b8 Force inheritPermissionsFromParent to work in all import scenarios. Also, fix handling of clearPackageFlag and setDefaultTemplate. 2010-03-15 11:22:08 -07:00
Colin Kuskie
c4b3e1e758 Add the calendar month template variables. Fixes bug #11472. 2010-03-15 09:43:28 -07:00
Colin Kuskie
ce08b3d4f8 Fix a syntax error in the wobject i18n file. 2010-03-15 09:20:57 -07:00
Colin Kuskie
f56523cf33 add lastUpdated stamp for mobile style labels. 2010-03-12 08:56:02 -08:00
Colin Kuskie
2997471b5f fix assetName calls for Asset and Wobject. 2010-03-12 08:55:07 -08:00
Colin Kuskie
8209de7978 Add tests for most other wobjects. Block broken code in Role/Asset/Comments. Refactor run_asset.t 2010-03-12 08:41:04 -08:00
Colin Kuskie
953df3563f Remove duplicate accessor method. 2010-03-12 08:06:26 -08:00
Colin Kuskie
f4467cb10f Attempt #1 to pass traits through property. 2010-03-11 13:42:38 -08:00
Graham Knop
45ca61b7c2 more import cleanups 2010-03-10 12:59:52 -06:00
Graham Knop
2af4c4de63 clean up WebGUI::Utility imports 2010-03-10 12:59:51 -06:00
Graham Knop
a22162b895 clean up Tie::CPHash imports 2010-03-10 12:59:51 -06:00
Graham Knop
913fa9ad03 clean up Tie::IxHash imports 2010-03-10 12:59:51 -06:00
Colin Kuskie
21e321012c Fix direct linking to posts and threads when their pagination is set to 0. Fixes bug #11464. 2010-03-10 09:45:37 -08:00
Colin Kuskie
4beab182a5 Fix uiLevel in Folder. 2010-03-09 14:18:09 -08:00
Colin Kuskie
ffb7945c34 Remove leftover definition sub stubs. 2010-03-09 13:51:07 -08:00
Colin Kuskie
87c00d41c1 appending to an attribute must quote the + 2010-03-09 13:43:22 -08:00
Colin Kuskie
a3aeae9a4e Continue change from define uiLevel to has uiLevel. 2010-03-09 13:07:14 -08: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
f55acecbb6 Handle the edge case when a subscription group has been deleted, but the the Subscribable entry has not been cleaned up. Fixes bug #11456. 2010-03-09 08:53:11 -08:00
Colin Kuskie
8f951013b9 Allow the default Search root to be overridden by a form variable. Adds RFE #11460. 2010-03-08 17:07:53 -08:00
Colin Kuskie
fe31cc96de Reset the isDefault flag on core assets only, and provide a final way fix this crap once and for all. 2010-03-08 16:36:47 -08:00
Luke Robinson
c03bcc385c use the FormHelper instead of the Auth system for the Ajax check
on Username
2010-03-08 17:22:21 -06:00
Luke Robinson
c61e7454d0 An Ajax check on the username field at registration 2010-03-08 17:22:07 -06:00
Colin Kuskie
d0884afb59 Do not remove newlines from Templates (or Snippets) since HTML::Packer does not handle newlines with H::T syntax. Fixes bug #11458 2010-03-08 11:38:29 -08:00
Colin Kuskie
b5e03dd90f Remove dead method with the same name as a property. 2010-03-05 14:42:08 -08:00
Colin Kuskie
ecd31580cf Applying class metaroles before the other roles seems to do the right thing. 2010-03-05 10:28:32 -08:00
Colin Kuskie
053b5a869e Rework get_tables to check each and every property. 2010-03-04 16:08:30 -08:00
Colin Kuskie
d5dd260f32 More instanciator cleanup. 2010-03-04 08:55:10 -08:00
Colin Kuskie
3d9006b643 Update Auth system for wg8 instanciators. 2010-03-04 08:52:46 -08:00
Colin Kuskie
360acb5191 Use wg8 instanciators. 2010-03-04 08:50:57 -08:00
Colin Kuskie
f17fc5c7ad Update Macros for wg8 instanciators. 2010-03-04 08:48:27 -08:00
Colin Kuskie
35e1e8c943 Fix SC use of RssFeed role. 2010-03-04 08:37:20 -08:00
Colin Kuskie
26e50b97f9 Fix POD typo. 2010-03-03 21:25:57 -08:00
Colin Kuskie
bf1cb7b721 Aspect to Role renaming 2010-03-03 21:10:35 -08:00
Colin Kuskie
dfc388fe3d More Subscribable fixes. 2010-03-03 21:08:18 -08:00
Colin Kuskie
ecc71d455d Update Shop for new instanciators and for exception handling. 2010-03-03 21:07:38 -08:00