Commit graph

17 commits

Author SHA1 Message Date
Taranto
89bb9a8f25 chore: cleanup, node14 and new admin default 2020-10-20 21:54:58 +02:00
Liordino Neto
ccf7eacfad feat: Create migration from old config to new (#424)
* fix: adapt old settings loader to the new schema (filter schema_version)

feat: migrate commissions globals

feat: migrate locales

refactor: generalize the old fields search

chore: created functions signatures for all config migrations

feat: created wallet migration

feat: migrate operator info

feat: migrate coin atm radar

feat: migrate terms and conditions

feat: migrate commissions overrides

fix: removed the wallet_COIN_active field (don't exist anymore)

chore: moved the config-migration lib to the lib folder

feat: migrate cashout configurations

feat: migrate notifications globals

feat: export migration function

feat: migrate most of notifications scoped configs

fix: added the missing text property to the terms and conditions
migration

feat: migrate compliance triggers

feat: migrate receipt printing

feat: migrate accounts

chore: remove test code form module

refactor: change some functions naming

fix: set default trigger type to 'volume'

feat: added threshold days (default 1) to triggers

fix: removed strike from the accounts importing

refactor: cleaner code on fixed properties

feat: avoid repeated crypto/machine pairs on the commissions overrides
migrations

refactor: make renameAccountFields function internal to the account
migration function

fix: migrate all crypto scoped commission overrides

* fix: return plain objects from functions to make the jsons more readable

fix: fix bitgo fields casing

fix: improve commissions migration function readability

refactor: standard styling

* feat: add fallback values to the migration

* feat: created db migration for the new config

* feat: create migration to move machine names from file to db

fix: updates machine names before the config migration

fix: load machineLoader

fix: create a param to ignore the schema version when loading the latest
config using the old loader

* refactor: remove unnecessary arguments on createTrigger function

fix: check if there's an smsVerificationThreshold configured prior to
migrating triggers

* fix: migrate triggers with the correct thresholds and verify if they're
valid
2020-09-25 11:07:47 +01:00
Rafael Taranto
fb42fc54a0 Handle spammy logs for removed l-a-s options 2019-08-19 10:56:09 +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
Josh Harvey
6c3099921f support for Coin ATM Radar 2018-05-21 16:30:13 +03:00
Josh Harvey
3b35743bb5 fix undefined crypto scope 2018-03-11 14:08:15 +00:00
Josh Harvey
c2af183911 format for latest standard 2018-03-10 18:59:40 +00:00
Josh Harvey
50005ac0f2 warn only on unrecognized config names 2017-10-21 15:31:44 +03:00
Josh Harvey
15cc0dc975 fix validation 2017-06-08 18:39:09 +03:00
Josh Harvey
8a725a54f1 support enabledIfAny enabledIfAll 2017-06-08 15:48:38 +03:00
Josh Harvey
e8356c1041 update cryptoBalance notification 2017-06-01 16:53:01 +01:00
Josh Harvey
8cdad0bc15 add more db fields for fixed fee 2017-06-01 16:52:59 +01:00
Josh Harvey
c2282e61b4 new admin structure 2017-05-11 15:30:22 +03:00
Josh Harvey
70c3f59628 fix lamassu-apply-defaults 2017-05-07 22:58:48 +03:00
Josh Harvey
f3f46f7b5b improve config saving; fix pairing bug 2017-05-07 15:48:05 +03:00
Josh Harvey
1488a60a60 fix validation bug in admin 2017-05-04 01:22:04 +03:00
Josh Harvey
614c64646a improve config loading; remove debug 2017-04-25 02:32:16 +03:00