Commit graph

1616 commits

Author SHA1 Message Date
José Oliveira
e6b1446616 refactor: fetch rbf status of unconfirmed txs 2021-05-25 10:47:14 +01:00
José Oliveira
0e39aa78c9 refactor: remove nested loop 2021-05-25 10:47:14 +01:00
José Oliveira
dd3b4116a6 refactor: remove duplicate function 2021-05-25 10:47:14 +01:00
José Oliveira
e62245098b refactor: variable rename and remove trailing spaces 2021-05-25 10:47:14 +01:00
José Oliveira
d338d0adca feat: rbf checking in blockcypher plugin 2021-05-25 10:47:14 +01:00
João Leal
434d30b079 fix: Record outgoing transaction fees to logs 2021-05-25 10:45:04 +01:00
csrapr
7657da5e16 Chore: make populateSettings middleware use node-cache 2021-05-25 10:31:18 +01:00
Sérgio Salgado
fb4267b0d5 fix: customer history should no longer include txs which timedout or were cancelled 2021-05-24 15:51:29 +01:00
Sérgio Salgado
222d99e307 fix: database import 2021-05-22 20:00:14 +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
d9ffca8a35 fix: use db tx to chain queries 2021-05-22 18:22:18 +01:00
José Oliveira
b5c2114cbf fix: remove console log and rename function 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
csrapr
4f12bcf4cf Chore: move tx code into atomic function 2021-05-22 18:17:45 +01:00
csrapr
8cd1389de3 Feat: upgrade pg-promise and fix breaking changes 2021-05-22 18:17:45 +01:00
Neal
9069625637 feat: re-enable geth install 2021-05-21 12:21:34 +01:00
Neal
103a7783c1 chore: update geth 2021-05-21 12:21:34 +01:00
José Oliveira
ef7dae5497 fix: big number subtraction 2021-05-21 11:37:47 +01:00
Sérgio Salgado
254f4d83b4 fix: remove session secret salt 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
75a2ecd3c2 fix: url resolver and minor fixes 2021-05-03 23:00:41 +01:00
Sérgio Salgado
2062413c75 fix: possible two factor secret bug 2021-05-03 23:00:41 +01:00
Sérgio Salgado
7680b2f85a refactor: privileged actions 2021-05-03 23:00:41 +01:00
Sérgio Salgado
357fe75427 fix: temp two factor secret checking on two factor reset 2021-05-03 23:00:41 +01:00
Sérgio Salgado
928caaf167 fix: temporary store of two factor secret to check against 2021-05-03 23:00:41 +01:00
Sérgio Salgado
19138c2d46 fix: redundant authentication code 2021-05-03 23:00:41 +01:00
Sérgio Salgado
6eaebc3108 fix: login with disabled used 2021-05-03 23:00:41 +01:00
Sérgio Salgado
9d028897bd refactor: full refactor of user management 2021-05-03 23:00:41 +01:00
Sérgio Salgado
bbc37c0202 fix: multiple small fixes across auth 2021-05-03 23:00:41 +01:00
Sérgio Salgado
9fa97725ec feat: auto userdata fetch
fix: gql directives and overall minor fixes
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
9b5cf32314 fix: app context and routing 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
eb91d882c7 fix: remove user_tokens from _override_by customer fields 2021-05-03 23:00:41 +01:00
Sérgio Salgado
6e7794bfc6 feat: session secret 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
d295acc261 fix: email verification and UX
fix: remove annotations

fix: styles

fix: move directives from schema

chore: rework auth routes

feat: start graphql schema modularization

feat: start directives rework

fix: directive cycle

fix: directive resolve

fix: schema auth directive

feat: migrate auth routes to gql

fix: apollo client

fix: migrate forms to formik

refactor: user resolver

chore: final touches on auth components

fix: routes
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
Rafael Taranto
8800a8bcb0 Merge pull request #685 from josepfo/feat/prune-server-logs
feat: prune server logs table
2021-04-30 17:54:04 +01:00
Rafael Taranto
e27fb42d03 Merge pull request #684 from Shaman37/fix_confidence
fix: rename 'zero-conf' to 'confidence checking'
2021-04-30 17:53:29 +01:00
Rafael Taranto
8bbb589ce0 Merge pull request #683 from csrapr/Fix/double-count-down-dispense
Fix: fix rare double counting down dispensed notes in cash out transactions
2021-04-30 17:47:25 +01:00
Rafael Taranto
b5079bc52e Merge pull request #690 from naconner/node-updates
chore: update zec, bch, eth nodes
2021-04-30 17:46:07 +01:00
José Oliveira
b1a2c20e87 fix: migrate accounts and default cash-out commissions 2021-04-30 17:43:27 +01:00
Taranto
7b3b2fb72d Merge remote-tracking branch 'upstream/release-7.5.0' into merge-release-7.5.0-into-dev 2021-04-21 17:43:13 +01:00
Neal
81e686b790 chore: update zec, bch, eth nodes 2021-04-16 15:36:20 -04:00
João Leal
bcfd582aca fix: renamed 'zero conf' to 'confidence' 2021-04-15 14:08:36 +01:00
José Oliveira
a783846b47 feat: prune server logs table 2021-04-15 13:49:11 +01:00
csrapr
db315490d9 Fix: fix rare concurrency bug on cashOut 2021-04-14 18:04:26 +01:00