Commit graph

153 commits

Author SHA1 Message Date
Mauricio Navarro Miranda
8a8503dcbb fix: server_logs creates inf loop on l-s install
fix: flag that skips storing server_logs on DB when table does not yet exists
fix: hook server logs migration as soft dependency on initial
Revert "fix: hook server logs migration as soft dependency on initial"
This reverts commit e6c4cf4419c894598393997637dcfd95a5ff6a0e.
fix: empty promise, actually no additional promise was needed
2020-09-02 12:41:49 +02:00
Taranto
bf8f1d991c chore: integrate new admin with l-s 2020-05-27 22:43:00 +01:00
Taranto
b1b8b82260 fix: small admin fixes 2020-03-20 17:28:23 +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
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
Rafael Taranto
f590dbe49c Merge remote-tracking branch 'upstream/new-lamassu-admin' into dev 2019-11-28 22:18:40 +00:00
Rafael Taranto
0fd0d21599 fix: operator id fetching on scripts 2019-11-20 13:54:32 +00: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
Rafael Taranto
98cc3b18b7 Prevent address reuse option 2019-07-31 18:12:16 +01:00
Rafael Taranto
00c4187081 Front facing camera (#289)
* Front facing camera

* Adding in configuration and update script
2019-07-05 19:17:59 +03:00
Rafael Taranto
a930d8b647 Replace empty logs and name escape sequence 2019-06-04 09:39:23 +03:00
Rafael Taranto
fb2095e444 Add blacklist script 2019-06-04 09:39:23 +03:00
Brandon Cryderman
0088ba7068 Add lamassu-revoke and lamassu-users (#270)
* lamassu-list-users

Lists registered users to the admin panel

* Add in unregister function to revoke token access

* Create lamassu-revoke

* Changed name to lamassu-users

* Update login.js

* Update login.js

* Add lamassu-users & lamassu revoke to package.json

* Re-add missing comma.
2019-04-17 18:51:45 +03:00
Neal Conner
1773c0ca2a Use non-symlinked hkdf bin
In the event hkdf is in /usr/local/bin, as it was in one case.
2019-04-17 15:23:20 +03:00
Neal Conner
10aa803320 Update lamassu-coinatmradar
Output 32-character operator ID
2019-04-17 15:23:20 +03:00
Neal Conner
d2f36b8019 Use 64 characters with lamassu-coinatmradar 2019-03-29 17:37:22 +01:00
Rafael Taranto
f7e9630710 lamassu-install and lamassu-update bugfixes (#261)
* Call bip39 after lamassu-server gets installed

* Fix bash variable declaration

* Remove mnemonic path from migrate defaults

This caused the update-to-mnemonic script to skip thinking the mnemonic
already existed
2019-03-14 11:09:47 +00:00
littlenaut
9fd204db9e Allow domain selection when generating certificates 2019-03-11 11:46:19 +00:00
Rafael Taranto
03288c4f5e Fix lamassu-update-to-mnemonic --prod 2019-03-07 10:48:56 +00:00
Rafael Taranto
8af67cf030 Change backup folder on updates 2019-03-06 12:00:30 +01:00
Neal Conner
afaf98f93e Fix lamassu-update-to-mnemonic during update 2019-03-06 11:28:48 +01:00
Neal Conner
760d765520 merge in latest release 2019-03-04 18:49:27 +01:00
Josh Harvey
e7ef9d0753 Merge in release and fix conflicts 2019-03-03 13:06:55 +01:00
Neal Conner
df13f2ed90 Fix lamassu-ofac-update-sources during update
Otherwise:
```
bash: line 59: /bin/lamassu-ofac-update-sources: No such file or directory
```
2019-01-21 15:42:47 +01:00
Rafael Taranto
7043a3c408 Retry downloading OFAC lists (#236)
* Retry downloading OFAC lists

* Update ofac sources on lamassu-update
2018-12-30 14:47:09 +01:00
Rafael Taranto
b885e5698c Merge branch 'release' into merge-release-into-dev 2018-12-27 15:01:10 -03:00
Rafael Taranto
0ec647f2b2 Pin node version to 8 2018-11-21 10:27:54 +01:00
Rafael Taranto
fad819b7e5 Fix openssl version 2018-11-18 10:16:59 +01:00
Rafael Taranto
06f8c57608 Save migrations file on db (#215)
* Revert "Migration sql changes (#199)"

This reverts commit 12c834469c.

* Save migrate file on db

* Add message on migration error in lamassu-update
2018-11-18 10:15:22 +01:00
Davit Abulashvili
9af204e609 cert-gen script echo specific message and exit on each openssl operation fail (#712) 2018-11-17 22:48:07 +01:00
Rafael Taranto
d97a33565f Change seed file with a bip39 mnemonic (#207)
* Change seed file with a bip39 mnemonic

* Create helper for bip39 mnemonic

* Prod mode on lamassu-update-to-mnemonic script

* Fix standard styling issues
2018-11-07 18:28:40 +01:00
Fabio Cigliano
12c834469c Migration sql changes (#199)
* safe migration script changes

* lamassu migration script fixes
2018-11-01 13:26:48 +02:00
Fabio Cigliano
771eded655 lamassu-update to update from #dev (#193) 2018-10-23 10:02:34 +03:00
Fabio Cigliano
a35cb5c78d Renamed staging branch to release (#192) 2018-10-23 10:02:17 +03:00
Rafael Taranto
5ee7e40872 Add operator id on CoinATMRadar request (#184)
* Add operator id on CoinATMRadar request

* Update coinatmradar.js
2018-10-08 19:11:28 +02:00
Josh Harvey
097de6dc97 update from master branch, not stable branch 2018-10-06 13:20:33 +02:00
Neal Conner
52309c53a4 Disable motd scripts (#177)
* Disable motd scripts

* Fix typo
2018-10-01 18:35:32 +03:00
Fabio Cigliano
147db125dd reworking l-s startup (#175)
* reworking l-s startup

it was failing to retry when starting with an invalid configuration

* changed startup routine

* start supervisor after update
2018-09-27 13:49:11 +03:00
Fabio Cigliano
7eb8052b82 lamassu-update minor fix (#174)
* lamassu-update minor fix

reset the terminal when linking/unlinking new exes

* moved hash -r
2018-09-26 17:32:30 +03:00
Fabio Cigliano
1713aeeab8 fix outdated symlinks after update from v5 (#171) 2018-09-23 10:05:31 +01:00
Fabio Cigliano
7c4c314df4 crontab update fix + npm rebuild path fix (#166) 2018-09-22 23:38:31 +01:00
Fabio Cigliano
46d73fadf9 lamassu-update crontab path fix (#162) 2018-09-22 23:38:31 +01:00
Fabio Cigliano
49f8b66de0 rename old l-s module to lamassu-server-old (#170) 2018-09-22 18:58:13 +01:00
Josh Harvey
8bf449bdc4 add validate-config script 2018-09-22 18:53:10 +01:00
Fabio Cigliano
9b7972017d changes cherry picked from dev to stable (#169)
* lamassu-update to update crontab

* lamassu update and install script to point to #stable branch

* lamassu update and install script to point to #stable branch

* removing outdated & unused script

* crontab update fix + npm rebuild path fix
2018-09-22 18:45:38 +01:00
Neal Conner
1e480a7c16 Add 'update complete' notice (#141) 2018-08-24 17:30:25 +03:00
Fabio Cigliano
6fdb3e8834 config-validator to consider default values from schema (#139)
* config-validator to consider default values from schema

* fix with relative json schema path

* remove lamassuServerPath config on lamassu-migrate-options
2018-08-24 17:30:25 +03:00
Fabio Cigliano
ff1ec611be lamassu-update script changes to update supervisor config (#133)
* lamassu-update script changes to update supervisor config

* No need to do supervisor start
2018-07-02 16:38:36 +01:00
Fabio Cigliano
c3535e6ed3 Lamassu update script changes (#126)
* lamassu-migrate-config script added + lamassu-default.json

* lamassu update script changes

* lamassu-update unit test added
2018-06-16 13:55:42 +03:00