Andrew Camilleri
79b034b505
GreenField: Add properties to Store API ( #1573 )
...
* GreenField: Add properties to Store API
* Update StoreBaseData.cs
* fix api
* fix swagger
2020-05-24 04:13:18 +09:00
Andrew Camilleri
5033cb3186
Support specifying payment method through apps ( #1539 )
...
* Support specifying payment method through apps
closes #1525
This is great if you want to offer items with an incentive to use a specific payment method without messing with the rates.
For example, you can have `Item A` which costs 25$ and your store is configured for USDT and BTC. You can create two items, with different prices, where Item A costs 20$ if you pay with bitcoin or 25$ if you paid in dirty fiat pegs
* make code cleaner
* Add Test
* fix test
* fix test
2020-05-20 03:54:24 +09:00
nicolas.dorier
b28fc85974
Fix: Do not returns HTML content if authentication to API fails
2020-05-01 21:33:42 +09:00
Kukks
aeef160d0b
separate store swagger
2020-04-22 15:05:13 +02:00
Dennis Reimann
03d1f98402
Improve AssertLinkNotDead test output in case of exception
...
If the test fails with an exception other than the `EqualException` the failed URL isn't logged. This general exception handler takes care of e.g. `HttpRequestException` and reports the URL that failed to be checked.
Stumbled upon this while checking why [this test run](https://app.circleci.com/pipelines/github/btcpayserver/btcpayserver/2934/workflows/0525d9fd-e4de-49dc-957b-d98b16a9abd4/jobs/7199/parallel-runs/0/steps/0-102 ) fails.
2020-04-18 19:33:53 +02:00
nicolas.dorier
0d821ff4db
Connection: close when using the internal proxy, fix gateway errors with connections in limbo
2020-04-09 18:49:30 +09:00
nicolas.dorier
6927d81175
Implement Http Tor proxy as a internal http proxy
2020-04-09 17:38:55 +09:00
Andrew Camilleri
e183714475
Add Tor Http Client Factory ( #1445 )
...
* WIP: Add Tor Http Client Factory
This PR adds a Tor Http Client Factory so that we can do HTTP requests over socks5( which we usually use tor's socks5).
Using it for payjoin when possible.
Currently have an issue where a 503 is always returned. Must be something wrong with my tor config or the socks proxy lib Im using
* fix
* remove external dependency
* make payjoin client use tor client if available
* fix docker test
* use tor client only if available and necessary
* remove bip 79 mention
2020-04-08 22:40:41 +09:00
Kukks
32938479ac
WIP: Payjoin: P2SH support
2020-04-08 14:32:29 +02:00
nicolas.dorier
f4a47f5197
Deterministically sort the UTXOs to select
2020-04-08 13:46:11 +09:00
nicolas.dorier
42aead3c89
A replacement payment should have the same fee as the replaced one
2020-04-05 20:48:00 +09:00
nicolas.dorier
a348960041
Make CanChangeNetworkFeeMode more resilient
2020-04-05 20:00:28 +09:00
nicolas.dorier
c737a25234
Add logs to test CanChangeNetworkFeeMode
2020-04-05 18:54:12 +09:00
nicolas.dorier
a01b2e4a83
Small optimization for faster AddDerivationScheme
2020-04-05 18:35:29 +09:00
Nicolas Dorier
5f838db281
Merge pull request #1431 from Kukks/api/merge-multiple-swagger
...
Swagger Generator: Merge multiple documents
2020-04-05 17:36:04 +09:00
Kukks
76b919d887
make swagger test use live endpoint
2020-04-05 09:43:49 +02:00
Nicolas Dorier
963c69a0e0
Merge pull request #1321 from Kukks/bpu
...
BIP79
2020-04-05 12:10:55 +09:00
nicolas.dorier
fd026a9733
Refactor server-side
2020-04-05 12:02:36 +09:00
Kukks
49786f4195
add bitpay to blacklist
2020-03-31 11:13:22 +02:00
rockstardev
7b6eae6053
Fixing CheckNoDeadLink test now that btse blocks our call from circleci
2020-03-31 11:12:01 +02:00
nicolas.dorier
c906fd42df
Add bitflyer direct integration
2020-03-26 00:48:01 +09:00
Nicolas Dorier
e36338d903
Merge pull request #1403 from Kukks/basic-auth
...
Greenfield API: Basic Auth
2020-03-25 21:00:14 +09:00
Kukks
91924512e6
Fix Link checker test
2020-03-24 08:00:47 +01:00
Kukks
98a48cd0a5
fix swagger validation test
2020-03-20 17:37:39 +01:00
nicolas.dorier
318d826694
Rename Permissions.Can.. to Policies.Can..
2020-03-20 13:41:47 +09:00
nicolas.dorier
29a807696b
Refactor permissions of GreenField
2020-03-19 23:43:51 +09:00
nicolas.dorier
e351e0c9ea
Remove dependency on NSwag
2020-03-18 20:08:09 +09:00
nicolas.dorier
c85fb3e89f
Remove ndax from test suite (crashing exchange)
2020-03-17 13:19:55 +09:00
nicolas.dorier
95f859b6db
Simplify RBF handling, and handle case of double spend happening outside of wallet ( Fix #1375 )
2020-03-11 21:05:12 +09:00
nicolas.dorier
6bf7ef0798
Revert "Simplify RBF handling, and handle case of double spend happening outside of wallet ( Fix #1375 )"
...
This reverts commit 42152050a3
.
2020-03-11 20:57:19 +09:00
nicolas.dorier
42152050a3
Simplify RBF handling, and handle case of double spend happening outside of wallet ( Fix #1375 )
2020-03-11 20:46:37 +09:00
nicolas.dorier
e6acc19bcc
Add a test catching expirationTime bug ( #1336 )
2020-03-10 17:11:15 +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
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
rockstardev
24664b60af
Adding test ensuring that api errors are properly returned
2020-02-03 02:21:03 -06: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
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
nicolas.dorier
0b257b98f5
Move back ToPrettyString() in PaymentMethodId to fix crash if a payment method as been disabled
2019-06-04 01:06:03 +09:00
Andrew Camilleri
916323bb3b
[WIP] Further abstractions to Payment Handlers ( #867 )
...
* mark items to abstract
wip
wip
wip
wip
wip
wip
wip
cleanup
parse other types
compile and fix tests
fix bug
fix warnings
fix rebase error
reduce payment method handler passings
more cleanup
switch tests to Fast mode
fix obsolete warning
remove argument requirement
rebase fixes
remove overcomplicated code
better parsing
remove dependency on environement
remove async
* fixes and simplification
* simplify
* clean up even more
* replace nuglify dependency
* remove extra space
* Fix tests
* fix booboo
* missing setter
* change url resolver
* reduce payment method handlers
* wrap payment method handlers in a custom type
* fix tests
* make invoice controller UI selectlist population cleaner
* make store controller use payment handler dictionary
* fix ln flag
* fix store controller test
* remove null checks on payment handlers
* remove unused imports
* BitcoinSpecificBtcPayNetwork - abstract BTCPayNetwork
* some type fixes
* fix tests
* simplify fetching handler in invoice controller
* rename network base and bitcoin classes
* abstract serializer to network level
* fix serializer when network not provided
* fix serializer when network not provided
* fix serializer when network not provided
* Abstract more payment type specific logic to handlers
* fix merge issue
* small fixes
* make use of repository instead of direct context usage
* reduce redundant code
* sanity check
* test fixes
2019-05-30 16:02:52 +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
d3e3c31b0c
Btcpay abstract BTCPayNetwork -- Alternative PR to #865 ( #868 )
...
* BitcoinSpecificBtcPayNetwork - abstract BTCPayNetwork
* some type fixes
* fix tests
* simplify fetching handler in invoice controller
* rename network base and bitcoin classes
* abstract serializer to network level
* fix serializer when network not provided
* fix serializer when network not provided
* fix serializer when network not provided
* try fixes for isolating pull request
2019-05-29 18:43:50 +09:00
Nicolas Dorier
512ee16620
Refactor invoice entity to not have to inject the NetworkProvider ( #858 )
2019-05-24 22:22:38 +09:00
Andrew Camilleri
88c931ec13
Make wallet able to send to multiple destinations ( #847 )
...
* Make wallet able to send to multiple destinations
* fix tests
* update e2e tests
* fix e2e part 2
* make headless again
* pr changes
* make wallet look exactly as old one when only 1 dest
2019-05-21 17:10:07 +09:00
nicolas.dorier
9b6b9e6113
Fix build
2019-05-19 23:33:32 +09:00
nicolas.dorier
e100edce24
Add selenium test for the manual seed signing
2019-05-15 16:00:03 +09:00
Andrew Camilleri
cf436e11ae
Part 1: OpenIddict - Minor Changes & Config prep ( #566 )
...
* Part 1: OpenIddict - Minor Changes & Config prep
* add missing nuget
* pr changes
* pr fixes
* remove config for openid -- no need for it for now
* remove unused extension
* Add tests
* use pay tester http client
* check redirecturl in tests
2019-05-15 00:46:43 +09:00
nicolas.dorier
522d745883
Update NBXplorer and NBitcoin
2019-05-14 16:06:43 +09:00
nicolas.dorier
702c7f2c30
Fix tests
2019-05-13 00:35:06 +09:00
nicolas.dorier
bf37f44795
Add Wallet settings menu, do not rebase keypaths when create the PSBT
2019-05-13 00:13:55 +09:00
nicolas.dorier
3011fecf0f
Add tests for PSBT
2019-05-12 14:51:24 +09:00
nicolas.dorier
541c748ecb
WalletSendLedger and LedgerConnection only depends on PSBT
2019-05-11 20:02:32 +09:00
nicolas.dorier
602625fc17
Fix tests
2019-05-09 19:14:01 +09:00
nicolas.dorier
51faa39636
Add some tests to check that AccountKeyPath and RootFingerprint are taken into account during PSBT creation
2019-05-09 18:58:14 +09:00
nicolas.dorier
f37bfbf9f9
Add more tests
2019-05-09 18:38:25 +09:00
nicolas.dorier
ba9928831e
Fix tests
2019-05-09 18:11:39 +09:00
nicolas.dorier
2b6bd3d751
Assume ElectrumMapping of BTC if not specified
2019-05-09 17:51:46 +09:00
nicolas.dorier
e96ca21c89
Small refactoring for tests
2019-05-09 17:21:51 +09:00
Kukks
bb3a087d39
Move ElectrumMapping to BtcPayNetwork
2019-05-09 17:16:17 +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
f2da64adad
Add parsing of cold card wallet
2019-05-09 00:55:48 +09:00
nicolas.dorier
7fadb4c5ad
Remove some annoying warnings
2019-05-02 21:38:39 +09:00
Andrew Camilleri
b5f4739ae5
Allow invoice creation to only allow specific payment methods in UI ( #792 )
...
* allow invoice creation to only allow specific payment methods
* add test
* reuse existing feature
* final fixes
2019-05-02 21:29:51 +09:00
Andrew Camilleri
19a990b095
Add U2f Login Support ( #787 )
...
* init u2f
* ux fixes
* Cleanup Manage Controller
* final changes
* remove logs
* remove console log
* fix text for u2f
* Use Is Secure instead of IsHttps
* add some basic u2f tests
* move loaders to before title
* missing commit
* refactor after nicolas wtf moment
2019-05-02 21:01:08 +09:00
rockstardev
64e7324285
Fixing CanUsePoSApp test
2019-04-26 22:00:12 -05:00
rockstardev
d5bd0ee781
Filtering invoices by StartDate and EndDate
...
Now it's required to separate parameters with comma. Forced to do
this because dates have spaces between date and time part
2019-04-26 22:00:12 -05:00
nicolas.dorier
098dfacce8
Remove segwit limitation for rescan
2019-04-24 22:40:35 +09:00
Andrew Camilleri
44d1419af9
Add itemCode to Invoice Response ( #784 )
...
closes #779
2019-04-24 22:36:35 +09:00
nicolas.dorier
4067d4b00f
Remove the Facade concept
2019-04-11 23:55:20 +09:00
nicolas.dorier
adc42cbba4
Put timeout on tests
2019-04-05 16:28:18 +09:00
nicolas.dorier
35db6d4a8b
Fix test CanScheduleBackgroundTasks
2019-04-05 15:32:30 +09:00
nicolas.dorier
c3a7ab647c
Increase reliability of test CanScheduleBackgroundTasks
2019-04-05 15:16:36 +09:00
nicolas.dorier
92da0ec2d2
fix tests
2019-04-05 14:59:46 +09:00
nicolas.dorier
73d5415ea9
Use NBitcoin's socks implementation
2019-03-31 13:16:05 +09:00
nicolas.dorier
1a122726b7
Add more timeout for lightning tests
2019-03-27 18:57:51 +09:00
nicolas.dorier
3cce7b8b35
Refactor the lightning listener, some users complain payments are not detected (should fix #676 )
2019-03-27 15:53:38 +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
abbdbda03a
Add Bitbank provider
2019-03-20 00:49:44 +09:00
nicolas.dorier
014d08f38a
Add socks support on BTCPay Server to query onion endpoints
2019-03-18 00:03:02 +09:00
nicolas.dorier
ea02d77e69
Parse torrc file to know virtual port of hidden services
2019-03-17 20:49:26 +09:00
nicolas.dorier
23f296ef34
The store owner can define default currency pairs when using rate API without parameter
2019-03-11 18:39:21 +09:00
nicolas.dorier
522970fdb9
Fix build
2019-03-05 17:21:44 +09:00
nicolas.dorier
051248f2fc
Add CancellationToken to GetRatesAsync and propagate it from the controllers to the rate fetcher
2019-03-05 17:09:17 +09:00
nicolas.dorier
9a239f99f4
Add bylls as supported exchange
2019-03-05 16:07:23 +09:00
nicolas.dorier
d898f716d1
Add some tests on externalConnectionString
2019-03-01 14:33:32 +09:00
nicolas.dorier
d99774f8d9
fix tests
2019-02-22 22:52:43 +09:00
nicolas.dorier
d563a2ec89
Fix tests
2019-02-22 22:48:39 +09:00
nicolas.dorier
6ba17e8e30
Can filter supported payment methods for an invoice
2019-02-21 19:34:11 +09:00
nicolas.dorier
0eee8e7464
Returns Access-Control-Allow-Origin * on all Bitpay GET and post requests.
2019-02-02 16:12:51 +09:00
nicolas.dorier
6725be8145
Remove warnings
2019-01-29 18:35:27 +09:00
nicolas.dorier
f5b693f01b
Disable quadricagx tests because exchange is down
2019-01-29 18:34:30 +09:00
Andrew Camilleri
0c5b5ff49c
Add link to no stores error ( #558 )
...
* add link
* safer status message
* refactor
* small view cleanup
2019-01-29 16:44:46 +09:00
Andrew Camilleri
30bdfeee37
Enhance PosData Viewer & add cart to posdata in POS app ( #559 )
2019-01-26 13:26:49 +09:00
nicolas.dorier
24c8c076d5
Add taxIncluded field in invoice
2019-01-24 20:53:29 +09:00
nicolas.dorier
49643cb00e
Make CanScheduleBackgroundTasks more robust
2019-01-19 21:19:15 +09:00
nicolas.dorier
d85f03ba20
Remove HangFire dependency
2019-01-16 19:15:09 +09:00
nicolas.dorier
c333902468
Round up invoice price
2019-01-15 22:12:29 +09:00
Andrew Camilleri
a87c2a3374
Merge remote-tracking branch 'origin/master' into feature/crowdfund
2019-01-10 09:50:22 +01:00
nicolas.dorier
82d286dc6f
Fix test
2019-01-10 14:00:26 +09:00
nicolas.dorier
afc90f32c9
Fix tests
2019-01-10 13:47:21 +09:00
Kukks
c63feb488c
Merge remote-tracking branch 'btcpayserver/master' into feature/crowdfund
2019-01-07 10:58:52 +01:00
nicolas.dorier
4b982f815c
Renaming
2019-01-07 15:35:18 +09:00
Kukks
20a6b3fc33
Merge remote-tracking branch 'btcpayserver/master' into feature/crowdfund
2019-01-06 10:25:24 +01:00
Kukks
5076d73695
Enhance Invoice Events
2019-01-06 10:12:45 +01:00
Kukks
e6357d2ac8
fix build
2019-01-06 09:29:21 +01:00
Kukks
1eecd85ceb
Merge branch 'master' into feature/crowdfund
2019-01-06 09:26:58 +01:00
nicolas.dorier
88150b6535
Improve IPN tests
2019-01-06 15:04:30 +09:00
Kukks
6e7f1151bc
bug fixes and optimizations
2019-01-05 19:47:39 +01:00
nicolas.dorier
a05cd5678b
Add support for removing network fee on first payment
2019-01-05 17:45:49 +09:00
nicolas.dorier
0f175174f6
Rename TxFee to NetworkFee and save the Network Fee of each payment under PaymentEntity
2019-01-05 13:31:05 +09:00
Kukks
493466683c
start adding UTs
2019-01-04 16:42:35 +01:00
nicolas.dorier
e08710a19c
Fix tests
2018-12-27 16:11:58 +09:00
Mario Dian
c7e90cd7df
New PoS design
2018-12-27 12:57:31 +08:00
Nicolas Dorier
a3b79fbcd8
Merge pull request #462 from rockstardev/master
...
InvoiceDue field in export
2018-12-26 16:47:38 +09:00
nicolas.dorier
bac2db5cda
Add timeout to lightning tests
2018-12-20 21:27:08 +09:00
rockstardev
365ee4cf0b
Fixing CSV test now that we have new field / reorders
2018-12-18 12:35:59 -06:00
rockstardev
7a9229628a
InvoiceDue field in export
2018-12-18 11:56:12 -06:00
nicolas.dorier
9db5c0f375
Hack tests to make currency formatting work on linux
2018-12-19 00:28:06 +09:00
nicolas.dorier
660f43e3b7
Add fast test for JPY formatting
2018-12-18 23:26:35 +09:00
nicolas.dorier
0ba96aa4b8
Fix export tests
2018-12-18 23:24:22 +09:00
nicolas.dorier
bb0f986b0c
Add additional test on euro formatting
2018-12-18 19:09:55 +09:00
nicolas.dorier
2c2a85327f
Add test logs
2018-12-18 01:02:27 +09:00
nicolas.dorier
7a4dee3d38
Point of Sale returns correct currency information ( #450 )
2018-12-18 00:25:17 +09:00
nicolas.dorier
8472bfe90d
Add test for bad bitid signature
2018-12-07 14:34:07 +09:00
nicolas.dorier
6e27233be8
Remove BIP70 support
2018-12-06 17:08:28 +09:00
nicolas.dorier
9209984a2f
Remove useless argument from GetInvoice
2018-12-06 17:05:27 +09:00
rockstardev
a89da1f705
Recoding test to respect new ordering in CSV
2018-11-30 04:34:18 -06:00
rockstardev
7b47b96252
Always using quotes for CSV export
2018-11-30 03:15:23 -06:00
rockstardev
8509a0de18
Basic export CSV and JSON tests
2018-11-30 02:34:43 -06:00
Mario Dian
1831692761
Enable shopping cart, add items to cart, enable tips ( #410 )
...
Modal cart, remove items, checkout
Fix removal and adding of cart items
Improve cart UI
Add cart bundle, remove unused js files from the view when cart isn't used
Do not enable cart by default
Do not put modal into the view when the cart is disabled
Escape js properties
Work with amounts as cents
Make animation speed look constant
Enable tips in the cart
Fix cart UI
2018-11-27 15:14:32 +09:00
Andrew Camilleri
e144d2479b
Add POS Data to Invoice UI ( #409 )
...
* Add POS Data in Invoice UI
* fix build
* extract in helper and add UTs
* add in unit test coverage through mvc view too
2018-11-27 15:13:09 +09:00
nicolas.dorier
60b72aabe8
fix test
2018-11-24 13:38:23 +09:00
nicolas.dorier
1aaa55dc62
Make test less flaky
2018-11-23 13:09:30 +09:00
nicolas.dorier
0096ec1d12
bump nbxplorer
2018-11-21 20:41:51 +09:00
Rockstar Developer
9d21c89151
Preserving title with custom amount ( #403 )
...
* Preserving title with custom amount
* Custom button texts for complete localization
* Update tests, now checking custom amount description and button text
* Support for Custom CSS in POS
2018-11-17 11:39:43 +09:00
nicolas.dorier
24a8c4015c
Bump
2018-11-17 11:35:20 +09:00
nicolas.dorier
36f486e91b
Add test for the parser
2018-11-17 01:45:59 +09:00
nicolas.dorier
401d9c8565
DerivationSchemeParser should not override a label
2018-11-17 01:21:34 +09:00
Andrew Camilleri
c9c7316b7d
Logs UI in Server Admin ( #374 )
...
* add in ui
* add in logging viewer
* Revert "add in ui"
This reverts commit 9614721fa8
.
* finish basic feature
* clean up
* improve and fix build
* add in debug log level command option
* use paging for log file list, use extension to select log files, show message for setting up logging
* make paging a little better
* add very basic UT for logs
* Update ServerController.cs
2018-11-07 22:29:35 +09:00
nicolas.dorier
15d9adfbf1
Fix rate fetching for kraken doge and dash
2018-11-05 12:14:39 +09:00
nicolas.dorier
b423b4eec1
Do not allow rescan of wallet which are not segwit
2018-11-04 14:59:28 +09:00
nicolas.dorier
05b0f6d0f7
Fix invoice search not working on transaction id
2018-11-02 14:26:13 +09:00
nicolas.dorier
bc0acf5701
make test more reliable
2018-10-31 16:57:31 +09:00
nicolas.dorier
a82f181126
Reactivate cryptopia
2018-10-31 13:31:03 +09:00
nicolas.dorier
d3b3198b68
For lightning payments tests, add small delay after creating the invoice before sending the payment
2018-10-29 00:22:30 +09:00
nicolas.dorier
c1f17ff63b
Add some test logs to flaky test
2018-10-28 23:43:48 +09:00
nicolas.dorier
254db22063
Change test trait name
2018-10-28 22:51:02 +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
nicolas.dorier
7f16aa8c7e
Run only fast tests on CI
2018-10-28 20:59:59 +09:00
nicolas.dorier
2896a9b26f
Add ScanUTXOSet support
2018-10-26 23:07:39 +09:00
Andrew Camilleri
4b976c13c1
Changelly v2 ( #343 )
...
* Disable shapeshift and use changelly
* UI to manage changelly payment method
* wip on changelly api
* Add in Vue component for changelly and remove target currency from payment method
* add changelly merhcant id
* Small fixes to get Conversion to load
* wip fixing the component
* fix merge conflict
* fixes to UI
* remove debug, fix fee calc and move changelly to own partials
* Update ChangellyController.cs
* move original vue setup back to checkout
* Update core.js
* Extracting Changelly component to js file
* Proposal for loading spinner
* remove zone
* imrpove changelly ui
* add in changelly config checks
* try new method to calculate amount + remove to currency from list
* abstract changelly lofgic to provider and reduce dependency on js component
* Add UTs for Changelly
* refactor changelly backend
* fix failing UT
* add shitcoin tax
* pr changes
* pr changes
* WIP: getting rid of changelly dependency
* client caching, compiling code, cleaner code
* Cleaner changelly
* fiat!
* updat i18n, css and error styler
* default keys
* pr changes part 1
* part2
* fix tests
* fix loader alignment and retry button responsiveness
* final pr change
2018-10-24 14:52:19 +09:00
nicolas.dorier
e1751c4d91
[Fix] Querying rate with authenticated request should be successfull
2018-10-15 18:11:20 +09:00
nicolas.dorier
3cff8261ae
Set the id for apps only to 20 bytes, and output the Id in the controller so we can use it in tests
2018-10-09 23:38:56 +09:00
nicolas.dorier
3d85dace38
Move currency display method into CurrencyNameTable
2018-10-09 23:30:26 +09:00
rockstardev
e39d9067f2
Updating Unit tests
2018-09-08 14:53:41 +09:00
nicolas.dorier
f5d81334f8
Remove Lightning Specific logic from BTCPay, and use BTCPayServer.Lightning packages instead
2018-08-30 12:24:00 +09:00
nicolas.dorier
6c51d83f61
Fix tests
2018-08-25 15:49:04 +09:00
nicolas.dorier
29af07b3f9
Make sure we do not return outdated rates
2018-08-23 13:47:56 +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
4f5a8f7953
Use direct provider for Kraken, update packages
2018-08-21 15:59:57 +09:00
nicolas.dorier
8728356698
Use HttpClientFactory for coinaverage
2018-08-21 14:33:13 +09:00
nicolas.dorier
214b2d1c1c
Fix SSH fingerprint checking
2018-08-13 09:43:59 +09:00
nicolas.dorier
39b018fdf3
fix test
2018-08-01 18:42:28 +09:00
nicolas.dorier
83304de1c6
Remove the concept of "Rate multiplier" and replace it with the concept of "Spread"
2018-08-01 18:38:46 +09:00
nicolas.dorier
7a32f692d1
Add test for Disabling PaymentMethod
2018-07-31 00:18:58 +09:00
nicolas.dorier
3775317047
Fix CanGetRates test, and fix #178
2018-07-30 23:22:26 +09:00
Andrew Camilleri
faabd68f6f
Merge remote-tracking branch 'origin/master' into feature/bitpayrates
2018-07-27 11:16:52 +02:00
nicolas.dorier
0dcda0f289
Fix: Inverse rule was not found in BTCPay with X_X
2018-07-27 18:04:41 +09:00
Andrew Camilleri
f3edaf5160
Merge remote-tracking branch 'btcpayserver/master' into feature/bitpayrates
2018-07-27 05:57:25 +02:00
nicolas.dorier
1ee4bd9c92
Fix tests, and make sure Listen does not block for LND
2018-07-19 14:49:30 +09:00
nicolas.dorier
0c8925d2a2
Correctly dispose the session when listening lightning invoices
2018-07-14 01:45:14 +09:00
nicolas.dorier
94a6f20a05
Refactor the LndInvoiceClient which might solve memory leak
2018-07-13 19:45:50 +09:00
nicolas.dorier
3113097c4f
Update to https, use new dockerfile
2018-07-10 19:33:54 +09:00
nicolas.dorier
6307aa8665
Use SHA256 cert thumprint in connection string, allowInsecure=true
2018-07-08 20:58:37 +09:00
nicolas.dorier
b9e8408db5
Simplify LND implementation
2018-07-08 18:55:48 +09:00
nicolas.dorier
0879895678
Fix tests and rename type=lnd to type=lnd-rest
2018-07-08 15:34:19 +09:00
rockstardev
25dbf6445f
LND Support
2018-07-01 21:45:21 +09:00
nicolas.dorier
34deb17f3d
Fix tests
2018-07-01 16:10:17 +09:00
nicolas.dorier
b7abc08c27
Create a new format for LightningConnectionString
2018-07-01 15:45:08 +09:00
nicolas.dorier
3d8c5195ae
Update CLightning and charge
2018-06-26 14:18:47 +09:00
rockstardev
9a5259510b
Merge remote-tracking branch 'source/master' into dev-lndrpc
2018-06-25 22:31:42 -05:00
rockstardev
d34ffc0d9a
Refactoring conditional method, separating into two properties
2018-06-23 22:50:50 -05:00
nicolas.dorier
db24ab792f
update clightning
2018-06-18 23:07:55 +09:00
rockstardev
4972f0ab7b
Labeling issue with rapid testing of lightning payments
2018-06-15 18:27:37 -05:00
rockstardev
07e13747cf
Merge remote-tracking branch 'source/master' into dev-lndrpc
2018-06-15 17:21:21 -05:00
rockstardev
2465eb7e36
Revering debug param
2018-06-15 17:20:56 -05:00
rockstardev
69bd888bab
Refactoring ServerTester so that ClightningRPCClient can use LND
2018-06-15 15:02:40 -05:00
rockstardev
9b540273fc
Parsing of node info and returning it for GetInfo
2018-06-15 13:57:39 -05:00
Andrew Camilleri
8cafa8a483
Merge remote-tracking branch 'origin/master' into feature/bitpayrates
2018-06-12 15:34:09 +02:00
nicolas.dorier
04174b7431
Fix authentication
2018-06-06 16:02:37 +09:00
nicolas.dorier
b7c58c2083
Fix bug of authentication caused by previous refactoring on authentication
2018-06-06 14:46:41 +09:00
rockstardev
f8c88bd44f
Providing ability to increase lightning timeout for tests/debugging
2018-05-31 16:31:39 -05:00
rockstardev
d1fb51b412
Reactivating LND end to end test
2018-05-31 16:07:59 -05:00
rockstardev
431147784e
Merge branch 'master' into dev-lndrpc
2018-05-31 12:11:31 -05:00
Andrew Camilleri
bac9ef4f93
add some UT and fix error message + bump Nbitpayclient
2018-05-29 17:12:07 +02:00
rockstardev
e634700913
Changing the way we signal that LightningConnectingString is Lnd
2018-05-25 12:18:47 -05:00
nicolas.dorier
a97ef2eee8
MinerFee matching Bitpay API
2018-05-25 22:49:49 +09:00
nicolas.dorier
dec5dbc0d2
Ability to pass fields to POS app #181
2018-05-24 23:54:48 +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
rockstardev
6cefd9c3e7
Merge remote-tracking branch 'source/master' into dev-lndrpc
2018-05-16 04:50:46 -05:00
Andrew Camilleri
a6ee337ed0
more coverage
2018-05-15 16:25:43 +02:00