Commit Graph

3762 Commits

Author SHA1 Message Date
Kukks
a5df029d43 update test to loop through all formats for payjoin 2020-04-25 17:38:04 +02:00
nicolas.dorier
47f16aadd5
Rely on NBitcoin to get the expected hash 2020-04-26 00:26:02 +09:00
Andrew Camilleri
f8b2b18c6e
Fix PJ (#1502)
* Fix P2SH-P2WPKH case for Payjoin (Fix #1500)

* fix p2sh issue

Co-authored-by: nicolas.dorier <nicolas.dorier@gmail.com>
2020-04-26 00:19:24 +09:00
Kukks
4be6c06af5 add payjoin e2e test for all compatible formats 2020-04-25 16:12:16 +02:00
Andrew Camilleri
92c58eea7f
Fix: Sign with NBX option not present after decoding PSBT (#1497) 2020-04-23 22:02:26 +09:00
Andrew Camilleri
5e6049bf3f
Payjoin fix: return psbt in same format it was received (#1496)
* Payjoin fix: return psbt in same format it was received

* fix formatting
2020-04-23 22:02:00 +09:00
Nicolas Dorier
7adaa146dc
Merge pull request #1471 from dennisreimann/api-health-endpoint
GreenField: Add health check endpoint
2020-04-23 02:44:11 +09:00
Nicolas Dorier
e3b51f593e
Merge pull request #1411 from Kukks/api/stores/get
GreenField: Create/Get/Delete Stores
2020-04-23 02:42:29 +09:00
Kukks
e64094dfcc fix permissions for client api tester 2020-04-22 15:12:38 +02:00
Kukks
cb6fcadb86 add scope test 2020-04-22 15:05:13 +02:00
Kukks
297b84a18b add request name validation 2020-04-22 15:05:13 +02:00
Kukks
b7c0e049b5 fix bug in permission store selector 2020-04-22 15:05:13 +02:00
Kukks
aeef160d0b separate store swagger 2020-04-22 15:05:13 +02:00
Kukks
34c1a304a9 Add Create Store 2020-04-22 15:05:13 +02:00
Kukks
4f1ae4733c remove store api 2020-04-22 15:05:13 +02:00
Kukks
e009c1a25a Fixing CheckNoDeadLink test now that btse blocks our call from circleci 2020-04-22 15:05:13 +02:00
Kukks
79f12a7058 fix client 2020-04-22 15:05:13 +02:00
Kukks
deb197cfa5 GreenField: Get Stores 2020-04-22 15:05:13 +02:00
Kukks
2710130667 add error message instead of 500 status
fixes #1494
2020-04-22 14:18:36 +02:00
Dennis Reimann
48163961ed
Rename LCAD image (#1493)
Fixes #1491.
2020-04-22 08:47:44 +02:00
Dennis Reimann
8658cb5f29
Re-add versioning for btcpay.js (#1489) 2020-04-22 08:24:29 +02:00
Kukks
a6a56e4791 fix controller 2020-04-21 17:09:17 +02:00
Dennis Reimann
22e39998e2
Updates from code review
Thanks @kukks!
2020-04-21 16:43:14 +02:00
Dennis Reimann
70d1056d48
API: Health endpoint returns synchronized state 2020-04-21 16:29:54 +02:00
Dennis Reimann
3bd5c3e1b5
API: Add health check endpoint 2020-04-21 14:59:33 +02:00
Nicolas Dorier
0a1a4fd3b5
Merge pull request #1490 from bolatovumar/fix-1488
Make both sides of payment request table look same
2020-04-21 20:15:33 +09:00
Umar Bolatov
e508b22d34
Make both sides of payment request table look same
fix #1488
2020-04-20 20:45:59 -07:00
Nicolas Dorier
a7815f107e
Merge pull request #1485 from Kukks/fix/pay-request-url
Fix: Payment request redirects to non-existing (404) URL after paymen…
2020-04-20 18:39:59 +09:00
Nicolas Dorier
ded5670108
Merge pull request #1486 from Kukks/hotwalletwarning
Show warning when using hot wallet on non admin
2020-04-20 01:56:18 +09:00
nicolas.dorier
c1ffeb331b
Fix typo 2020-04-20 01:47:27 +09:00
Nicolas Dorier
ad1148d3e2
Merge pull request #1487 from ketominer/master
Fix MySQL support (fixed width columns instead of blobs) replaces #1484
2020-04-19 21:26:36 +09:00
ketominer
a7b926d907 fixed Address field size (back) 2020-04-19 13:48:05 +02:00
Kukks
1f7a821c09 Show warning when using hot wallet on non admin
closes #1475
2020-04-19 13:45:51 +02:00
Kukks
bf45edb5d8 Fix: Payment request redirects to non-existing (404) URL after payment completed
fixes #1479
2020-04-19 13:12:07 +02:00
ketominer
686f5bf151 Fix MySQL support (fixed width columns instead of blobs) 2020-04-19 11:15:06 +02:00
Kukks
426fe793e6 remove versioning for btcpay.js
fixes #1483
2020-04-19 09:29:20 +02:00
Nicolas Dorier
aee55103a3
Merge pull request #1477 from dennisreimann/asset-cache-busting
Improve static asset caching
2020-04-19 05:32:20 +09:00
Nicolas Dorier
778bf97079
Merge pull request #1478 from dennisreimann/assert-link-not-dead
Improve AssertLinkNotDead test output in case of exception
2020-04-19 03:10:45 +09:00
nicolas.dorier
2dcb3111f8
Add changelog 2020-04-19 03:05:23 +09: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
34755b32dc
bump 2020-04-19 02:09:12 +09:00
Nicolas Dorier
6679ee1ca2
Merge pull request #1472 from Kukks/payjoin/p2shfixes
Fix Payjoin p2sh
2020-04-19 02:01:10 +09:00
Dennis Reimann
8420c74b31
Improve static asset caching
Cache static assets for one year and set the correct cache control header. Adds the cache busting version based on file content to asset references to invalidate the cache on change. ([further details on the approach](https://andrewlock.net/adding-cache-control-headers-to-static-files-in-asp-net-core/) and [why one year](https://ashton.codes/set-cache-control-max-age-1-year/))

Most of the changes are the additions of the `asp-append-version="true"` attribute, the main configuration change is in `Startup.cs`.
2020-04-18 17:56:05 +02:00
Kukks
0077105a2d remove hacks 2020-04-18 08:29:07 +02:00
Kukks
51db617584 fixes 2020-04-18 08:09:49 +02:00
Kukks
514b695907 fix coin addition for p2sh 2020-04-18 08:09:49 +02:00
Kukks
b470ce2dad fix p2sh test error codes 2020-04-18 08:09:49 +02:00
Kukks
161850150a fix p2sh detection input 2020-04-18 08:09:49 +02:00
Kukks
b02cfa9d41 fix subtract fees auto tick when clicking on balance 2020-04-17 15:24:27 +02:00
Kukks
dfe655393d Fix enable payjoin when p2sh 2020-04-16 17:23:29 +02:00