Commit graph

2242 commits

Author SHA1 Message Date
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
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
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
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
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
38144bd58f Add assetId attribute to Asset.pm, and tests. 2009-12-30 08:35:21 -08:00
Colin Kuskie
cb0ca14958 Add a test for get. 2009-12-29 12:05:23 -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
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
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
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
cb9510d9b8 Break Definition.t into Defintion.t and Definition/Asset.t 2009-12-18 14:57:12 -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
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
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
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
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
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
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
af20594535 Fix looping construct in NotifyAboutLowStock activity. Fix tests. 2009-12-08 21:24:20 -08:00
Colin Kuskie
27a7c099ba fix: getIsa returns undef for pending assets.
Add a new option flag to getIsa, called returnAll.  If returnAll = 1, then
assets are returned regardless of status.  Otherwise, getIsa will only
return committed assets.
2009-12-08 17:22:59 -08:00
Colin Kuskie
d1e6f30493 Fix a bug where ratings were allowed to be set with less than 10 votes. Fixes bug #11294
This helps fix people trying to game the system.
2009-12-08 14:39:24 -08:00
Colin Kuskie
7261ecd29d Fix an infinite loop in getting LDAP error messages. Fixes bug #11296 2009-12-07 18:43:09 -08:00
Colin Kuskie
c845849da0 Fix bug #11286: Tell the difference between end of Workflow, and unable to load WorkflowActivity.
Tests are added for new methods.  The changes to Workflow::Instance->run are peripherally
tested in Workflow Activity tests.
2009-12-07 13:07:46 -08:00
Colin Kuskie
89ea0e7cea use addToCleanup instead of an END block. 2009-12-07 13:07:11 -08:00
Graham Knop
c2fca8e178 some additional definition testing 2009-12-07 12:23:03 -06:00
Colin Kuskie
9476878b5e Fix a call on potentially undefined parent in Gallery Album. Fixes bug #11289. 2009-12-03 22:46:33 -08:00
daviddelikat
37676cb654 Merge branch 'master' of git@github.com:plainblack/webgui 2009-12-02 19:07:12 -06:00
Colin Kuskie
3e11f711b3 Add the Lock Asset AssetHelper 2009-12-02 15:25:31 -08:00
Graham Knop
88aba652c7 moose based definition 2009-12-02 11:37:41 -06:00