Commit graph

3245 commits

Author SHA1 Message Date
Colin Kuskie
b323f74121 Update copyright notice 2011-12-28 11:30:38 -08:00
Colin Kuskie
b8e088ff7a Refactor Session/Icon to remove a bunch of copy/paste code. Update test to remove deprecated profileField calls. 2011-12-28 11:11:21 -08: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
c2baef0bde Remove debug code. 2011-12-07 08:25:49 -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
dbc84086b4 Apparently, InnoDB returns results in a different order than MyISAM tables. Make tax data comparisons be order insensitive for tests. 2011-11-24 10:38:19 -08:00
Colin Kuskie
3bd5172d6c No more leaky tests for carts. 2011-11-04 17:09:45 -07:00
Colin Kuskie
8a92be9454 Fix another leaky test. 2011-11-04 15:21:58 -07:00
Colin Kuskie
dc489b25b9 Fix a leaking test. 2011-11-04 15:19:08 -07:00
Colin Kuskie
7cfc8e6e71 Update this test for new testing API. 2011-11-04 14:14:45 -07:00
Colin Kuskie
a3266dea35 WebGUI 8 doesn't do Basic Auth, and ldap tests were moved into a different file. 2011-11-04 14:13:22 -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
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