Commit graph

1211 commits

Author SHA1 Message Date
Fabio Cigliano
038a22aba7 migration added 2019-03-02 14:40:29 +01:00
Rafael Taranto
d345cc018c Add contact card to admin 2019-03-02 14:32:58 +01:00
Davit Abulashvili
163473a7ee Log miner fee (#237)
* Get miner fee written in some wallet plugins

* Return txid and fee for geth. possible problem with txid (zero hash on pending transaction)

* bitgo fee return

* Wallet apis fees save in cryptoAtoms
2019-01-04 16:34:50 +00:00
Davit Abulashvili
fa69956963 Add device names to sms alerts (#233)
* Add device names to sms alerts

* Write machine name on each alert

* Fixed alertSubject function (do not display machine name if null)

* Group machineNames by alertType

* Code review fixes. Filter empty machine names

* Use lodash complement instead of negate

* Revert "Use lodash complement instead of negate"

This reverts commit 385801624e432f03211867729281d7328493c30a.
2019-01-04 16:21:57 +00: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
Neal Conner
16a4239b86 Update ZEC, BCH, ETH node versions 2018-12-10 11:18:24 +02:00
Josh Harvey
8e1f9e0b83 Merge pull request #223 from RafaelTaranto/bitgo-api-v2
Bitgo api v2
2018-12-10 00:39:45 +02:00
Rafael Taranto
d253c4fa00 Dev script to recreate seeds file from mnemonic 2018-12-03 17:34:04 +02:00
Rafael Taranto
f674f64f58 Use spendable amount for balance 2018-12-03 13:18:58 -02:00
Fabio Cigliano
cdfc84a96a migrate-options unit test added 2018-11-28 22:24:48 +02:00
Davit Abulashvili
907cd08cf1 Log unsuccessful trade attempts in the db (#224)
* Save trade error in table trades

* Add one migration, Add error column to trades table

* changes in plugins.js file

* Apply standardjs to plugins.js file
2018-11-28 20:24:48 +02:00
Fabio Cigliano
dc1ed52357 lamassu-migrate-config to update ls basepath (#216)
* lamassu-migrate-config to update ls basepath

* documentation added

* constrain to a particular set of options
2018-11-22 17:04:41 +01:00
Rafael Taranto
fa652b8e74 Fix standard styling issues 2018-11-21 11:37:26 -02:00
Rafael Taranto
01153d0562 Migrate bitgo api to v2 2018-11-21 11:36:02 -02:00
Zoran Joka
13040f41a1 Optimize machine pings query (#222)
* refactor recordPing method

* optimize queries

* migrate machine_pings

remove id, serial_number
add primary key on device_id
add unique constraint on device_id

* remove filelds from query, rename migration, delete duplicate migration

* truncate machine_pings in migration
2018-11-21 11:08:19 +01:00
Rafael Taranto
0ec647f2b2 Pin node version to 8 2018-11-21 10:27:54 +01:00
Davit Abulashvili
e7bb29341d Move lamassu-install files to this repo's lamassu-remote-install folder. (#214)
* copy lamassu-install files

* Mention lamassu-install files in README.md

* Mention lamassu-install files in README.md
* Little change in lamassu-install files README.md

* Fix raw file link error

* install script accept branch name as argument

* install script accept branch name as argument
* Remove test.js file
2018-11-19 14:23:25 +01:00
Josh Harvey
860c2e0476 Update README.md 2018-11-18 10:28:52 +01:00
Josh Harvey
246f99b87e Add lamassu-update-to-mnemonic to bin section 2018-11-18 10:24:06 +01:00
Rafael Taranto
fad819b7e5 Fix openssl version 2018-11-18 10:16:59 +01:00
Rafael Taranto
06f8c57608 Save migrations file on db (#215)
* Revert "Migration sql changes (#199)"

This reverts commit 12c834469c.

* Save migrate file on db

* Add message on migration error in lamassu-update
2018-11-18 10:15:22 +01:00
Davit Abulashvili
9af204e609 cert-gen script echo specific message and exit on each openssl operation fail (#712) 2018-11-17 22:48:07 +01:00
Rafael Taranto
a377777b12 Fix db migrations (#212) 2018-11-15 14:31:41 +01:00
Rafael Taranto
eb033a4174 Increase time to consider machine stuck (#211)
* Increase time to consider machine stuck

* Fix standard styling issues
2018-11-15 14:20:26 +01: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
d97a33565f Change seed file with a bip39 mnemonic (#207)
* Change seed file with a bip39 mnemonic

* Create helper for bip39 mnemonic

* Prod mode on lamassu-update-to-mnemonic script

* Fix standard styling issues
2018-11-07 18:28:40 +01:00
Rafael Taranto
809bf5a2a9 Add sms/email notifications on transactions (#198)
* Add sms/email notifications on transactions

* Add configuration for transaction notification

* Add notification on provision address error

* Remove unneeded noop from promises
2018-11-06 13:49:12 +01:00
Rafael Taranto
cc68e70f58 Sidebar fix for firefox (#205) 2018-11-05 13:55:03 +01:00
Zoran Joka
272127518d Update last_online device field on each machine ping (#203)
* update last_online device field on each machine ping

* change var name to camel-case

* Use pgp name parameters instead of interpolation
2018-11-04 19:14:27 +01:00
Rafael Taranto
65e2bf6a63 Change HKDF return type from string to arrayBuffer (#204) 2018-11-02 21:29:55 +02:00
Rafael Taranto
bd75194526 Fix exception on clock skew (#202)
* Fix exception on clock skew

* Return device name instead of db object
2018-11-01 23:07:47 +02:00
Fabio Cigliano
12c834469c Migration sql changes (#199)
* safe migration script changes

* lamassu migration script fixes
2018-11-01 13:26:48 +02:00
Rafael Taranto
65ce8aee3d Fix logger clutter message (#201)
* Fix logger message handling

* Fix standard styling issues
2018-10-31 17:25:59 +02:00
Rafael Taranto
de8a380bd8 Remove clutter from logger (#196)
* Remove clutter from the logger

Prior to this commit the logger was stringfying even functions.
Because of this response errors from axios was dumping a log of info on
the logs.

* Fixing standard style issues

* Check for toString on meta
2018-10-30 08:48:16 +02:00
Rafael Taranto
b47af59a7f Improve transaction errors (#194)
* Improve transaction errors

* Fix standard styling errors
2018-10-27 15:22:36 +03:00
Rafael Taranto
3cffbedd9a Increase ticker memoized interval (#195)
* Increased ticker memoized interval

* Fix standard styling issues
2018-10-27 01:30:33 +03:00
Fabio Cigliano
771eded655 lamassu-update to update from #dev (#193) 2018-10-23 10:02:34 +03:00
Fabio Cigliano
a35cb5c78d Renamed staging branch to release (#192) 2018-10-23 10:02:17 +03:00
Rafael Taranto
57c029a821 Change size of operatorId (#190)
Server was expecting 32 characters and the code was generating 64.
2018-10-22 22:29:24 +03:00
Josh Harvey
3c37898046 update to 7.1.1 2018-10-21 13:32:06 +03:00
pedromiguelmiranda
4e3ed57cf8 Fix coinATMRadar behaviour when null cash out value is received (#187)
* Fix behaviour when null cash out value is received

* refactor: use loadash invoke method
2018-10-15 22:51:54 +03:00
Neal Conner
2e6157e97b Expand customer results (#186) 2018-10-13 17:17:56 +02:00
pedromiguelmiranda
7a07412a70 Identify machine name on logging upon clock skew error (#188) 2018-10-13 17:12:12 +02:00
Zoran Joka
85295ea62c Ensure etags.json can update when empty (#182)
* Ensure etags.json can update when empty

* Update and load etags on settings change

* Handle exception in catch block
2018-10-10 10:55:11 +02:00
Rafael Taranto
f4fc9d6328 Add lamassu-admin-elm to this repo (#185) 2018-10-08 21:29:06 +02:00
Rafael Taranto
5ee7e40872 Add operator id on CoinATMRadar request (#184)
* Add operator id on CoinATMRadar request

* Update coinatmradar.js
2018-10-08 19:11:28 +02:00