Commit graph

5734 commits

Author SHA1 Message Date
JT Smith
3cb0ccd0e2 started adding cart UI 2008-02-27 22:47:33 +00:00
JT Smith
152e96f695 added commerce ui glue 2008-02-27 16:30:10 +00:00
JT Smith
4a73cadf64 created donation asset 2008-02-27 02:44:33 +00:00
Colin Kuskie
a61ab090ee convert Shop::Tax to use exceptions 2008-02-27 00:35:10 +00:00
JT Smith
57cd7b6473 updated to use exceptions rather than croak 2008-02-26 23:14:48 +00:00
JT Smith
5aafd17f5a converted to use exception handling 2008-02-26 23:08:45 +00:00
JT Smith
fc88668399 added InvalidParam, renamed WrongObjectType to InvalidObject 2008-02-26 23:00:54 +00:00
JT Smith
d3600e31d4 added WrongObjectType 2008-02-26 22:48:10 +00:00
Colin Kuskie
f2c0a672f4 Add the shippingDrivers entry to the config file.
Have the update script remove the old shipping plugin and add the new shipping driver entry to config files.
Tests for Ship.t.  getDrivers and some "new" code for Shop::Ship.
2008-02-26 22:45:06 +00:00
JT Smith
06e902c019 base exception system 2008-02-26 22:12:39 +00:00
JT Smith
b90a8437a7 fixed last problem. cart works !!!! 2008-02-26 18:40:58 +00:00
JT Smith
e3be583b20 very close to working 2008-02-26 18:37:53 +00:00
JT Smith
449c3c26e0 tests are getting closer to working 2008-02-26 16:52:21 +00:00
JT Smith
d207994e90 cart should be pretty much working at this point...now need to test and whatnot 2008-02-26 02:12:31 +00:00
JT Smith
fa52bf1aef oops, wrong name 2008-02-26 01:32:16 +00:00
JT Smith
d3f3448b44 getting a little closer to having a complete cart 2008-02-26 01:31:52 +00:00
Colin Kuskie
ae589b23e7 add stub for Ship 2008-02-26 00:26:35 +00:00
JT Smith
a4391994a4 cart done, moving on to cart item 2008-02-25 22:56:47 +00:00
Colin Kuskie
640554ea14 Finish out the FlatRate driver, with tests and i18n.
Fix bugs found in ShipDriver by building a driver.
2008-02-25 22:36:10 +00:00
Colin Kuskie
6d856d1b58 Make the private object constructor handle inheritance.
Fix a POD typo.
2008-02-25 22:04:40 +00:00
JT Smith
26d708a56b fixing some bugs 2008-02-25 21:13:11 +00:00
Colin Kuskie
920b36d728 force the overriding of the calculate class 2008-02-25 21:11:44 +00:00
Colin Kuskie
2b1409222c remove debugging code 2008-02-25 21:10:41 +00:00
JT Smith
032617a8ba finished sku base class 2008-02-25 20:27:21 +00:00
Colin Kuskie
1d8461aa02 Update the POD for get and getValue. 2008-02-25 19:14:46 +00:00
Colin Kuskie
fc060962e8 Interim checkin.
FlatRate needs i18n and more tests.
2008-02-25 05:51:43 +00:00
Colin Kuskie
c1e0471d51 Add getEditForm to the ShipDriver, and test it. 2008-02-25 00:06:24 +00:00
Colin Kuskie
4ce8cd1a07 getEditForm also needs to accept the name of the hash key where
the list of fields is, because it is different in different
places in WebGUI.
2008-02-25 00:05:41 +00:00
Colin Kuskie
b1990836d0 Refactor out the getEditForm code from WebGUI::Workflow::Activity and
put it into HTMLForm.  Now HTMLForm can generate dynamic, definition
based forms for WebGUI.
2008-02-24 04:04:36 +00:00
Colin Kuskie
95b8244ce0 add the get tests and method 2008-02-23 06:30:55 +00:00
Colin Kuskie
39aa431e2c Move the delete test after the new test, so that there's an object
to pull from the db.  Sheesh.
Remove the id generation from inside the private build method
and make sure it returns the built object.
2008-02-23 06:17:39 +00:00
Colin Kuskie
669bb870eb Start working on the new method, with tests.
Refactor out the object building code into a private method to be shared by
new and create.
2008-02-23 00:30:18 +00:00
Colin Kuskie
b174ce51fb getName, getId, set, create with db storage.
Added tests for all those methods.
Check that definition gets a session object or else.
2008-02-22 23:51:13 +00:00
Colin Kuskie
72177f762c label is already stored in the options, and never used directly in any method. Code that wants it can instanciate an object 2008-02-22 19:08:32 +00:00
Colin Kuskie
3f4aed78d2 Valiadate inputs to create. 2008-02-22 00:15:44 +00:00
Colin Kuskie
6cc51fa176 add pod 2008-02-21 05:31:14 +00:00
Colin Kuskie
a89c507ed6 definition method for ShipDriver, with tests 2008-02-21 05:19:20 +00:00
JT Smith
40b432da40 took Sku a bit further 2008-02-21 04:19:26 +00:00
Colin Kuskie
33928cba06 Stubbing for ShipDriver.pm 2008-02-21 04:12:26 +00:00
JT Smith
2ca95d8586 Made a little progress on the sku tests and base class. 2008-02-21 03:16:59 +00:00
Colin Kuskie
e9327db8d8 sideporting i18n fix 2008-02-20 21:33:58 +00:00
Colin Kuskie
02011a7d37 finalize names and update docs to match 2008-02-19 18:33:45 +00:00
Colin Kuskie
995ae35bb0 base work for ShipperDriver module with tests 2008-02-19 04:50:20 +00:00
Colin Kuskie
c613e38995 Input validation tests for importTaxData. 2008-02-18 21:23:43 +00:00
Colin Kuskie
215031bb4e Renamed the import and export methods to prevent Perl from
calling them.
Added code and tests for import method.  It needs more testing
for user input validation.
2008-02-18 19:27:45 +00:00
Colin Kuskie
b4ef882e4c Fix a bug where $/ ended up being undef globally. 2008-02-18 18:17:12 +00:00
Colin Kuskie
6415b9186f Added the export method.
Basic tests for the export method.  Need to check the CSV file
to make sure it's created correctly.
2008-02-16 17:11:10 +00:00
Colin Kuskie
0701adf7e0 Add input validation for the add method, and test it.
Now it's time for the import and export methods.
2008-02-16 06:48:00 +00:00
Colin Kuskie
645c21bc3b Tax: add the delete method, with tests 2008-02-16 05:36:25 +00:00
Colin Kuskie
19591d37d4 Fix a bug in the upgrade script, with a default applied to the wrong column.
Built the add method, and tested it, too.
2008-02-15 23:17:52 +00:00