Commit graph

506 commits

Author SHA1 Message Date
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
Colin Kuskie
49182aebec Convert Shop::Credit to Moose 2010-07-09 14:26:14 -07:00
Colin Kuskie
09767a4189 Remove commented out module use line. 2010-07-09 14:08:10 -07:00
Colin Kuskie
73da9e343d Convert Address to Moose. 2010-07-09 13:49:37 -07:00
Colin Kuskie
fc345f57ce Fix some POD typos, copy/paste. 2010-07-09 09:04:07 -07:00
Colin Kuskie
1193785add Remove C::IO line 2010-07-08 10:37:21 -07:00
Colin Kuskie
6d0309249f Convert AddressBook to Moose. 2010-07-08 10:36:22 -07:00
Colin Kuskie
9ebcc0a87a Finish C::IO cleanup, strip out create guts. 2010-07-08 09:44:25 -07:00
Colin Kuskie
4cbbed3509 Allow creationDate to be settable in the Cart. 2010-07-07 15:52:16 -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
3807197cbb Move WebGUI::Shop::Admin from Class::InsideOut over to Moose. 2010-07-02 16:43:59 -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
565cf955d7 Merge commit '469c2b72b4' into WebGUI8. All tests passing. 2010-07-01 10:13:22 -07:00
Colin Kuskie
5e502fee53 Merge commit '17ce3572bf' into WebGUI8. All tests passing. 2010-06-30 18:43:27 -07:00
Colin Kuskie
385931aaab Merge commit 'f2e0fb509a' into WebGUI8. Some tests still failing. 2010-06-27 22:32:31 -07:00
Colin Kuskie
e5b82bc861 Merge commit '4969f31e1f' into WebGUI8 2010-06-26 14:37:31 -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
eb96c07d19 No need for a ref HASH check. 2010-06-24 14:45:04 -07:00
Colin Kuskie
298cc41562 Add a missing module required for BUILDARGS; 2010-06-24 14:41:58 -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
Colin Kuskie
3fbc109429 Update Session->Style setScript to default to text/javascript. Update the entire codebase to take advantage of it. 2010-06-24 13:07:03 -07:00
Colin Kuskie
8283243823 Allow visitor to remove items from their cart. Fixes bug #11667 2010-06-22 08:27:38 -07:00
Colin Kuskie
19c2c5fa1c Remove status description from Session/Http, and update all users of setStatus. 2010-06-17 08:18:24 -07:00
Colin Kuskie
59fed35087 Fix error feedback for missing fields, when using the AddressBook to add an address. 2010-06-07 11:17:10 -07:00
Patrick Donelan
f16ba76b86 Merge branch 'WebGUI8' into psgi
Conflicts:
	sbin/testEnvironment.pl
2010-06-04 21:01:03 -04:00
Colin Kuskie
4fb7933e34 Exception handling for getSku. 2010-06-03 16:11:11 -07:00
Colin Kuskie
760abafd9c Put back a www_checkout method, to be used by the Payment plugin when displaying upstream errors. Fixes bug #11584. 2010-05-24 11:05:33 -07:00
Colin Kuskie
095b7c7ef9 Add missing use lines to ITransact. 2010-05-22 22:38:32 -07:00
Colin Kuskie
ae88345e04 Revert the sense of the exception handling, to the right state. 2010-05-22 22:27:46 -07:00
Colin Kuskie
bd41360ad4 Internationalize all cart error messages. 2010-05-10 19:21:57 -07:00
Colin Kuskie
22d6806dfe Better UI for changing addresses. Prevent bad things from happening if the user delete required fields. 2010-05-10 17:19:01 -07:00
Colin Kuskie
18301e3bfd Make address form fields less sticky. If you want data saved, you must choose the Update address option. 2010-05-10 16:43:53 -07:00
Colin Kuskie
6965611994 Make the state field required in cart addresses. Fixes bug #11564. 2010-05-10 16:15:28 -07:00
Colin Kuskie
0bef2b2839 Change the core to use newById instead of new. 2010-05-09 14:30:47 -07:00
Colin Kuskie
17841c838f Better messaging and error handling in the Shop/Credit screen. Cannot give credit to Visitor. 2010-05-05 18:48:41 -07:00
Colin Kuskie
f04cf29300 Fix display of the shop credit deduction when there's a recurring item in the cart. Fixes bug #11557 2010-05-05 18:29:03 -07:00
Colin Kuskie
eb9d32f6f5 Log the correct transaction data on a $0 checkout. 2010-05-05 17:28:33 -07:00
Colin Kuskie
113c44ada8 Give the cart an id for the JS to work with. 2010-05-05 16:36:31 -07:00
Colin Kuskie
984003123c Shade the buttons with CSS. Don't show per-item shipping if there's only 1 item in the cart. 2010-05-04 10:20:31 -07:00
Paul Driver
e26723f526 handling per-item shipping dropdowns in js 2010-05-03 17:06:11 -07:00
Colin Kuskie
d92347bf34 Use a method rather than reinventing the getPaymentGateway method. 2010-05-02 18:13:25 -07:00
Colin Kuskie
0179930011 Give the perItem dropdowns the same class name. 2010-04-30 16:45:09 -07:00
Colin Kuskie
cb8c8da1ac Per item shipping. 2010-04-30 16:42:10 -07:00
Paul Driver
9a827affc4 Updating shipping/tax info based on address 2010-04-30 11:03:59 -07:00
Colin Kuskie
8cc6ecb30d Remove dead code from the PayDriver 2010-04-30 08:56:29 -07:00
Colin Kuskie
9ab13fb524 Document how and why we handle $0 checkouts 2010-04-30 08:51:30 -07:00
Colin Kuskie
d986496131 Code tweaks and comments for clarity. 2010-04-30 08:48:22 -07:00