Commit Graph

57 Commits (844d0dacf0f9cc3bdbd3b6a4eca900e66c3bcd0b)

Author SHA1 Message Date
Mark Moffat 9911fe04a9 Fixed validation, added modal errors + partial 2020-03-17 19:08:46 +10:30
Mark Moffat 78e06e511b
Customer account page (#124)
* Adding customer login & account page support

* Added account link

* Sorting orders on account page

* Small UI fixes

* Removed debugs

* Added tests

Co-authored-by: Mark Moffat <mark@Marks-MacBook-Pro-2.local>
2020-03-17 16:56:04 +10:30
Mark Moffat f3a7231016 Added customer company name for shipping 2020-03-07 20:07:49 +10:30
Mark Moffat cd3ba1bc60 Fixes for CSRF 2020-02-23 14:10:35 +10:30
Mark Moffat 5d4c469e38 Fixed same product - diff opts in cart. Added confirm on cart empty. 2020-01-21 20:30:52 +10:30
Mark Moffat 799ed301f2
Adding discount code support (#109)
Added a discount code module. Lots of work went into this. 

Please report any problems as issues to be fixed
2020-01-21 18:06:46 +10:30
Mark Moffat 3bda249c68 Adding in a maxQuantity value when adding to cart 2020-01-08 19:10:45 +10:30
Mark Moffat fe14f28994 Fix product price and amount global searching 2020-01-08 18:58:29 +10:30
Mark Moffat 03573129b3 Fixing cart storage and management 2019-12-30 13:40:57 +10:30
Mark Moffat 967ac66786 Linting 2019-12-30 13:18:45 +10:30
Mark Moffat 588fdddb75 Fixed updating of cart + added retrieval of cart & specs 2019-12-20 09:38:46 +10:30
Mark Moffat 7e6d6e9b8c Fixed delete user account api 2019-12-16 15:15:02 +10:30
Mark Moffat 1f84f77089 Fixed user create and update API endpoints 2019-12-16 14:52:27 +10:30
Mark Moffat cd0b4e992f Test to check success of testdata script 2019-12-16 14:10:15 +10:30
Mark Moffat 043fce5081 Fixed spec to be correct data 2019-12-16 12:59:20 +10:30
Mark Moffat bb453e3e26 Adding product endpoint tests 2019-12-13 21:36:38 +10:30
Mark Moffat b3b1a3ae00 Added pages spec 2019-12-07 17:56:07 +10:30
Mark Moffat 67eb6c9014 Allow deleting of customers 2019-11-23 09:05:19 +10:30
Mark Moffat c32b9f77b3 Fixed customer indexing and dodgy test 2019-11-16 21:35:02 +10:30
Mark Moffat a6645e9d81 Update customer route and tests 2019-11-16 21:27:48 +10:30
Mark Moffat f779ee4baf Added more user tests 2019-11-16 20:31:49 +10:30
Mark Moffat a85293dbc4 Update tests to update users 2019-11-16 20:27:50 +10:30
Mark Moffat f45698088a Validate users routes 2019-11-16 20:07:48 +10:30
Mark Moffat 5b3ee2a734 Invalid email spec 2019-11-16 12:53:25 +10:30
Mark Moffat 62dacd3867 Adding customer schema validation 2019-11-16 09:32:15 +10:30
Mark Moffat e9e7625789 Unusused function 2019-11-09 15:50:47 +10:30
Mark Moffat 525ad4bdb6 Removing debugging in test helper 2019-11-09 15:50:31 +10:30
Mark Moffat 1bcd897d22 Test bug hunting in CI 2019-11-09 15:48:13 +10:30
Mark Moffat 9c0d22af1d Remove debug 2019-11-09 15:38:11 +10:30
Mark Moffat d5e32ee9a7 Fixing user setup in tests 2019-11-09 15:38:05 +10:30
Mark Moffat 6f2efde1ea Failing Travis test 2019-11-09 14:56:20 +10:30
Mark Moffat 357e694597 Refactoring customer route 2019-11-09 14:51:48 +10:30
Mark Moffat 8c4d1fa199 Fix tests 2019-11-09 13:34:35 +10:30
Mark Moffat b41461c8a3 Refactoring product route 2019-11-09 13:29:20 +10:30
Mark Moffat f6ab6207eb Refactoring tests 2019-11-09 12:44:56 +10:30
Mark Moffat 22c4362dc4 Enhancing user management 2019-11-07 17:06:20 +10:30
Mark Moffat a87d2fbf0a
Adding subscriptions (#95)
* Adding subscriptions

* Adding in ability to use webhook for subscriptions

* Add docs and ability to create subscriptions

* Fixed populating value

* Adding subscription tests

* Language update
2019-11-06 21:10:27 +10:30
Mark Moffat 1584a2a173 Fixing deprecated DB calls 2019-10-29 18:56:30 +10:30
Mark Moffat dad8f59d2c Skip test for now 2019-07-12 17:29:51 +09:30
Mark Moffat 8b630529c1 Fix tests 2019-07-12 17:04:12 +09:30
Mark Moffat fad68a51ea Adding tests for updating products 2019-06-20 12:44:04 +09:30
Mark Moffat a39a87609c Exposing some more API endpoints and tests 2019-06-15 21:16:10 +09:30
Mark Moffat 0871de9802 Added test for order filtering 2019-06-15 21:00:04 +09:30
Mark Moffat 291a044d0b Linting and refactoring 2019-06-15 14:16:08 +09:30
Mark Moffat 9f49aed230 Fixed test 2019-06-15 11:27:12 +09:30
Mark Moffat 113bfe05cc Adding APIkey and order tests 2019-06-15 11:23:14 +09:30
Mark Moffat 92e4d7c047 Remove only. Whoops. 2019-06-15 10:26:27 +09:30
Mark Moffat 802414b208 Adding more tests 2019-06-12 18:48:48 +09:30
Mark Moffat 519c00f983 Revert debugging 2019-06-12 18:28:03 +09:30
Mark Moffat 536a3c4612 Changing indexing in tests 2019-06-12 18:26:08 +09:30