Commit Graph

188 Commits

Author SHA1 Message Date
nicolas.dorier
6226de7cff Refactor Crowdfund to use the tagging system 2019-02-19 12:48:48 +09:00
nicolas.dorier
7e0f9f6e0d Inject HtmlSanitizer in AddBTCPayServer, remove AppHelpers deps when possible 2019-02-17 18:47:25 +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
3725a5b644 Correctly set Access-Control-Allow-Headers 2019-02-02 15:51:38 +09:00
nicolas.dorier
c84c0ac64d set CORS headers 2019-02-02 15:22:00 +09:00
nicolas.dorier
098e07988c Bypass MVC for replying to CORS requests if Bitpay API 2019-02-02 15:19:22 +09:00
nicolas.dorier
66bb702aca Fix CORS for bitpay API again 2019-02-02 13:58:32 +09:00
nicolas.dorier
264914588f fix bitpay API not having CORS 2019-01-30 14:57:10 +09:00
nicolas.dorier
05df43b426 fix bitpay API not having CORS 2019-01-30 14:36:26 +09:00
nicolas.dorier
4f4d05b8cd Make sure CORS is enabled on Bitpay's API 2019-01-29 18:20:53 +09:00
Kukks
cfb4b080d3 Emails on store level 2019-01-22 21:38:39 +09:00
nicolas.dorier
d85f03ba20 Remove HangFire dependency 2019-01-16 19:15:09 +09:00
nicolas.dorier
c9d778c94b Bump nbitcoin and nbxplorer 2019-01-16 15:16:41 +09:00
Kukks
f2630df387 dispose streamer properly 2019-01-14 08:21:27 +01:00
Kukks
a7a11a4f13 Merge remote-tracking branch 'btcpayserver/master' into feature/crowdfund 2019-01-09 12:22:42 +01:00
britttttk
c93f217033 Fix minimum registration password length 2019-01-08 18:32:07 -07:00
Kukks
3e48a54ab5 Merge remote-tracking branch 'btcpayserver/master' into feature/crowdfund 2019-01-07 14:25:41 +01:00
Kukks
12c418d84d Add Node Info Page 2019-01-07 09:52:27 +01:00
Kukks
8bcf7109a3 integrate invoice popup 2018-12-28 12:07:15 +01:00
Kukks
ef9a633aa4 fixes for hub 2018-12-27 20:55:46 +01:00
Kukks
d1ff34d16d add minimal crowdfund system and UI 2018-12-22 15:02:16 +01:00
nicolas.dorier
0d51c99717 Properly configure the logger to log what happen in ConfigureServices, add https profile adapted for debugging ledger wallet. 2018-11-01 12:52:32 +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
nicolas.dorier
0cbe36c048 Run reliable tests, remove the docker build 2018-10-28 21:19:18 +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
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
f419c56a3c Revert "Changelly Support (#267)"
This reverts commit a5fca7a1c4.
2018-10-18 12:27:46 +09:00
Andrew Camilleri
a5fca7a1c4 Changelly Support (#267)
* 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
2018-10-18 12:13:39 +09:00
GameXG
db40c7bc32 Solving the new version of btcpayserver caused btcpay-python not to create an order problem (#327) 2018-10-11 23:50:28 +09:00
nicolas.dorier
f4eaa0f01f Make sure X-Forwarded-Port does not override ExternalUrl 2018-10-06 23:20:32 +09:00
Andrew Camilleri
e05c88370f enable account lockout 2018-09-12 13:36:44 +02:00
rockstardev
7341be76bb Extracting public portion of app controller 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
38d810cef7 Fix bundling 2018-08-25 23:08:46 +09:00
nicolas.dorier
023913a852 Rate limit per IP the number of login attempt 2018-08-25 20:28:46 +09:00
nicolas.dorier
87d384dba5 Decouple RateProviderFactory with RateFetcher 2018-08-22 16:53:40 +09:00
nicolas.dorier
8728356698 Use HttpClientFactory for coinaverage 2018-08-21 14:33:13 +09:00
nicolas.dorier
6a1eca760a Can configure BTCPay SSH connection at startup 2018-08-12 21:38:45 +09:00
nicolas.dorier
7a566c477d Allow CORS for creating a new invoice via AJAX through the PoS app (fix #238) 2018-08-06 12:04:36 +09:00
Andrew Camilleri
4276994265 fix bitpayconstraint for rates 2018-07-27 07:55:42 +02:00
nicolas.dorier
638b58ab48 remove debug u2f 2018-07-26 23:26:06 +09:00
nicolas.dorier
ad1307746c Add a "Wallet" menu 2018-07-26 22:32:50 +09:00
nicolas.dorier
022b4f115d Expose LND gRPC settings 2018-07-22 18:38:14 +09:00
nicolas.dorier
ce17e3212a Can delete stores 2018-07-19 19:31:17 +09:00
nicolas.dorier
b291a6d25a removing csp 2018-07-12 18:19:43 +09:00
nicolas.dorier
976d9d0cda Add CSP (Disable it if custom theming) 2018-07-12 17:38:21 +09:00
nicolas.dorier
10ceddc709 ReferrerPolicy 2018-07-12 02:38:08 +09:00
nicolas.dorier
5dd57c8064 X-XSS-Protection 2018-07-12 02:23:54 +09:00
nicolas.dorier
a256dd3277 x-content-type-options=nosniff 2018-07-12 01:43:16 +09:00
nicolas.dorier
01cf579530 Use proper custom authentication handler for bitpay 2018-06-04 12:00:03 +09:00
nicolas.dorier
9afc143801 Use decimals and fix invoices 2018-05-11 22:38:31 +09:00
nicolas.dorier
199db01eaf No need of authentication for GetInvoice API (#166) 2018-05-11 17:05:08 +09:00
nicolas.dorier
bba268b5e2 Upgrade to .NET Core 2.1 2018-05-08 17:57:53 +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
f0145142a4 Make sure that we don't authenticate call with bitpay auth methods on non bitpay calls 2018-04-29 20:32:43 +09:00
nicolas.dorier
2848caff2e Support Legacy API Key authentication to Bitpay Invoice API 2018-04-29 18:28:04 +09:00
nicolas.dorier
07c2f6b810 Remove TokenRepository dependency from InvoiceControllerAPI 2018-04-28 02:51:20 +09:00
nicolas.dorier
8ff81f1648 Use claim based authentication 2018-04-28 02:09:24 +09:00
lepipele
2e5d29064b Removing CssThemeManager dependency on ServerController
Using newly created BaseAsyncService to listen for database changes of theme setting
2018-04-26 21:39:43 -05:00
nicolas.dorier
a7ad71d492 CoinAverage credentials are now correctly passed 2018-04-23 17:21:50 +09:00
nicolas.dorier
e75e691404 Merge branch 'dev-bootstrap' of https://github.com/lepipele/btcpayserver into lepipele-dev-bootstrap 2018-04-19 18:03:04 +09:00
nicolas.dorier
10c981b2a0 Update NBXplorer 2018-04-19 16:54:25 +09:00
lepipele
3f85918a0c Merge remote-tracking branch 'source/master' into dev-bootstrap
# Conflicts:
#	BTCPayServer/Controllers/ServerController.cs
#	BTCPayServer/Views/Invoice/Invoice.cshtml
2018-04-18 23:38:10 -05:00
nicolas.dorier
5cb8cdd511 Refactoring: Do not query database when asking for Coinaverage rates, periodically get exchange list 2018-04-18 16:38:56 +09:00
lepipele
18986faca8 Merge remote-tracking branch 'source/master' into dev-bootstrap
# Conflicts:
#	BTCPayServer/Controllers/ServerController.cs
2018-04-14 11:11:38 -05:00
nicolas.dorier
04c6107196 Can configure rate caching and bitcoinaverage API keys 2018-04-14 22:52:57 +09:00
lepipele
81afe397be CssThemeManager that injects Bootstrap css uri from settings 2018-04-13 16:15:03 -05: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
7d17bf7f2a Can set store default language 2018-03-23 17:27:48 +09:00
nicolas.dorier
39b34ff4ed Can invite user to manage your store 2018-03-23 16:24:57 +09:00
nicolas.dorier
718a36ddd0 Remove dev time stuff 2018-03-22 01:10:14 +09:00
nicolas.dorier
c0b903d79c Wallet page is now an action link in the store settings 2018-03-22 01:07:11 +09:00
nicolas.dorier
392f3a16f1 Introduce LightningClientFactory 2018-03-20 12:10:35 +09:00
nicolas.dorier
2b2e12b290 Abstract ChargeClient to prepare for support of other lightning implementation 2018-03-20 11:59:43 +09:00
nicolas.dorier
061f428a54 fix bundling 2018-02-27 17:29:57 +09:00
lepipele
7e09efb9a3 Adding BundleJsCss as property on BtcPayServerOptions 2018-02-27 17:03:41 +09:00
lepipele
fb736c0d0f Moving AddBundles to BtcPayServerServices 2018-02-27 17:03:39 +09:00
lepipele
04bce3ae00 Bundling of CSS/JS files that's configurable in launchSettings.json
If you set BTCPAY_BUDNLEJSCSS to true it'll bundle all JS/CSS files into one

Ref: https://github.com/btcpayserver/btcpayserver/issues/47
2018-02-27 16:44:28 +09:00
nicolas.dorier
c8923af573 Lightning Network support implementation 2018-02-26 00:48:12 +09:00
nicolas.dorier
200e259b82 Add lightning dependencies to tests and docker-compose 2018-02-23 15:21:42 +09:00
nicolas.dorier
0e1a1fd2cd Remove dependencies in StoreController to on chain payment specific stuff 2018-02-20 12:45:04 +09:00
nicolas.dorier
35f669aa15 Isolating code of on chain specific payment in its own folder 2018-02-19 11:06:08 +09:00
nicolas.dorier
b898cc030c general code cleanup + add analyzers 2018-02-17 13:18:16 +09:00
nicolas.dorier
aa8565e3cc forgot remove dev time stuff 2018-02-17 01:35:30 +09:00
nicolas.dorier
5de330b1f9 Refactoring to keep coin logic out of InvoiceWatcher 2018-02-17 01:34:40 +09:00
nicolas.dorier
66597aed46 hide websocket exceptions 2018-02-15 16:17:27 +09:00
nicolas.dorier
17069c311b Remove transaction cache 2018-02-15 12:42:48 +09:00
nicolas.dorier
cedf8f75e8 Small UI adjustements 2018-02-13 11:41:21 +09:00
nicolas.dorier
cd0a650df4 Ledger wallet support 2018-02-13 03:27:36 +09:00
nicolas.dorier
8596e16feb make default configuration just work with multi chains 2018-01-11 22:52:28 +09:00
nicolas.dorier
223558c01d Adding transaction caching 2018-01-11 21:01:00 +09:00
nicolas.dorier
55d50af39d BTCWallet is single currency, introduce BTCWalletProvider 2018-01-11 14:36:12 +09:00
nicolas.dorier
401a31e5c2 Cleanup code 2018-01-10 02:07:42 +09:00
nicolas.dorier
3069fe0dd9 BTCPayServer should work on HTTP even if externalurl is https 2018-01-09 16:54:40 +09:00