Commit graph

280 commits

Author SHA1 Message Date
Sérgio Salgado
e846f5a165 fix: sql and import 2021-01-18 19:42:03 +00:00
Sérgio Salgado
9291b7ebcb fix: poller coupon status 2021-01-18 19:42:03 +00:00
Sérgio Salgado
7fe8799edc feat: add loyalty panel screen and structure
feat: add coupons table

feat: add coupons to schema

fix: coupon schema

feat: coupon table

feat: add coupon top button

feat: add first coupon button

feat: delete coupon

feat: coupon modal

fix: clear discount on modal close

fix: modal input formatting

feat: add new coupons

fix: button positioning

fix: remove loyalty panel sidebar

fix: coupon screen matching specs

fix: coupon modal

feat: send coupon data to machine on poll

fix: available coupons bool

feat: coupon endpoint

feat: transaction discount migration

feat: post-discount rates

refactor: bills

feat: version string

fix: bill saving on db

feat: coupon soft-delete

fix: coupon soft delete

fix: bill receiving

feat: remove cryptoAtoms update during tx

fix: tx trading

fix: bills

feat: start trades rework

fix: remove code

fix: code review
2021-01-18 19:42:03 +00:00
Cesar
1913390eae Fix: notification override alerts not being sent 2020-12-16 17:13:17 +00:00
Liordino Neto
106fa166b0 fix: correctly test the alert thresholds (considering falsy values) 2020-11-04 13:06:38 +00:00
Liordino Neto
b1574c277a fix: removed the attempts to use the bignumber.js lib with null values 2020-11-04 13:06:38 +00:00
Liordino Neto
5b502c1395 fix: high value notifications, if configured, are now triggered even if
transactions notifications are globally disabled (for sms or email)

fix: added extra information on the sms notification informing if the
transaction that just happened is a high value one
2020-11-02 15:11:06 +00:00
Taranto
f6547341f1 feat: reject address reuse 2020-10-06 23:19:22 +02:00
Taranto
f2080c32e9 feat: new compliance options 2020-10-06 23:19:22 +02:00
Taranto
5dd8501a17 fix: pre release screen fixes 2020-07-06 14:17:44 +01:00
Taranto
db32ad4f16 Merge remote-tracking branch 'upstream/defiant-dingirma' into fix/flat-schema 2020-06-01 21:02:44 +01:00
Taranto
8f7bb412a1 fix: transaction screens fixes 2020-06-01 20:54:19 +01:00
Taranto
bf8f1d991c chore: integrate new admin with l-s 2020-05-27 22:43:00 +01:00
Neal Conner
cf616c1f16 feat: reintroduce lowBalanceMargin 2020-04-03 15:45:29 +02:00
Taranto
8f28b7aa0a feat: only refetch t&c on config change 2020-04-03 15:44:31 +02:00
Taranto
f1edea4e8a feat: only refetch t&c on config change 2020-01-24 14:32:04 +01:00
Rafael Taranto
1fb35d107b Fix notify operator call 2019-09-27 20:15:24 +02:00
Rafael Taranto
1a53ce5fa1 Take machineid into account for coinatmradar rates (#301)
* Take machineid into account for coinatmradar rates

* Remove test leftovers
2019-08-06 20:37:46 +01:00
Rafael Taranto
15c8e0d862 Fix check pings query 2019-05-16 11:43:22 +01:00
Rafael Taranto
67919892e8 Truncate/trim server tables 2019-05-12 13:46:56 +01:00
Rafael Taranto
9ec1a3cb0d Fix nullcheck for cashOutCommission === 0 2019-03-14 17:02:03 +00:00
Rafael Taranto
3dd7503e45 Fix ratchet errors on commission and ticker 2019-03-05 17:59:10 +01:00
Rafael Taranto
fe72b4fcaf Add fallback for null commissions 2019-03-05 17:59:10 +01:00
Rafael Taranto
9f3457f14d Use commission rate from machine instead of server 2019-03-02 14:40:29 +01:00
Fabio Cigliano
578a39a721 log raw ticker price within tx 2019-03-02 14:40:29 +01:00
Fabio Cigliano
5815a606f2 rewoking getCommissionPercentage function 2019-03-02 14:40:29 +01:00
Fabio Cigliano
03279c8d2c tx.commission_percentage added 2019-03-02 14:40:29 +01:00
Davit Abulashvili
907cd08cf1 Log unsuccessful trade attempts in the db (#224)
* Save trade error in table trades

* Add one migration, Add error column to trades table

* changes in plugins.js file

* Apply standardjs to plugins.js file
2018-11-28 20:24:48 +02:00
Zoran Joka
13040f41a1 Optimize machine pings query (#222)
* refactor recordPing method

* optimize queries

* migrate machine_pings

remove id, serial_number
add primary key on device_id
add unique constraint on device_id

* remove filelds from query, rename migration, delete duplicate migration

* truncate machine_pings in migration
2018-11-21 11:08:19 +01:00
Rafael Taranto
809bf5a2a9 Add sms/email notifications on transactions (#198)
* Add sms/email notifications on transactions

* Add configuration for transaction notification

* Add notification on provision address error

* Remove unneeded noop from promises
2018-11-06 13:49:12 +01:00
Zoran Joka
272127518d Update last_online device field on each machine ping (#203)
* update last_online device field on each machine ping

* change var name to camel-case

* Use pgp name parameters instead of interpolation
2018-11-04 19:14:27 +01:00
Josh Harvey
6c3099921f support for Coin ATM Radar 2018-05-21 16:30:13 +03:00
Josh Harvey
c2af183911 format for latest standard 2018-03-10 18:59:40 +00:00
Josh Harvey
118e4ec4be refactor cash-in and cash-out 2018-02-01 23:48:27 +02:00
Josh Harvey
4625ffef0f lightning network support 2018-01-28 19:10:00 +02:00
Josh Harvey
fea630981d only send cash-out alerts when in cash-out mode 2018-01-06 14:23:33 +00:00
Josh Harvey
500edcf279 Add transaction versioning, tx cancellation (#79) 2017-08-29 16:08:06 +03:00
Josh Harvey
a5592b612f add timestamp to cash ready sms 2017-08-06 18:30:08 +03:00
Josh Harvey
f454e3266a fix balance error bug 2017-07-13 01:13:38 +03:00
Josh Harvey
fafac16742 better handling of ticker errors 2017-07-12 20:38:20 +03:00
Josh Harvey
5987f288a7 moar coinUtils fixes 2017-07-09 13:42:31 +03:00
Josh Harvey
178f576cfb add blockchain install scripts 2017-07-06 21:56:56 +03:00
Josh Harvey
2c525c1e5c generalize bitcoind json-rpc 2017-06-30 18:22:55 +03:00
Josh Harvey
2779dcd6f3 WIP 2017-06-24 18:52:55 +03:00
Josh Harvey
bf0dc3f7f3 add support for funding 2017-06-20 12:52:15 +03:00
Josh Harvey
8440fa3b1d refactor admin-server to lib directory 2017-06-16 16:23:51 +03:00
Josh Harvey
87fdb355b2 fixed cashOut rates bug 2017-06-08 13:11:36 +03:00
Josh Harvey
e8356c1041 update cryptoBalance notification 2017-06-01 16:53:01 +01:00
Josh Harvey
b6fce47069 fix 0 cash-out commission bug 2017-06-01 16:53:00 +01:00
Josh Harvey
c78519072b fix up zero-conf 2017-06-01 16:52:59 +01:00