Commit Graph

716 Commits

Author SHA1 Message Date
rockstardev
4e826553f8 Fixing ocassional CanManageWallet Selenium test fails
Looking through logs it seems like Generate button is never clicked, which can happen if modal is not displayed
https://circleci.com/gh/btcpayserver/btcpayserver/6167
2020-03-06 02:06:32 -06:00
Nicolas Dorier
b282a70534
Merge pull request #1351 from Kukks/api/api-keys-get
GreenField API #1: Get current API Key info
2020-03-02 18:06:34 +09:00
rockstardev
304caaaf1d Fixing Selenium tests failing because of dynamic hidden elements 2020-03-01 22:38:40 -06:00
rockstardev
a303e793b4 Fixing CanCreateApiKeys test admin user check 2020-02-28 23:15:06 -06:00
Kukks
9eac33793a GreenField API #1: Get current API Key info 2020-02-26 16:20:32 +01:00
Andrew Camilleri
276a9a95f9
Remove OpenIddict (#1244) 2020-02-25 00:40:04 +09:00
Andrew Camilleri
fa51180dfa
Api keys with openiddict (#1262)
* Remove OpenIddict

* Add API Key system

* Revert removing OpenIddict

* fix rebase

* fix tests

* pr changes

* fix tests

* fix apikey test

* pr change

* fix db

* add migration attrs

* fix migration error

* PR Changes

* Fix sqlite migration

* change api key to use Authorization Header

* add supportAddForeignKey

* use tempdata status message

* fix add api key css

* remove redirect url + app identifier feature :(
2020-02-24 22:36:15 +09:00
Andrew Camilleri
6d0896084f
Add JS Modal test (#1342) 2020-02-19 17:39:14 +09:00
Andrew Camilleri
d31bff7070
BPU Prep Work Part2 (#1340)
* BPU Prep Work Part2

* Adjust tests to use the hot wallet when registering deriv scheme
* Add amount to payment data view for onchain payments
* Make zone limits higher when in dev mode (for tests in next PR)
* Make IPaymentMethodDetails serialize/deserialize through payment type using the network
* Allow named settings through settings repo
* Refactor some extensions for next PR

* pr changes

* use json convert for now
2020-02-19 17:35:23 +09:00
nicolas.dorier
f2aab4cf03
Add warning if fail to load rates from cache 2020-02-16 23:04:48 +09:00
Andrew Camilleri
db6a4687d2
Wallet prep work for BPU (#1331)
* Wallet prep work for BPU

This PR prepares the wallet for #1321. It makes transfers from the vault and ledger to go to their own post actions for processing (not particularly useful in this PR but is needed in BPU to propose a new tx)  It also makes the Sign with seed consistent with redirect to /psbt/ready after signing which it did not do (it stayed on the seed route)

* fix test

* add assert
2020-02-13 22:06:00 +09:00
Andrew Camilleri
07f0d95f56
BIP21 Support for Wallet spending (#1322)
* BIP21 Support for Wallet spending

* extract bip21 loading to method

* add bip21 parsing test
2020-02-13 17:18:43 +09:00
Hans Looman
1a409a441d
Update POLIS related entries (#1313)
* Update Polis related info and services

* Fix Polis Rate Fetcher

* Fix Polis ratefetcher - Cryptopia is obsolete

* POLIS rate provider changes to comply with internal testing

* URL / pair alignment

* Add small doc to re-trigger testing
2020-02-13 14:44:31 +09:00
nicolas.dorier
ae33b1d0a8
Fix PSBT Redirect No-access issues 2020-02-12 16:35:24 +09:00
Nicolas Dorier
dc7733abcd
Merge pull request #1041 from Kukks/satscurrency
Add sats as a native currency
2020-02-03 08:42:35 +00:00
rockstardev
24664b60af Adding test ensuring that api errors are properly returned 2020-02-03 02:21:03 -06:00
rockstardev
ea9169f607 Updating 404 page not found assert 2020-02-01 02:29:08 -06:00
rockstardev
a08d5be35c Expanding tests to check implicit conversion of Sats to BTC 2020-01-29 22:31:43 -06:00
nicolas.dorier
f324185d82
bump nbx 2020-01-21 21:47:51 +09:00
Kukks
f8139a9156 cleanup (remove sats rate provider and just use rate scripting) 2020-01-21 13:34:00 +01:00
Kukks
27a61b7afd fix test 2020-01-21 13:34:00 +01:00
Andrew Camilleri
8e6f43cd3a Sign with NBX Seed (#1218) 2020-01-21 17:33:12 +09:00
nicolas.dorier
7e073fb7e1
Add test CanCreateSqlitedb 2020-01-19 22:10:05 +09:00
nicolas.dorier
53a60d1660
Add Direct Provider with bitfinex, okex and coinbasepro 2020-01-18 21:48:04 +09:00
nicolas.dorier
25b733ca7f
Remove knowledge of ExchangeName from BackgroundRateFetcher 2020-01-18 19:42:46 +09:00
nicolas.dorier
1bf680fdb9
Improve tests to not create new HttpClient every times 2020-01-18 19:23:40 +09:00
nicolas.dorier
76008c9f5c
bump to sdk 3.1.101 and version 3.1.1 (security patch) 2020-01-18 16:59:25 +09:00
nicolas.dorier
1bf04ac4ac
Generate less keys with nbxplorer 2020-01-18 16:20:03 +09:00
nicolas.dorier
4b088defd3
Increase timeout for AssertHappyMessage test 2020-01-18 15:36:20 +09:00
Andrew Camilleri
025da0261d new feature: Wallet Receive Page (#1065)
* new feature: Wallet Receive Page

closes #965

* Conserve addresses by waiting till address is spent before generating each run

* fix tests

* Filter by cryptocode before matching outpoint

* fix build

* fix edge case issue

* use address in keypathinfo directly

* rebase fixes

* rebase fixes

* remove duplicate code

* fix messy condition

* fixes

* fix e2e

* fix
2020-01-18 14:12:27 +09:00
nicolas.dorier
a8ac01cd8b
Refactor rate handling to prevent error of exchange name 2020-01-17 18:11:05 +09:00
nicolas.dorier
90ec416125
Add exponential backoff for CoinGecko, pass the cancellationtoken around 2020-01-17 15:08:28 +09:00
nicolas.dorier
827b6085af
Do not hammer CoinGecko with tests 2020-01-17 14:56:05 +09:00
nicolas.dorier
6dffbbd93d
Remove CachedRateProvider 2020-01-17 14:42:02 +09:00
nicolas.dorier
7a0991d6b1
Remove CoinAverage integration (2) 2020-01-17 14:30:51 +09:00
nicolas.dorier
feabeafed9
Fix Selenium tests ran in Debug mode 2020-01-16 18:03:41 +09:00
nicolas.dorier
31db34ec8d
Revert "Revert RazorCompileOnBuild=false temporarily"
This reverts commit 92e5f2852a.
2020-01-16 16:52:46 +09:00
nicolas.dorier
9410933e1c
Fix: Adding comment on wallet transactions causes 500 error (Close #1280) 2020-01-16 15:19:45 +09:00
nicolas.dorier
780cf67a1b
bump bitcoin core 2020-01-15 13:25:29 +09:00
rockstardev
12e7c5e5e1 Updating referenced lnd to 0.8.2-beta (#1279) 2020-01-15 13:24:10 +09:00
nicolas.dorier
92e5f2852a
Revert RazorCompileOnBuild=false temporarily 2020-01-15 00:37:42 +09:00
nicolas.dorier
0fbda9441a
Fix AddressInUseException in tests 2020-01-15 00:22:31 +09:00
nicolas.dorier
628d0bb690
fix tests 2020-01-15 00:00:36 +09:00
Andrew Camilleri
36f980135f fix broken url (#1275)
* fix broken url

* fix test
2020-01-14 22:06:46 +09:00
Nicolas Dorier
63953e42a8
Merge pull request #1276 from NicolasDorier/norazor/compile
Remove build of razor view for better debug experience
2020-01-14 21:38:38 +09:00
nicolas.dorier
4ba836f1ff
Remove build of razor view for better debug experience 2020-01-14 21:33:13 +09:00
Kukks
389695751f add u2f tests 2020-01-14 11:47:24 +01:00
nicolas.dorier
5dbdb4b399
Keep coinaverage compatibility, improve UX, hardcode feed provider supported exchanges 2020-01-13 23:37:01 +09:00
Kukks
58d9a48787
CoinGecko Rate Provider
The CoinGecko rate provider is similar to the bitcoin average one, in that you can ask it for a rate from its aggregated sourcing or you can get rates from specific exchanges. I've added support for both.
I haven't integrated it or replaced coinaverage just to see if we should use it as the default and switch everyone to it or what other action to take.
2020-01-13 20:20:00 +09:00
nicolas.dorier
1a3da096a7
Go back to bitcoind 0.18.0 2020-01-13 13:26:42 +09:00