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
Colin Kuskie
a7aa1d2fb2
Fix epoch=0 issues with Session/DateTime and D_date macro.
...
Add an edge case test for D_date macro.
2009-12-01 17:08:12 -08:00
daviddelikat
60b04ff928
Merge branch 'master' of git@github.com:plainblack/webgui
...
Conflicts:
lib/WebGUI/i18n/English/Asset_EMSSubmission.pm
2009-12-01 18:50:27 -06:00
Colin Kuskie
ae08335e9c
Add test for SpectreTest macro. Handle fall-through condition in Macro itself.
2009-12-01 15:40:24 -08:00
Colin Kuskie
5375fbbf8f
AssetManager Helper, which just opens a tab to the ContentHandler.
2009-11-30 17:31:42 -08:00
Colin Kuskie
9bb5497aff
Fix Cron issues with CSes. Fixes bug #11284 .
2009-11-30 11:11:36 -08:00
Colin Kuskie
3eb0ac756f
Flesh out Revisions assetHelper.
...
Add a simple method to WebGUI::HTML to format an array as a table row.
Do not join non-asset tables in queries.
2009-11-29 16:03:51 -08:00
Colin Kuskie
cc0cc0ba64
Have the USPS shipping driver accept ZIP+4, even if USPS doesn't.
2009-11-28 19:23:35 -08:00
Colin Kuskie
16a2057b5b
Add DeactivateAccount macro test with 100% coverage.
2009-11-28 11:19:31 -08:00
Luke Robinson
9733cdb938
tests for DeactivateAccount macro
2009-11-28 11:10:00 -08:00
Colin Kuskie
7d9ee7b0a6
Add Promote and Demote helpers.
2009-11-27 10:29:49 -08:00
Colin Kuskie
39ffaba487
Add copy with descendants.
2009-11-27 09:46:14 -08:00
Colin Kuskie
2ea377b87d
Fix test comment.
2009-11-27 09:41:12 -08:00
Colin Kuskie
80a6b90353
Add Copy with children Asset Helper
2009-11-27 09:37:56 -08:00
Colin Kuskie
0b124f269c
Finish Copy (self) Helper.
2009-11-25 16:45:09 -08:00
Colin Kuskie
7298af49ea
Copy Asset Helper (self only).
2009-11-25 16:32:52 -08:00
Colin Kuskie
ed8f2c4a8f
A few small tweaks, and a test.
2009-11-25 10:31:06 -08:00
Colin Kuskie
c64911c531
Update test for changes in core code.
2009-11-24 23:13:17 -08:00
daviddelikat
e0b87268c5
various fixes to EMS Submissin system
2009-11-22 20:32:17 -06:00
Doug Bell
38d395e49f
added Tabsets. finished toHtml
2009-11-20 18:12:11 -06:00
Colin Kuskie
17297f4fe6
Fix cache setting and cleaning up issues in the Snippet. Fixes bug #11259
2009-11-20 11:34:13 -08:00
Colin Kuskie
50b26293c9
Adding Bart's back to site macro test.
2009-11-20 08:55:28 -08:00
Colin Kuskie
e1c77cf314
Fix the issue with Assets with macro based content not showing the new content to Visitors. Fixes bug #11200 .
2009-11-19 10:04:19 -08:00
Colin Kuskie
21e1ac8da6
Update test for a disabled workflow.
2009-11-19 10:04:19 -08:00