Commit graph

242 commits

Author SHA1 Message Date
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
Josh Harvey
be53de7326 support sending funds to external wallet 2018-05-17 16:28:39 +03:00
Josh Harvey
80e851fb59 WIP 2018-05-03 20:20:18 +03:00
Konstantin Mamalakis
65f0e852d0 Put sources in lamassu.json 2018-05-03 20:20:18 +03:00
Konstantin Mamalakis
b72f5549a5 Parsing moved to downloading. Matching is being tweaked. 2018-05-03 20:20:18 +03:00
Konstantin Mamalakis
c4307cb749 Corrections and initial algorithm 2018-05-03 20:20:18 +03:00
Josh Harvey
6fa6ac1647 merge lightning 2018-03-28 22:40:28 +03:00
Josh Harvey
c2af183911 format for latest standard 2018-03-10 18:59:40 +00:00
Neal Conner
0c97df42e5 Fix lamassu-cancel (#98)
Fix lamassu-cancel
2018-02-16 18:14:23 +02:00
Josh Harvey
d87781f91f Fix up cert-gen.sh 2018-02-05 22:53:46 +02:00
Neal Conner
9f26aef790 Update lamassu-update, add to bin (#92)
* Use --allow-root to avoid gyp error

Without --allow-root, when running on existing installs the terminal streams an endless:

```gyp WARN EACCES user "root" does not have permission to access the dev dir...```

* Add lamassu-update to bin

* Change to --unsafe-perm which is mentioned in npm docs
2018-02-01 20:45:21 +02:00
Josh Harvey
8b267210c9 WIP 2018-01-31 14:40:57 +02:00