Commit graph

305 commits

Author SHA1 Message Date
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
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
9410933e1c
Fix: Adding comment on wallet transactions causes 500 error (Close #1280) 2020-01-16 15:19:45 +09:00
Andrew Camilleri
36f980135f fix broken url (#1275)
* fix broken url

* fix test
2020-01-14 22:06:46 +09: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
bfcd90d8d1
Refactor test 2020-01-10 14:46:42 +09:00
nicolas.dorier
c99d26a55d
Fix test for clightning overpaying 2020-01-10 11:13:54 +09:00
Nicolas Dorier
d689222e04
Merge pull request #1234 from NicolasDorier/rates/limit
Do not preemptively fetch rates of all exchanges
2019-12-26 16:36:53 +09:00
nicolas.dorier
57985e78e5
Save the last update time instead of the next update time 2019-12-26 16:24:57 +09:00
nicolas.dorier
731341b749
Do not preemptively fetch rates of all exchanges 2019-12-26 14:54:26 +09:00
Nicolas Dorier
f12186e09f
The tests in btcpayserver should use only the services they use (#1233) 2019-12-24 18:11:21 +09:00
Andrew Camilleri
4d7480db15 Liquid & Liquid Assets Support (#1118) 2019-12-24 16:20:44 +09:00
nicolas.dorier
a73d2db02a
Fix tests 2019-12-19 16:36:04 +09:00
nicolas.dorier
c6bba9188b
Improve error message for CanUsePosApp 2019-11-13 15:56:58 +09:00
Nicolas Dorier
ba54b5aacf
Merge pull request #1144 from Kukks/ndax
Bump ExchangeSharp, fixes breaking changes and switch to exchangeshar…
2019-11-13 15:36:52 +09:00
nicolas.dorier
eb87d7cadc
Bump NBXplorer.Client 2019-11-13 13:51:06 +09:00
Kukks
bae9ca2a7a fix ambigous ref 2019-11-11 10:08:10 +01:00
nicolas.dorier
9d3026f676
Add torrc files in tests 2019-11-08 16:10:49 +09:00
nicolas.dorier
aab7c08500
Unify StatusMessage handling 2019-11-07 18:59:51 +09:00
nicolas.dorier
3ff9cc85ef
Fix tests 2019-11-07 18:35:47 +09:00
nicolas.dorier
9ecb27a9bd
Fix and test /api-tokens (fix https://github.com/btcpayserver/woocommerce-plugin/issues/34) 2019-11-03 16:17:28 +09:00
nicolas.dorier
aad586232c
Refactor StatusMessage and remove ExternalLogin 2019-10-31 14:11:33 +09:00
nicolas.dorier
eac4c91820
Move Bitpay authentication class in BTCPayServer.Security 2019-10-19 00:54:20 +09:00
nicolas.dorier
8643c04a39
Additional fixes for 3.0 2019-10-18 21:46:34 +09:00
nicolas.dorier
281a2461ad
Refactor authorizations 2019-10-14 00:24:41 +09:00
nicolas.dorier
1c9a91140b
Asyncify tests 2019-10-07 16:04:25 +09:00
nicolas.dorier
ae2b055fb5
Fix build 2019-10-06 23:41:27 +09:00
nicolas.dorier
56a363adf9
Add more test timeout 2019-10-06 22:51:01 +09:00
nicolas.dorier
5c8dcb0292
Add test timeout 2019-10-06 22:49:28 +09:00
nicolas.dorier
536f98b566
Fix entity framework queries to work in netcoreapp3.0 2019-10-06 15:48:12 +09:00
nicolas.dorier
411fe90b8c
Can compile tests in netcoreapp3.0 2019-10-03 18:25:07 +09:00
rockstardev
7282199c31 Cleanup U2F namespace to correspond to folder path 2019-10-02 12:32:41 -05:00
Andrew Camilleri
d99beb9811 New feature: Apps limited inventory (#961) 2019-09-02 22:37:52 +09:00
nicolas.dorier
fefc45854e
Remove anchor where querying URL 2019-09-02 18:05:40 +09:00
nicolas.dorier
0047a5388d
Add test for dead links in Views 2019-09-02 16:32:38 +09:00
nicolas.dorier
6ea15411b6
Update c-ligthning and some packages 2019-08-17 15:14:31 +09:00
nicolas.dorier
d79fda166f
Can attach labels and comment to transaction in the wallet 2019-08-03 00:43:19 +09:00
Andrew Camilleri
4055eda757 Part3: OpenIddict: Add Flows Event Handlers (#568)
* Part 1 & Part 2 squashed commits

pr changes


pr fixes


remove config for openid -- no need for it for now


Part 1: OpenIddict - Minor Changes & Config prep


Part2: Openiddict: Init OpenIddict & Database Migration & Auth Policies


pr changes


fix merge 


fix compile


fix compile #2


Part 1: OpenIddict - Minor Changes & Config prep


add missing nuget


Part2: Openiddict: Init OpenIddict & Database Migration & Auth Policies

* Part3: OpenIddict: Add Flows Event Handlers

* pr changes

* fix merge

* fix rebase

* fix imports

* cleanup

* do not allow u2f enabled accounts to log in

* start better tests for flows

* add tests

* fixes

* reintroduce dynamic policy as policies on jwt do not work without it

* reduce logs

* fix incorrect endpoint definitions

* Add implicit flow e2e test

* add code flow and refresh flow

* do not allow jwt bearer auth for all requests( only those under /api)

* remove commentedt code

* make sure authorize attr is marked with scheme

* remove dynamic policy and set claims in jwt handler

* cleanup

* change serversettings policy to not need a claim

* Add test to checkadmin verification

* revert server setting claim removal

* fix test

* switch back to claim

* unit test fixes

* try fix build with weird references to csprojes

* start fixing rebase

* remove https requirement to handle tor

* reformat tests correctly

* fix csproj

* fix ut formatting

* PR Changes

* do not show selenium browser
2019-07-01 12:39:25 +09:00
nicolas.dorier
0e1f924fc3
Relax "Insecure transport protocol to access this service, please use HTTPS or TOR" error in server setting services 2019-06-10 18:16:12 +09:00
nicolas.dorier
fb530f2b34
fix build 2019-06-07 13:46:02 +09:00
nicolas.dorier
281280d3ec
Fix crash which can happen during export if someone remove support for a network, inject Network inside paymentdata 2019-06-07 13:31:11 +09:00
nicolas.dorier
01787e2662
Refactor: Remove PrepareInvoiceDTO 2019-06-04 10:11:52 +09:00