Commit graph

281 commits

Author SHA1 Message Date
Colin Kuskie
c9c62eff84 Set the user to be Admin, make sure we're working with committed assets, and do the standard fix for addToCleanup to work with the debugger. 2010-09-22 14:47:03 -07:00
Colin Kuskie
0180b11064 Merge commit 'b8845e25fa' into WebGUI8. Up to 7.10.0 2010-09-22 07:58:06 -07:00
Colin Kuskie
f65ae74e54 Format the subtotal variable in the Payment driver to 2 decimal places. Fixes bug #11813 2010-09-02 12:51:54 -07:00
Graham Knop
a95ef168cc remove use of FindBin in tests 2010-09-01 14:05:53 -05:00
Colin Kuskie
7b218942b3 Merge commit '63865eb39f' into WebGUI8. up to 7.9.11 2010-08-13 11:52:08 -07:00
Colin Kuskie
d06b7b547d Fix a test with random false fails. 2010-08-10 21:24:21 -07:00
Colin Kuskie
cb2bb75d23 Remove notes and diags 2010-08-10 16:32:10 -07:00
Colin Kuskie
be42b7118c Migrate CartItem from Class::InsideOut to Moose. 2010-08-05 16:24:10 -07:00
Colin Kuskie
a7cc3696c6 Update Tax.pm for Moose. 2010-07-16 09:01:58 -07:00
Doug Bell
85e218f62f remove bad merge marks 2010-07-15 12:51:45 -05:00
Doug Bell
3ae21d6349 Merge remote branch 'upstream/WebGUI8' into 8-merge 2010-07-14 18:26:42 -05:00
Doug Bell
708b47d73c Merge remote branch 'upstream/WebGUI8' into 8-merge
Conflicts:
	docs/gotcha.txt
	docs/previousVersion.sql
	lib/WebGUI/Asset/Wobject/GalleryAlbum.pm
	lib/WebGUI/Asset/Wobject/Navigation.pm
	lib/WebGUI/AssetLineage.pm
	lib/WebGUI/Config.pm
	lib/WebGUI/Form/Template.pm
	lib/WebGUI/Group.pm
	lib/WebGUI/VersionTag.pm
	lib/WebGUI/Workflow/Activity/TrashExpiredEvents.pm
	t/AdSpace.t
	t/Asset/AssetExportHtml.t
	t/Asset/AssetLineage.t
	t/Asset/Story.t
	t/Asset/Template/HTMLTemplateExpr.t
	t/Asset/Wobject/Gallery/00base.t
	t/Asset/Wobject/GalleryAlbum/00base.t
	t/Asset/Wobject/GalleryAlbum/ajax.t
	t/Asset/Wobject/InOutBoard.t
	t/Asset/Wobject/StoryArchive.t
	t/Asset/Wobject/Survey/ExpressionEngine.t
	t/Asset/Wobject/Survey/Reports.t
	t/AssetAspect/RssFeed.t
	t/Auth/mech.t
	t/Group.t
	t/Mail/Send.t
	t/Operation/AdSpace.t
	t/Session/ErrorHandler.t
	t/Session/Scratch.t
	t/Session/Url.t
	t/Shop/Cart.t
	t/Shop/Pay.t
	t/Shop/Ship.t
	t/Shop/ShipDriver.t
	t/Shop/TaxDriver/Generic.t
	t/Shop/Vendor.t
	t/VersionTag.t
	t/lib/WebGUI/Test.pm
2010-07-14 18:20:00 -05:00
Colin Kuskie
934a93a2a8 Fix bugs from the Transaction.pm Moose work. 2010-07-14 15:47:21 -07:00
Colin Kuskie
04a16ed87c Move Shop/Transaction to Moose. Change core modules to suit. 2010-07-14 14:50:39 -07:00
Doug Bell
29b1f794cd fix merge problems 2010-07-12 15:52:38 -05:00
Colin Kuskie
73da9e343d Convert Address to Moose. 2010-07-09 13:49:37 -07:00
Doug Bell
babfa74209 Merge branch 'master' into 8-merge
Conflicts:
	docs/gotcha.txt
	lib/WebGUI.pm
	lib/WebGUI/Asset.pm
	lib/WebGUI/Asset/File/GalleryFile/Photo.pm
	lib/WebGUI/Asset/Post.pm
	lib/WebGUI/Asset/Story.pm
	lib/WebGUI/Asset/Template.pm
	lib/WebGUI/Asset/Wobject/Calendar.pm
	lib/WebGUI/Asset/Wobject/GalleryAlbum.pm
	lib/WebGUI/Asset/Wobject/Navigation.pm
	lib/WebGUI/AssetLineage.pm
	lib/WebGUI/AssetTrash.pm
	lib/WebGUI/Config.pm
	lib/WebGUI/Form/Template.pm
	lib/WebGUI/Group.pm
	lib/WebGUI/Inbox.pm
	lib/WebGUI/Workflow/Activity/DeleteExpiredSessions.pm
	lib/WebGUI/Workflow/Activity/TrashExpiredEvents.pm
	sbin/testEnvironment.pl
	t/AdSpace.t
	t/AdSpace/Ad.t
	t/Asset/Asset.t
	t/Asset/AssetExportHtml.t
	t/Asset/AssetLineage.t
	t/Asset/EMSSubmissionForm.t
	t/Asset/Event.t
	t/Asset/File/GalleryFile/Photo/00base.t
	t/Asset/File/GalleryFile/Photo/comment.t
	t/Asset/File/GalleryFile/Photo/download.t
	t/Asset/File/GalleryFile/Photo/edit.t
	t/Asset/File/GalleryFile/Photo/exif.t
	t/Asset/File/GalleryFile/Photo/makeResolutions.t
	t/Asset/File/GalleryFile/Photo/makeShortcut.t
	t/Asset/File/Image/setfile.t
	t/Asset/File/setfile.t
	t/Asset/Post.t
	t/Asset/Post/Thread/getAdjacentThread.t
	t/Asset/Sku.t
	t/Asset/Sku/ProductCollateral.t
	t/Asset/Story.t
	t/Asset/Template.t
	t/Asset/Template/HTMLTemplateExpr.t
	t/Asset/Wobject/Gallery/00base.t
	t/Asset/Wobject/GalleryAlbum/00base.t
	t/Asset/Wobject/GalleryAlbum/ajax.t
	t/Asset/Wobject/GalleryAlbum/delete.t
	t/Asset/Wobject/Matrix.t
	t/Asset/Wobject/StoryArchive.t
	t/Asset/Wobject/Survey/ExpressionEngine.t
	t/Asset/Wobject/Survey/Reports.t
	t/AssetAspect/RssFeed.t
	t/Auth/mech.t
	t/Config.t
	t/Group.t
	t/Help/isa.t
	t/International.t
	t/Mail/Send.t
	t/Operation/AdSpace.t
	t/Operation/Auth.t
	t/Pluggable.t
	t/Session.t
	t/Session/DateTime.t
	t/Session/ErrorHandler.t
	t/Session/Scratch.t
	t/Session/Stow.t
	t/Shop/Cart.t
	t/Shop/Pay.t
	t/Shop/PayDriver/ITransact.t
	t/Shop/PayDriver/PayPalStd.t
	t/Shop/Ship.t
	t/Shop/ShipDriver.t
	t/Shop/TaxDriver/EU.t
	t/Shop/TaxDriver/Generic.t
	t/Shop/Transaction.t
	t/Shop/Vendor.t
	t/VersionTag.t
	t/Workflow/Activity/ArchiveOldStories.t
	t/Workflow/Activity/ExpireIncompleteSurveyResponses.t
	t/lib/WebGUI/Test.pm
2010-07-09 11:48:30 -05:00
Colin Kuskie
6d0309249f Convert AddressBook to Moose. 2010-07-08 10:36:22 -07:00
Colin Kuskie
a1f1bf450a Move Cart to Moose.
Remove the global AddressBook cache, replace it with a per-object cache.  Merge create into
new, but leave a create stub for legacy code.
2010-07-07 15:30:47 -07:00
Colin Kuskie
416f62f36a Fix problems with Moose style object creation. 2010-07-07 12:31:37 -07:00
Colin Kuskie
e5a2af0330 Add test for new with properties. 2010-07-07 12:25:21 -07:00
Colin Kuskie
c159067c36 Remove Class::InsideOut from Shop/Vendor.t Update migration notes, tests and POD. 2010-07-02 15:16:43 -07:00
Colin Kuskie
5e502fee53 Merge commit '17ce3572bf' into WebGUI8. All tests passing. 2010-06-30 18:43:27 -07:00
Colin Kuskie
5febc0ebbc Merge commit '41575d24bb' into webgui8. Some tests still failing.
Conflicts:
	docs/gotcha.txt
	lib/WebGUI.pm
	lib/WebGUI/Asset.pm
	lib/WebGUI/Asset/File/GalleryFile/Photo.pm
	lib/WebGUI/Asset/Post.pm
	lib/WebGUI/Asset/Template.pm
	lib/WebGUI/Asset/WikiPage.pm
	lib/WebGUI/Asset/Wobject/WikiMaster.pm
	lib/WebGUI/Cache.pm
	lib/WebGUI/Content/Setup.pm
	lib/WebGUI/Role/Asset/Subscribable.pm
	lib/WebGUI/Shop/Cart.pm
	lib/WebGUI/Shop/Pay.pm
	lib/WebGUI/Shop/PayDriver/ITransact.pm
	sbin/testEnvironment.pl
	t/Asset/WikiPage.t
	t/Shop/PayDriver.t
	t/Shop/PayDriver/ITransact.t
	t/Shop/PayDriver/Ogone.t
	t/Shop/TaxDriver/EU.t
	t/Shop/TaxDriver/Generic.t
	t/Workflow/Activity/RemoveOldCarts.t
	t/lib/WebGUI/Test.pm
2010-06-25 23:25:26 -07:00
Colin Kuskie
6ac0aa936c Update Shop::Ship to use Moose instead of C::IO. Update tests, and core code. Provide a shim for the old syntax. 2010-06-24 13:41:07 -07:00
Colin Kuskie
9678c3d8a7 Convert Shop::Pay to use Moose instead of Class::InsideOut. Update tests, and core usages to Moose syntax. Provide a shim so the old, base ->new($session) syntax. 2010-06-24 13:31:32 -07:00
Graham Knop
30657d61f7 lots of test fixes 2010-06-13 06:19:41 -05:00
Graham Knop
49be76247e mock asset test package 2010-06-10 23:56:40 -05:00
Graham Knop
4c18ba3563 convert all test cleanup to addToCleanup 2010-06-10 18:47:54 -05:00
Graham Knop
492259c93a remove useless test END blocks 2010-06-10 18:47:53 -05:00
Graham Knop
b832deecd1 convert all cleanup methods to addToCleanup 2010-06-10 10:09:53 -05:00
Graham Knop
fe1ac66cca remove useless test END blocks 2010-06-10 10:09:45 -05:00
Colin Kuskie
53721581a1 Fix cleanup of Inbox messages for users. Provide a method for cleaning up Admin's messages. 2010-06-09 17:24:21 -07:00
Colin Kuskie
8a62abc3ef Add cleanup for AdSpaces, END block cleanup. 2010-06-07 18:53:39 -07:00
Colin Kuskie
b728eabd7b Add cleanup for Shop::Vendors. More end block removal. 2010-06-07 18:45:59 -07:00
Colin Kuskie
41b7413d01 More END block work. 2010-06-07 18:30:41 -07:00
Colin Kuskie
3ccf71ae0b Better test cleanups. Hopefully, this fixes the RemoveOldCarts activity. 2010-06-03 16:12:14 -07:00
Colin Kuskie
9a1c5c9c03 Cart cleanup from leaky PayDriver test. 2010-06-03 15:40:07 -07:00
Colin Kuskie
d3d0e03368 Remove some unneeded declared variables. 2010-05-23 16:35:10 -07:00
Colin Kuskie
a95ebdf5de Fix these tests. They no longer die. 2010-05-23 15:54:03 -07:00
Colin Kuskie
9a2b3bfd19 Update another test. 2010-05-23 15:39:42 -07:00
Colin Kuskie
51827b9c27 Fix the UPS test. 2010-05-23 15:36:38 -07:00
Colin Kuskie
59f8c0cea0 Test cleanups. Drop use_ok, change order of cleanup. 2010-05-22 22:48:42 -07:00
Colin Kuskie
8bbf758f53 Update FlatRate test. 2010-05-09 16:13:28 -07:00
Colin Kuskie
c471cd145b Fix a test I broke. 2010-05-09 14:59:30 -07:00
Colin Kuskie
29d0d72999 Fix a syntax error I introduced into the Ogone test. 2010-05-02 00:50:35 -07:00
Colin Kuskie
dbca5b31d9 Cleanup more tests that are leaking carts due to address book useId issues. 2010-05-02 00:17:03 -07:00
Colin Kuskie
02c4c5cf47 Cleanup tests that were leaking carts. 2010-05-01 23:54:34 -07:00
Colin Kuskie
69a2710eff Update the EU tax test for new Cart code. 2010-05-01 22:56:36 -07:00
Colin Kuskie
67f584d985 Update this test for new Shop 1.5 code. 2010-04-29 23:03:34 -07:00