Commit graph

1398 commits

Author SHA1 Message Date
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
Taranto
f1edea4e8a feat: only refetch t&c on config change 2020-01-24 14:32:04 +01:00
Taranto
9ccdd7d6f9 feat: add compression to l-s 2020-01-24 14:32:04 +01:00
Luis Félix
e6e45ec509 fix: make nav and sidebar styleguide compliant
fix: remove comments
2020-01-24 14:28:30 +01:00
Luis Félix
a4532793f3 fix: make textinput style guide compliant
fix: correct input spacing

fix: correct label color

fix: correct input width

fix: move formik stuff out of base TextInput
2020-01-24 14:27:54 +01:00
Luis Félix
7b59e36cb4 feat: add operator info page
feat: save/load operator info

feat: add formik switch component

feat: add input validation

fix: correct formik switch behaviour

fix: change infoCardEnabled to a radio input

style: move styles out of js

feat: add error feedback
2020-01-24 14:27:54 +01:00
Luis Félix
b9d2341cd1 feat: add services page
fix: change styles, fix hook trigger, add ux

feat: setup custom error messages

refactor: conform to new style guide

refactor: migrate to graphql

refactor: migrate to Ramda

fix: update state on mutation

refactor: migrate error ux to graphql

fix: change structure of accounts config

fix: use absolute imports

fix: move makeStyles out of components

fix: correct Strike behaviour
2020-01-20 18:04:26 +01:00
naconner
1dba321052 chore: change ETH language 2020-01-20 17:37:38 +01:00
Taranto
85954e479e fix: add cors to register endpoint 2020-01-20 17:37:15 +01:00
Taranto
3ae1387c79 chore: pin nix commit hash version 2019-12-31 19:06:01 +02:00
Rafael Taranto
b8e0c2175b feat: add graphql support (#349)
* fix: eslint warnings

* refactor: use ramda + sanctuary instead of lodash

* refactor: use prettier-standard for formatting

* feat: enable security

* feat: add graphql

* chore: remove trailing commas from linter

* docs: new scripts on react and new-admin-server

* feat: handle authentication on graphql

* fix: perf improvement to date picker

* chore: add insecure-dev script to run servers
2019-12-24 15:36:41 +01:00
Taranto
49f434f1d1 chore: hardcode nix-channel to shell.nix 2019-12-24 10:21:12 +01:00
Rafael Taranto
8334bd274f feat: transactions page (#342)
* feat: transactions page

* fix: remove unused txHash function

* refactor: rewrite transactions sql queries

* fix: use left instead of inner join on txs

* fix: change expandable table logic

* fix: add other coins

* refactor: move log download function to component

* refactor: use name values in RadioGroup

* fix: assorted fixes

* feat: virtualize expandable table

* fix: clean up imports

* fix: remove border radius

* fix: move formatting out of CopyToClipboard

And use CSS instead of JS to format.

* fix: remove customer's last name formatting

This was using lodash's string case functions, which produce unwanted
results if, for instance, a user has a double-barrel last name.
2019-12-12 13:55:52 +00:00
Josh Harvey
41d8b7afe1 Merge pull request #338 from RafaelTaranto/dev
merge DD and new-lamassu-admin into dev
2019-11-29 15:42:21 +00:00
Rafael Taranto
f590dbe49c Merge remote-tracking branch 'upstream/new-lamassu-admin' into dev 2019-11-28 22:18:40 +00:00
Rafael Taranto
db3a4e4936 Merge remote-tracking branch 'upstream/defiant-dingirma' into dev 2019-11-28 22:07:42 +00:00
naconner
43a89d82f1 v7.4.4 2019-11-27 11:02:31 -08:00
Luis Félix
7042bbe089 feat: add expandable table, new icons 2019-11-22 12:11:47 +00:00
Rafael Taranto
05a95485f7 fix: pass down settings to coinatmradar module 2019-11-20 18:56:32 +00:00
Rafael Taranto
0fd0d21599 fix: operator id fetching on scripts 2019-11-20 13:54:32 +00:00
Luis Félix
af450f651a fix: use returns instead of elses 2019-11-20 13:46:49 +00:00
Luis Félix
90b2cb2660 fix: make Calendar method more fp like 2019-11-20 13:46:49 +00:00
Luis Félix
e97a28a814 refactor: move selected date container up
Allows reuse of the date range picker by making the display of the
selected range independent from the picker.
2019-11-20 13:46:49 +00:00
Luis Félix
769822fce9 fix: apply styles 2019-11-20 13:46:49 +00:00
Luis Félix
0d9d54efaf refactor: move download popover to own component 2019-11-20 13:46:49 +00:00
Luis Félix
e6dfb9dfd6 fix: reorganize imports 2019-11-20 13:46:49 +00:00
Luis Félix
57c0b7cca1 feat: add date range download dialog 2019-11-20 13:46:49 +00:00
naconner
07f4bdfb66 Fix ETH sending following miner fee logging 2019-11-19 16:25:06 +00:00
naconner
ae39a87244 Update Zcash filepath 2019-11-19 16:24:24 +00:00
naconner
e77d031fa7 Update crypto node versions 2019-11-19 16:24:24 +00:00
naconner
5ad3a1f86e Add Coinbase ticker to Dash in admin 2019-11-19 16:24:24 +00:00
naconner
c7dec82f38 Add DASH to Coinbase ticker 2019-11-19 16:24:24 +00:00
Rafael Taranto
74d592d892 fix: wrong imports after merge 2019-11-12 17:38:16 +00:00
Rafael Taranto
58c93bc265 Feat: Funding history screen 2019-11-12 15:17:03 +00:00
Rafael Taranto
8b4a1ff23f Feat: New styleguide, table component and screen 2019-11-12 15:17:03 +00:00
Rafael Taranto
c100c11a2f fix: rebase issues and code style 2019-11-12 15:04:32 +00:00
Luis Félix
703c5d7c91 feat: add new server log page 2019-11-12 11:20:57 +00:00
naconner
51d4bb1fe5 v7.4.3
* v7.4.3
2019-10-31 07:38:10 -07:00
Rafael Taranto
fc1951c4b2 Lamassu admin server initial commit 2019-10-31 12:28:51 +00:00
Luis Félix
44769d6e44 fix: add photocard, frontcamera dirs to json conf 2019-10-17 16:55:53 +02:00
Neal Conner
52ccea0e5f Update Bitstamp to new Bitpay api version 2019-10-16 19:43:04 +02:00
Rafael Taranto
1299e01220 Different channel version
nix is dropping node8 on 19.09 upwards
2019-10-16 19:39:06 +02:00
Rafael Taranto
95a23a964b Add nix config files 2019-10-16 19:39:06 +02:00
Rafael Taranto
d083ae5a40 perf - Cache settings on router.js 2019-10-01 16:55:07 +02:00
Neal Conner
20f3cf14e9 v7.4.1 2019-09-27 20:16:24 +02:00
Neal Conner
6b90237eb4 v7.4.1 2019-09-27 20:16:24 +02:00
Neal Conner
08635ca833 ZEC node security update 2019-09-27 20:16:24 +02:00
Rafael Taranto
1fb35d107b Fix notify operator call 2019-09-27 20:15:24 +02:00
Rafael Taranto
1153c6af6a Merge cc into dd (#317)
* Fix ETH fee fetching (#303)

* v7.3.3 (#304)

* Throttle clock skew and fetch logs

* PR Fixes

* Reduce throttle time

* Remove old endpoint

* Fix standard styles and improve readability

* Simplify throttling

* Small fixes

* Bump version
2019-09-20 12:33:00 +01:00
Neal Conner
2e675f738f Update BTC, ZEC, BCH, ETH 2019-09-19 16:53:20 +01:00