Commit graph

1229 commits

Author SHA1 Message Date
David Delikat
d10cabfc16 changed plan from 53 to 57 2012-11-02 17:21:48 -04:00
David Delikat
c76f12d278 change metaData_values.value from char(255) to varchar(1024) 2012-02-10 16:49:19 +00:00
Colin Kuskie
a6e1adf183 Fixes to Survey tests and merged code from 7.10 2012-01-17 19:10:16 -08:00
Colin Kuskie
1ab73e2f73 Have to use Test::More to get its functions... 2012-01-17 19:09:52 -08:00
Colin Kuskie
3b418ede3c Merge commit 'v7.10.24' into WebGUI8 2012-01-17 15:03:45 -08:00
Colin Kuskie
b1df3ad3fc Fix a flaky test. 2012-01-16 14:37:09 -08:00
Colin Kuskie
b323f74121 Update copyright notice 2011-12-28 11:30:38 -08:00
David Delikat
7120969ba2 added test for scalar exception test 2011-12-13 22:09:18 +00:00
Colin Kuskie
27f3b3e935 Convert Event edit test to WebGUI::Test::Mechanize, and fix issues with adding events to a calendar. 2011-12-12 10:26:05 -08:00
Colin Kuskie
7d75bf5cdc Update the GalleryFile/Photo/edit test for WEBGUI_LIVE. 2011-12-01 16:01:56 -08:00
Colin Kuskie
4e8884cd60 WebGUI_LIVE test upgrade. Note, this test is leaking a version tag. 2011-12-01 15:26:54 -08:00
Colin Kuskie
b242236ac2 Finish WEBGUI_LIVE cleanup 2011-12-01 15:26:34 -08:00
Colin Kuskie
ec0b35cda5 Convert another WEBGUI_LIVE test. 2011-12-01 14:25:57 -08:00
Colin Kuskie
0b144dd89c Convert this from a WEBGUI_LIVE test to using Test::WWW::Mechanize::PSGI. 2011-12-01 13:13:34 -08:00
Colin Kuskie
626011a850 Only export custom choice types for the Survey, and only the ones that are used by this Survey. 2011-11-22 09:02:10 -08:00
Colin Kuskie
9d2bcd282b Make sure that custom question types are included in the packaged Survey. Fixes bug #12304. 2011-11-21 14:19:51 -08:00
Colin Kuskie
3bd5172d6c No more leaky tests for carts. 2011-11-04 17:09:45 -07:00
Colin Kuskie
42ed112d1f Update this test to not use getPage. 2011-11-04 13:51:00 -07:00
Colin Kuskie
a2a821822d Merge commit 'v7.10.23' into WebGUI8. Tests need fixing. 2011-11-02 11:12:18 -07:00
Colin Kuskie
3b9f7ae127 WebGUI 8 adjustments and test upgrades. 2011-11-01 15:41:01 -07:00
Colin Kuskie
431cd280a4 Merge commit 'v7.10.22' into WebGUI8 2011-10-31 20:13:01 -07:00
Colin Kuskie
4855816a29 Merge commit 'v7.10.21' into WebGUI8. Also, add POD and fix broken tests. 2011-10-27 16:45:19 -07:00
Colin Kuskie
fdb979ca8a Merge commit 'v7.10.20' into WebGUI8 2011-10-26 15:02:51 -07:00
Colin Kuskie
4bfabb9469 Make version tags mandatory again. 2011-10-25 19:44:58 -07:00
Colin Kuskie
01062458d9 Fix syntax error preventing this test from running. The test still doesn't run because it needs to be converted from Test::WWW::Mechanize to WebGUI::Test::Mechanize and take advantage of plack, but now it doesn't run cleanly. 2011-10-19 13:42:07 -07:00
Colin Kuskie
ffa11a7191 Fix Mech and timezone issues. 2011-10-19 13:39:29 -07:00
Colin Kuskie
82bb59d40e Debug needs an explicit package name for addToCleanup. 2011-10-19 13:11:23 -07:00
Colin Kuskie
6e5da21f76 Custom edit template for the GalleryAlbum asset. 2011-10-15 18:00:53 -07:00
Colin Kuskie
9da88844e0 Make sure that calendar time span flags are always set. Fixes bug #12271. 2011-10-15 13:06:44 -07:00
Colin Kuskie
c17d9aa394 Allow PseudoRequest to handle 0 and '' correctly. Kudos to knowmad for pointing this behavior out. 2011-09-29 14:39:52 -07:00
Scott Walters
ee121e9460 Mobile template is not being inherited (#12246)
Break get_add_instance out of www_add; subclass it in Layout to
pull mobileTemplateId and mobileStyleTemplateId from the parent
if the parent is also a Layout.
2011-09-07 20:19:50 -04:00
Scott Walters
b05c7ea810 Revert "Mobile template is not being inherited (#12246)"
... per perlDreamer's additional argument for his original design for this

This reverts commit 2628263384.
2011-09-07 20:19:50 -04:00
Scott Walters
2628263384 Mobile template is not being inherited (#12246)
added extra_www_add_properties method to Asset.pm and subclassed it in as
Layout.pm as properties fix-up hook in child for www_add
2011-09-07 15:43:23 -04:00
Scott Walters
d65fd7e646 Pending perlDreamer's comments...:
Revert "Mobile template is not being inherited  (#12246)"

This reverts commit a4624663cf.
2011-09-06 20:32:50 -04:00
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
Colin Kuskie
71a015a4ce Remove debug output from Post.t 2011-08-22 19:47:47 -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
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
Colin Kuskie
b2eda80839 Update a test for WebGUI 8 mock asset creation. 2011-07-27 22:36:26 -07:00
Paul Driver
9738ec0171 fixed #12206: Bad Subscription Groups in Duplicated Threads 2011-07-27 11:19:02 -05:00
Scott Walters
e945a94c63 Reworked error handling to propogate errors downward, especially when webgui.debug is set 2011-07-26 03:10:56 -04: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