Commit graph

71 commits

Author SHA1 Message Date
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
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
6e7794bfc6 feat: session secret 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
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
Taranto
fcd66edf11 chore: remove config migration dev tools 2021-03-23 18:05:49 +00:00
Sérgio Salgado
de98ed4c2c feat: add missing types and resolvers 2021-03-17 10:43:41 +00:00
Sérgio Salgado
82b5db6908 refactor: schema modularization 2021-03-17 10:43:41 +00:00
Sérgio Salgado
d9e3a9e61f refactor: logic and routing folders on new-admin 2021-03-17 10:43:41 +00:00
José Oliveira
439bfb36a0 refactor: array destructuring 2021-03-16 11:09:50 +00:00
José Oliveira
9ade056a53 fix: prevent the block action on server-side 2021-03-16 11:09:50 +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
a4c0bab814 fix: generelise deprecation 2021-03-07 17:36:27 +00:00
csrapr
bce45d34e0 Feat: footer calculate cashout total 2021-03-07 17:34:14 +00:00
José Oliveira
93b6c0e086 obfuscate password fields 2021-03-01 17:50:13 +00:00
csrapr
2401238b2f Chore: change misleading query name 2021-02-23 16:37:30 +00:00
csrapr
66288c34ae Feat: add discount chip and link to customer from transaction row 2021-02-15 23:22:16 +00:00
csrapr
0d6349dbf4 Chore: fix regressions caused by rebase 2021-02-05 18:59:11 +00:00
csrapr
ef60b15d82 Chore: post-rebase fixes 2021-02-05 18:59:11 +00:00
Cesar
3eac055294 Feat: enable alerts card on dashboard 2021-02-05 18:59:11 +00:00
Cesar
c7a01f840f Fix: remove unneeded fragments 2021-02-05 18:59:11 +00:00
Cesar
c21cdb13e1 Feat: make dashboard and machine profile page 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
Sérgio Salgado
59cb33570b fix: change coupons to promo codes 2021-02-04 13:20:49 +00:00
Cesar
ae7eaca10c Fix: make percentage chart work properly
Fix: code review

Fix: rework components according to PR requested changes

Fix: fix repeated code buildRatesNoCommission

Also renames id to deviceId in transactions quer

Fix: pr requested changes

Chore: move inline styles to classes

Chore: remove comment

Fix: bad equality !process.env.NODE_ENV === 'production'
2021-02-02 17:02:24 +00:00
Cesar
00f176fccc Feat: make percentage chart
feat: footer expands to show more items

fix: several style fixes

feat: streak through cassettes table if machine doesnt have cashout enabled

Revert "feat: streak through cassettes table if machine doesnt have cashout enabled"

This reverts commit eaa390be8e9688c557507ff9c2984addc3f25031.

feat: Streak through cash cassettes table if cashout not enabled

feat: Machine details overview on sidebar

feat: machine prof page: breadcrumb, sidebar. dashboard: redirect on machine click

feat: Last ping shows seconds/ minutes/ hours/ days ago depending on time past

chore: Disabled cashbox % column in dashboard system performance card
2021-02-02 17:02:24 +00:00
Cesar
19cd086436 Feat: make dashboard and machine profile page 2021-02-02 17:02:24 +00:00
chaotixkilla
26c5c427bf Reintroduce cashbox (#535)
* feat: reintroduce cashbox component

* feat: cashbox update on db

* feat: cashbox on notifications

* feat: cashbox on overrides

* fix: cashin notifications

* fix: styling

* feat: cashin bills added to cashbox

* refactor: comment unused code

* fix: new bills length on cashbox

* fix: remove unused code

* chore: remove temporary code
2021-01-18 20:23:46 +00:00
Sérgio Salgado
5045821593 fix: review 2021-01-18 19:42:03 +00:00
Sérgio Salgado
7fe8799edc feat: add loyalty panel screen and structure
feat: add coupons table

feat: add coupons to schema

fix: coupon schema

feat: coupon table

feat: add coupon top button

feat: add first coupon button

feat: delete coupon

feat: coupon modal

fix: clear discount on modal close

fix: modal input formatting

feat: add new coupons

fix: button positioning

fix: remove loyalty panel sidebar

fix: coupon screen matching specs

fix: coupon modal

feat: send coupon data to machine on poll

fix: available coupons bool

feat: coupon endpoint

feat: transaction discount migration

feat: post-discount rates

refactor: bills

feat: version string

fix: bill saving on db

feat: coupon soft-delete

fix: coupon soft delete

fix: bill receiving

feat: remove cryptoAtoms update during tx

fix: tx trading

fix: bills

feat: start trades rework

fix: remove code

fix: code review
2021-01-18 19:42:03 +00:00
Taranto
9ed3bc50e4 Merge remote-tracking branch 'upstream/release-7.5.0' into dev 2021-01-05 10:54:56 +00:00
Liordino Neto
df8a1804a3 feat: changed old server ports so it can coexists with the new server
feat: removed deleted references from old server

feat: created reset and migrate mutations on gql server and
correspondent functions on new settings loader

feat: created front end for the config migration with reset and migrate
functionalities

style: add spacing between buttons
Signed-off-by: Liordino Neto <liordinoneto@gmail.com>
2020-12-24 20:20:05 +00:00
Taranto
0ad1ba2f77 fix: small fixes and release prep 2020-12-24 20:05:45 +00:00
Cesar
6994303069 Feat: warn admin before restarting services 2020-12-16 17:24:49 +00:00
Sérgio Salgado
a432d913be fix: override fields update 2020-12-16 17:18:38 +00:00
Cesar
0ec49159e4 feat: Customer transactions fetching with dataloader library 2020-12-11 19:23:12 +00:00
Sérgio Salgado
721b21d194 fix: user_agent nullable 2020-11-20 16:48:14 +00:00
Cesar
a6b6ebd0bc fix: fix for requested changes pr #513 2020-11-18 21:45:31 +00:00
Cesar
fd6f1a2fe0 feat: create blacklist page 2020-11-18 21:45:31 +00:00
Sérgio Salgado
839e6aae47 refactor: user agent parsing 2020-11-12 22:03:26 +00:00
Sérgio Salgado
791b275cdf feat: add request data to user_tokens and token filtering 2020-11-12 22:03:26 +00:00
Sérgio Salgado
c4e7547c45 feat: add revoke token button 2020-11-12 22:03:26 +00:00