Commit Graph

102 Commits

Author SHA1 Message Date
nicolas.dorier
288dc9b626
Do not loop infinitely waiting for btcpay to start 2019-08-20 16:10:44 +09:00
nicolas.dorier
36046f08f7
Use Migration startup task when starting BTCPay instead of hosted service. 2019-07-08 12:12:39 +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
Andrew Camilleri
81dae7d350 BTCPay Abstractions: Move PaymentMethod specific logic to their handlers (#850) 2019-05-29 23:33:31 +09:00
Andrew Camilleri
ef9c2e8af1 Part2: Openiddict: Init OpenIddict & Database Migration & Auth Policies (#567)
* Part 1: OpenIddict - Minor Changes & Config prep

* Part 1: OpenIddict - Minor Changes & Config prep

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

* pr changes

* pr changes

* fix merge

* pr fixes

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

* fix compile

* fix compile #2

* remove extra ns using

* Update Startup.cs

* compile

* adjust settings a bit

* remove duplicate

* remove external login provider placeholder html

* remove unused directives

* regenerate db snapshot model

* Remove dynamic policy
2019-05-24 15:17:02 +09:00
nicolas.dorier
00e24ab249
Make sure BTCPay is operational before starting tests 2019-05-14 18:35:22 +09:00
nicolas.dorier
3750842833
Show in logs where the btcpay tester is binding 2019-05-14 16:56:03 +09:00
nicolas.dorier
1dcec3e1fb
bind to all interface if inside the test container 2019-05-14 16:13:55 +09:00
nicolas.dorier
27fd49e61c
Add --allow-admin-registration, useful for tests 2019-05-13 17:00:58 +09:00
nicolas.dorier
5a92fe736f
Fix: Uploading coldcard in derivation scheme would forget to remember some data 2019-05-09 16:11:09 +09:00
nicolas.dorier
9670f11554 Fix HTTP 500 errors if querying the website in tests 2019-04-28 23:11:24 +09:00
nicolas.dorier
e79334a6f6 Fix: if anyone can create invoice and /invoices has storeId parameters, then it should be allowed 2019-03-25 12:59:42 +09:00
nicolas.dorier
cd6ce401e1 Fix logs getting spammed by HTTP requests 2019-03-07 19:41:19 +09:00
Aaron Clauson
6010a103e0 Added new disable-registration command line option. 2019-01-06 16:43:55 +01:00
nicolas.dorier
a05cd5678b Add support for removing network fee on first payment 2019-01-05 17:45:49 +09:00
nicolas.dorier
4db5b4f2b1 Wait for the nodes to be fully synched before starting tests 2018-10-31 13:06:17 +09:00
nicolas.dorier
8be4256278 Fix unreliable tests 2018-10-28 22:46:03 +09:00
nicolas.dorier
4625ff92f1 Run unreliable tests, attempt to make them a bit more reliable 2018-10-28 22:10:37 +09:00
Aaron Clauson
ce94c05fd3 MySQL Support (#345)
* MySQL EF support added using Pomelo MySQL provider.

* MySQL EF support added using Pomelo MySQL provider.
2018-10-27 23:15:21 +09:00
nicolas.dorier
2896a9b26f Add ScanUTXOSet support 2018-10-26 23:07:39 +09:00
nicolas.dorier
57ab001c0c [Tests] Pass Port to the fake http context 2018-10-09 23:32:47 +09:00
nicolas.dorier
f12114f9aa Poll and cache rates in parallel 2018-08-23 00:24:33 +09:00
nicolas.dorier
87d384dba5 Decouple RateProviderFactory with RateFetcher 2018-08-22 16:53:40 +09:00
nicolas.dorier
3775317047 Fix CanGetRates test, and fix #178 2018-07-30 23:22:26 +09:00
nicolas.dorier
ce17e3212a Can delete stores 2018-07-19 19:31:17 +09:00
nicolas.dorier
ba3d13d56c Make sure the rate of the merchant is using the ask of a divided exchange 2018-05-23 02:18:38 +09:00
nicolas.dorier
e57a488371 Refactor the RateProvider 2018-05-03 03:32:42 +09:00
nicolas.dorier
eb975bf8fc Isolate Bitpay's code outside of middleware inside BitpayClaimsFilter 2018-04-30 22:28:00 +09:00
nicolas.dorier
1fc9a1a54b Move to a Claim based security 2018-04-30 02:33:42 +09:00
nicolas.dorier
10c981b2a0 Update NBXplorer 2018-04-19 16:54:25 +09:00
nicolas.dorier
0723eec508 Fix rate handling 2018-04-15 21:21:57 +09:00
nicolas.dorier
ac9b8d03d7 Fix slow invoice creation 2018-04-09 16:25:31 +09:00
nicolas.dorier
10fcc84379 Properly test PoS 2018-04-03 16:58:47 +09:00
nicolas.dorier
21b91ac8f7 Add btc.lightning and ltc.lightning 2018-03-21 02:09:25 +09:00
nicolas.dorier
6d611d7d05 Can connect directly to CLightning via TCP or UNIX socket 2018-03-21 00:31:19 +09:00
nicolas.dorier
309d6fdfe0 Can configure an internallightningnode to make things easier 2018-02-26 18:58:02 +09:00
nicolas.dorier
ea4fa8d5d4 Mock rate provider 2018-01-20 12:30:22 +09:00
nicolas.dorier
58194cb060 Fix tests, clean code of Options 2018-01-12 16:00:31 +09:00
nicolas.dorier
8596e16feb make default configuration just work with multi chains 2018-01-11 22:52:28 +09:00
nicolas.dorier
3a91965187 Some refactoring improving performance, and better tests for multiple currencies 2018-01-11 17:29:48 +09:00
nicolas.dorier
e3a1eed8b3 Use Websocket for blockchain notifications 2018-01-08 02:36:41 +09:00
nicolas.dorier
c6959bb0bc Can start without NBXplorer being ready 2017-12-17 01:04:20 +09:00
nicolas.dorier
b042f98f0f Correctly handle RBF 2017-11-06 00:31:02 -08:00
nicolas.dorier
4deb7c3270 Adopt dotnet core editorconfig, big reformating 2017-10-27 17:53:04 +09:00
nicolas.dorier
55a4c3c08d Change address if invoice get partially paid 2017-10-25 01:41:01 +09:00
lepipele
45b0991841 Fixing typo in namespace 2017-10-20 14:06:37 -05:00
nicolas.dorier
016db76306 Add page for viewing the Invoice details 2017-10-13 00:25:45 +09:00
nicolas.dorier
bae08b6966 Use callback to update invoice state instead of long polling 2017-10-12 16:33:53 +09:00
NicolasDorier
61b37f87dc Rely on docker for tests, move everything to the root 2017-10-03 00:41:03 +09:00
NicolasDorier
ce055dece9 .NET 2.0sify, use the same configuration framework as NBXplorer 2017-09-23 01:31:29 +09:00
NicolasDorier
f8baab8138 Renaming + fix invoice display when paid and expired 2017-09-15 16:06:57 +09:00
NicolasDorier
b5c6ed3860 Init 2017-09-13 15:55:16 +09:00