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
Nicolas Dorier
cc80e4636f
Remove runtime compile on tests ( #1453 )
2020-04-09 23:19:45 +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
e4cb1a875b
Remove tor client factory
2020-03-27 10:45:13 +01:00
Kukks
1a62ee9260
try fix tor socks5 connection
2020-03-27 10:45:12 +01:00
Kukks
56d5e6f99f
fixes
2020-03-27 10:45:12 +01:00
Kukks
89da4184ff
BIP79 Support
2020-03-27 10:45:12 +01:00
nicolas.dorier
ac14f199e4
Renaming GreenField classes
2020-03-27 12:55:21 +09:00
nicolas.dorier
e50e3f662d
Can create user without authentication if there is no admin
2020-03-18 23:10:15 +09:00
nicolas.dorier
e351e0c9ea
Remove dependency on NSwag
2020-03-18 20:08:09 +09:00
Kukks
e99767c7e2
Greenfield API: Create User
...
Slightly big PR because I started refactoring to reduce code duplication between the UI based business logic and the api one.
2020-03-17 08:21:27 +01:00
Kukks
70b172addc
Make api docs only available after login
2020-03-11 18:05:40 +01:00
Kukks
023e64704d
Add Swagger and Redoc
...
Blocked by #1262
2020-02-24 19:04:04 +01:00
Andrew Camilleri
276a9a95f9
Remove OpenIddict ( #1244 )
2020-02-25 00:40:04 +09:00
Andrew Camilleri
fa51180dfa
Api keys with openiddict ( #1262 )
...
* Remove OpenIddict
* Add API Key system
* Revert removing OpenIddict
* fix rebase
* fix tests
* pr changes
* fix tests
* fix apikey test
* pr change
* fix db
* add migration attrs
* fix migration error
* PR Changes
* Fix sqlite migration
* change api key to use Authorization Header
* add supportAddForeignKey
* use tempdata status message
* fix add api key css
* remove redirect url + app identifier feature :(
2020-02-24 22:36: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
rockstardev
82393eb8bb
Fixing api exception handling in the pipeline
2020-02-03 02:18:36 -06:00
rockstardev
fe2eca4fda
Adding prettier error handling page in the pipeline
2020-02-01 01:40:50 -06:00
nicolas.dorier
e00136de93
Fix spurious DefaultAntiforgery errors
2020-01-26 15:02:40 +09:00
Andrew Camilleri
025da0261d
new feature: Wallet Receive Page ( #1065 )
...
* new feature: Wallet Receive Page
closes #965
* Conserve addresses by waiting till address is spent before generating each run
* fix tests
* Filter by cryptocode before matching outpoint
* fix build
* fix edge case issue
* use address in keypathinfo directly
* rebase fixes
* rebase fixes
* remove duplicate code
* fix messy condition
* fixes
* fix e2e
* fix
2020-01-18 14:12:27 +09:00
nicolas.dorier
7a0991d6b1
Remove CoinAverage integration (2)
2020-01-17 14:30:51 +09:00
nicolas.dorier
5aefb585e9
Fix Serilog logging too much
2020-01-16 14:00:31 +09:00
nicolas.dorier
60e0f775ed
Remove useless dependencies
2020-01-12 16:05:01 +09:00
nicolas.dorier
629dfcf152
Cleanup netcore21 specific code
2020-01-12 13:30:54 +09:00
nicolas.dorier
21f715bfc6
Add runtime razor compilation during debug
2020-01-11 13:12:41 +09:00
nicolas.dorier
a816e37621
Update libs
2020-01-11 13:12:24 +09:00
nicolas.dorier
84fe14a1ed
Test LND Seed Backup service and Logs. Use the Confirm View instead of poppup
2019-11-16 14:06:37 +09:00
Umar Bolatov
0a9290a980
Make recommended fee confirmation target configurable
...
Address #1110
2019-11-06 16:21:33 -08:00
nicolas.dorier
eac4c91820
Move Bitpay authentication class in BTCPayServer.Security
2019-10-19 00:54:20 +09:00
nicolas.dorier
da2e8665a1
Remove unused scope, assert policy on store listing
2019-10-18 23:42:06 +09:00
nicolas.dorier
c5ba063edf
Move OpenId folder
2019-10-18 21:36:32 +09:00
nicolas.dorier
3c9b58916b
Update to OpenIddict3.0
2019-10-18 19:02:23 +09:00
nicolas.dorier
281a2461ad
Refactor authorizations
2019-10-14 00:24:41 +09:00
nicolas.dorier
fda6a1a77b
Use ClaimTransformer instead of Authentication's JWT
2019-10-10 19:46:29 +09:00
nicolas.dorier
40b191ef49
Skip HeadersOverrideMiddleware if on onion
2019-10-10 14:10:01 +09:00
nicolas.dorier
ca17efbc29
Add missing file
2019-10-10 09:49:03 +09:00
nicolas.dorier
5025e0dd4d
Allow xforwardedproto to be override via configuration
2019-10-09 22:26:54 +09:00
nicolas.dorier
0cc2fa962d
Prepare Startup.cs for netcoreapp30
2019-10-07 13:03:50 +09:00
nicolas.dorier
8ba1303968
Move BitpayMiddleware up the stack
2019-10-07 12:43:17 +09:00
nicolas.dorier
3bdc7c102a
Fix Startup in netcoreapp3.0
2019-10-06 16:00:38 +09:00
nicolas.dorier
f9714f0be0
Fix build
2019-10-06 15:54:19 +09:00
nicolas.dorier
536f98b566
Fix entity framework queries to work in netcoreapp3.0
2019-10-06 15:48:12 +09:00
nicolas.dorier
724a5b5460
Prepare code to move to netcoreapp3.0
2019-10-04 17:17:11 +09:00
nicolas.dorier
c9ec0f9d3c
Prepare startup.cs for netcoreapp3.0
2019-10-03 18:46:09 +09:00
nicolas.dorier
e75edac3c1
Make .netcoreapp 3.0 build happy
2019-10-03 18:00:07 +09:00
nicolas.dorier
aaa05eb5ec
Fix build
2019-10-03 17:37:10 +09:00
nicolas.dorier
8d0d80e086
Fix build
2019-10-03 17:14:07 +09:00
nicolas.dorier
4d84343a80
Prepare BTCPayServer for .netcore 3.0
2019-10-03 17:06:49 +09:00
rockstardev
56e85b68d9
Csproj cleanup, reorganizing namespaces, fixing tests
2019-10-02 22:41:53 -05:00