Commit graph

16 commits

Author SHA1 Message Date
Taranto
080f451269 chore: lamassu-coins rename 2022-02-18 20:15:39 +00:00
José Oliveira
8403736026 fix: migrate accounts and default cash-out commissions 2021-10-04 07:31:17 +01:00
Sérgio Salgado
bb433164ab chore: redirect coin dependencies to l-c module 2021-06-23 15:07:01 +01:00
Sérgio Salgado
3423e2ddd0 chore: replace imports to point to lamassu-coins module 2021-06-23 15:07:01 +01:00
Sérgio Salgado
da0d25c040 feat: add config migration 2021-06-20 15:56:18 +01:00
José Oliveira
dd7dc68323 refactor: suspensionDays only on suspend triggers 2021-03-03 20:34:01 +00:00
José Oliveira
ca86a70d42 refactor: pass suspension days as param 2021-03-03 20:34:01 +00:00
José Oliveira
28ee05a24a fix: migrate hardlimit to suspend 2021-03-03 20:34:01 +00:00
José Oliveira
2bfd26d13c fix: reject reused addresses 2021-03-03 20:34:01 +00:00
José Oliveira
3fdac72533 fix: compliance migration 2021-03-03 20:34:01 +00:00
José Oliveira
5b81194fc3 fix: migrate accounts, cashout settings, and some triggers 2021-03-03 20:34:01 +00:00
Rafael Taranto
e843020215 Liordino feature/config migration review (#552)
* feat: changed old server ports so it can coexists with the new server

feat: removed deleted references from old server

feat: created reset and migrate mutations on gql server and
correspondent functions on new settings loader

feat: created front end for the config migration with reset and migrate
functionalities

style: add spacing between buttons

* feat: added ALL_COINS option to the commissions migration

fix: only compare arrays when both variables are arrays

fix: 'all coins' must be on a array to work
Signed-off-by: Liordino Neto <liordinoneto@gmail.com>

Co-authored-by: Liordino Neto <liordinoneto@gmail.com>
2021-01-18 15:22:51 +00:00
Taranto
89bb9a8f25 chore: cleanup, node14 and new admin default 2020-10-20 21:54:58 +02:00
Taranto
5887a301fb feat: us ssn 2020-10-09 18:01:02 +02:00
Taranto
77e5d4860d fix: resolving two admin todos 2020-10-06 23:19:22 +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