Commit graph

965 commits

Author SHA1 Message Date
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
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
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
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
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
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
Colin Kuskie
638b2a1996 Fix tests that were leaking assets. 2011-06-13 18:52:44 -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
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
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
Doug Bell
1fa911029d Merge commit '1966cc02a7'
Conflicts:
	lib/WebGUI/Asset/Wobject/Thingy.pm
2011-05-20 14:58:43 -05:00
Doug Bell
c471728ca4 add metadata to assets inside an AssetReport
Thanks to SquOnk for the patch.
2011-05-20 14:25:40 -05:00
Colin Kuskie
e33c41bd43 Add more tests around a test that fails intermittently in AssetLineage.t 2011-05-16 21:57:07 -07:00
Colin Kuskie
aaa2d8e8f2 Update shortcut exporting test for changes to exportGetRelatedAssetIds exporting the container by default. 2011-05-16 21:36:27 -07:00
Colin Kuskie
d796412469 Update Asset/Story.t for changes to exportGetRelatedAssetIds now exporting the container as well. 2011-05-16 21:32:48 -07:00
Paul Driver
4af2c8424f Whoops. Monkey::Patch wasn't used. 2011-05-16 16:17:33 -05:00
Paul Driver
c1a29182ca fixed #12129: AdminBar calls canAdd as an object method 2011-05-16 16:11:42 -05:00
Paul Driver
f1538824f7 rfe #12123: Layouts related for export purposes 2011-05-09 10:02:00 -05:00
Colin Kuskie
61534779d5 Add new MapPoint code for geolocation, Thingy searching and indexing and a macro for rendering thing data outside of the Thingy. 2011-05-02 13:49:18 -07:00
Colin Kuskie
d4672a92f1 Consider search fields when doing search in a Thingy normally, or via Ajax. Fixes bug #12117. 2011-04-20 16:05:20 -07:00
Paul Driver
df2e1a5b27 rfe #12105: Make shortcuts related for export purposes 2011-04-13 15:57:50 -05:00
Colin Kuskie
1a462d4835 for exportRelatedAssetIds, Don't create a version tag unless it's needed, and then don't restore it unless it exists. Otherwise, the tag leaks and breaks downstream tests. 2011-04-11 09:32:32 -07:00
Colin Kuskie
f2b5f35d49 Move Article.t over to using the new storage API for checking for storage location existance. 2011-04-11 08:55:44 -07:00
Paul Driver
1ff9f09e8b couple more tests for related asset exports 2011-04-06 16:43:23 -05:00
Paul Driver
f8021c3d3d rfe #12093: Remotely stored photos for Story assets 2011-04-05 15:16:45 -05:00
Colin Kuskie
73261e4651 Batch of test cleaups for leaking objects. 2011-04-04 18:57:50 -07:00
Paul Driver
76e9693f4b Export related assets 2011-04-04 18:47:37 -05:00
Paul Driver
5c20e9c0be Fixing a bunch of tests not to rely on HT being default parser 2011-04-04 18:47:18 -05:00
Colin Kuskie
8525e4b7ee Don't refund transactionItems unless the transaction is successful, or if the item is already canceled. Also, no not call onCancelRecurring for normal Sku's unless they're really recurring. Fixes bug #12089. 2011-04-04 14:45:53 -07:00
Paul Driver
3531c4d913 Snippets can now select a template parser
(instead of being restricted to the configured default)
2011-03-31 15:21:07 -05:00
Paul Driver
81f4b44e19 yet another template test failure 2011-03-31 12:42:18 -05:00
Paul Driver
26eb6c5a22 likewise t/Asset/Post/notification.t 2011-03-31 12:30:32 -05:00
Paul Driver
c8098e2ca6 rfe #618: Syndicated Content Asset: Make images in the downloaded RSS-feeds available in the template. 2011-03-30 09:52:55 -05:00
Doug Bell
35811a20eb fix image rotate test to really test if it was rotated, not just "changed" 2011-03-21 20:07:52 -05:00
Doug Bell
5e6483e97f add lineage increment_step and _offset for multi-master DB clusters 2011-03-21 18:26:18 -05:00