Commit graph

13945 commits

Author SHA1 Message Date
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
Colin Kuskie
b9a9c588d7 i18n another Survey label. Fixes bug #11306 2009-12-14 10:15:47 -08:00
Colin Kuskie
3b08b5184c Initialize the editor before rendering the intial dialog box for the Section Editor. Fixes bug #11297. 2009-12-14 10:08:28 -08:00
Colin Kuskie
8c358fa229 Remove Dumper. 2009-12-11 13:28:48 -08:00
Colin Kuskie
059bd6761d Uniqueness check on attribute names in get_property_list. Add tests for that, and for get_attributes 2009-12-11 11:56:16 -08:00
Colin Kuskie
334f3414c3 Handle insertion order in multiple classes. This breaks overriding properties in the Definition. 2009-12-11 10:54:23 -08:00
Colin Kuskie
83e8d7ca12 More tests. 2009-12-10 19:49:28 -08:00
Colin Kuskie
812c2e4c37 Finish up POD for Definition::Role::Object 2009-12-10 19:46:14 -08:00
Colin Kuskie
19b784cd95 Fix get_property_list. Add tests. 2009-12-10 18:54:18 -08:00
Colin Kuskie
b8781044f3 Update tests. table -> tableName. Add comments to tests. 2009-12-10 17:49:43 -08:00
Colin Kuskie
0f3260131d Add POD. Use meta->find_attribute_by_name instead of can. Use get_property_list instead of get_all_properties. Change set to ignore bad properties instead of ending the set. 2009-12-10 17:48:23 -08:00
Colin Kuskie
849e8d4037 Change get_property_list from an attribute to a method in Definition::Meta::Class. 2009-12-10 15:54:49 -08:00
Colin Kuskie
f0b0179ad8 Make the warnings messages from the Matrix about having too many products to compare better. Fixes bug #11301 2009-12-10 13:59:26 -08:00
Colin Kuskie
4b65b441e0 Matrix search should be AND based, not OR. Fixes bug #11301 2009-12-10 12:57:45 -08:00
Colin Kuskie
c8d6f12629 Add conditional display code to default matrix main template. Fixes bug #11299 2009-12-09 15:20:51 -08:00
Colin Kuskie
fc4dca65e1 Calculate ratings, even is the count is less than 10. 2009-12-09 10:44:30 -08:00
Colin Kuskie
f2b7762ddd Do not remove ratings, just prevent them from being displayed in the best/worst list. 2009-12-09 10:39:42 -08:00
Colin Kuskie
c0a9358bcf Prevent statistics with a count of less than 10 from being listed in the worst list. 2009-12-09 10:18:43 -08:00