Commit graph

94 commits

Author SHA1 Message Date
Liordino Neto
df8a1804a3 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
Signed-off-by: Liordino Neto <liordinoneto@gmail.com>
2020-12-24 20:20:05 +00:00
Taranto
89bb9a8f25 chore: cleanup, node14 and new admin default 2020-10-20 21:54:58 +02:00
Liordino Neto
d065baeda9 fix: moved coin filter from the front-end to the server 2020-10-09 11:09:01 +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
Taranto
7152230d08 fix: pending already considers confirmed balance 2020-04-15 19:14:33 +02:00
naconner
5ad3a1f86e Add Coinbase ticker to Dash in admin 2019-11-19 16:24:24 +00:00
Neal Conner
0eddea751d Add itBit for ETH 2019-09-09 18:00:03 +01:00
Neal Conner
b11271f5cc Add Coinbase for ZEC 2019-09-04 18:25:16 +02:00
Rafael Taranto
9ca3e88495 Add expired status to cash-out txs 2019-07-25 18:37:19 +01:00
Rafael Taranto
00c4187081 Front facing camera (#289)
* Front facing camera

* Adding in configuration and update script
2019-07-05 19:17:59 +03:00
Rafael Taranto
9a43bc4417 Static serve the image folder even when empty 2019-04-17 19:26:59 +03:00
Neal Conner
ca59c7a6c5 Add Dash to BitGo wallet, remove Quadriga (#251)
* Add Dash to BitGo, remove Quadriga

* Update bitgo.js

* Update bitgo.json
2019-03-02 14:44:47 +01:00
Josh Harvey
5c74e8d17c Merge pull request #241 from RafaelTaranto/merge-release-into-dev
Merge release into dev
2018-12-30 15:57:16 +01:00
Rafael Taranto
e59ec4ed28 Add ZEC, BCH, and LTC to BitGO wallet plugin (#240)
* Add ZEC, BCH and LTC to BitGO wallet plugin

* Convert to legacyAddress on bitgo plugin
2018-12-30 15:48:40 +01:00
Rafael Taranto
b885e5698c Merge branch 'release' into merge-release-into-dev 2018-12-27 15:01:10 -03:00
Davit Abulashvili
b254f7f2be Support itbit exchange/ticker. Additions (#232)
* Initial itBit implementation

* Add tests for calculatePrice in exchange/itbit.js

* Add etherium to supported crypto codes in common/itbit.js

* Apply standardjs to itbit files

* itbit trade test. not important

* test getCurrencyRates in ticker/itbit.js
2018-12-11 11:47:34 +02:00
Neal Conner
b9f9c6facc Caution against mock-ticker use 2018-12-10 11:19:14 +02:00
Zoran Joka
599c865f37 Filter only mock options when in dev mode (#206)
* Filter only mock options when in dev mode

* Filter only in production mode

* Refactor filter to separate function, add unit tests

* Check for mock codes in test
2018-11-08 09:24:09 +01:00
Rafael Taranto
3b14a715b4 Replace mailjet with mailgun (#180) 2018-10-04 21:40:50 +03:00
Rafael Taranto
bcf336741e Add QuadrigaCX exchange and ticker (#176)
* Add QuadrigaCX exchange and ticker

* Clean up code from QuadrigaCX
2018-09-27 21:59:53 +03:00
Fabio Cigliano
fe72eb8e7f show id card photo image on customer page (#155) 2018-09-22 23:36:02 +01: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
ac89f0e5e9 add Infura wallet support 2018-07-10 17:09:18 +03:00
Josh Harvey
05e7889dc0 remove strike and lnd options 2018-07-10 16:10:36 +03:00
Neal Conner
464d116073 Show last 1000 transactions (#135) 2018-07-04 09:18:22 +01:00
Neal Conner
1b33ef9aa7 Add 'caution' warning to mock wallet (#127) 2018-06-16 13:56:12 +03:00
Josh Harvey
3f9c139f83 Support Strike for Lightning Network 2018-05-27 12:47:57 +03:00
Neal Conner
dd04b9bb91 Less conservative confidence factor default (#117) 2018-05-13 20:18:27 +03:00
Josh Harvey
264e3ab651 fix enabledIf bug 2018-03-26 12:12:08 +03:00
Neal Conner
edd54c16f5 Support CashAddr format (#109)
* Don't convert BCH address

* Update for CashAddr

* Rename to Bitcoin Cash

* fix typo
2018-03-22 17:12:53 +00:00
Josh Harvey
1aaabac004 Remove Ramda from config.js; clean invalid crypto scopes 2018-03-11 14:30:37 +00:00
Josh Harvey
c2af183911 format for latest standard 2018-03-10 18:59:40 +00:00
Neal Conner
a2d168644f Add ETH & BCH to Bitstamp ticker, exchange (#100)
* Add ETH & BCH to Bitstamp ticker, exchange

* Add ETH & BCH to Bitstamp
2018-02-26 19:04:17 +02:00
Josh Harvey
118e4ec4be refactor cash-in and cash-out 2018-02-01 23:48:27 +02:00
Josh Harvey
4625ffef0f lightning network support 2018-01-28 19:10:00 +02:00
Neal Conner
1a31b27845 Add BCH to Coinbase ticker 2018-01-26 17:18:07 +02:00
Neal Conner
d20104249f Add BitPay for BCH 2017-12-20 13:16:44 +02:00
Josh Harvey
783b85ed72 give lamassu support 2 full days of logs; log sharing last for 1 week 2017-12-15 02:21:59 +02:00
Josh Harvey
3e8e846d95 add lamassu-ca scripts 2017-12-13 16:31:07 +02:00
goga-m
39f9848ca1 Promisify admin-support 2017-12-13 16:31:07 +02:00
goga-m
d901a36f29 Add Lamassu support microsite 2017-12-13 16:31:07 +02:00
goga-m
4f9cc88a5e Provide machine name on logs snapshots batch 2017-12-13 16:31:07 +02:00
goga-m
62d606cc80 Create support_logs (db & api) 2017-12-13 16:31:07 +02:00
goga-m
8ce22eca95 Create /logs/ api endpoint 2017-12-13 16:31:07 +02:00
goga-m
43f578d311 Add logs 2017-12-13 16:31:07 +02:00
goga-m
89eb617a4a Add *override_by fields in customer 2017-12-13 16:31:07 +02:00
goga-m
94de659246 Update Customer's data 2017-12-13 16:31:07 +02:00
goga-m
9877fc8ef0 Fix migrations for manual override 2017-12-13 16:31:07 +02:00
goga-m
e8f41c1427 Add camelize & populate in Customer 2017-12-13 16:31:07 +02:00
goga-m
3623e41302 Patch Customer with authorized_verified status 2017-12-13 16:31:07 +02:00