Commit graph

288 commits

Author SHA1 Message Date
Sérgio Salgado
b99f98982b fix: unneeded error handling 2021-07-23 20:17:31 +01:00
Sérgio Salgado
598135ccaf feat: create cashbox removal notifications 2021-07-23 20:17:31 +01:00
Taranto
ba4117173e chore: undo $ prepend on queries 2021-07-22 12:15:45 +01:00
csrapr
7bbf2829de Feat: make lamassu-migrate use async local storage 2021-07-22 12:15:45 +01:00
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
José Oliveira
0f07ba7df7 fix: add us_ssn to compliance types 2021-07-05 12:23:05 +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
José Oliveira
f45ba41b14 fix: check for empty user config before migrate 2021-05-18 11:56:17 +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
José Oliveira
91c1b077fa fix: error handling 2021-04-30 17:43:27 +01:00
José Oliveira
b1a2c20e87 fix: migrate accounts and default cash-out commissions 2021-04-30 17:43:27 +01:00