Commit graph

3230 commits

Author SHA1 Message Date
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
38d35e23b6 Update Account::Profile tests and code. 2011-11-01 13:16:48 -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
4fea10a1f5 Merge commit 'v7.10.19' into WebGUI8 2011-10-25 20:31:50 -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
5a11540e1c Update test for new testing API for assethelpers. 2011-10-19 13:21:03 -07:00
Colin Kuskie
82bb59d40e Debug needs an explicit package name for addToCleanup. 2011-10-19 13:11:23 -07:00
Colin Kuskie
19b6f9de12 Convert to the correct kind of helper syntax for Fork work. 2011-10-19 13:06:17 -07:00
Colin Kuskie
6e5da21f76 Custom edit template for the GalleryAlbum asset. 2011-10-15 18:00:53 -07:00
Colin Kuskie
259a42bc0b Use done_testing() and test if addButton called twice nukues buttons. 2011-10-03 13:39:45 -07:00
Scott Walters
622391b61d Using Basic Auth with WebGUI (#12198)
Per IRC discussion with preaction, make HTTP auth failures soft failures.
Don't attempt to re-auth the user on failure.  Otherwise, .htaccess or
similar put in place to protect a site and WebGUI get into a skirmish
(users are asked to re-auth even if they did the .htaccess correctly,
the log gets flooded, cats get radio shows, etc).
2011-09-07 20:24:29 -04: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
Colin Kuskie
0871ceb56a Fix the WaitForUserConfirmation test to make sure that TT is enabled in the config file. 2011-09-07 17:01:49 -07: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
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
Graham Knop
9996f687d9 don't modify test file 2011-08-04 13:27:58 -05: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
4ac894d981 Add a method that returns either the standard style template or the mobile style template based on the Session. 2011-08-01 16:04:54 -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
Colin Kuskie
04ea5ab533 Update test for change in Definition behavior. Labels/noFormPost is not required any longer. 2011-07-27 22:45:44 -07:00
Colin Kuskie
0b74f25dd1 Update test for changes to the underlying form code, submit => send 2011-07-27 22:40:25 -07:00
Colin Kuskie
b2eda80839 Update a test for WebGUI 8 mock asset creation. 2011-07-27 22:36:26 -07:00
Colin Kuskie
7238b2ae09 Fix a broken test. 2011-07-27 22:16:42 -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
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