Commit graph

1938 commits

Author SHA1 Message Date
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
José Oliveira
c4ea21259a chore: remove obviated l-s scripts 2021-05-22 18:16:12 +01:00
José Oliveira
c581a56bad refactor: use typography styles 2021-05-22 18:15:02 +01:00
José Oliveira
63b8e6a132 fix: font size on commissions and cashout 2021-05-22 18:15:02 +01:00
Sérgio Salgado
254f4d83b4 fix: remove session secret salt 2021-05-03 23:00:41 +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
3c2cbac23f fix: remove bcrypt 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
86a245f6ba refactor: getErrorMsg() to pure functions 2021-05-03 23:00:41 +01:00
Sérgio Salgado
26a051ff07 fix: remove logic unnecessarily tied to components and error handling 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
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
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
csrapr
58b74a6425 Chore: omit fiat value from cashbox row 2021-04-05 15:50:43 +01:00
Rafael Taranto
24e58489ff Merge pull request #661 from naconner/version-7.5.0-beta.3
chore: version v7.5.0-beta.3
2021-03-24 15:44:21 +00:00
Neal
34219d3378 chore: version v7.5.0-beta.3 2021-03-24 08:34:48 -04:00
Taranto
8b8465364c chore: version builded files 2021-03-23 18:05:49 +00:00
Taranto
fcd66edf11 chore: remove config migration dev tools 2021-03-23 18:05:49 +00:00
Taranto
893e0b1493 fix: config migration 2021-03-23 17:45:14 +00:00
csrapr
35224e415c Chore: throw error if undefined operatorId 2021-03-19 14:04:31 +00:00
csrapr
8d6ed7c2a3 Fix: re-add pollingRoutes.js/poll changes 2021-03-19 14:04:31 +00:00
csrapr
757db75d1a Chore: merge compliance notification code changes 2021-03-19 14:04:31 +00:00
csrapr
fc39d9b1a3 Fix: fix promise in findOperatorId 2021-03-19 14:04:31 +00:00