Commit graph

704 commits

Author SHA1 Message Date
Sérgio Salgado
7680b2f85a refactor: privileged actions 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
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
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
7166559d19 fix: review requests 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
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
Taranto
fcd66edf11 chore: remove config migration dev tools 2021-03-23 18:05:49 +00:00
Sérgio Salgado
c3f8f98c26 fix: move lamassu app to separate folder 2021-03-18 11:06:35 +00:00
Sérgio Salgado
ce3c4167a4 fix: remove Pazuz commented routes 2021-03-18 11:06:35 +00:00
Sérgio Salgado
007c51472c feat: initial Pazuz react setup 2021-03-18 11:06:35 +00:00
Sérgio Salgado
dd0abc8a8b refactor: AppContext and App entrypoints 2021-03-18 11:06:35 +00:00
José Oliveira
c346f0b8e4 fix: disallow zero as a value in some fields 2021-03-18 11:00:40 +00:00
Sérgio Salgado
170bc8b1c9 fix: remove unnecessary call to object 2021-03-18 10:59:51 +00:00
Sérgio Salgado
4d62506c25 fix: commission override function composition 2021-03-18 10:59:51 +00:00
Sérgio Salgado
7af8079a2a feat: crypto dropdown should stay open when editing commissions 2021-03-17 11:14:20 +00:00
José Oliveira
bee2dc42e6 fix: allow just numbers 2021-03-17 10:56:21 +00:00
José Oliveira
fd582990ef fix: forms when editing triggers 2021-03-17 10:56:21 +00:00
José Oliveira
04c8213430 fix: cashout empty table image and machine status loading 2021-03-17 10:24:55 +00:00
Josh Harvey
4b2c3a3b47 Merge pull request #638 from josepfo/bruno/green-background-on-new-rows
Green background on new rows
2021-03-16 14:28:18 +00:00
Sérgio Salgado
c9521db7b3 fix: place whole string in literal 2021-03-16 14:19:16 +00:00
José Oliveira
0c7c7ccf42 fix: breaking changes from yup 0.32.9 2021-03-16 12:21:20 +00:00
José
a48c474da1 chore: bump yup to 0.32.9 2021-03-16 12:21:20 +00:00
José Oliveira
dd55e6d1f4 fix: cassette number on validation schema 2021-03-16 12:20:17 +00:00
José Oliveira
4cff0a6953 fix: cashout row stripped when editing 2021-03-16 12:19:15 +00:00
José Oliveira
a5ce5bae56 fix: wizard validation schema 2021-03-16 12:12:41 +00:00
csrapr
ae4d557a9b Fix: show correct percentage icon and use BigNumber methods for maths 2021-03-16 11:12:31 +00:00
José Oliveira
f394606821 refactor: use flag in graphql objects 2021-03-16 11:09:50 +00:00
José Oliveira
4116069bd5 fix: disallow navigation to and blocking of anonymous customers 2021-03-16 11:09:50 +00:00
José Oliveira
830997bce2 refactor: join date and time to max cash width 2021-03-16 11:07:04 +00:00
José Oliveira
45b2c85f02 fix: increase width even more 2021-03-16 11:07:04 +00:00
José Oliveira
d2f1b6ec4c fix: display fiat amount and currency on same line 2021-03-16 11:07:04 +00:00
José Oliveira
a54034fe08 Merge branch 'style/newRow-green-bg' of https://github.com/mrSnow95/lamassu-server into bruno/green-background-on-new-rows 2021-03-09 16:46:16 +00:00
José Oliveira
bde1f4c69c refactor: minor changes in animation props 2021-03-07 17:42:10 +00:00
José Oliveira
887815dfc9 fix: animate operator info title 2021-03-07 17:42:10 +00:00
José Oliveira
209bc1fabe fix: replace page with panel 2021-03-07 17:37:14 +00:00
José Oliveira
e189806249 fix: typo in admin setup wizard 2021-03-07 17:37:14 +00:00
José Oliveira
a4c0bab814 fix: generelise deprecation 2021-03-07 17:36:27 +00:00
José Oliveira
db13106a2f fix: remove geth only from wizard 2021-03-07 17:36:27 +00:00
csrapr
c4666160ae Fix: remove inline styles and comment out cashIn total calculations 2021-03-07 17:34:14 +00:00
csrapr
bce45d34e0 Feat: footer calculate cashout total 2021-03-07 17:34:14 +00:00
csrapr
26aaf0c366 Feat: cash cassettes footer skeleton 2021-03-07 17:34:14 +00:00