Commit Graph

142 Commits

Author SHA1 Message Date
nicolas.dorier
aad586232c
Refactor StatusMessage and remove ExternalLogin 2019-10-31 14:11:33 +09:00
nicolas.dorier
5025e0dd4d
Allow xforwardedproto to be override via configuration 2019-10-09 22:26:54 +09:00
nicolas.dorier
9e107b1eb1
Try to read the authorized keys file from the configuration 2019-09-20 18:51:14 +09:00
nicolas.dorier
9688798a4a
Asyncify SSH access, do not show SSH service if ssh is not well configured 2019-08-27 23:30:25 +09:00
nicolas.dorier
709ee54ac2
Do not prevent btcpay from starting if unsupported sshkey 2019-08-25 12:27:29 +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
b848595378
Add missing command lines 2019-06-03 17:34:10 +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
Andrew Camilleri
3d436c3b0e Add Eclair to connection string examples (#846)
* Add Eclair to connection string examples

* bump LN nuget
2019-05-20 10:13:11 +09:00
nicolas.dorier
8dc4acdc34
Make sure people does not use launchsettings by mistake 2019-05-15 01:06:26 +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
27fd49e61c
Add --allow-admin-registration, useful for tests 2019-05-13 17:00:58 +09:00
nicolas.dorier
bf035333cf
Add service type P2P 2019-05-07 14:07:36 +09:00
nicolas.dorier
f93d1173e2
Show tor exposed bitcoin node 2019-05-07 13:58:55 +09:00
nicolas.dorier
73d5415ea9 Use NBitcoin's socks implementation 2019-03-31 13:16:05 +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
4769b1d452 Show tor services inside hidden directories in Server Settings/Services 2019-03-17 13:01:47 +09:00
nicolas.dorier
c73dc425ad Remove externalurl in command line options --help (Fix #658) 2019-03-09 22:30:49 +09:00
nicolas.dorier
81945c0737 Fix bug on spark external config parsing 2019-03-01 15:34:30 +09:00
nicolas.dorier
013054fb82 Small refactor 2019-03-01 14:46:32 +09:00
nicolas.dorier
d898f716d1 Add some tests on externalConnectionString 2019-03-01 14:33:32 +09:00
nicolas.dorier
1d3f144d21 Support relative path for external services, simplify the code in Services 2019-03-01 13:20:21 +09:00
nicolas.dorier
de29d87487 Fix QR code not showing full uri if using relative path 2019-02-28 23:01:25 +09:00
nicolas.dorier
ebef085a9c Support relative path for Spark and RTL external url, check in server settings if we are using a secure protocol 2019-02-28 22:20:14 +09:00
nicolas.dorier
d04b9c4c09 Remove last reference to externalurl 2019-02-27 21:41:02 +09:00
nicolas.dorier
7f592639c5 Remove URI rewritting and ExternalUri stuff 2019-02-27 18:38:11 +09:00
nicolas.dorier
fbcb69f447 Do not prevent btcpayserver from starting if using insecure protocol for lightning services 2019-02-22 18:24:27 +09:00
nicolas.dorier
5b0b4adb1c Fix service link for RTL 2019-02-22 15:46:43 +09:00
nicolas.dorier
b5d55a2066 Add RTL support 2019-02-22 15:06:52 +09:00
nicolas.dorier
86493568e9 Fix external services parsing 2019-01-23 13:31:00 +09:00
Steven Horn
88ef4d69b2
Improve help and exception messages.
Improve the messages passed to users and in exceptions when parsing the BTCPayServerOptions configuration.
2019-01-18 10:23:47 -04:00
Aaron Clauson
6010a103e0 Added new disable-registration command line option. 2019-01-06 16:43:55 +01:00
nicolas.dorier
9c99ffae57 Lightning charge integration 2018-12-20 22:40:32 +09:00
nicolas.dorier
361d494cde Accept cookiefilepath as alternative to cookiefile for spark connection string 2018-12-20 20:24:06 +09:00
nicolas.dorier
475ea68696 Can attach external spark 2018-12-12 18:19:13 +09:00
nicolas.dorier
591d7b4b80 Can show external service link with BTCPAY_EXTERNALSERVICES 2018-12-07 18:42:39 +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
Aaron Clauson
24623c59d7 Adjusted mechanism for setting https binding configuration option (#372)
* Adjusted mechanism for setting https binding configuration option.

* Modified the https binding logic to use default bind and port options.

* Removed dedicated https certification config properties and instead used direct access via setting name.
2018-11-01 12:07:28 +09:00
nicolas.dorier
63014231ab Revert "Added configuration options for BtcPayServer https binding. (#360)"
This reverts commit 3ac37497ab.
2018-10-30 00:25:05 +09:00
Aaron Clauson
3ac37497ab Added configuration options for BtcPayServer https binding. (#360) 2018-10-30 00:11:02 +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
Rockstar Developer
e5eb0c79c0 Exposing LND Rest, providing info in Server/Services (#363)
* Displaying LND Rest connection info in Services

* Code cleanup

* Tweaking UI

* Fix typo
2018-10-27 22:49:39 +09:00
Aaron Clauson
d7785fe2d2 Added Serilog file logger for debug file support. (#323) 2018-10-16 00:37:42 +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
214b2d1c1c Fix SSH fingerprint checking 2018-08-13 09:43:59 +09:00
nicolas.dorier
322518e9dc Ensure the ssh connection is trusted 2018-08-12 23:23:26 +09:00
nicolas.dorier
6a1eca760a Can configure BTCPay SSH connection at startup 2018-08-12 21:38:45 +09:00
nicolas.dorier
11a26c940d Do not expose the config secret in URL, and use {net.CryptoCode}.external.lnd.grpc argument 2018-07-23 11:54:33 +09:00
Martin Behrens
4b5af9cb5c tweaking help option wording 2018-07-13 19:00:03 +02:00
nicolas.dorier
270ebead49 fix error message 2018-07-11 17:47:29 +09:00
nicolas.dorier
6307aa8665 Use SHA256 cert thumprint in connection string, allowInsecure=true 2018-07-08 20:58:37 +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
b7abc08c27 Create a new format for LightningConnectionString 2018-07-01 15:45:08 +09:00
rockstardev
039303bfaa Fixing typos during code review 2018-06-23 22:03:51 -05:00
nicolas.dorier
10c981b2a0 Update NBXplorer 2018-04-19 16:54:25 +09:00
nicolas.dorier
8fdfb2c4f6 Fix Back to Website path for Hangfire 2018-04-09 14:41:52 +09:00
nicolas.dorier
b1da136f77 Update packages and remove hangfire hack 2018-04-09 14:31:39 +09:00
nicolas.dorier
992d359e79 Add a --rootpath option 2018-04-05 15:50:23 +09:00
nicolas.dorier
21b91ac8f7 Add btc.lightning and ltc.lightning 2018-03-21 02:09:25 +09:00
lepipele
7e09efb9a3 Adding BundleJsCss as property on BtcPayServerOptions 2018-02-27 17:03:41 +09:00
nicolas.dorier
309d6fdfe0 Can configure an internallightningnode to make things easier 2018-02-26 18:58:02 +09:00
nicolas.dorier
c8923af573 Lightning Network support implementation 2018-02-26 00:48:12 +09:00
nicolas.dorier
b898cc030c general code cleanup + add analyzers 2018-02-17 13:18:16 +09:00
nicolas.dorier
b5e4c803aa fix bad network throwing nullreferenceexception 2018-01-12 22:08:20 +09:00
nicolas.dorier
58194cb060 Fix tests, clean code of Options 2018-01-12 16:00:31 +09:00
nicolas.dorier
ef165e15bf Fix config discovery when datadir is set 2018-01-12 13:45:25 +09:00
nicolas.dorier
b59021a0be Cleanup the design for multi currencies support, use a single nbxplorer instead of two 2018-01-12 11:54:57 +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
31672a2587 Add litecoin to docker-compose fix bugs when two networks generate same address 2018-01-09 01:56:37 +09:00
nicolas.dorier
e3a1eed8b3 Use Websocket for blockchain notifications 2018-01-08 02:36:41 +09:00
nicolas.dorier
eb44203475 Remove internal url 2018-01-07 21:58:46 +09:00
nicolas.dorier
c6959bb0bc Can start without NBXplorer being ready 2017-12-17 01:04:20 +09:00
nicolas.dorier
e1f8177834 Can configure externalurl in case BTCPay is behind a reverse proxy 2017-12-02 23:22:23 +09:00
nicolas.dorier
f1f227b746 Index invoice in a parallel thread 2017-11-12 23:03:33 +09:00
nicolas.dorier
4deb7c3270 Adopt dotnet core editorconfig, big reformating 2017-10-27 17:53:04 +09:00
lepipele
45b0991841 Fixing typo in namespace 2017-10-20 14:06:37 -05:00
nicolas.dorier
6d3ea65e03 Refactor token handling, support server-initiated pairing 2017-10-11 12:20:44 +09:00
NicolasDorier
7d8c3c1c81 Remove useless address mapping dbreeze 2017-10-06 14:58:58 +09:00
NicolasDorier
f456d62d3c Properly map addresses to invoice, use new nbxplorer 2017-10-06 10:37:38 +09:00
NicolasDorier
61b37f87dc Rely on docker for tests, move everything to the root 2017-10-03 00:41:03 +09:00
NicolasDorier
30eb1bd80e use environment variable for configuring BTCPayServer 2017-09-28 11:02:21 +09:00
NicolasDorier
171065f45c logging DB used 2017-09-27 23:45:33 +09:00
NicolasDorier
6b7cc77667 Add postgres support 2017-09-27 22:09:59 +09:00
NicolasDorier
d499ef0977 remove IExternalUrl 2017-09-27 15:16:30 +09:00
NicolasDorier
ce055dece9 .NET 2.0sify, use the same configuration framework as NBXplorer 2017-09-23 01:31:29 +09:00
NicolasDorier
3459634778 requirehttps 2017-09-15 19:25:02 +09:00
NicolasDorier
f8baab8138 Renaming + fix invoice display when paid and expired 2017-09-15 16:06:57 +09:00
NicolasDorier
efcda9a45e do not crash if cookiefile invalid 2017-09-15 01:03:27 +09:00
NicolasDorier
b5c6ed3860 Init 2017-09-13 15:55:16 +09:00