Commit graph

34 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
Josh Harvey
43ac3f5923 remove debug 2018-05-03 20:20:18 +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
e847425244 fix up eth 0-conf 2017-10-23 16:11:25 +03:00
Josh Harvey
6759bec826 fix crypto defaults 2017-06-01 16:53:00 +01:00
Josh Harvey
bcf72a0285 add crypto defaults 2017-06-01 16:53:00 +01:00
Josh Harvey
8cdad0bc15 add more db fields for fixed fee 2017-06-01 16:52:59 +01:00
Josh Harvey
f23d17b357 fix no-exchange issue 2017-05-11 15:30:23 +03:00
Josh Harvey
a60a4f8793 remove edge cases from server side 2017-05-11 15:30:22 +03:00
Josh Harvey
c2282e61b4 new admin structure 2017-05-11 15:30:22 +03:00
Josh Harvey
f3f46f7b5b improve config saving; fix pairing bug 2017-05-07 15:48:05 +03:00
Josh Harvey
614c64646a improve config loading; remove debug 2017-04-25 02:32:16 +03:00
Josh Harvey
5f0b70ca42 load latest *good* config 2017-04-25 02:32:16 +03:00
Josh Harvey
d26ce117fd add config validation 2017-04-25 02:32:13 +03:00
Josh Harvey
c3cd705bc9 few bug fixes 2017-03-22 15:19:12 +02:00
Josh Harvey
b7a93b89f5 WIP 2017-03-22 00:51:51 +02:00
Josh Harvey
340ad2b518 WIP 2017-03-20 16:43:40 +02:00
Josh Harvey
f877f1f977 WIP 2017-01-10 18:41:37 +02:00
Josh Harvey
1183950dad WIP 2017-01-09 01:04:27 +02:00
Josh Harvey
94dc861b87 start adding test framework 2017-01-08 23:18:27 +02:00
Josh Harvey
d9b2e021e7 convert settings-loader to lodash 2017-01-08 19:04:02 +02:00
Josh Harvey
e6cd0d9473 update remaining code for versioned config 2016-12-09 11:36:29 +02:00
Josh Harvey
2c6177bff9 WIP 2016-12-09 03:07:46 +02:00
Josh Harvey
1b89ed5c76 fix up crypto services 2016-12-09 00:10:18 +02:00
Josh Harvey
a375adb8b9 WIPP 2016-12-08 17:56:50 +02:00
Josh Harvey
df5d9cac89 WIPP 2016-12-08 16:37:50 +02:00
Josh Harvey
e6a7a601c9 add defaults 2016-12-07 23:08:17 +02:00
Josh Harvey
89b7c95c8a WIPP 2016-12-07 20:14:39 +02:00
Josh Harvey
eea230de60 WIP 2016-12-02 16:37:55 +02:00
Josh Harvey
48a9f9d204 fixes 2016-11-28 03:34:18 +02:00
Josh Harvey
00d986376e WIPP 2016-11-27 18:12:49 +02:00
Josh Harvey
b16d11045c WIPP 2016-11-27 03:09:51 +02:00