Commit graph

14088 commits

Author SHA1 Message Date
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
e4da19bcc3 Show sku instead of short description. 2010-01-21 12:02:17 -08:00
Colin Kuskie
ba91560a96 Fix Notify About Low Stock email to be more user friendly. Fixes bug #11364. 2010-01-21 11:56:01 -08:00
Colin Kuskie
38dedef368 Remove debug from Asset.pm 2010-01-21 11:55:49 -08:00
Colin Kuskie
0a6e0b1160 test for new, with no assetId. Apparently, you cannot return undef from BUILDARGS. 2010-01-20 21:56:15 -08:00
Colin Kuskie
28fae98edd Small tweak for rejecting empty string as assetId. 2010-01-20 21:55:55 -08:00
Colin Kuskie
56eadab746 Update test for new Moose API. 2010-01-20 21:54:29 -08:00
Colin Kuskie
0ef94945a7 Dirty conversion of Navigation to Moose. 2010-01-20 21:40:57 -08:00
Colin Kuskie
b12ed7ef47 Tests for getDefault. 2010-01-20 20:58:27 -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
b86be55ba2 Fix the double click on the ITransact submit button. Fixes bug #11362. 2010-01-20 15:32:10 -08:00
Colin Kuskie
b9766970cc Ready for 7.8.11 development. 2010-01-19 21:25:41 -08:00
Colin Kuskie
9f000f81a9 Preparing for 7.8.10 release. 2010-01-19 20:42:41 -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
b397651620 Update the Product test for changes in the Storage API. 2010-01-19 18:39:43 -08:00
Colin Kuskie
066e654640 Improve the performance of getThumbnailUrl by 1400%. Fixes bug #11346 2010-01-19 15:57:28 -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
ea53dcc037 Update version for JavaScript::Packed to handle some gnarly JS. Fixes bug #11034. 2010-01-19 09:06:35 -08:00
Colin Kuskie
d04d457d44 Fix several countries whose addresses were rejected by the USPS International ship driver. Fixes bug #11359.
Also, update two countries in Form::Country
2010-01-18 19:59:50 -08:00
Colin Kuskie
97338ffefe When duplicating a CS with now children, clear out the replies and threads. When duplicating with children, recalculate them again, since duplicating clears them. Fixes bug #11347.
Note, the lastPostId and lastPostDate are cleared, and gone.  There is no way to recover it after duplicating the branch since
the creationDates and revisionDates are reset when duplicating.
2010-01-18 14:59:34 -08:00
Colin Kuskie
6fe662ef83 Make sure template attachments are duplicated. Fixes bug #11355. 2010-01-18 10:58:03 -08:00
Colin Kuskie
1e7f443126 Fix problems with the Sales tab in the Shop Account plugin.
Only display the Sales tab to vendors, and prevent www_viewSales from erroring out if the
user is not a vendor.  New template, template variable, i18n.
2010-01-18 08:51:17 -08:00
Colin Kuskie
675bc49f05 tests for getParent and addRevision. 2010-01-15 17:01:22 -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
022495506f Use some JS to prevent people clicking the submit button twice on the ITransact checkout screen. Fixes bug #11351 2010-01-14 15:56:00 -08:00
Colin Kuskie
81d811bef1 Add the Topic description to the default Story Topic template. 2010-01-14 15:27:53 -08:00
Colin Kuskie
7ee588c38e Update the migration docs a little. Begin to build a test for addChild/addRev. 2010-01-14 13:34:44 -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
02861471cb Tests for update 2010-01-14 08:55:33 -08:00
Colin Kuskie
8667876f63 Fix an i18n typo in the SQL Report, and also make sure that a query is not pure whitespace. Fixes bug #11348. 2010-01-14 08:30: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
10ca1fd206 Tests for writing to the database. 2010-01-13 16:43:25 -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