Commit Graph

490 Commits (d4e0ae85c990599ab1a070facb505d1fb70319c7)

Author SHA1 Message Date
Mark Moffat d4e0ae85c9 Setting up github actions 2020-03-22 20:20:29 +10:30
Mark Moffat 47a1117041 Syntax 2020-03-22 20:07:54 +10:30
Mark Moffat fbb9a6f869 Moving mongo service 2020-03-22 20:07:33 +10:30
Mark Moffat 4560440e9e Testing Mongodb 2020-03-22 20:05:32 +10:30
Mark Moffat 834c55e568 Add Mongo for tests 2020-03-22 20:03:14 +10:30
Mark Moffat 0c7f70f2f4 Testing workflow 2020-03-22 19:54:55 +10:30
Mark Moffat eb1a957367 Updates 2020-03-22 19:54:40 +10:30
Mark Moffat 2a78fe5290 Allow disabling stock for certain products 2020-03-22 19:53:47 +10:30
Mark Moffat 1c4303018a Relaxed products top margin 2020-03-22 15:19:10 +10:30
Mark Moffat 5dec4bba02 Added ability to show related products 2020-03-22 15:14:45 +10:30
Mark Moffat 83064c04a1 Clean loading of Payment partial 2020-03-22 14:05:10 +10:30
Mark Moffat a97ab3fdb0 Removed debug 2020-03-21 20:35:30 +10:30
Mark Moffat 2ef589423f Fixed deleting from cart bug 2020-03-21 20:21:29 +10:30
Mark Moffat 212a40632b Stock check fixes 2020-03-21 20:21:18 +10:30
Mark Moffat 00be94f5d7 Added URL to payment providers 2020-03-21 14:06:18 +10:30
Mark Moffat 5ef17a2ecf Added Westpac PayWay payments 2020-03-21 14:03:20 +10:30
Mark Moffat 22f62697f5 Fixed color of payment failed message 2020-03-21 11:50:07 +10:30
Mark Moffat c15b22ed6d Fixed contributing text 2020-03-20 20:32:06 +10:30
Mark Moffat 7b6a415a5a Updated docs since refactoring payment 2020-03-20 20:18:33 +10:30
Mark Moffat b74d17bff7 Renamed for cleanliness 2020-03-20 20:17:21 +10:30
Mark Moffat 225e7aa9c7 Renamed for clarity 2020-03-20 20:13:59 +10:30
Mark Moffat da34f3e63c Refactoring the payment config/schema, loading and routes path 2020-03-20 20:06:44 +10:30
Mark Moffat 5f68a5bc1f Fixed updating of stock and stopped duplication on page refresh 2020-03-20 19:58:15 +10:30
Mark Moffat 8314b7686f Version bump 2020-03-20 15:46:05 +10:30
Mark Moffat 9079509c42 Fixes #129 2020-03-20 13:40:45 +10:30
Mark Moffat 1b030dce27 Fixes #128 2020-03-19 21:05:46 +10:30
Mark Moffat e4a34b5439 Minify 2020-03-19 17:50:38 +10:30
Mark Moffat da4cd69b79 Fixed test 2020-03-19 17:33:23 +10:30
Mark Moffat fbdc1f2744 Remove debug 2020-03-19 17:11:16 +10:30
Mark Moffat 844d0dacf0 Fixed pagination style 2020-03-19 17:05:54 +10:30
Mark Moffat a7a1fadae6 Added pagination to products and orders in admin 2020-03-19 17:02:52 +10:30
Mark Moffat 5f81173919 Refactor the pagination data retrieval 2020-03-19 17:02:22 +10:30
Mark Moffat 4b3867e47f Placeholder on dashboard when no images 2020-03-19 12:29:32 +10:30
Mark Moffat 7252c309aa Fixes #127 2020-03-18 17:35:07 +10:30
Mark Moffat 599152dbf3 Display message when no orders for customer 2020-03-17 21:06:21 +10:30
Mark Moffat cd792d0fab Updated the images to latest style 2020-03-17 19:17:51 +10:30
Mark Moffat 9911fe04a9 Fixed validation, added modal errors + partial 2020-03-17 19:08:46 +10:30
Mark Moffat 6806806fa2 Minified 2020-03-17 16:57:37 +10:30
Mark Moffat 78e06e511b
Customer account page (#124)
* Adding customer login & account page support

* Added account link

* Sorting orders on account page

* Small UI fixes

* Removed debugs

* Added tests

Co-authored-by: Mark Moffat <mark@Marks-MacBook-Pro-2.local>
2020-03-17 16:56:04 +10:30
Mark Moffat 6b9f4b2e6b npm audit fix 2020-03-15 10:45:21 +10:30
Mark Moffat 3b150012af Updates 2020-03-14 11:38:29 +10:30
Mark Moffat 6eef92c684 Fixed padding on conditional display 2020-03-14 11:38:24 +10:30
Mark Moffat c591263eb9 Added new field 2020-03-14 11:38:13 +10:30
Mark Moffat 16d5bc80f4 Fixed some payment display options 2020-03-14 11:37:21 +10:30
Mark Moffat 6aca8fce8d Added ecosystem.config.js back 2020-03-14 11:28:07 +10:30
Mark Moffat c458879b8c Replaced default API key 2020-03-14 11:27:36 +10:30
Mark Moffat 4f68edb3c7 Linting 2020-03-14 11:27:09 +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 f3a7231016 Added customer company name for shipping 2020-03-07 20:07:49 +10:30
Mark Moffat e64905eddd Small fixes 2020-03-07 19:48:06 +10:30