Commit graph

13987 commits

Author SHA1 Message Date
Colin Kuskie
bf097ac337 Since assets are always created with defaults now, no need to introspect. Also, remove white space in "empty" lines. 2010-01-13 11:15:25 -08:00
Colin Kuskie
2aefb5d316 Switch from defaultValue to Moose's built-in default 2010-01-13 11:14:52 -08:00
Colin Kuskie
d14db689b8 Stubbing out tests for assetId, write. 2010-01-13 10:31:44 -08:00
Colin Kuskie
a8f251a5f2 Sessionize addRevision 2010-01-13 10:31:22 -08:00
Colin Kuskie
22823339ab Sessionize addChild 2010-01-13 10:30:29 -08:00
Colin Kuskie
7f3ad035db Fix pagination issues with the badge builder and default sort. Fixes bug #11344. 2010-01-12 15:42:27 -08:00
Colin Kuskie
c5b9cee56b Move package to correct location. 2010-01-12 15:37:52 -08:00
Colin Kuskie
6111403489 Provide a new Image Asset template without an internal div. Fixes bug #11345. 2010-01-12 15:37:25 -08:00
Colin Kuskie
47276ce4ad Fix exception handling by the NotifyAboutLowStock workflow activity. Fixes bug #11343. 2010-01-12 11:07:43 -08:00
Colin Kuskie
be7cd328cf Add POD for getIsa. Enforce a repeatable order for testing. 2010-01-12 11:07:25 -08:00
Colin Kuskie
c98cd87f80 Do not force Image assets to have an alt tag. Fixes bug #11337. 2010-01-11 16:48:08 -08:00
Colin Kuskie
06ac0360b6 Update test for new profile field value for gender. 2010-01-11 16:45:27 -08:00
Colin Kuskie
fc09d73b65 Update test for code changes with bug fix. 2010-01-11 16:34:50 -08:00
Colin Kuskie
dc94fe351a Force a recount of threads since the archive bug could make them out of date. 2010-01-11 14:00:04 -08:00
Colin Kuskie
6e0983a67b Update the number of threads in the CS when a thread is archived. Fixes bug #11341. 2010-01-11 11:54:59 -08:00
Colin Kuskie
e0089f37f8 write work, no tests 2010-01-09 09:32:10 -08:00
Colin Kuskie
54ed6f7e9e Incremental change to write method in Asset.pm. Actual code to follow soon. 2010-01-08 09:11:35 -08:00
Colin Kuskie
ed752a25c3 Make WebGUI::Definition property methods work the same way that Moose attribute methods do.
Specifically, get_property_list does not return property names from all classes.  Add a new
method to do that.  Refactor and reuse lots of code.
2010-01-08 09:04:27 -08:00
Colin Kuskie
49992dddb9 move get_tables back into Meta/Class. Refactor it to use get_all_class_metas instead of iterating over all the properties. 2010-01-07 18:25:45 -08:00
Colin Kuskie
15c5318a27 Encapsulate a method to return all the meta objects for classes used by an object.
Refactor the code out of get_all_properties into its own method.  This will be
used by the write method in Asset.pm, at least.
2010-01-07 18:15:40 -08:00
Colin Kuskie
72c114d031 Testing Moose setters. They accept undef... 2010-01-07 13:48:09 -08:00
Colin Kuskie
b5f5f8f6e8 Threads should not show pagination query params in their URLs. 2010-01-07 08:34:27 -08:00
Colin Kuskie
2605a4c989 Ready for 7.8.10 development cycle 2010-01-05 21:59:09 -08:00
Colin Kuskie
4bf5cf2fa2 Preparing for 7.8.9 release. 2010-01-05 21:30:36 -08:00
Colin Kuskie
173bec1574 Handle linking to posts not on the first page on a thread view. Fixes bug #11318. 2010-01-05 20:52:27 -08:00
Colin Kuskie
7281a3dd8e Fix the CS search, so that links to anchors are correct. Fixes bug #11318 2010-01-05 16:47:56 -08:00
Colin Kuskie
ff1dbc1841 Update tests for new EU VAT workflow 2010-01-05 13:32:08 -08:00
Colin Kuskie
0627d7adbf add uiLevel asset attribute. Begin to work on write. 2010-01-04 19:14:53 -08:00
Colin Kuskie
bfccc1fa6f Fix syntax errors in Snippet definition. 2010-01-04 19:14:32 -08:00
Colin Kuskie
ce3edcf743 Move get_tables from Meta/Class into Meta/Asset. s/getTables/meta->get_tables/; 2010-01-04 15:34:24 -08:00
Colin Kuskie
b72e3a1cd1 getClassById encapculates getting a className from the database, indexed by assetId.
Also, work on newById, newByUrl.
2010-01-04 11:33:09 -08:00
Colin Kuskie
fde81306c6 Asset work related to class dispatch. 2010-01-04 10:59:48 -08:00
Colin Kuskie
1af2acbc9d Conversion from static to Moose for Snippet. 2010-01-04 10:59:31 -08:00
Colin Kuskie
22ff856027 add revisionDate attribute 2010-01-01 19:31:24 -08:00
Colin Kuskie
9ff9f31f14 Add more asset data attributes. 2010-01-01 09:32:13 -08:00
Colin Kuskie
38144bd58f Add assetId attribute to Asset.pm, and tests. 2009-12-30 08:35:21 -08:00
Colin Kuskie
55f430d852 Fix the AssetProxy i18n error message. Fixes bug #11317 2009-12-29 12:13:40 -08:00
Colin Kuskie
e7ae5b60d3 Make the keywords hoverhelp clearer. Fixes bug #11314 2009-12-29 12:09:38 -08:00
Colin Kuskie
f76842f705 Tinkering with url. 2009-12-29 12:05:31 -08:00
Colin Kuskie
cb0ca14958 Add a test for get. 2009-12-29 12:05:23 -08:00
Colin Kuskie
d7a31ea901 Try to centralize all the menuTitle defaults in 1 place. 2009-12-28 18:37:53 -08:00
Colin Kuskie
6733595dfc Fix title, menuTitle and url around modifiers. Tests for title, menuTitle.
menuTitle is set to be lazy because it depends on title as a default.
2009-12-28 18:36:19 -08:00
Colin Kuskie
49bd7f5032 newByDynamicClass changed to newById 2009-12-27 19:08:15 -08:00
Colin Kuskie
0fd922daed First work with BUILDARGS. Set defaults for the title,menuTitle. Some tests in t/Asset.t
From this point forward, WebGUI::Asset->new($session, $assetId)
will only return the Root node, and not any other classes.
2009-12-27 19:05:20 -08:00
Colin Kuskie
5574cdf9b0 newByPropertyHashRef. Tolerate an empty properties hashref. Call $className->new.
Allow propeties hashref to be empty, and take class from invocant.
Add a session attribute.
Change around->extraHeadTags to after->extraHeadTags.
2009-12-21 14:46:29 -08:00
Colin Kuskie
12e160bf8c Fix passing regex characters to the highlighter, which makes it break. Fixes bug #11311. 2009-12-21 11:38:52 -08:00
Colin Kuskie
4316cd218f Remove old, dead CSS from bullet list template. Fixes bug #11313. 2009-12-21 09:23:36 -08:00
Patrick Donelan
8b34dc79ee Fix minor Survey bug
WebGUI::Asset::Wobject::Survey::ResponseJSON::responseValues was
returning empty result for indexBy => 'addresses'
2009-12-20 16:10:04 -05:00
Colin Kuskie
030f6bccf0 Force set to process properties in insertion order.
Note, we should look for a way to make this more efficient.
2009-12-18 15:28:10 -08:00
Colin Kuskie
8837185bce Set aside Asset.pm's update, so we can fallback to using the one in Definition::Role::Object 2009-12-18 14:58:10 -08:00