Nicolas Dorier
14da3023d8
Merge pull request #3310 from NicolasDorier/niceurl
...
Use nicer urls, part2 (Fix #921 )
2022-01-17 11:41:20 +09:00
nicolas.dorier
b9fdd54538
Use nicer urls, part2 ( Fix #921 )
2022-01-15 14:54:06 +09:00
Kukks
7243aec213
Support LNURL Auth
2022-01-14 13:26:30 +01:00
nicolas.dorier
23a96c07ae
Rename GreenField -> Greenfield
2022-01-14 13:46:04 +09:00
nicolas.dorier
7a787fc945
Rename UI controllers
2022-01-14 13:46:03 +09:00
Nicolas Dorier
5eebdb6774
Use nicer urls ( Fix #921 ) ( #3304 )
2022-01-14 12:20:50 +09:00
nicolas.dorier
8bea3dd21e
[Greenfield] if some json property are invalid, throw nice error instead of an exception ( fix #2795 )
2022-01-10 22:11:04 +09:00
nicolas.dorier
47d8d3cdb1
Validate the name of controllers when LinkGenerator
2022-01-08 14:16:17 +09:00
nicolas.dorier
88bc1c64d2
Fix tests
2022-01-07 21:47:19 +09:00
nicolas.dorier
81c1cc6728
Add rockstar friendly error 403
2022-01-07 19:46:38 +09:00
nicolas.dorier
ab3aab9c22
Make BTCPayServer works with dotnet watch hot reload
2022-01-01 22:05:51 +09:00
Nicolas Dorier
04b8eafacb
Run dotnet format ( #3244 )
2021-12-31 16:59:02 +09:00
Andrew Camilleri
48ac996d77
Sign in with other device (quick mobile login) ( #2504 )
...
Co-authored-by: Dennis Reimann <mail@dennisreimann.de>
Co-authored-by: Nicolas Dorier <nicolas.dorier@gmail.com>
2021-12-24 09:27:00 +01:00
nicolas.dorier
4f7eeea14e
Greenfield: Improve error message, do not use internal lightning node on store's lightning API
2021-12-16 14:27:34 +09:00
Dennis Reimann
e42ef4b2f8
Plugins: Update startup for plugin compatibility
2021-11-25 10:24:14 +01:00
nicolas.dorier
35aad4ebf9
Remove Logs static singletons
2021-11-23 13:55:34 +09:00
Nicolas Dorier
fc4e47cec6
Add CSP at the website level ( #2863 )
2021-09-09 21:51:28 +09:00
d11n
ed7031981b
Bootstrap v5 migration ( #2490 )
...
* Swap bootstrap asset files
* Update themes and color definitions
* Move general bootstrap customizations
* Theme updates
Theme updates
* Remove BuildBundlerMinifier
This lead to an error, because BuildBundlerMinifier and BundlerMinifier.Core seem to conflict here. Details: https://stackoverflow.com/a/61119586
* Rewplace btn-block class with w-100
* Update badge classes
* Remove old font family head variable
* Update margin classes
* Cleanups
* Update float classes
* Update text classes
* Update padding classes
* Update border classes
* UPdate dropdown classes
* Update select classes
* Update neutral custom props
* Update bootstrap and customizations
* Update ChromeDriver; disable smooth scroll
https://github.com/SeleniumHQ/selenium/issues/8295
* Improve alert messages
* Improve bootstrap customizations
* Disable reduced motion
See also 7358282f
* Update Bootstrap data attributes
* Update file inputs
* Update input groups
* Replace deprecated jumbotron class
* Update variables; re-add negative margin util classes
* Update cards
* Update form labels
* Debug alerts
* Fix aria-labelledby associations
* Dropdown-related test fixes
* Fix CanUseWebhooks test
* Test fixes
* Nav updates
* Fix nav usage in wallet send and payouts
* Update alert and modal close buttons
* Re-add backdrop properties
* Upgrade Bootstrap to v5 final
* Update screen reader classes
* Update font-weight classes
* Update monospace font classes
* Update accordians
* Update close icon usage
* Cleanup
* Update scripts and style integrations
* Update input group texts
* Update LN node setup page
* Update more form control classes
* Update inline forms
* Add js specific test
* Upgrade Vue.js
* Remove unused JS
* Upgrade Bootstrap to v5.0.1
* Try container related test updates
* Separate jQuery bundle
* Remove jQuery from LND seed backup page
* Remove unused code
* Refactor email autofill js
* Refactor camera scanner JS
* Re-add tests
* Re-add BuildBundlerMinifier
* Do not minify bundles containing Bootstrap
Details https://github.com/madskristensen/BundlerMinifier/issues/558
* Update bundles
* Cleanup JS test
* Cleanup tests involving dropdowns
* Cleanup tests involving collapses
* Cleanup locale additions in ConfigureCore
* Cleanup bundles
* Remove duplicate status message
* Cleanup formatting
* Fix missing validation scripts
* Remove unused unminified Bootstrap js files
* Fix classic theme
* Fix Casa theme
* Fix PoS validation
2021-05-19 11:39:27 +09:00
nicolas.dorier
4b30132d06
Make sure BTCPayServer does not take the culture of the server
2021-05-06 20:28:02 +09:00
nicolas.dorier
dcc4214dcb
Make sure model binder error are returning error 422, use DateTimeOffsetModelBinder
2021-04-26 12:37:56 +09:00
Andrew Camilleri
0554565b30
FIDO2/WebAuthN Support ( #2356 )
...
* FIDO2/WebAuthN Support
This adds initial support for WebAuthN/FIDO2 as another MFA mode. U2F is still intact and runs alongside it for now. Once this is merged, I will start work on migrating U2F support to happen over the FIDO2 protocol instead.
* Refactor and future proof system (prep work of seamless u2f migration)
* attempt js fix for mobile devices
* Apply suggestions from code review
Co-authored-by: d11n <mail@dennisreimann.de>
* fix fido name saving
* do not spam logs and hide loader when failed
* PR Changes
* Apply suggestions from code review
Co-authored-by: d11n <mail@dennisreimann.de>
* attempt fido2 bump
* add name if not named for credentials
Co-authored-by: d11n <mail@dennisreimann.de>
2021-04-20 14:06:32 +09:00
Nicolas Dorier
14e6e492dd
Refactor domain mapping ( #2407 )
2021-03-30 11:47:03 +09:00
nicolas.dorier
1fc114fec7
Check the authentication cookie every 5 min rather than 30min
2021-03-23 17:43:13 +09:00
nicolas.dorier
923a567822
Make cookies secure
2021-03-19 20:54:30 +09:00
nicolas.dorier
779f21a1ca
Make sure cookie are HttpOnly
2021-03-19 20:09:55 +09:00
Andrew Camilleri
58d01738ab
More Options refactoring ( #2179 )
...
* More Options refactoring
Continues refactoring config classes to use the propert Options pattern where possible.
DataDirectories and DatabaseOptions are now configured the Options pattern and the BTCPayOptions is now moved alongside the other config setup
* Move COnfigure logic for Options to the Startup
2021-01-06 23:51:13 +09:00
Nicolas Dorier
623347bc48
Add Label and accountKeyPath to the on chain payment methods ( #2166 )
2020-12-28 13:59:01 +01:00
Nicolas Dorier
a6ee64ea63
Remove DB and Directory settings out of the BTCPayServerOptions ( #2168 )
2020-12-27 22:06:00 +09:00
Andrew Camilleri
5979fe5eef
BTCPay Extensions Part 2 ( #2001 )
...
* BTCPay Extensions Part 2
This PR cleans up the extension system a bit in that:
* It renames the test extension to a more uniform name
* Allows yo uto have system extensions, which are extensions but bundled by default with the release (and cannot be removed)
* Adds a tool to help you generate an extension package from a csproj
* Refactors the UI extension points to a view component
* Moves some more interfaces to the Abstractions csproj
* Rename to plugins
2020-10-21 14:02:20 +02:00
Andrew Camilleri
1440e8c55d
BTCPay Server Extensions ( #1925 )
...
* BTCPay Server Extensions

* cleanup
* fix
* Polish UI a bit,detect when docker deployment
2020-10-15 21:28:09 +09:00
nicolas.dorier
5c9d0fd40a
Use razor component to encapsulate UI logic
2020-08-12 16:48:14 +09:00
rockstardev
f88c02cccd
Removing unused usings, readonly fields where possible
2020-06-28 22:07:48 -05:00
rockstardev
b6c7af32de
Cleaning up bom from cs files
2020-06-28 21:44:35 -05:00
nicolas.dorier
51514252b6
Run dotnet format
2020-06-28 17:55:27 +09:00
Andrew Camilleri
5b3b96b372
GreenField: Payment Requests CRUD ( #1430 )
...
* GreenField: Payment Requests CRUD
* fixes
* fix swagger
* fix swag
* rebase fixes
* Add new permissions for payment requests
* Adapt PR to archive
* fix tst
* add to contains policxy
* make decimals returned as string due to avoid shitty language parsing issues
* do not register decimal json converter as global
* fix cultureinfo for json covnerter
* pr changes
* add json convertet test
* fix json test
* fix rebase
2020-05-20 02:59:23 +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
Nicolas Dorier
cc80e4636f
Remove runtime compile on tests ( #1453 )
2020-04-09 23:19:45 +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
Andrew Camilleri
276a9a95f9
Remove OpenIddict ( #1244 )
2020-02-25 00:40:04 +09: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
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
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