Commit graph

2470 commits

Author SHA1 Message Date
Scott Walters
a4624663cf Mobile template is not being inherited (#12246)
Applied SquOnk's patch and added tests; modify www_add to inherit mobileStyleTemplateId
from the parent as well as mobileTemplateId.  mobileTemplateId is only used by PageLayout
currently.  If other assets start using this and this gets inherited cross asset types,
thing will break.  A better design here would be to flag on a case-by-case basis in
asset definitions whether any given property should be inherited globally, of children
of the same asset class, or not at all.
2011-09-06 20:26:55 -04:00
Scott Walters
4ba683ddc3 if the optional tests run, the second create was failing. drop the table before creating it the second time. 2011-09-06 19:28:23 -04:00
Colin Kuskie
d76ff6ef33 Disable LDAP testing for the time being. 2011-08-30 14:53:17 -07:00
Colin Kuskie
61d7287ea5 Disable LDAP tests until we get the test LDAP server back up and running. 2011-08-30 14:35:20 -07:00
Colin Kuskie
7a89bf19c7 Remove a template attachment in the Search namespace. Add tests to check all other template attachments. Fixes bug #12238. 2011-08-28 17:28:47 -07:00
Colin Kuskie
71a015a4ce Remove debug output from Post.t 2011-08-22 19:47:47 -07:00
Colin Kuskie
e65368c7c1 Fix group membership by scratch variables for Visitor. Fixes bug #12195. Kudos to trex for the base patch. Also fix the same problem in the IP based group membership. 2011-08-22 19:17:58 -07:00
Colin Kuskie
8ab2dcca05 Fix cleanup and spelling issues with Group.t 2011-08-22 17:24:06 -07:00
Colin Kuskie
4f2905645a Changed urls sent to the asset indexer from using getUrl which prepends the gateway to them. Fixes bug #12229. 2011-08-22 08:04:02 -07:00
Colin Kuskie
428ea58327 Add better support for user profile fields for addresses to the Cart and the EMS. 2011-08-11 16:27:29 -07:00
Colin Kuskie
3b7dd524db When a Sku is purged, delete it from all carts. Better handling for cartItems whose assets have been deleted. Fixes bug #12213 2011-08-02 10:00:53 -07:00
Colin Kuskie
44f62c9884 Add cleanup code for newly added tests for canAdd being called as a method. 2011-08-02 10:00:25 -07:00
Colin Kuskie
a3ff0fb7a5 Fix replacements (again). Add tests to test words and sequences with punctuation. Fixes bug #12208. 2011-08-01 10:27:43 -07:00
Peter Christiansen
bcfe1740dd RFE 12207 : www_editThingDataSaveViaAjax should return more info if thingdata fails to be saved.
As it is it returns json with an array of error messages: [{error_message=>"some error"},..]
     But to be able to do anything useful with this. eg. highlighting of form fields whose
     input is erroneous we should also return the fieldName.

     This patch takes care of this.
2011-07-28 22:50:42 +02:00
Colin Kuskie
97644dae49 Forgot a comment for the extension test in the attachment_loop 2011-07-28 11:13:39 -07:00
Paul Driver
9738ec0171 fixed #12206: Bad Subscription Groups in Duplicated Threads 2011-07-27 11:19:02 -05:00
Colin Kuskie
0ed4d4a122 Fix bad tests that were order dependent on the FS. Fix tests that leaked assets and/or version tags. 2011-07-25 16:58:07 -07:00
Paul Driver
182fc16021 added WaitForUserConfirmation activity 2011-07-25 14:07:01 -05:00
Peter Christiansen
a9ac52aee3 Added tests to Article.t and Post.t for checking that the template variables
contain the new extension variable.
2011-07-23 01:58:48 +02:00
Paul Driver
a4ee31feef Re-fixed #11379, with tests this time. 2011-07-19 16:41:51 -05:00
Colin Kuskie
2ce2d7611a Handle the case when the defaultValue is in mysql format for the Thingy, but we have to save in epoch. Fix a timezone offset issue. Fixes bug #12197 2011-07-18 21:26:31 -07:00
Colin Kuskie
7fda01b291 Fixup of FormField macro tests and POD. 2011-07-11 17:22:25 -07:00
Colin Kuskie
9113408408 When a post is purged, disqualify it as the last post in its thread, and the parent CS. Fixes bug #12183 2011-07-11 15:04:54 -07:00
Colin Kuskie
64567f9ed5 Remove test comment. 2011-07-11 13:04:37 -07:00
Colin Kuskie
1c08796d6c Keywords fixes to prevent leaks. 2011-07-11 13:03:06 -07:00
Colin Kuskie
87d252ec26 Make sure that the keywords template variable is provided by processTemplate, since we documented that it does that. Fixes bug #12186. 2011-07-10 18:29:52 -07:00
Colin Kuskie
e3a4afe5c3 Allow reasonable default dates in ISO 9601 format. Fixes bug #12165. 2011-07-04 14:14:17 -07:00
Colin Kuskie
7e8ae8fe9a Fix spacing issues with WebGUI::DateTime->webguiDate. 2011-07-04 12:15:58 -07:00
Colin Kuskie
2bcda0c9f5 Change the generic tax driver to remove spaces around commas when adding a new row. Add tests and a convenience method for getting one line of tax information. Upgrade sub fixes any information already in the db. 2011-06-30 16:20:14 -07:00
Scott Walters
747f439725 FormField macro for throwing Form controls directly into templates;
useful for using alternative or improved Form controls without having
to change Asset source code.
2011-06-29 18:11:46 -04:00
Colin Kuskie
ac8d95e20a Okay, I guess we really do need that. 2011-06-27 21:11:37 -07:00
Colin Kuskie
f728b22843 Do not append ;adminId to the URL stored for calendar feeds. Add upgrade code to fixing existing, broken feeds. Fixes bug #12164 2011-06-27 14:40:46 -07:00
Chris Hanson
8a6ba94191 Added POD and test for RenderThingData macro update 2011-06-16 18:07:54 -05:00
Colin Kuskie
81ae2b4f07 Fix cleaning up LDAP links in tests. 2011-06-13 19:50:40 -07:00
Colin Kuskie
638b2a1996 Fix tests that were leaking assets. 2011-06-13 18:52:44 -07:00
Colin Kuskie
9154db5e2b Just test for falseness, not what kind of falseness. 2011-06-13 18:20:32 -07:00
Doug Bell
983e73a8d8 add TemplateToolkit before testing it 2011-06-13 17:53:26 -05:00
Doug Bell
3809817571 Ave trips mysql's stopwords? 2011-06-13 17:53:26 -05:00
Doug Bell
0577933006 2 letters is below the minimum word length 2011-06-13 17:53:25 -05:00
Doug Bell
f29f3e3851 XML::FeedPP::RSS returns "" and not undef 2011-06-13 17:53:25 -05:00
Colin Kuskie
00ea5c4df8 Add tests for checking user status via get. 2011-06-06 11:00:18 -07:00
Colin Kuskie
197f94c0e5 Fix gateway url handling in the RenderThingData macro. Fixes one part of #12133. 2011-05-31 21:27:53 -07:00
Colin Kuskie
b866601efa Fix the number of tests in Story.t, Test::Harness 3.x cannot come quickly enough. 2011-05-31 15:38:01 -07:00
Colin Kuskie
11b33ebfcb Fix problems with tests for bugfix 12142. 2011-05-31 15:16:16 -07:00
Colin Kuskie
ab1b6aa4fd Fix photo JSON handling in the story, where the data is cached incorrectly. Fixes bug #12136 2011-05-31 15:16:02 -07:00
Paul Driver
181f21a0b7 WebGUI::Event 2011-05-31 16:13:09 -05:00
Colin Kuskie
c3652d12a9 Band-aid fix for bad decache of icalFeeds, where it is not deserialized from JSON. Fixes bug #12139. 2011-05-30 11:34:43 -07:00
Colin Kuskie
444c006aae Add a test for multiple tax entries with different case. First one wins. 2011-05-30 09:31:02 -07:00
Paul Driver
7b7d1b4d2e cleanup extra thread in 12142 test 2011-05-25 12:30:12 -05:00
Paul Driver
d450ded7a1 fixed #12142: Copy fails on imported threads 2011-05-25 10:51:10 -05:00