Commit graph

83 commits

Author SHA1 Message Date
Sérgio Salgado
b5e35b82c2 refactor: move up dateFormat method 2021-06-28 16:39:54 +01:00
Sérgio Salgado
a0c77b4939 feat: correct timezone offset on downloaded logs 2021-06-28 16:39:54 +01:00
Sérgio Salgado
4003d892fd feat: allow customer suspension removal 2021-06-28 16:21:41 +01:00
Sérgio Salgado
41f3f7f28f fix: customer action identifier 2021-06-28 16:01:50 +01:00
Liordino Neto
852bf7b089 feat: created the search component
style: added spec styles

fix: fixed font color on search input

style: added box-shadow to the search component

feat: added local search functionality to the search component

feat: integrated search component into the transactions page

feat: allow multiple filter selection on the search component

fix: let the user select only one filter for each type

feat: added chips for the selected filters on the transactions page

feat: added the remove function on the filter chips

style: styled items according to spec

refactor: simplified search component (moved logic to the outside)

feat: added transaction filters to the gql query

feat: added a 'clear all filters' button

feat: added a filters query

feat: added a gql query for the transaction filters

fix: fixed the transactions gql query so it haves the same options as
the transaction filters

feat: added a 'loading' feature to the search box (shown while loading
the filters)

fix: fetch transactions and filters separately in the transactions page

fix: style export

fix: packages

fix: transaction conflicts
2021-06-23 15:29:41 +01:00
José Oliveira
92b6093a07 feat: downloadable tx summary and logs 2021-06-22 15:33:00 +01:00
João Leal
434d30b079 fix: Record outgoing transaction fees to logs 2021-05-25 10:45:04 +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
15769cd1bf feat: implement argon2 and changed session data type to timestamptz 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
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