Commit Graph

150 Commits (7c7af39f4b8d45981725f3443a1eb6696c34e123)

Author SHA1 Message Date
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
arings c2184649fa Fix bugs in Stripe and crashes in Paypal modules
- Paypal: deprecated req.param in express
- Paypal: newId was saving in DB as empty string
- Stripe: newId was undefined, resulting in wrongly reported unsuccesful
transaction
- Stripe: client email was not sending because was undefined
2018-01-31 17:57:56 +01:00
Mark Moffat 6297639688 Some TODOs 2018-01-21 22:20:46 +01:00
Mark Moffat 6076455d06 Added support for returning customers 2018-01-21 22:20:33 +01:00
Mark Moffat 3730f84796 Fixed settings saving schema validation 2018-01-21 21:36:16 +01:00
Mark Moffat 3c39b5e5c5 Cleaning up code 2018-01-14 22:11:22 +01:00
Mark Moffat ecef3b8224 Moved menu to the DB and started modernizing old code 2018-01-14 18:02:10 +01:00
Mark Moffat b5afba2729 Removed debug message. 2018-01-07 19:41:26 +01:00
Mark Moffat 69e50c9c03 Fixed payment paths 2018-01-07 19:38:06 +01:00
Mark Moffat a2a5923acd Changed paths of payment providers and updated readme 2018-01-07 19:38:06 +01:00
Mark Moffat cdcc2791cd Fix image directories issue 2018-01-07 14:10:39 +01:00
Mark Moffat c4e59e9cd0 Add initial testdata 2018-01-07 14:10:16 +01:00
Mark Moffat 8ce3074ba0 Cleaned up old code and updated readme 2018-01-07 13:14:17 +01:00
Mark Moffat f0d501817c Fixed indexing 2018-01-06 21:07:10 +01:00
Mark Moffat defad4e76f Linting 2018-01-06 20:35:49 +01:00
Mark Moffat 36dcb73110 initial commit 2018-01-06 19:55:48 +01:00