Commit Graph

51 Commits (3b150012afca546a2bff54ab4180d30e1051f187)

Author SHA1 Message Date
Mark Moffat 3b150012af Updates 2020-03-14 11:38:29 +10:30
geco 7c7af39f4b
Add Bitcoin payment method (#121)
* fix settins form submit not working

* prepare routes/config structure to support new blockonomics payment method

* setup blockonomics view, get address and calculate btc

* blockonomics subscribe to web socket to listen for real time order updates on checkout page

* create order with pending status while waiting for blockonomics payment and pass orderid to frontend

* check received amount is enough

* blockonomics btc amount check, backend order confirmation, show order info into backend and frontend

* cleanup and empty cart when order is payed

* decline order if insufficient amount

* handle email and lunr indexing for blockonomis

* blockonomics new confirmation page, auto redirect at confirmation zero, 10 minutes timeout

* Update README with Blockonomics

* add countdown timer to blockonomics payment page

* updated README and checkout page

* update README with blockonomics return url

* build

* reply to blockonomics http callback

* dont check amount on frontend

* restore default settings

* switch from unirest to axios, remove unirest dep

* fix lint problems

* restore gitignore

* restore baseSchema

* build

Co-authored-by: GECKO <4787777-geckojs@users.noreply.gitlab.com>
2020-03-14 11:21:26 +10:30
Mark Moffat cd3ba1bc60 Fixes for CSRF 2020-02-23 14:10:35 +10:30
Mark Moffat fdbbceb114 Fixes to icon display 2020-02-01 19:24:11 +10:30
Mark Moffat 8373dfc430 Setup gulp watch for dev 2020-02-01 11:21:37 +10:30
Mark Moffat 98a1a0a0c4 Update package lock 2020-01-28 17:01:00 +10:30
Mark Moffat de0b81d6be SEO improvements 2020-01-23 21:28:21 +10:30
Mark Moffat 5d4c469e38 Fixed same product - diff opts in cart. Added confirm on cart empty. 2020-01-21 20:30:52 +10:30
Mark Moffat 799ed301f2
Adding discount code support (#109)
Added a discount code module. Lots of work went into this. 

Please report any problems as issues to be fixed
2020-01-21 18:06:46 +10:30
Mark Moffat f13ba3494a Adding mime-db to fix broken module 2020-01-13 17:11:02 +10:30
Mark Moffat 967ac66786 Linting 2019-12-30 13:18:45 +10:30
Mark Moffat 32ea7da4da Huge rewrite and update of style/layout + theme simplification 2019-12-26 13:53:21 +10:30
Mark Moffat ddf78c1618 Add country select for customer form & handle customer register fix 2019-12-19 15:35:48 +10:30
Mark Moffat 7a3f61dbb3 Allowing env.yaml file for environment configs 2019-12-18 17:40:54 +10:30
Mark Moffat 23ac0fdbe0 Support for .env 2019-12-16 17:57:45 +10:30
Mark Moffat c992673bc6 Added rate limiter on customer forgotten password 2019-12-16 17:03:51 +10:30
Mark Moffat 17ee5bcfc4 Switching to ajv validation 2019-11-16 09:31:57 +10:30
Mark Moffat c3c29d04f1
Adding Adyen payment integration (#97)
Add Adyen payment integration
2019-11-11 18:17:48 +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 7d2240dde6 Fixed dependencies 2019-11-03 09:56:25 +10:30
Mark Moffat a6cae144f2 Updating deps 2019-10-26 17:20:29 +10:30
Mark Moffat f0f3c56deb Updated package.json 2019-10-26 11:35:25 +10:30
Mark Moffat 87d40aa70c Removed unused dep 2019-10-25 19:43:31 +10:30
dependabot[bot] 81462b00eb Bump eslint-utils from 1.3.1 to 1.4.2
Bumps [eslint-utils](https://github.com/mysticatea/eslint-utils) from 1.3.1 to 1.4.2.
- [Release notes](https://github.com/mysticatea/eslint-utils/releases)
- [Commits](https://github.com/mysticatea/eslint-utils/compare/v1.3.1...v1.4.2)

Signed-off-by: dependabot[bot] <support@github.com>
2019-08-30 15:29:13 +09:30
Mark Moffat e187e2b92f Dependency fixes 2019-07-14 16:01:00 +09:30
Mark Moffat 7af378a7bb Linting 2019-07-12 17:36:34 +09:30
Mark Moffat 01dc330de4 Update dependencies 2019-07-11 14:50:16 +09:30
dependabot[bot] 988d002e36 Bump lodash.merge from 4.6.0 to 4.6.2
Bumps [lodash.merge](https://github.com/lodash/lodash) from 4.6.0 to 4.6.2.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2019-07-11 14:33:39 +09:30
dependabot[bot] ac7902b104 Bump lodash.mergewith from 4.6.1 to 4.6.2
Bumps [lodash.mergewith](https://github.com/lodash/lodash) from 4.6.1 to 4.6.2.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2019-07-11 14:33:27 +09:30
dependabot[bot] 2f5715ad03 Bump lodash from 4.17.11 to 4.17.13
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.11 to 4.17.13.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.11...4.17.13)

Signed-off-by: dependabot[bot] <support@github.com>
2019-07-11 14:33:12 +09:30
Mark Moffat fc1580ddd6 Starting to add schema validation to API endpoints 2019-06-17 19:51:45 +09:30
Mark Moffat 1f72607cba Small theme changes 2019-06-15 20:53:31 +09:30
dependabot[bot] aabf47fc2d Bump is-my-json-valid from 2.17.1 to 2.20.0
Bumps [is-my-json-valid](https://github.com/mafintosh/is-my-json-valid) from 2.17.1 to 2.20.0.
- [Release notes](https://github.com/mafintosh/is-my-json-valid/releases)
- [Commits](https://github.com/mafintosh/is-my-json-valid/compare/v2.17.1...v2.20.0)

Signed-off-by: dependabot[bot] <support@github.com>
2019-06-13 20:44:12 +09:30
Mark Moffat e48bd97bf7 Fixing tests 2019-06-11 14:42:07 +09:30
dependabot[bot] 6df1ae7c46 Bump extend from 3.0.1 to 3.0.2
Bumps [extend](https://github.com/justmoon/node-extend) from 3.0.1 to 3.0.2.
- [Release notes](https://github.com/justmoon/node-extend/releases)
- [Changelog](https://github.com/justmoon/node-extend/blob/master/CHANGELOG.md)
- [Commits](https://github.com/justmoon/node-extend/compare/v3.0.1...v3.0.2)

Signed-off-by: dependabot[bot] <support@github.com>
2019-06-08 17:23:22 +09:30
Mark Moffat 211da71fd1 Fixed some vuln dependencies 2019-06-01 22:00:26 +09:30
Mark Moffat b76df6c03e Updated packages 2019-05-29 20:34:57 +09:30
Mark Moffat 4b03b12ba4 Update packages 2019-02-09 21:24:38 +10:30
Mark Moffat b4a9ba3064 Sanitize product inputs 2018-12-12 00:31:56 +11:00
Mark Moffat 4c72bbaa87 Package lock 2018-10-05 22:02:29 +09:30
Mark Moffat d2679077a4 Gulp fixes 2018-10-05 21:27:41 +09:30
Mark Moffat 354f4e980e Npm audit fixes 2018-08-31 14:41:01 +09:30
Mark Moffat ec6a01413d Updated package lock 2018-08-31 14:34:56 +09:30
Mark Moffat 65b18cfe42 Add limitations to file uploads 2018-06-01 21:01:23 +09:30
Mark Moffat 61c59c8997 Started adding some tests 2018-02-22 18:41:24 +01:00
Mark Moffat 2f9911fd1e Change to bcryptjs, small refactor 2018-02-04 13:04:32 +01:00
Mark Moffat 0a2264f1a6 1.1.0 2018-01-10 21:22:32 +01:00
Mark Moffat aabf6c44e3 Added schema validation for configs 2018-01-10 21:20:52 +01:00