Commit graph

73 commits

Author SHA1 Message Date
Cesar
2a9e8dadba Feat: user compliance saving to DB 2021-02-04 15:48:23 +00:00
Cesar
3b3bdf839b Feat: crypto balance notifications saving in DB
Chore: add new column "detail" to transactions table migration

Feat: check if older notification is valid before sending new one

Feat: error saving to database

Fix: fix error when invalidating notification on
clearCryptoBalanceNotifications
Chre: code refactor in new-settings-loader for simplicity
Chore: refactor code on notifier and merge similar functions
2021-02-04 15:48:23 +00:00
Cesar
196a05549f Feat: save cash balance notifications in DB
Feat: add "detail" row in notifications table migration

This makes searching for specific notifications in the
code like cashbox number easier because we don't need
to scrub the notification message column anymore to search
for notifications relating the cashbox 1 for example.

Feat: clear notifications on cash cassette balance update
2021-02-04 15:48:23 +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
Cesar
6994303069 Feat: warn admin before restarting services 2020-12-16 17:24:49 +00:00
Taranto
c7a6a290c9 fix: unresponsive instead of stuck if both 2020-11-05 18:53:58 +00:00
Liordino Neto
3a5bbbca1f feat: added shutdown function to the machine loader
feat: created shutdown route and call it from gql server (called from
admin UI button)

feat: added an extra message property to the ConfirmDialog

refactor: simplified the MachineDetailsCard component

feat: added an extra information message to the Shutdown machine action
2020-11-04 13:12:12 +00: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
Liordino Neto
79298d5dec fix: send a single state for the machine status 2020-10-15 21:20:06 +02:00
Mauricio Navarro Miranda
db014a3ed4 fix: machine status layout bugs
fix: reboot icon looks cropped

fix: confirm dialog layout

fix: Status chip background colors

fix: detailed machine status layout

fix: machine detailed status layout

fix: machine status article links, status chip size

fix: confirmDialog for all machine actions

fix: confirm dialog on every action. reload when success

fix: verbose input label

fix: display software version and machine model

fix: eslint fixes

fix: removed machine version and update button

fix: get machines statuses from ping

chore: removed the support articles until they're ready

fix: reset value and error states when closing the confirm dialog

fix: removed unused info from the machine table

styles: fixed styles in the machine details card

chore: moved styles to another file

fix: fixed the version gql property
2020-10-15 21:20:06 +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
Mauricio Navarro Miranda
8f4ee4da0a feat: add cashboxes screen
feat: add cashboxes route
feat: add non-editable cashbox component
feat: cashboxes action required icon
feat: add cashOut denomination to cashboxes
feat: edit cashboxes values
feat: new server empty cashIn and reset cashOut actions
feat: reset cashboxes from UI
fix: cashbox border, cashbox font
fix: move cashbox styles to its own file
fix: use default table for cashboxes-table
fix: better import
fix: TODO: find a better way to display cashbox reset errors
fix: TODO for cashout
fix: move cashboxestable closer to parent
fix: WIP use EditableTable instead of fakatable
wip: move to editabletable
fix: WIP split cashbox into view + input components that can be used with formik
feat: rewrite cashbox component into view + fromik
feat: WIP use editableTable instead of hand made table
feat: WIP cashboxes editable table
feat: split cashbox
feat: Yup validation schema for cashboxes editable table
feat: split cashbox into view+formik
feat: WIP use editableTable instead of faketable
feat: use editableTable instead of fakeTable
fix: custom CashboxesTable not needed anymore
2020-05-05 02:30:28 -05:00
Mauricio Navarro Miranda
fdf18b60ad feat: add machine status page (#344)
* feat: add confirm-dialog component

* feat: add MachineStatus to router

* feat: add machine details to api endpoints

* feat: add machine-status expandabletable

* fix: add missing property to TextInput on story

* style: minor style fixes

* feat: useAxios to unpair and reboot specific machinees

* fix: style fixes
use shutdown instead of reboot
use named colors

* fix: use new ExpTable

* fix: class instead of sttyles, use named colors

* feat: use ConfirmDialog to confirm unpair action

* chore: eslint fix

* refactor: use gql, new ExpTable and ramda on machine-status

* fix: 'fallback' status instead of the 'all good' one

* fix: makeStyles instead of withStyles

* refactor: simplify StatusChip

* fix: css spacing instead of nbsp

* fix: move makeStyles outside component

* refactor: makeStyles instead of withStyles

* refactor: adapting based props for Status

* refactor: moar simple Status chip

* feat: use graphql mutation instead of rest for machine action
feat: use graphql instead of rest on MachineDetailsCard

* fix: Dialog close must be handled outside

* fix: just pass down onDissmissed and onConfirmed to the component
https://github.com/lamassu/lamassu-server/pull/344#discussion_r370136028

* refactor: machineAction on separate file and 404 handling

* feat: basic handling of graphql exceptions on machineAction
2020-02-04 21:12:44 +01:00
Rafael Taranto
9f8693a33e Add new reboot option and restart lamassu-browser 2019-07-16 14:53:28 +01:00
Josh Harvey
ba1fc26944 fix blank machine name issue 2018-03-11 15:06:04 +00:00
Josh Harvey
c2af183911 format for latest standard 2018-03-10 18:59:40 +00:00
goga-m
62d606cc80 Create support_logs (db & api) 2017-12-13 16:31:07 +02:00
Josh Harvey
8440fa3b1d refactor admin-server to lib directory 2017-06-16 16:23:51 +03:00
Josh Harvey
1ad90b515e support reboot 2017-06-11 18:50:02 +03:00
Josh Harvey
87a4236313 add cashOut attribute to machines API 2017-05-16 15:10:47 +03:00
Josh Harvey
f23d17b357 fix no-exchange issue 2017-05-11 15:30:23 +03:00
Josh Harvey
c2282e61b4 new admin structure 2017-05-11 15:30:22 +03:00