Commit Graph

49 Commits (b41461c8a320f12b52de253b73d61c82f6987ab4)

Author SHA1 Message Date
Mark Moffat 0991405072 Suppress logging when running tests 2019-11-09 10:57:20 +10:30
Mark Moffat bf6c35ea50 Properly handle stripe hook with sig verification 2019-11-07 20:13:38 +10:30
Mark Moffat 2aa973a692 Small linting 2019-11-06 19:03:51 +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 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 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 3c9a86306a Added note to update session secret 2019-10-26 11:17:29 +10:30
Mark Moffat 22626c0873 Linting 2019-10-25 19:38:47 +10:30
Aayush Saxena c42bd43de3 code refactored - used switch case instead of if 2019-09-23 15:48:26 +09:30
Mark Moffat 7af378a7bb Linting 2019-07-12 17:36:34 +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 ca7043be2a Starting to add ability to make admin API requests 2019-06-15 10:26:03 +09:30
Mark Moffat 9208619803 Change startup and only run indexing while not in test env 2019-06-11 19:33:42 +09:30
Mark Moffat 3c38a6f9da Track stock on testing 2019-06-09 22:19:35 +09:30
Mark Moffat 10d04c2485 Removed comment 2019-06-09 22:00:26 +09:30
Mark Moffat bc4a5ee71b Refactor the DB connection to be able to reuse 2019-06-08 17:19:40 +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 1d2522668a Linting 2018-10-05 22:45:39 +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
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 9662d341c8 add new handlebars helper cartTotalItems and pass session.cart to it from layouts/layout.hbs to show cart total items including quantities 2018-07-17 14:25:15 +09:30
Mark Moffat c674f86576 Small cart quantity fixes 2018-05-21 23:06:12 +09:30
Mark Moffat 4d14589484 Fixed Node version check 2018-02-22 20:16:55 +01:00
Mark Moffat 61c59c8997 Started adding some tests 2018-02-22 18:41:24 +01:00
Mark Moffat 2ded224d5b Added a new theme called "Mono" 2018-02-17 14:30:28 +01:00
Mark Moffat 59b5dd8954 More theme refactor 2018-02-13 21:21:45 +01:00
Mark Moffat 09cd83352f Fixed theme and partials structure 2018-02-11 20:47:26 +01:00
Mark Moffat a8d5a60ee0 Only running indexing on production startup 2018-02-11 13:02:47 +01:00
Rafael Escala fc1423c315
Updated the Stripe config message error 2018-02-05 17:04:42 -05: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
Mark Moffat 87c1ea8c63 Route separation 2018-02-05 14:20:53 +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 9d75471488 Fixed user type detection bug 2018-02-03 15:08:51 +01:00
Mark Moffat 01ce33a642 Started route separation 2018-02-03 14:26:09 +01:00
Mark Moffat 6076455d06 Added support for returning customers 2018-01-21 22:20:33 +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 2e2e4b3834 Added schema validation for configs 2018-01-10 21:20:36 +01:00
Mark Moffat a2a5923acd Changed paths of payment providers and updated readme 2018-01-07 19:38:06 +01:00
Mark Moffat c4e59e9cd0 Add initial testdata 2018-01-07 14:10:16 +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