Commit graph

73 commits

Author SHA1 Message Date
Sérgio Salgado
91e209b6ab feat: add SMS preview component 2022-02-09 15:09:31 +00:00
Sérgio Salgado
0d5f5167ef feat: change custom SMS instances to SMS notices and all its interfaces 2022-02-04 19:39:35 +00:00
Nikola Ubavic
4d5d883532 fix: capitalize labels 2021-12-28 17:43:33 +01:00
Sérgio Salgado
3480bbf8f7 feat: add custom SMS screen
feat: custom messages database migration
feat: populate custom SMS screen with database data
feat: custom SMS creation modal
fix: small fixes on styling
2021-11-23 19:08:02 +00:00
Sérgio Salgado
307cb07129 feat: add analytics screen
feat: analytics header overview and legend
feat: data selectors
feat: graph axis and introductory stale data

feat: change graph tick labeling
feat: color formatting
feat: day and month separation in graph grid
refactor: move graph logic to its own file
chore: create dummy transaction factory
feat: make the analytics overview dynamic with data

feat: apply timezone to the analytics screen
fix: multiple bug fixes

fix: graph txs colors
fix: graph no data scenario

feat: remove placeholder icons
fix: used currencies on filtered data

fix: remove timezone object formatting

fix: forex rates on transaction data
fix: styles

fix: growth percentage margin

refactor: pull up variables
fix: clean up code

feat: add transparent areas for mouse event purposes

fix: replace DateTime with Date

fix: small fixes to graph area intervals

fix: graph rectangle location

fix: d3 onClick event in dot graph

chore: move graph popover component to components folder

feat: memo dot graph to avoid expensive rerendering
refactor: separate Graph component for future refactoring purposes

refactor: restructure Graph related components
fix: graph memoizing

feat: top machines stacked bar graph
refactor: further analytics refactor
fix: small fixes on top machines graph

fix: top machines stacked bar grapy y-axis scaling

fix: small fixes on the stacked bar graph
feat: add top machines header

fix: bar drawing
fix: transaction grouping per day of week
refactor: general code cleaning up
feat: mouseover events

fix: transaction filtering on cross-day hour intervals

fix: top machines graph edge case

fix: NaN instances on graph drawing

fix: tooltip date presentation
fix: rearrange files for easier understanding

fix: tooltip date interval

fix: multiple small fixes

fix: remove unnecessary arguments
fix: add second group of hoverable rectangles
2021-11-10 17:34:40 +00:00
Sérgio Salgado
07f15db851 feat: individual discounts migration
feat: loyalty panel routing
chore: rename promo-codes module to loyalty
2021-09-07 17:26:36 +01:00
José Oliveira
ed05cd7274 feat: add assets page to pazuz routes 2021-07-01 12:05:59 +01:00
Sérgio Salgado
5812f85d9b feat: add pazuz accounting screen 2021-06-28 15:52:26 +01:00
Sérgio Salgado
468f2cb28b fix: remove extra log 2021-06-23 15:15:41 +01:00
Sérgio Salgado
cf3defbc93 feat: separate pazuz and lamassu routing tree
fix: routes.js routing tree getter
2021-06-23 15:15:41 +01:00
Sérgio Salgado
2a2880a7da feat: add build target field to routes
feat: move towards single App.js file
fix: header component interaction with build target
2021-06-23 15:15:41 +01:00
Sérgio Salgado
bbc37c0202 fix: multiple small fixes across auth 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
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
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
Taranto
fcd66edf11 chore: remove config migration dev tools 2021-03-23 18:05:49 +00:00
Sérgio Salgado
dd0abc8a8b refactor: AppContext and App entrypoints 2021-03-18 11:06:35 +00:00
csrapr
fca38a5636 Feat: new profit change icons 2021-02-16 11:29:24 +00:00
Cesar
c0106592eb Feat: link from alert to some page 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
6b6d52d7b0 Fix: make percentage chart work properly
Fix: code review
2021-02-05 18:59:11 +00:00
Cesar
bd2d657e2c 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-05 18:59:11 +00:00
Cesar
c21cdb13e1 Feat: make dashboard and machine profile page 2021-02-05 18:59:11 +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
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
Cesar
19cd086436 Feat: make dashboard and machine profile page 2021-02-02 17:02:24 +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
Jose Sousa
15e953788e chore: updated after third level routing 2020-12-23 19:41:54 +00:00
Jose Sousa
78ba6bad8b refactor: removed action variable(only used once) 2020-12-23 19:41:54 +00:00
Jose Sousa
de4a767b21 feat: transitions animations direction 2020-12-23 19:41:54 +00:00
Jose Sousa
68050fd4ba feat: transitions animations without direction 2020-12-23 19:41:54 +00:00
Jose Sousa
7b1564c569 fix: redirect to third level 2020-12-11 19:16:07 +00:00
Jose Sousa
3e1e2b4831 chore: title and sidebar moved to app.js 2020-12-11 19:16:07 +00:00
Cesar
fd6f1a2fe0 feat: create blacklist page 2020-11-18 21:45:31 +00:00
Sérgio Salgado
4b44e1ef97 feat: token management screen 2020-11-12 22:03:26 +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
Taranto
a710a1b33a fix: typos and small ui improvements 2020-10-25 20:24:31 +00:00
Taranto
97ffb7bdf1 fix: wizard loading order and zeroConf 2020-10-21 11:31:17 +02: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
1f5b84340e feat: Admin Wizard
feat: Wallet admin wizard
feat: Notifications admin wizard
feat: Twillio admin wizard
feat: Commissions admin wizard
feat: OperatorInfor admin wizard
feat: Locales admin wizard
feat: wizard admin route
fix: better margin for admin wizard sidebar
feat: allow FormRenderer to receive a field xs size
feat: add a few flags on notifications, to reuse component parts as desired
fix: wrong gql
fix: missnig prop
fix: eslint
fix: radio styles
feat: configure bitgo wallet for single cryptocurrency on wizard
fix: eslint
feat: set up infura wallet on wizard
feat: exchange account config on wizard
fix: choose wallet choose exchange DRY
fix: layout
fix: rebase wizard to use commissions new changes
fix: typo
fix: eslint
fix: horizontal radios
feat: radio interacts with mailgun enabled/disabled state
fix: use yup to validate wizard steps
fix: eslint
feat: add xl size for button
feat: admin wizard splash
feat: use fullsize modal for wizard
fix: eslint
feat: Footer styles
feat: wizard footer styles
fix: wallet step styles
fix: zeplin spec
fix: zeplin styles
feat: blockcypher link
fix: xs can only be used on item
feat: minimize wizard footer on click away
feat: read blockcypher config
fix: all set title styles do not match
fix: no need to wrap the wrapper
feat: allow to override Setup table width for wizard
fix: wrapper class for wizard steps
fix: layout elements for mailgun step
feat: use yup to validate wizard steps
style: eslint
feat: operator info components open by default on wizard
fix: all set table is too wide
feat: full example modal
feat: check if wallet has valid config
feat: check if twilio has valid config
2020-10-15 21:32:46 +02:00
Taranto
5dd8501a17 fix: pre release screen fixes 2020-07-06 14:17:44 +01:00
Taranto
bf8f1d991c chore: integrate new admin with l-s 2020-05-27 22:43:00 +01:00