Commit Graph

75 Commits (9079509c42a5747b9f86a0c2a91be7ae1da031fd)

Author SHA1 Message Date
Mark Moffat 9079509c42 Fixes #129 2020-03-20 13:40:45 +10:30
Mark Moffat e4a34b5439 Minify 2020-03-19 17:50:38 +10:30
Mark Moffat 5f81173919 Refactor the pagination data retrieval 2020-03-19 17:02:22 +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 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
Mark Moffat cd3ba1bc60 Fixes for CSRF 2020-02-23 14:10:35 +10:30
Mark Moffat a02917b273 Fixed saving of settings form 2020-02-06 22:32:36 +10:30
Mark Moffat 8c92d3ca33 Linting 2020-02-01 17:30:05 +10:30
Mark Moffat 6825ea3305 Huge overhaul of admin UI 2020-02-01 17:29:30 +10:30
Mark Moffat dd00bb4807 Huge overhall of admin UI 2020-02-01 17:28:47 +10:30
Mark Moffat b271210bde Small fixes to global search 2020-01-28 17:21:07 +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 fb6fb6e3e0 Validate quantity inputs 2020-01-08 19:42:32 +10:30
Mark Moffat fe14f28994 Fix product price and amount global searching 2020-01-08 18:58:29 +10:30
Mark Moffat 7f750b4a3b Fix validating quantity 2020-01-07 21:33:35 +10:30
Mark Moffat 0d44ce7cbb Added global search to the admin UI 2020-01-07 21:15:23 +10:30
Mark Moffat c4ffdff19e Fixed padding issues on cart 2020-01-07 12:04:22 +10:30
Mark Moffat 748c41de64 Fixed not updating cart count on empty 2020-01-05 08:45:28 +10:30
Mark Moffat 0fcbfdcc33 Cart dIsplay fixes for desktop and mobile 2020-01-04 21:34:42 +10:30
Mark Moffat c73d67b923 Fixed display of shipping message 2020-01-04 17:56:30 +10:30
Mark Moffat 11302e2255 Improvements to the shipping module & cart updates 2020-01-04 17:40:58 +10:30
Mark Moffat 3373a60d8f Add/Update/Remove/empty cart without refreshing the page 2020-01-04 13:07:35 +10:30
Mark Moffat b410d25ccf Added ability to create manual orders via the admin panel 2020-01-02 16:00:24 +10:30
Mark Moffat 1d36aca1c1 Removed debug 2020-01-02 15:54:02 +10:30
Mark Moffat c92e89fff2 Removed debug 2020-01-02 15:53:55 +10:30
Mark Moffat 18b8eaf8f5 Fixing the product options 2020-01-02 14:07:36 +10:30
Mark Moffat 03573129b3 Fixing cart storage and management 2019-12-30 13:40:57 +10:30
Mark Moffat a5dcc7624b Started to add in Less CSS support 2019-12-26 21:02:28 +10:30
Mark Moffat 32ea7da4da Huge rewrite and update of style/layout + theme simplification 2019-12-26 13:53:21 +10:30
Mark Moffat b48b2237ee Improving checkout experience Fixes #103 2019-12-21 13:16:48 +10:30
Mark Moffat 588fdddb75 Fixed updating of cart + added retrieval of cart & specs 2019-12-20 09:38:46 +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 fd61127ec5 Moved theme JS to own file, serve min theme css, mono css bump 2019-12-19 14:45:28 +10:30
Mark Moffat c992673bc6 Added rate limiter on customer forgotten password 2019-12-16 17:03:51 +10:30
Mark Moffat c086c942bc Minified admin 2019-12-16 17:03:36 +10:30
Mark Moffat 7e6d6e9b8c Fixed delete user account api 2019-12-16 15:15:02 +10:30
Mark Moffat 1f84f77089 Fixed user create and update API endpoints 2019-12-16 14:52:27 +10:30
Mark Moffat 8a638a3324 Fix API endpoint for product insert 2019-12-16 14:10:56 +10:30
Mark Moffat f149b87c3a Moved form to API endpoint + fixed opts 2019-12-16 13:00:30 +10:30
Mark Moffat d57fd17718 Fixing more API endpoints 2019-12-13 21:36:25 +10:30
Mark Moffat 980c467444 Update old variable name 2019-12-07 17:52:46 +10:30
Mark Moffat 76018ea076 Fixed route 2019-12-07 14:30:45 +10:30
Mark Moffat b2f58fbe4b Moving admin functions to API calls 2019-12-07 10:11:18 +10:30
Mark Moffat f0a5de3381 Started splitting up public js files 2019-12-06 17:39:13 +10:30