Commit graph

22 commits

Author SHA1 Message Date
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
csrapr
6760c39e29 Chore: change variable names and use classnames 2021-02-23 16:37:30 +00:00
csrapr
f752bad447 Fix: fix notification icon blinking 2021-02-23 16:37:30 +00:00
csrapr
5412a3a1fc Fix: render notification center icon on the same spot as on the header 2021-02-23 16:37:30 +00:00
csrapr
b89ba7d939 Feat: notification center polling, prevent page moving when opening it 2021-02-23 16:37:30 +00:00
csrapr
ef60b15d82 Chore: post-rebase fixes 2021-02-05 18:59:11 +00:00
Cesar
cc14f37b6d Feat: enable transition animation for dashboard 2021-02-05 18:59:11 +00:00
Cesar
d51c16c314 Feat: use popper to render notifications 2021-02-05 18:59:11 +00:00
Cesar
55dc3aab94 Feat: add clear all button, stripe overlay on invalid notification
Fix: rework notification styles
2021-02-05 18:59:11 +00:00
Cesar
7459700986 Chore: add notification center background and button
Chore: notifications screen scaffolding

Fix: change position of notification UI

Feat: join backend and frontend

Feat: notification icons and machine names
2021-02-05 18:59:11 +00:00
Cesar
c457faab40 Chore: make notification center UI
Chore: fiatBalancesNotify refactor

Chore: removed now-unused code in some files

Feat: change column "detail" in database to use jsonb

Chore: add notification center background and button

Chore: notifications screen scaffolding

Fix: change position of notification UI

Feat: join backend and frontend

Feat: notification icons and machine names

Feat: add clear all button, stripe overlay on invalid notification

Fix: rework notification styles

Feat: use popper to render notifications

Feat: make notification center UI

Fix: fix css on notification center

Fix: fix invalidateNotification

Chore: apply PR requested changes

Fix: PR fixes

Fix: make toggleable body/root styles be handled by react

Chore: delete old notifier file

Fix: undo variable name changes for cryptobalance notifs
2021-02-04 15:48:23 +00:00
Cesar
5572fb0eb1 Feat: make footer expand on hover
chore: rename status variable from showExpandBtn to canExpand

Chore: disable notific. card, redirect to dashboard on logo click

This commit also fixes eslint warnings about anonymous exports
On the header, the Dashboard link is removed, in favour of adding
a redirect on click on the Lamassu Admin text. "Machines" header
link is removed as well, and a machine profile can be accessed
through the dashboard -> System Status card
2021-02-02 17:02:24 +00:00
Jose Sousa
bc4e380f8d fix: removed prev label in navlink 2020-12-23 19:41:54 +00:00
Jose Sousa
de4a767b21 feat: transitions animations direction 2020-12-23 19:41:54 +00:00
Cesar
d5f3763e91 fix: Removed useless className 2020-12-11 19:19:58 +00:00
Cesar
e11d894bd6 feat: Changed add machine button to be according to spec 2020-12-11 19:19:58 +00:00
Liordino Neto
b4898a92dc fix: fixed the expanded component not closing when redirecting from 'Add machine'
fix: use useEffect to correctly fix the not closing expanded row

fix: pass added machine id to machine status via History props instead
of url

fix: avoid page reloading on confirmed actions
2020-10-26 16:02:38 +00:00
Liordino Neto
20370fcd1d fix: when finished pairing a machine open the machine status page with
this machine expanded

refactor: simplify add machine page
2020-10-20 21:10:26 +02:00
Mauricio Navarro Miranda
c56d4759bd feat: close add machine wizard on success
fix: remove done button

fix: auto close on success

fix: show success message

fix: move add machine to main nav

fix: steps overlap

fix: no console logs, simplify some lines

fix: remove spinner and toast

fix: show info3 message on pairing success

fix: eslint

fix: consider the machine name while verifying if the new machine is
paired
2020-10-20 21:10:26 +02:00
Taranto
ea53d782ad fix: menu changes 2020-09-11 14:11:59 +01:00
Mauricio Navarro Miranda
5210e14a19 fix: simplify Tooltip 2020-09-02 12:57:18 +02:00
Taranto
1f6d272aa0 fix: rework wallet screen 2020-04-23 18:38:29 +02:00
Renamed from new-lamassu-admin/src/components/Header.js (Browse further)