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
fd0bbb83c9
Added custom schema validation formats
2019-11-16 12:52:54 +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
d5e32ee9a7
Fixing user setup in tests
2019-11-09 15:38:05 +10:30
Mark Moffat
f6ab6207eb
Refactoring tests
2019-11-09 12:44:56 +10:30
Mark Moffat
0991405072
Suppress logging when running tests
2019-11-09 10:57: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
e5ef7af4cc
Linting
2019-11-03 09:48:34 +10:30
Mark Moffat
726df5a9fb
Random generate secrets and store in settings-local
2019-10-29 19:30:47 +10:30
Mark Moffat
1584a2a173
Fixing deprecated DB calls
2019-10-29 18:56:30 +10:30
Mark Moffat
1d0b0ac5f0
Remove DB warning on connect
2019-10-29 18:27:06 +10:30
Mark Moffat
c9732ad235
Images should be under the product id not permalink
2019-10-26 12:03:39 +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
2d4b911bfc
Fix #85 products not showing
2019-10-25 13:29:44 +10:30
Mark Moffat
7af378a7bb
Linting
2019-07-12 17:36:34 +09:30
Mark Moffat
df5b51413b
Fixes to glob-fs
2019-07-11 15:05:03 +09:30
Mark Moffat
fad68a51ea
Adding tests for updating products
2019-06-20 12:44:04 +09:30
Mark Moffat
fc1580ddd6
Starting to add schema validation to API endpoints
2019-06-17 19:51:45 +09:30
Mark Moffat
10215af9ff
Fixed settings saving + add sending of order hooks
2019-06-15 15:35:31 +09:30
Mark Moffat
291a044d0b
Linting and refactoring
2019-06-15 14:16:08 +09:30
Mark Moffat
948ff11030
Validate API key in requests
2019-06-15 10:25:23 +09:30
Mark Moffat
d18940a9dd
Add debug logging
2019-06-11 19:31:45 +09:30
Mark Moffat
704adb747c
Linting
2019-06-11 15:02:44 +09:30
Mark Moffat
01cd784a0e
Fixed test scripts
2019-06-09 22:02:22 +09:30
Mark Moffat
f37e521768
Added ability to easily run the test/sample data
2019-06-08 17:20:01 +09:30
Mark Moffat
bc4a5ee71b
Refactor the DB connection to be able to reuse
2019-06-08 17:19:40 +09:30
Mark Moffat
300057aa88
Linting
2019-02-09 13:43:44 +10:30
Shreyas
1c09c0f7d4
This is minor fix for image upload issue if multiple sub directories to be created based on permaLink of product
2019-02-09 13:33:24 +10:30
Mark Moffat
b4a9ba3064
Sanitize product inputs
2018-12-12 00:31:56 +11:00
Mark Moffat
ac652edcb3
Linting fixes
2018-10-05 21:28:33 +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
70127ee0bc
Allow for an ignored local settings file.
...
Even though settings.json is in the .gitignore file git does not ignore
modifications to this file. This change makes expressCart detect the
existence of a file called settings-local.json. When this file exists,
it will be used for reading and writing settings instead of the usual
settings.json. This will help to prevent accidental leakage of user
secrets.
2018-09-02 21:25:37 +09:30
Mark Moffat
b2234ef4f2
Login fixes
2018-08-31 13:00:27 +09:30
Mark Moffat
65b18cfe42
Add limitations to file uploads
2018-06-01 21:01:23 +09:30
Mark Moffat
ddaf235d92
Fixed productAddedDate in test data
2018-02-22 20:10:15 +01:00
Mark Moffat
61c59c8997
Started adding some tests
2018-02-22 18:41:24 +01:00
Mark Moffat
09cd83352f
Fixed theme and partials structure
2018-02-11 20:47:26 +01:00
Mark Moffat
2990c9e8fe
Theme now defaults to Cloth to avoid duplicate code
2018-02-11 13:44:45 +01:00
Mark Moffat
11a0ce909b
Reverted index change
2018-02-11 13:40:07 +01:00
Mark Moffat
a8d5a60ee0
Only running indexing on production startup
2018-02-11 13:02:47 +01:00
Mark Moffat
7fa175a852
Ensure admin role is retained on update
2018-02-05 22:43:22 +01:00
Mark Moffat
4533e23993
Added permission validation to non admin users
2018-02-05 20:51:04 +01:00
Mark Moffat
85faeb9168
Moved common helper to more logical location
2018-02-05 19:20:30 +01:00