Commit graph

14012 commits

Author SHA1 Message Date
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
Colin Kuskie
cb9510d9b8 Break Definition.t into Defintion.t and Definition/Asset.t 2009-12-18 14:57:12 -08:00
Colin Kuskie
ec5f610701 Moose seems to clean this class of anything that it uses. Changed bare calls to croak to Carp::croak. 2009-12-18 13:09:03 -08:00
Colin Kuskie
c50e2f9bcb Fix tests. 2009-12-18 13:08:53 -08:00
Colin Kuskie
0e90ad00b8 Set up filtering on title, menuTitle and URL. This is done via "around". 2009-12-18 12:59:01 -08:00
Colin Kuskie
0c4710c4ad code formatting in the properties. 2009-12-18 11:45:54 -08:00
Colin Kuskie
ed0eeb9bc5 Merge branch 'moose-definition' into static_definition. Moved Asset.pm over to the new Definition. 2009-12-18 11:40:33 -08:00
Colin Kuskie
6beb285d17 Proper bug attribution. 2009-12-18 09:05:05 -08:00
Colin Kuskie
bab059bc69 document VIES bugfix in changelog. 2009-12-18 09:03:16 -08:00
Colin Kuskie
8c0b73f2ec Fix an infinite loop with getting Photo under an album that is not committed. Fixes bug #11235. 2009-12-18 08:24:44 -08:00
Martin Kamerbeek
d45a58cf87 - updateVATNumber should delete ivalid numbers.
- Fix missing pod and put subroutines in the correct place.
2009-12-18 14:07:58 +01:00
Martin Kamerbeek
2e5250afe1 Refactored EU tax plugin code to reduce code duplication and added tests. 2009-12-18 13:45:50 +01:00
Martin Kamerbeek
6bdf5f42ed Merge branch 'master' of git@github.com:plainblack/webgui 2009-12-18 12:11:55 +01:00
Colin Kuskie
456eb6f39a Fix POD, condense Asset attributes. A test for tableName in the constructor. 2009-12-17 18:07:47 -08:00
Colin Kuskie
e1be2f9319 Make fieldType a required property option. Check for the presence of either noFormPost or label. 2009-12-17 13:25:27 -08:00
Colin Kuskie
3b31069b1c Make fieldType a required parameter of a Definition Asset property. 2009-12-17 13:00:54 -08:00
Colin Kuskie
f997981d73 More tests for tableName, getProperty. 2009-12-16 17:48:24 -08:00
Colin Kuskie
c93bdc7950 add get_tables, and refactor out get_all_properties from get_property_list 2009-12-16 15:13:15 -08:00
Colin Kuskie
5b5d4783d0 Make get_property_list API compatible with get_attribute_list, by returning an array. 2009-12-16 13:31:48 -08:00
Colin Kuskie
64fc4a231d Define what the assetName accessor returns. 2009-12-16 13:31:27 -08:00
Colin Kuskie
30e8aecf4a note that fixId was also removed, and what to do in its place. 2009-12-16 09:55:43 -08:00
Colin Kuskie
5ce2b6e0bd Ready for 7.8.9 deveopment cycle. 2009-12-15 20:36:17 -08:00
Colin Kuskie
47afff66fd Preparing for 7.8.8 release. 2009-12-15 19:40:23 -08:00
Colin Kuskie
310c0add71 When addin a child under a parent that is not committed, adopt the parent's version tag. Fixes bug #11295 2009-12-15 14:25:02 -08:00
Martin Kamerbeek
e88b0ca0d7 Adding VIES recheck workflow and tests. 2009-12-15 22:59:54 +01:00
Colin Kuskie
f582bfd99e Fix some broken Survey i18n (Add Section). Add i18n for object edit dialog buttons. 2009-12-14 11:26:08 -08:00