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
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
Colin Kuskie
2aefb5d316
Switch from defaultValue to Moose's built-in default
2010-01-13 11:14:52 -08:00
Colin Kuskie
d14db689b8
Stubbing out tests for assetId, write.
2010-01-13 10:31:44 -08:00
Colin Kuskie
a8f251a5f2
Sessionize addRevision
2010-01-13 10:31:22 -08:00
Colin Kuskie
22823339ab
Sessionize addChild
2010-01-13 10:30:29 -08:00
Colin Kuskie
7f3ad035db
Fix pagination issues with the badge builder and default sort. Fixes bug #11344 .
2010-01-12 15:42:27 -08:00
Colin Kuskie
c5b9cee56b
Move package to correct location.
2010-01-12 15:37:52 -08:00
Colin Kuskie
6111403489
Provide a new Image Asset template without an internal div. Fixes bug #11345 .
2010-01-12 15:37:25 -08:00
Colin Kuskie
47276ce4ad
Fix exception handling by the NotifyAboutLowStock workflow activity. Fixes bug #11343 .
2010-01-12 11:07:43 -08:00
Colin Kuskie
be7cd328cf
Add POD for getIsa. Enforce a repeatable order for testing.
2010-01-12 11:07:25 -08:00
Colin Kuskie
c98cd87f80
Do not force Image assets to have an alt tag. Fixes bug #11337 .
2010-01-11 16:48:08 -08:00
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
dc94fe351a
Force a recount of threads since the archive bug could make them out of date.
2010-01-11 14:00:04 -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
e0089f37f8
write work, no tests
2010-01-09 09:32:10 -08:00
Colin Kuskie
54ed6f7e9e
Incremental change to write method in Asset.pm. Actual code to follow soon.
2010-01-08 09:11:35 -08:00
Colin Kuskie
ed752a25c3
Make WebGUI::Definition property methods work the same way that Moose attribute methods do.
...
Specifically, get_property_list does not return property names from all classes. Add a new
method to do that. Refactor and reuse lots of code.
2010-01-08 09:04:27 -08:00
Colin Kuskie
49992dddb9
move get_tables back into Meta/Class. Refactor it to use get_all_class_metas instead of iterating over all the properties.
2010-01-07 18:25:45 -08:00
Colin Kuskie
15c5318a27
Encapsulate a method to return all the meta objects for classes used by an object.
...
Refactor the code out of get_all_properties into its own method. This will be
used by the write method in Asset.pm, at least.
2010-01-07 18:15:40 -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
2605a4c989
Ready for 7.8.10 development cycle
2010-01-05 21:59:09 -08:00
Colin Kuskie
4bf5cf2fa2
Preparing for 7.8.9 release.
2010-01-05 21:30:36 -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