Commit Graph

165 Commits (master)

Author SHA1 Message Date
Mark Moffat 1f84f77089 Fixed user create and update API endpoints 2019-12-16 14:52:27 +10:30
Mark Moffat 8a638a3324 Fix API endpoint for product insert 2019-12-16 14:10:56 +10:30
Mark Moffat f149b87c3a Moved form to API endpoint + fixed opts 2019-12-16 13:00:30 +10:30
Mark Moffat d57fd17718 Fixing more API endpoints 2019-12-13 21:36:25 +10:30
Mark Moffat 3e065c2610 Missing returns and page check 2019-12-07 17:55:51 +10:30
Mark Moffat 980c467444 Update old variable name 2019-12-07 17:52:46 +10:30
Mark Moffat b3cc17aee0 Missing return 2019-12-07 17:52:27 +10:30
Mark Moffat 76018ea076 Fixed route 2019-12-07 14:30:45 +10:30
Mark Moffat b2f58fbe4b Moving admin functions to API calls 2019-12-07 10:11:18 +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 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 12c2a4d4e2 Handle schema validation properly and return error 2019-11-16 12:53:16 +10:30
Mark Moffat 62dacd3867 Adding customer schema validation 2019-11-16 09:32:15 +10:30
Mark Moffat 17ee5bcfc4 Switching to ajv validation 2019-11-16 09:31:57 +10:30
Mark Moffat 9e5074f7c7 Authorize.net fixes 2019-11-14 21:43:29 +10:30
Mark Moffat 83a23d397d Send optional address to Stripe for better compliance 2019-11-12 22:11:02 +10:30
Mark Moffat c3c29d04f1
Adding Adyen payment integration (#97)
Add Adyen payment integration
2019-11-11 18:17:48 +10:30
Mark Moffat 357e694597 Refactoring customer route 2019-11-09 14:51:48 +10:30
Mark Moffat b41461c8a3 Refactoring product route 2019-11-09 13:29:20 +10:30
Mark Moffat 87a722d03e Refactoring order route 2019-11-09 12:59:28 +10:30
Mark Moffat a7e09f3d56 Fixed error loggging 2019-11-09 10:51:07 +10:30
Mark Moffat 1deb54d525 Refactor user route 2019-11-09 09:48:32 +10:30
Mark Moffat f43005de8b Removed incorrect check editing own owner account 2019-11-08 15:22:31 +10:30
Mark Moffat bf6c35ea50 Properly handle stripe hook with sig verification 2019-11-07 20:13:38 +10:30
Mark Moffat 22c4362dc4 Enhancing user management 2019-11-07 17:06:20 +10:30
Mark Moffat 001c015c36 Stopped deleting of own user account 2019-11-06 21:27:00 +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 c92194dd56 Give option to go english only 2019-11-06 19:13:16 +10:30
Andrea Di Mario d3abc37cb0 Initialize multiple language and start translations (#91)
* Initialize multiple language and start translations

* continue with translation

* end translations for en and it

* fix json syntax en translation, otherwise i18n reset the file

* add language info in config

* fix json format invalid

* solve review comments
2019-11-06 19:01:25 +10:30
Mark Moffat 161be3075d Bugs in payment modules 2019-11-04 17:09:05 +10:30
Mark Moffat 1665f461e2 Error in paypal module 2019-11-03 16:03:11 +10:30
Mark Moffat e5ef7af4cc Linting 2019-11-03 09:48:34 +10:30
Mark Moffat 9f1eca7b02 Removed old code 2019-11-01 23:00:40 +10:30
Mark Moffat 1584a2a173 Fixing deprecated DB calls 2019-10-29 18:56:30 +10:30
Mark Moffat c9732ad235 Images should be under the product id not permalink 2019-10-26 12:03:39 +10:30
Mark Moffat e6feac9e7a Fixed new product insert 2019-10-26 11:50:58 +10:30
Mark Moffat 7070cdef7e Refactoring 2019-10-26 11:38:53 +10:30
Mark Moffat 807ab4d32c Changing productPublished from string to bool 2019-10-25 13:44:28 +10:30
Mark Moffat 7af378a7bb Linting 2019-07-12 17:36:34 +09:30
Mark Moffat 8f2c1f4323 Remove debugging 2019-07-12 17:29:03 +09:30
Mark Moffat 72b88eee9e Linting + trying to fix travis test 2019-07-12 17:20:07 +09:30
Mark Moffat ea513d534a Fixed rebase issue 2019-06-20 12:47:08 +09:30
Mark Moffat 4967795821 rebase 2019-06-20 12:46:29 +09:30
Mark Moffat fad68a51ea Adding tests for updating products 2019-06-20 12:44:04 +09:30
Mark Moffat 0972565124
Small fix for indexing products 2019-06-19 10:52:04 +09:30
Mark Moffat fc1580ddd6 Starting to add schema validation to API endpoints 2019-06-17 19:51:45 +09:30
Mark Moffat de5a01c671 Linting 2019-06-15 21:17:28 +09:30
Mark Moffat a39a87609c Exposing some more API endpoints and tests 2019-06-15 21:16:10 +09:30
Mark Moffat 10215af9ff Fixed settings saving + add sending of order hooks 2019-06-15 15:35:31 +09:30
Mark Moffat 7c10c24ca6 Fixed invalid path 2019-06-15 15:28:19 +09:30
Mark Moffat 0fe5b8fb9c Incorrect reference to indexing 2019-06-15 15:26:51 +09:30
Mark Moffat e68be9aa14 Linting 2019-06-15 15:22:32 +09:30
Mark Moffat a4e0f03b70 Linting 2019-06-15 14:21:01 +09:30
Mark Moffat 291a044d0b Linting and refactoring 2019-06-15 14:16:08 +09:30
Mark Moffat ca7043be2a Starting to add ability to make admin API requests 2019-06-15 10:26:03 +09:30
Mark Moffat da38fb6076 Generate API keys in admin UI 2019-06-15 10:24:41 +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 9860ac2de5 Debugging travis failure 2019-06-12 18:23:34 +09:30
Mark Moffat 73bc060f57 Linting 2019-06-11 14:42:14 +09:30
Mark Moffat e48bd97bf7 Fixing tests 2019-06-11 14:42:07 +09:30
Mark Moffat f1b6d1dcc8 Store cart in the DB and handle the holding of stock across sessions 2019-06-01 21:52:14 +09:30
Mark Moffat 3ab76684bb Stock management changes 2019-02-09 21:16:41 +10:30
Mark Moffat b352058e76 Starting stock management 2019-02-09 14:37:02 +10:30
Mark Moffat ac01568036 Missing title 2018-12-12 00:35:35 +11:00
Mark Moffat b4a9ba3064 Sanitize product inputs 2018-12-12 00:31:56 +11:00
Mark Moffat 5db27a523b Allow for order wide comments on payment 2018-10-05 22:45:12 +09:30
Mark Moffat dbb3a15f65 Merge branch 'master' of https://github.com/mrvautin/expressCart 2018-10-05 21:26:18 +09:30
Mark Moffat 9d94ea0a80 Added ability to add comments to product in order 2018-10-05 21:24:42 +09:30
Ben Burns 9b0f7a03b7 Handle settings changes without restart
Prior to this change, edited settings on the /admin/settings page
required a restart for the edit to take effect. This even causes the
settings page itself to not reflect the updated settings once you
navigate away from it or refresh. This change triggers the config to
reload when the settings are modified, which causes the impacted
templates to be recomputed.
2018-09-02 21:26:15 +09:30
Mark Moffat b2234ef4f2 Login fixes 2018-08-31 13:00:27 +09:30
Marty Sloan f9b5a84fb8 updated cartTotalItems in routes/index.js instead of adding handlebar helper. fixes quantity discrepency in the view when you first add items to the cart 2018-07-17 14:25:15 +09:30
Marty Sloan b9caca8794 update routes/admin.js to fix bug deleting product options 2018-06-22 16:46:42 +10:00
Martin Sloan 77d7262124 remove productOptions from routes/order.js 2018-06-11 09:57:49 +09:30
Mark Moffat 65b18cfe42 Add limitations to file uploads 2018-06-01 21:01:23 +09:30
Mark Moffat baccaae9b0 Fix issue with ability to create admin user by setting referrer 2018-05-30 18:35:17 +09:30
Mark Moffat c674f86576 Small cart quantity fixes 2018-05-21 23:06:12 +09:30
Mark Moffat fa660edb0c Test fixes 2018-02-23 20:28:05 +01:00
Mark Moffat 61c59c8997 Started adding some tests 2018-02-22 18:41:24 +01:00
Mark Moffat de5741750a Refactoring theming 2018-02-13 21:21:22 +01:00
Mark Moffat 09cd83352f Fixed theme and partials structure 2018-02-11 20:47:26 +01:00
Mark Moffat 7037e18017 Passing proper config and params on product not found 2018-02-07 20:51:30 +01:00
Mark Moffat d6bff8496b Small typo causing bad errors 2018-02-07 20:43:01 +01:00
Mark Moffat 7fa175a852 Ensure admin role is retained on update 2018-02-05 22:43:22 +01:00
Mark Moffat fe3a1c7c25 Fixed permissions 2018-02-05 22:28:04 +01:00
Mark Moffat 4533e23993 Added permission validation to non admin users 2018-02-05 20:51:04 +01:00
Mark Moffat bf67621a86 Fixed all the routes I broke 2018-02-05 19:33:40 +01:00
Mark Moffat 47829126ac FIxed admin/orders route 2018-02-05 19:25:56 +01:00
Mark Moffat 85faeb9168 Moved common helper to more logical location 2018-02-05 19:20:30 +01:00
Mark Moffat a3e2a6c7c1 Route separation 2018-02-05 14:20:44 +01:00
Mark Moffat 70105e73bc Added authorize.net payments 2018-02-04 22:39:42 +01:00
Mark Moffat 2f9911fd1e Change to bcryptjs, small refactor 2018-02-04 13:04:32 +01:00
Mark Moffat 43857f9b07 Fix items not removing from cart 2018-02-03 20:14:13 +01:00
Mark Moffat ab35c2814f Made routes more logical 2018-02-03 16:23:59 +01:00
Mark Moffat 01ce33a642 Started route separation 2018-02-03 14:26:09 +01:00
Mark Moffat d506969cbf Removed old dbQuery calls to native mongo 2018-02-03 13:20:35 +01:00
arings 6f379b393d Fix crash after adding new product, similar to #3 2018-02-02 21:20:33 +01:00