Commit graph

33 commits

Author SHA1 Message Date
Rafael Taranto
e500a58734 Merge pull request #877 from SiIky/fix/9KDH1LMm/customer_transactions_history_query
fix: expired column in customer transactions history
2021-11-14 23:40:09 +00:00
André Sá
168192b708 fix: expired column in customer transactions history 2021-10-13 19:27:42 +01:00
Sérgio Salgado
96fa94fde6 fix: backend dynamic bill array usage 2021-09-13 18:53:53 +01:00
Sérgio Salgado
3c1a58da4a feat: start working on backend support for dynamic cassette number
fix: multiple small fixes to both the front and back-end multi-cassette support
2021-09-13 18:53:53 +01:00
Sérgio Salgado
0a3b78f75e feat: makeChange function supporting multiple cassettes 2021-09-13 18:53:51 +01:00
José Oliveira
9d646ca29d fix: properly check old txs dispense confirmation 2021-06-24 00:39:30 +01:00
csrapr
db315490d9 Fix: fix rare concurrency bug on cashOut 2021-04-14 18:04:26 +01:00
csrapr
0d6349dbf4 Chore: fix regressions caused by rebase 2021-02-05 18:59:11 +00:00
Cesar
c16e47af96 Feat: change column "detail" in database to use jsonb 2021-02-05 18:59:11 +00:00
Cesar
d73520c0c0 Feat: save cash balance notifications in DB
Feat: add "detail" row in notifications table migration

This makes searching for specific notifications in the
code like cashbox number easier because we don't need
to scrub the notification message column anymore to search
for notifications relating the cashbox 1 for example.

Feat: clear notifications on cash cassette balance update
2021-02-05 18:59:11 +00:00
Cesar
c457faab40 Chore: make notification center UI
Chore: fiatBalancesNotify refactor

Chore: removed now-unused code in some files

Feat: change column "detail" in database to use jsonb

Chore: add notification center background and button

Chore: notifications screen scaffolding

Fix: change position of notification UI

Feat: join backend and frontend

Feat: notification icons and machine names

Feat: add clear all button, stripe overlay on invalid notification

Fix: rework notification styles

Feat: use popper to render notifications

Feat: make notification center UI

Fix: fix css on notification center

Fix: fix invalidateNotification

Chore: apply PR requested changes

Fix: PR fixes

Fix: make toggleable body/root styles be handled by react

Chore: delete old notifier file

Fix: undo variable name changes for cryptobalance notifs
2021-02-04 15:48:23 +00:00
Cesar
196a05549f Feat: save cash balance notifications in DB
Feat: add "detail" row in notifications table migration

This makes searching for specific notifications in the
code like cashbox number easier because we don't need
to scrub the notification message column anymore to search
for notifications relating the cashbox 1 for example.

Feat: clear notifications on cash cassette balance update
2021-02-04 15:48:23 +00:00
Sérgio Salgado
9808a67945 feat: add coin filtering to cashout polling 2021-01-18 15:31:20 +00:00
Taranto
1cc3c820b5 fix: pr fixes 2020-03-23 19:10:58 +01:00
Taranto
fa69d2a030 hotfix: add fudge factor 2020-03-23 19:10:58 +01:00
Taranto
47e5e95332 fix: prevent trading on tx rollback 2020-03-20 15:53:29 +01:00
Rafael Taranto
9ca3e88495 Add expired status to cash-out txs 2019-07-25 18:37:19 +01:00
Rafael Taranto
3dd7503e45 Fix ratchet errors on commission and ticker 2019-03-05 17:59:10 +01:00
Josh Harvey
e7ef9d0753 Merge in release and fix conflicts 2019-03-03 13:06:55 +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
Rafael Taranto
9364eb5132 Fix cash-out exchange behavior for 'rejected' tx
A TX on the 'rejected' state should still be watched for authorization.

This fixes the bug where delayed cash-out confirmations would not
trigger a exchange sell command.
2019-03-02 14:28:27 +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
Rafael Taranto
38aa006ecc Add device_id to cash_out_actions table (#164)
If a costumer originates a cashOut transaction at one device, and then
redeemed at a different device, the wrong machine would have bills debited from it.

With device_id being saved at the cash_out_actions table the bills can
be properly reconciled.
2018-09-22 23:38:31 +01:00
Rafael Taranto
1a8ef31d39 Add db error consts file (#165)
* Add db error consts file

* Fixed typo in comment
2018-09-22 23:38:31 +01:00
Rafael Taranto
4e287d1ecb Improve cash out monitor transaction handling (#159)
Made the queries from 'monitorLiveIncoming' and 'monitorStaleIncoming'
return mutually exclusive records from the db.

Both this methods are polled and perform the same actions on the
records. As a result, transaction erros were prone to happen.
2018-09-22 23:36:02 +01:00
Fabio Cigliano
f90357804a Dispense error status code fix (#142)
* 7.0.1

* add cash_out_txs.error_code to updateable fields
2018-08-24 17:30:25 +03:00
Josh Harvey
9d6f3e6d9b reduce stale tx period to 1 day 2018-06-17 11:48:53 +01:00
Josh Harvey
d1712ce1ce Add layer2 address separately 2018-06-04 16:34:46 +03:00
Josh Harvey
c2af183911 format for latest standard 2018-03-10 18:59:40 +00:00
Josh Harvey
e22333b7af backport some missed changes in cash-in and cash-out 2018-02-02 00:45:52 +02:00
Josh Harvey
118e4ec4be refactor cash-in and cash-out 2018-02-01 23:48:27 +02:00