Commit Graph

3651 Commits

Author SHA1 Message Date
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
nicolas.dorier
6602823067
Refactor the input type detection 2020-04-08 22:14:16 +09:00
Nicolas Dorier
111feeb673
Merge pull request #1441 from Kukks/payjoin/p2sh
Payjoin: P2SH support
2020-04-08 22:00:07 +09:00
Kukks
3bf1b78b33 fix 2020-04-08 14:32:29 +02:00
Kukks
751ccc333f make test less slimfy 2020-04-08 14:32:29 +02:00
Kukks
624e6e4744 adapt 2020-04-08 14:32:29 +02:00
Kukks
73b13c750d add P2sh support 2020-04-08 14:32:29 +02:00
Kukks
148b04e9ba allow changing the payjoin key easily later 2020-04-08 14:32:29 +02:00
Kukks
32938479ac WIP: Payjoin: P2SH support 2020-04-08 14:32:29 +02:00
Nicolas Dorier
aae0086e68
Merge pull request #1443 from dennisreimann/wallet-view-improvements
Wallet view improvements
2020-04-08 21:25:31 +09:00
Nicolas Dorier
1f4556bd9d
Merge pull request #1440 from dennisreimann/transactions-dropdowns
Fix transaction dropdowns
2020-04-08 21:24:23 +09:00
Nicolas Dorier
d7bb15cac3
Merge pull request #1442 from dennisreimann/docker-bitcoin-generate-shell-script
Add bitcoin generate shell script
2020-04-08 21:22:47 +09:00
Nicolas Dorier
9a54445785
Merge pull request #1439 from Kukks/monero-fix
monero fixes
2020-04-08 21:11:27 +09:00
Dennis Reimann
523edfef58
Fix wording for no vault connection 2020-04-08 13:29:54 +02:00
Dennis Reimann
5a841216b8
Add checkbox coin selection (js version) 2020-04-08 13:29:16 +02:00
Dennis Reimann
d6d58a98db
Improve non-js coin selection 2020-04-08 13:15:03 +02:00
Dennis Reimann
6a0cda69c9
Wallet view improvements
As brought up by @kukks with [this comment](https://github.com/btcpayserver/btcpayserver/pull/1434#issuecomment-609724703). These improvements can be applied across themes, so these fixes are separated from the originating PR.
Pure visual finetunings for the Coin Selection form and amount/fee rate links.
2020-04-08 12:38:26 +02:00
nicolas.dorier
24691e5290
Bump NBitcoin and NBX 2020-04-08 19:34:12 +09:00
nicolas.dorier
b203d369fb
Fix payjoin tests 2020-04-08 18:24:04 +09:00
nicolas.dorier
b1cc30d25d
Fix sequence check on client 2020-04-08 17:51:22 +09:00
nicolas.dorier
72e64885be
Fix sequence check on client 2020-04-08 17:42:50 +09:00
nicolas.dorier
f4a47f5197
Deterministically sort the UTXOs to select 2020-04-08 13:46:11 +09:00
Dennis Reimann
fe45152529
Add bitcoin generate shell script
The shell equivalent to the existing powershell script.
2020-04-07 18:13:47 +02:00
nicolas.dorier
9a9773853e
Fix bug in payjoin receiver where too much fee could be substracted from receiver 2020-04-07 20:04:08 +09:00
nicolas.dorier
9d2ab8b154
The payjoin receiver can inject a fake change 2020-04-07 18:14:31 +09:00
nicolas.dorier
ba2184e21a
Do not remove outputs in payjoin tx 2020-04-07 15:10:19 +09:00
Dennis Reimann
829b0dd5e2
Fix transaction dropdowns
As brought up by @kukks with [this comment](https://github.com/btcpayserver/btcpayserver/pull/1434#issuecomment-609720019). The problem exists across themes, so the fix is separated from the originating PR.
2020-04-06 18:16:41 +02:00
nicolas.dorier
9fc451c9ca
Make stronger check on fee, let the merchant make bigger transaction if he pays the fee 2020-04-06 23:24:51 +09:00
Kukks
452568e740 monero fixes 2020-04-06 16:12:48 +02:00
Kukks
5503132ffc Fix vue-i18n var substitution error in checkout
fixes #1438
2020-04-06 13:38:58 +02:00
nicolas.dorier
17a6b7d34f
Rename an error of pj to unsupported-input 2020-04-06 20:27:48 +09:00
nicolas.dorier
69ad9edc9a
Check pj with 1 sat/b 2020-04-06 20:26:50 +09:00
Nicolas Dorier
80bb959ac3
Merge pull request #1415 from Kukks/wallet/camera
Scan address/bip21 with camera
2020-04-06 20:07:32 +09:00
nicolas.dorier
1e0587af26
Make sure tests use fixed fees 2020-04-06 19:18:49 +09:00
Kukks
16e35e8b55 update html styles 2020-04-06 11:51:01 +02:00
Kukks
8278926e42 change wallet send buttons 2020-04-06 11:51:01 +02:00
Kukks
1debbc3cdb Change error messages 2020-04-06 11:51:01 +02:00
Kukks
65c99ead1d cleanup 2020-04-06 11:51:00 +02:00
Kukks
2693dacae6 Scan address/bip21 with camera 2020-04-06 11:51:00 +02:00
Nicolas Dorier
7ce614f1c4
Merge pull request #1435 from btcpayserver/pr/dark-checkout
Dark checkout theme
2020-04-06 17:46:17 +09:00
Nicolas Dorier
79a0f97abb
Merge pull request #1432 from Kukks/api/permission-blob
GreenField: Switch to Blob for API Keys
2020-04-06 17:42:32 +09:00
Nicolas Dorier
670e0ee7df
Merge pull request #1436 from NicolasDorier/remove-rider-errors
Remove bugs reported by Rider
2020-04-06 17:36:07 +09:00
Nicolas Dorier
3f231a8894
Merge pull request #1437 from dennisreimann/manage-store-spacings
Improve section spacings on manage store page
2020-04-06 17:35:05 +09:00
Dennis Reimann
f5dfee7642
Improve section spacings on manage store page 2020-04-06 10:12:05 +02:00
nicolas.dorier
ab120c5dcb
Fix tests 2020-04-06 17:05:03 +09:00
rockstardev
f085a5618b Defaulting Powered by BtcPayServer link to green in light and dark theme 2020-04-05 23:21:14 -05:00
nicolas.dorier
d939baac84
Give more information to the user if payjoin fails 2020-04-06 13:19:51 +09:00
rockstardev
41d70e8462 Tweaking black background on Pay with and Totals line, colors for dropdowns 2020-04-05 23:09:31 -05:00