Colin Kuskie
|
7e7bc9ca20
|
Label loop inside getLineage. Drop a clause from getLineageSql, since we can use LIKE to make sure the lineage does not include the parent. Move getLineage tests to the top since downstream tests depend on getting assets in lineage order.
|
2010-01-26 12:55:40 -08:00 |
|
Colin Kuskie
|
eb60168627
|
sessionification of AssetLineage, conversion to use moose accessors.
|
2010-01-26 07:25:51 -08:00 |
|
Colin Kuskie
|
d66b3b891b
|
Make revisedBy a property, so it gets written on ->update. Change addRev not to write to the db when it does not need to. Update tests to verify that addRev does the right thing for tagId and revisedBy.
|
2010-01-25 22:49:22 -08:00 |
|
Colin Kuskie
|
9b3e21c123
|
Attribute => aspect change.
|
2010-01-25 19:21:44 -08:00 |
|
Colin Kuskie
|
60375516ab
|
More attribute => aspect changes. Add get_all_attributes_list, which returns a list of the names of all attributes.
|
2010-01-25 19:21:00 -08:00 |
|
Colin Kuskie
|
d4f31870a3
|
change the name attribute to aspect to denote asset level static attributes like tableName, et. al.
|
2010-01-25 19:16:05 -08:00 |
|
Colin Kuskie
|
5b24340994
|
sessionify duplicate. Tweak AssetClipboard test to use Moose methods.
|
2010-01-22 18:36:54 -08:00 |
|
Colin Kuskie
|
de34ab3b95
|
fix getLineage. All tests in t/Asset/AssetTrash.t are passing.
|
2010-01-22 15:25:50 -08:00 |
|
Colin Kuskie
|
886a896f27
|
Note in POD which methods throw exceptions, and why.
|
2010-01-22 15:15:59 -08:00 |
|
Colin Kuskie
|
451eb33f0f
|
Fix requestAutoCommit. All tests in t/Asset/Asset.t passing.
|
2010-01-22 15:10:23 -08:00 |
|
Colin Kuskie
|
e5affbd0c2
|
Add tagId property, fix cloneFromDb. Fix several tests.
|
2010-01-22 11:42:05 -08:00 |
|
Colin Kuskie
|
348b34d307
|
Fix version tag rollback.
|
2010-01-22 11:24:53 -08:00 |
|
Colin Kuskie
|
5c3a3d440b
|
Fix inheritUrlFromParent, using trigger instead of around.
|
2010-01-22 11:07:46 -08:00 |
|
Colin Kuskie
|
6573884db6
|
Add exceptions to newPending. Change it to use newById instead of new. Tweak some messages and tests.
|
2010-01-22 08:40:49 -08:00 |
|
Colin Kuskie
|
90e92184f7
|
Stub in a getMemcached subroutine. The merge between memcached and the other branches seems to have gone wrong.
|
2010-01-22 08:31:48 -08:00 |
|
Colin Kuskie
|
f0b263df6c
|
Quick conversion of Template.pm to Moose.
|
2010-01-21 21:31:43 -08:00 |
|
Colin Kuskie
|
04ed78e8f1
|
Remove use of getAttribute from Asset.pm. Tweak a few tests.
|
2010-01-21 21:06:58 -08:00 |
|
Colin Kuskie
|
143e2e0d7b
|
pull permission tests out of Asset.t. Fix getName.
|
2010-01-21 20:45:58 -08:00 |
|
Colin Kuskie
|
52d5883b77
|
More exceptions and tests for Asset.pm
|
2010-01-21 19:52:48 -08:00 |
|
Colin Kuskie
|
9004007b0e
|
Changing undef to exceptions in Asset.pm
|
2010-01-21 19:10:56 -08:00 |
|
Colin Kuskie
|
cce85f0972
|
Add an exception for compile errors.
|
2010-01-21 19:10:47 -08:00 |
|
Colin Kuskie
|
b2db9d491b
|
Change getProperty to getFormProperties, which returns the form element of the requested property with i18n and sub ref evaluated.
|
2010-01-21 16:41:53 -08:00 |
|
Colin Kuskie
|
28fae98edd
|
Small tweak for rejecting empty string as assetId.
|
2010-01-20 21:55:55 -08:00 |
|
Colin Kuskie
|
0ef94945a7
|
Dirty conversion of Navigation to Moose.
|
2010-01-20 21:40:57 -08:00 |
|
Colin Kuskie
|
df9e058f89
|
Dirty conversion of Layout to Moose.
|
2010-01-20 20:57:52 -08:00 |
|
Colin Kuskie
|
d9c340f1b5
|
Convert Folder to Moose.
|
2010-01-20 20:48:16 -08:00 |
|
Colin Kuskie
|
bfedba82dd
|
Convert VersionTag to use newById instead of new, since new cannot dispatch to any class but the one that invoked it.
|
2010-01-20 20:15:46 -08:00 |
|
Colin Kuskie
|
fcd68c93ac
|
Change autoGenerate=>0 to noFormPost=>0 in Product.
|
2010-01-20 20:15:25 -08:00 |
|
Colin Kuskie
|
a00d173fe6
|
Rough conversion of Shortcut to Moose, so Asset cleanup works. Fix a bug in getLineage. Update tests for get_tables.
|
2010-01-20 19:12:04 -08:00 |
|
Colin Kuskie
|
3a425f29bc
|
Change the name of the sku accessor for shipsSeparately to isShippingSeparately, since it clashes with a property. Add tests. t/Asset/Sku.t passes.
|
2010-01-20 18:47:35 -08:00 |
|
Colin Kuskie
|
caa1f330b8
|
Fix newByPropertyHashRef, which is required for class dispatch. Add tests. Fix addChild to use newByPropertyHashRef.
|
2010-01-20 18:44:48 -08:00 |
|
Colin Kuskie
|
36d1636f06
|
Comment out troublesome code, and provide a default sub for the Product.
|
2010-01-19 20:32:10 -08:00 |
|
Colin Kuskie
|
4e65824bdd
|
Fix a typo in Wobject.
|
2010-01-19 19:24:34 -08:00 |
|
Colin Kuskie
|
b979628f80
|
Update Product to use Moose.
|
2010-01-19 19:23:41 -08:00 |
|
Colin Kuskie
|
16d9076ecd
|
Convert Sku and Shelf to Moose.
|
2010-01-19 13:16:54 -08:00 |
|
Colin Kuskie
|
c7979a137f
|
Change defaultValue to default in Snippet.pm
|
2010-01-19 13:14:27 -08:00 |
|
Colin Kuskie
|
779f037a33
|
Change defaultValue to default in Wobject.pm
|
2010-01-19 13:13:48 -08:00 |
|
Colin Kuskie
|
41b741d41b
|
Convert Snippet to moose accessors.
|
2010-01-19 11:34:23 -08:00 |
|
Colin Kuskie
|
0c3f4a26df
|
Fix a bug with extraHeadTags wrapper, prevent extraHeadTagsPacked and className from being initialized.
|
2010-01-15 17:00:02 -08:00 |
|
Colin Kuskie
|
b7761ce50e
|
Move getParent over to using Moose attributes.
|
2010-01-15 16:59:34 -08:00 |
|
Colin Kuskie
|
8b52d3ff76
|
rework addRevision to work with Moose.
|
2010-01-15 16:59:01 -08:00 |
|
Colin Kuskie
|
d47438d9ae
|
More _properties work, converted into proper methods.
|
2010-01-14 16:41:23 -08:00 |
|
Colin Kuskie
|
1331bf9828
|
Remove more instances of direct hash access for properties.
|
2010-01-14 10:31:38 -08:00 |
|
Colin Kuskie
|
8664d6f6ef
|
Make revisionDate a standard Moose attribute, instead of a Property.
|
2010-01-14 09:09:01 -08:00 |
|
Colin Kuskie
|
99083bcb9a
|
Remove some instances from Asset.pm of storing data in the object hash.
|
2010-01-14 08:57:17 -08:00 |
|
Colin Kuskie
|
da6bbd1669
|
Fix setSize to work with Moose attributes. Update the SQL query.
|
2010-01-13 17:08:34 -08:00 |
|
Colin Kuskie
|
1f44e63af2
|
Fix infinite loop problems with inheritUrlFromParent
|
2010-01-13 16:43:06 -08:00 |
|
Colin Kuskie
|
1ce5e4ebab
|
Give SQL.pm a quote_identifier wrapper.
|
2010-01-13 16:42:29 -08:00 |
|
Colin Kuskie
|
86b5157e4d
|
Hand backport a patch from master. Do not cache the parent when adding a child.
|
2010-01-13 11:16:16 -08:00 |
|
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 |
|