Commit graph

64 commits

Author SHA1 Message Date
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
0b02c7feae Fix: fix query 2020-12-11 19:23:12 +00:00
Cesar
ed4e654036 Chore: remove unused code and use lodash 2020-12-11 19:23:12 +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
Sérgio Salgado
4b44e1ef97 feat: token management screen 2020-11-12 22:03:26 +00:00
Rafael Taranto
5434e9f8e6 Fix/csv logs (#505)
* fix: use async csv lib

* fix: wording on the wizard

* chore: builded react files
2020-11-09 10:27:44 +00:00
Taranto
a108df0c4c feat: return logs in csv format 2020-10-30 20:17:42 +00:00
Liordino Neto
a1cc7cad13 fix: removed unnecessary support log code from server 2020-10-28 16:16:14 +00:00
Liordino Neto
15618df4ef fix: inverted name and phone positions on the customers list
fix: use the correct variables for getting the customers status

fix: customer name was showing as 'undefined undefined' when not present

fix: use the phone number as a fallback for the customer name when it's
not present

fix: removed phone number compliance card

fix: set a fixed size for the popup photos
2020-10-26 16:04:15 +00:00
Liordino Neto
f53a934092 feat: change customer screen transaction list part to the new design
feat: created the compliance details component (no data for now)

fix: added missing properties into the gql schema and the compliance
details component

feat: added another chip type for a neutral situation

style: change the property card style for the v1 specs

fix: added front facing camera override to schema and components

feat: added authorized override (status) column to the customers list
table

fix: moved name to the front of the phone on the customers list table

fix: added sanctions description text on it's card

fix: added id icon to the right of the customer name

feat: created subpage button component and use it in the customer
profile

feat: created an image popper component and use it in the customer
compliance page

fix: added varying sizes to the customer details and id data cards fields

refactor: simplify the compliance subpage code
2020-10-26 16:04:15 +00:00
Taranto
f19a2749ec chore: added builded files and compression 2020-10-22 17:03:00 +01:00
Taranto
89bb9a8f25 chore: cleanup, node14 and new admin default 2020-10-20 21:54:58 +02:00
Taranto
d889bb34ac fix: wallet pending values 2020-10-15 21:27:27 +02:00
Liordino Neto
bbf98b4d52 feat: created the rename action on the machine status page
fix: added missing 'shutdown' action on the MachineActions enum of the
gql schema

style: set the Edit icon for the rename action

style: fixed first and last action buttons spacing
2020-10-15 21:20:06 +02:00
naconner
825a9bfe09 fix: add back missing tickers, simplify zero-conf 2020-10-15 21:12:10 +02:00
Liordino Neto
d065baeda9 fix: moved coin filter from the front-end to the server 2020-10-09 11:09:01 +02:00
Taranto
f2080c32e9 feat: new compliance options 2020-10-06 23:19:22 +02:00
Liordino Neto
d6b707ff7a feat: refactor the loading of the latest config so there's now two
functions, one for the server and one for the new admin web page
2020-09-11 14:13:18 +01:00
Liordino Neto
6e356217ae feat: created migration to add a schema_version column on the user_config table
feat: adapted the new settings loader to work with the db instead of
the json file

fix: fixed the schema migration file

fix: updated accounts to work with the db

fix: fetch only data with the new schema version

fix: change the account saving process so there's no more than one
account record

chore: removed unnecessary TODO comments

fix: replaced an error throwing with a Promise reject

fix: when looking for the latest config, don't limit it to the new ones

fix: fix function names on gql server

fix: remove duplicate import

fix: return an empty object when there's no schema_version 2 config yet
2020-09-11 14:13:18 +01:00
Liordino Neto
c3222362d7 fix: change default port to 3001 2020-08-06 12:37:54 +02:00
Liordino Neto
994f823632 fix: added missing lodash dependency to accounts lib
fix: show full languages name on the dropdown

fix: search crypto per name as well

fix: limit selected languages to 4 (the same as the old admin)

fix: removed duplicated import
2020-08-02 00:38:54 +02:00
Liordino Neto
f641e605a4 fix: added timestamp parameters for a date range on the gql queries for
machineLogs, serverLogs and transactions

feat: added optional limit and offset variables for the logs queries,
for filtering and pagination

feat: adapted the LogsDownloaderPopper to download the logs by whats set
on the filters

fix: improved code readability

fix: avoid errors when the range option is selected and no range is
actually selected
2020-07-31 00:37:00 +02:00
Liordino Neto
fbb72e9562 fix: added missing lodash dependency to accounts lib
fix: removed unnecessary properties from CAR page and config

style: changed the CAR page properties from radio groups to switches

fix: refetch config after saving
2020-07-31 00:02:42 +02:00
Taranto
5dd8501a17 fix: pre release screen fixes 2020-07-06 14:17:44 +01:00
Taranto
8f7bb412a1 fix: transaction screens fixes 2020-06-01 20:54:19 +01:00
Taranto
bf8f1d991c chore: integrate new admin with l-s 2020-05-27 22:43:00 +01:00
Taranto
6b3db134e7 fix: make accounts a object 2020-05-09 20:14:46 +01:00