lamassu-server/lib
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
..
admin feat: Create migration from old config to new (#424) 2020-09-25 11:07:47 +01:00
blockchain chore: update BCH, ZEC, ETH 2020-05-20 12:54:44 -04:00
cash-in fix: pre release screen fixes 2020-07-06 14:17:44 +01:00
cash-out fix: pr fixes 2020-03-23 19:10:58 +01:00
coinatmradar fix: pre release screen fixes 2020-07-06 14:17:44 +01:00
new-admin feat: refactor the loading of the latest config so there's now two 2020-09-11 14:13:18 +01:00
ofac Retry downloading OFAC lists (#236) 2018-12-30 14:47:09 +01:00
plugins fix: added missing lodash dependency to accounts lib 2020-09-02 12:31:06 +02:00
app.js chore: integrate new admin with l-s 2020-05-27 22:43:00 +01:00
apply-defaults.js format for latest standard 2018-03-10 18:59:40 +00:00
bill-math.js rename cartridge to cassette 2017-04-25 02:32:15 +03:00
blacklist.js Only block reused address if option is on 2019-08-19 10:59:00 +03:00
bn.js add more db fields for fixed fee 2017-06-01 16:52:59 +01:00
cache.js WIP 2016-11-26 18:56:33 +02:00
coin-utils.js Add sms/email notifications on transactions (#198) 2018-11-06 13:49:12 +01:00
compliance-triggers.js fix: soft rework Customers pages 2020-09-11 14:11:59 +01:00
compliance.js OFAC flow fix (#137) 2018-09-22 23:36:02 +01:00
compliance_overrides.js Add comments 2017-12-13 16:31:07 +02:00
config-manager.js support for Coin ATM Radar 2018-05-21 16:30:13 +03:00
config-migration.js feat: Create migration from old config to new (#424) 2020-09-25 11:07:47 +01:00
config-validate.js feat: Create migration from old config to new (#424) 2020-09-25 11:07:47 +01:00
constants.js Customers table: exclude anonymous from batch 2017-12-13 16:31:07 +02:00
customers.js fix: soft rework Customers pages 2020-09-11 14:11:59 +01:00
db-error-codes.js Add db error consts file (#165) 2018-09-22 23:38:31 +01:00
db-migrate-store.js Save migrations file on db (#215) 2018-11-18 10:15:22 +01:00
db.js fix: server_logs creates inf loop on l-s install 2020-09-02 12:41:49 +02:00
email.js chore: integrate new admin with l-s 2020-05-27 22:43:00 +01:00
error.js lightning network support 2018-01-28 19:10:00 +02:00
event-bus.js feat: add new server log page 2019-11-12 11:20:57 +00:00
exchange.js chore: integrate new admin with l-s 2020-05-27 22:43:00 +01:00
layer2.js chore: integrate new admin with l-s 2020-05-27 22:43:00 +01:00
logger.js feat: add new server log page 2019-11-12 11:20:57 +00:00
logs.js fix: added timestamp parameters for a date range on the gql queries for 2020-07-31 00:37:00 +02:00
machine-loader.js fix: pre release screen fixes 2020-07-06 14:17:44 +01:00
migrate-options.js migrate-options unit test added 2018-11-28 22:24:48 +02:00
migrate.js Save migrations file on db (#215) 2018-11-18 10:15:22 +01:00
mnemonic-helpers.js Change seed file with a bip39 mnemonic (#207) 2018-11-07 18:28:40 +01:00
new-config-manager.js chore: integrate new admin with l-s 2020-05-27 22:43:00 +01:00
new-settings-loader.js feat: refactor the loading of the latest config so there's now two 2020-09-11 14:13:18 +01:00
notifier.js chore: integrate new admin with l-s 2020-05-27 22:43:00 +01:00
options-loader.js Lamassu update script changes (#126) 2018-06-16 13:55:42 +03:00
options.js Lamassu update script changes (#126) 2018-06-16 13:55:42 +03:00
pairing.js chore: integrate new admin with l-s 2020-05-27 22:43:00 +01:00
pg-transport.js feat: add new server log page 2019-11-12 11:20:57 +00:00
plugin-helper.js Support Strike for Lightning Network 2018-05-27 12:47:57 +03:00
plugins.js fix: pre release screen fixes 2020-07-06 14:17:44 +01:00
poller.js chore: integrate new admin with l-s 2020-05-27 22:43:00 +01:00
postgresql_interface.js Truncate/trim server tables 2019-05-12 13:46:56 +01:00
pp.js WIP 2017-06-24 18:52:55 +03:00
route-helpers.js chore: integrate new admin with l-s 2020-05-27 22:43:00 +01:00
routes.js fix: pre release screen fixes 2020-07-06 14:17:44 +01:00
settings-loader.js feat: Create migration from old config to new (#424) 2020-09-25 11:07:47 +01:00
sms.js chore: integrate new admin with l-s 2020-05-27 22:43:00 +01:00
socket-client.js add websockets, cassette updates for admin 2017-05-15 18:29:40 +03:00
support_logs.js format for latest standard 2018-03-10 18:59:40 +00:00
ticker.js fix: pre release screen fixes 2020-07-06 14:17:44 +01:00
time.js use persistent, not session cookies 2016-12-20 14:23:00 +02:00
tx.js hotfix: add fudge factor 2020-03-23 19:10:58 +01:00
users.js Add comments 2017-12-13 16:31:07 +02:00
wallet.js fix: pre release screen fixes 2020-07-06 14:17:44 +01:00