Commit Graph

165 Commits (master)

Author SHA1 Message Date
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