Commit graph

180 commits

Author SHA1 Message Date
csrapr
e6059be8d2 Chore: refactor to use new schema changing queries 2021-07-22 12:15:45 +01:00
José Oliveira
c83b3cda56 feat: replace toggle with radio and option descriptions 2021-07-13 17:09:07 +01:00
José Oliveira
d1d4910555 feat: add reset settings to user config 2021-07-13 17:09:07 +01:00
Sérgio Salgado
8c32da9543 fix: migrate older values 2021-07-05 11:07:37 +01:00
Sérgio Salgado
d7519d477e feat: add migration to clean blacklist table
fix: address reuse and blacklist check
2021-07-05 11:07:37 +01:00
Sérgio Salgado
f682a77eb5 feat: migrate old tx addresses to blacklist table
feat: add new addresses to blacklist list
2021-07-05 11:07:37 +01:00
Sérgio Salgado
21708aa75c feat: cashbox history tab
feat: add information fields to cashbox_batches table
2021-07-05 11:06:16 +01:00
csrapr
d1db0b95c8 Chore: remove 1-conf check in wallet plugin
Chore: Use _.isNil
2021-06-28 15:54:50 +01:00
csrapr
84e7b67635 Feat: disable ETH 0-confLimit edit, in migrations make ETH 0-confLimit 0 2021-06-28 15:54:50 +01:00
Sérgio Salgado
f1af958056 fix: config migration 2021-06-20 15:56:18 +01:00
Sérgio Salgado
da0d25c040 feat: add config migration 2021-06-20 15:56:18 +01:00
csrapr
d2b7224c73 Chore: use constant for currencyMax 2021-05-25 15:10:49 +01:00
csrapr
7210406a8a Fix: remove unnecessary variables 2021-05-25 15:10:49 +01:00
csrapr
a521b679c4 Chore: put cryptoCodes from wallet function in new config manager 2021-05-25 15:10:49 +01:00
csrapr
65a55a669d Fix: default 0 zeroConfLimit for new coins 2021-05-25 15:10:49 +01:00
csrapr
fafee1a727 Fix: delete old zeroConfLimit config data after migrating 2021-05-25 15:10:49 +01:00
csrapr
4681de4033 Feat: config migration 2021-05-25 15:10:49 +01:00
José Oliveira
074dbabbba fix: remove erroneous if in migration 2021-05-25 12:13:12 +01:00
José Oliveira
e951d1341c refactor: simplify object construction 2021-05-25 12:13:12 +01:00
José Oliveira
e0ac3cfdb3 fix: unintentional function removal 2021-05-25 12:13:12 +01:00
José Oliveira
e3f57716fe refactor: insert only new fields in user config 2021-05-25 12:13:12 +01:00
José Oliveira
3de12e3f6e feat: fiat balance alerts to percentages and config migration 2021-05-25 12:13:12 +01:00
José Oliveira
0c0133d01c refactor: remove extra conditions and fields renaming 2021-05-25 12:09:26 +01:00
José Oliveira
ce48360f04 feat: create relations between trades and transactions 2021-05-25 12:09:26 +01:00
José Oliveira
b78d4cff08 fix: remove erroneous condition in migration 2021-05-25 11:06:39 +01:00
José Oliveira
02c831c13e fix: error handling in migration 2021-05-25 11:06:39 +01:00
José Oliveira
85b60028f4 fix: save default advanced trigger settings in user config 2021-05-25 11:06:39 +01:00
José Oliveira
5ed84b7cdb feat: advanced options screen triggers 2021-05-25 11:06:39 +01:00
csrapr
680131fbb8 Fix: remove unnecessary then and catch 2021-05-25 10:50:09 +01:00
csrapr
cd3f8aea51 Feat: migration rename non blockcypher to none 2021-05-25 10:50:09 +01:00
José Oliveira
5fcde5ff44 fix: replace int with uuid 2021-05-22 18:22:18 +01:00
José Oliveira
af53949ef9 fix: replace serial with uuid and remove incorrect promise handling 2021-05-22 18:22:18 +01:00
José Oliveira
20703d0271 feat: cashbox batch table and update bills 2021-05-22 18:22:18 +01:00
Sérgio Salgado
5c68772b46 feat: move compliance persistence to temporary tables 2021-05-03 23:00:41 +01:00
Sérgio Salgado
aa7252dfce fix: added variables to the constants file.
fix: updated sql queries with constants
2021-05-03 23:00:41 +01:00
Sérgio Salgado
15769cd1bf feat: implement argon2 and changed session data type to timestamptz 2021-05-03 23:00:41 +01:00
Sérgio Salgado
91fa16254c chore: rename migration 2021-05-03 23:00:41 +01:00
Sérgio Salgado
3f6c0e6037 fix: database constraint on auth_tokens 2021-05-03 23:00:41 +01:00
Sérgio Salgado
c00249586d fix: security flaw on auth tokens, error handling 2021-05-03 23:00:41 +01:00
Sérgio Salgado
40974dd501 fix: naming and redundancy issues 2021-05-03 23:00:41 +01:00
Sérgio Salgado
6396eb8247 fix: sql casing 2021-05-03 23:00:41 +01:00
Sérgio Salgado
fded22f39a feat: add user management screen
feat: login screen

fix: login routing and layout

feat: add users migration

feat: passport login strategy

fix: users migration

feat: simple authentication

fix: request body

feat: JWT authorization

feat: 2fa step on login

feat: 2fa flow

feat: add rememberme to req body

fix: hide 2fa secret from jwt

fix: block login access to logged in user

fix: rerouting to wizard

refactor: login screen

feat: setup 2fa state on login

feat: 2fa secret qr code

fix: remove jwt from 2fa secret

fix: wizard redirect after login

fix: 2fa setup flow

fix: user id to uuid

feat: user roles

feat: user sessions and db persistence

feat: session saving on DB and cookie

refactor: unused code

feat: cookie auto renew on request

feat: get user data endpoint

fix: repeated requests

feat: react routing

fix: private routes

refactor: auth

feat: sessions aware of ua and ip

feat: sessions on gql

feat: session management screen

feat: replace user_tokens usage for users

feat: user deletion also deletes active sessions

feat: remember me alters session cookie accordingly

feat: last session by all users

fix: login feedback

fix: page loading UX

feat: routes based on user role

feat: header aware of roles

feat: reset password

fix: reset password endpoint

feat: handle password change

feat: reset 2FA

feat: user role on management screen

feat: change user role

fix: user last session query

fix: context

fix: destroy own session

feat: reset password now resets sessions

feat: reset 2fa now resets sessions

refactor: user data

refactor: user management screen

feat: user enable

feat: schema directives

fix: remove schema directive temp

feat: create new users

feat: register endpoint

feat: modals for reset links

fix: directive Date errors

feat: superuser directive

feat: create user url modal

fix: user management layout

feat: confirmation modals

fix: info text

feat: 2fa input component

feat: code input on 2fa state

feat: add button styling

feat: confirmation modal on superuser action

feat: rework 2fa setup screen

feat: rework reset 2fa screen

fix: session management screen

fix: user management screen

fix: blacklist roles

chore: migrate old customer values to new columns

fix: value migration

fix: value migration

refactor: remove old code
2021-05-03 23:00:41 +01:00
Taranto
893e0b1493 fix: config migration 2021-03-23 17:45:14 +00:00
Cesar
34f2b84fe2 Feat: add notification center row in notification settings table 2021-02-15 23:17:19 +00:00
Cesar
3eac055294 Feat: enable alerts card on dashboard 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
3b3bdf839b Feat: crypto balance notifications saving in DB
Chore: add new column "detail" to transactions table migration

Feat: check if older notification is valid before sending new one

Feat: error saving to database

Fix: fix error when invalidating notification on
clearCryptoBalanceNotifications
Chre: code refactor in new-settings-loader for simplicity
Chore: refactor code on notifier and merge similar functions
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
Cesar
75bfb4b991 Chore: make notifications table migration 2021-02-04 15:48:23 +00:00
Sérgio Salgado
309d9ff95b feat: store id card raw data 2021-02-02 19:03:40 +00:00