Commit graph

2760 commits

Author SHA1 Message Date
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
91fa16254c chore: rename migration 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
771a60a4ad fix: typography styling 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
fff9523988 fix: changes to adapt rebase 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
1bc944386b feat: check for email format on l-register 2021-05-03 23:00:41 +01:00
Sérgio Salgado
7166559d19 fix: review requests 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
850c2a2219 feat: lamassu-register now uses new users 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
1ce0c5ddca Merge pull request #703 from RafaelTaranto/chore/7.5.0-builded-admin
chore: builded react admin
2021-04-30 18:16:09 +01:00
Taranto
8335c0d9f7 chore: builded react admin 2021-04-30 18:15:04 +01:00
Rafael Taranto
acaa7e9390 Merge pull request #669 from chaotixkilla/feat-dashboard-machine-nav-button
Arrow button to navigate to machine page on dashboard
2021-04-30 17:57:44 +01:00
Rafael Taranto
9ddd3e87a8 Merge pull request #673 from chaotixkilla/feat-dynamic-plural-trigger-descriptions
Dynamic singular and plural strings on triggers descriptions
2021-04-30 17:57:07 +01:00
Rafael Taranto
8ddd8e9a2d Merge pull request #657 from josepfo/fix/error-messages-editing-triggers
Fix error messages compliance triggers
2021-04-30 17:55:19 +01:00
Rafael Taranto
dde7a4a959 Merge pull request #686 from csrapr/Fix/dashboard-footer-crash
Fix: footer crash in dashboard page (release-7.5.0 branch PR)
2021-04-30 17:54:54 +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
41f349ffeb Merge pull request #680 from josepfo/fix/dont-round-crypto-amount-transactions
fix: remove crypto amount rounding
2021-04-30 17:52:53 +01:00
Rafael Taranto
aa56837830 Merge pull request #659 from csrapr/Fix/machine-dashboard-issues-hotfix
Fix/machine dashboard issues hotfix
2021-04-30 17:50:55 +01:00
Rafael Taranto
40aa962d69 Merge pull request #656 from josepfo/fix/cash-cassettes-footer-shows-nan
Fix cash cassettes footer shows nan
2021-04-30 17:48:40 +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
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
Josh Harvey
368781864e Merge pull request #695 from RafaelTaranto/merge-release-7.5.0-into-dev
Merge release 7.5.0 into dev
2021-04-21 20:52:41 +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
José Oliveira
b53b73b2df fix: increase column width 2021-04-16 16:08:12 +01:00
csrapr
018ce5e521 Fix: rare footer crash in dashboard page 2021-04-15 14:26:35 +01: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
José Oliveira
452eafaba0 fix: remove crypto amount rounding 2021-04-13 17:56:21 +01:00
Sérgio Salgado
95e10190b1 feat: dynamic singular and plural strings on triggers descriptions 2021-04-06 00:59:33 +01:00
csrapr
58b74a6425 Chore: omit fiat value from cashbox row 2021-04-05 15:50:43 +01:00