Andrew Camilleri
9ecd27dc85
Merge pull request #2474 from bolatovumar/feat/test-webhooks
...
Add ability to send test webhook call
2021-06-04 13:01:57 +02:00
Kukks
28da78fc78
Improve tests and small refactoring
2021-06-04 12:20:45 +02:00
Umar Bolatov
bc33b32522
Add delivery ID to test webhook succes message
2021-06-03 21:16:27 -07:00
Umar Bolatov
4671f08b64
Augment webhook test error message
2021-06-03 21:16:26 -07:00
Umar Bolatov
9f6f74df59
Show success/error message after sending test webhook
2021-06-03 21:16:26 -07:00
Umar Bolatov
7cf6c97d3f
Return view after webhook test POST call
2021-06-03 21:16:25 -07:00
Umar Bolatov
2262acf12b
Add ability to send test webhook call
2021-06-03 21:16:24 -07:00
Umar Bolatov
8731055786
Use UserNotFound instead of NotFound
2021-06-02 20:02:31 -07:00
Umar Bolatov
be05b6aa90
Specify correct return type on delete user methods
2021-06-02 20:02:31 -07:00
Umar Bolatov
0b4d94faf2
Remove unnecessary null check
2021-06-02 20:02:30 -07:00
Umar Bolatov
9f8f677125
Remove unused IsAdmin method
2021-06-02 20:02:30 -07:00
Umar Bolatov
949d6bf584
Replace admin check with CanModifyServerSettings authorization policy
2021-06-02 20:02:30 -07:00
Umar Bolatov
9fc2d2b76b
Remove CanDeleteUser constraint from "/api/v1/users/{userId}" endpoint
2021-06-02 20:02:29 -07:00
Umar Bolatov
d9935ada9d
Add "/api/v1/users/me" endpoint
2021-06-02 20:02:29 -07:00
Umar Bolatov
b4076b53e8
Add IsAdminUser method to UserService
2021-06-02 20:02:28 -07:00
Umar Bolatov
53c81918a5
Enable nullable reference checking in UsersController
2021-06-02 20:02:28 -07:00
Umar Bolatov
104092702a
Simplify DeleteUser method
2021-06-02 20:02:27 -07:00
Umar Bolatov
2ed8341403
Add IsRoleAdmin to user service
2021-06-02 20:02:26 -07:00
Umar Bolatov
e5a196918f
Add user service
2021-06-02 20:02:26 -07:00
Umar Bolatov
907ae760e0
Add CanDeleteUser policy
2021-06-02 20:02:25 -07:00
Umar Bolatov
fe107cd23f
Add DELETE action for api/v1/users endpoint
2021-06-02 20:02:22 -07:00
Dennis Reimann
a830c1e812
Use ~ prefix for local PoS image references
2021-06-01 14:34:06 +02:00
Dennis Reimann
8eb85acb88
Self-host PoS sample images
...
As brought up in #2447 and previously been worked on in #1039 .
2021-06-01 14:34:06 +02:00
Andrew Camilleri
3b375929c1
Support wider server sync info in greenfield server info ( #2511 )
...
fixes #2498
2021-05-19 13:07: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
c551e5cd0a
Make sure to only select accounted payments where we should ( #2523 )
2021-05-14 16:16:19 +09:00
Nicolas Dorier
2961a2ed53
Merge pull request #2506 from Kukks/fix-pay-button-steps
...
Fix Pay Button steps and range validation
2021-05-13 17:33:34 +09:00
Wouter Samaey
06fef563e3
Fixed 2 typos ( #2514 )
...
* Fixed 2 typos
* Update BTCPayServer/Controllers/ManageController.APIKeys.cs
Co-authored-by: Zaxounette <51208677+Zaxounette@users.noreply.github.com >
* Update BTCPayServer/Controllers/ManageController.APIKeys.cs
Co-authored-by: Zaxounette <51208677+Zaxounette@users.noreply.github.com >
Co-authored-by: Zaxounette <51208677+Zaxounette@users.noreply.github.com >
2021-05-07 18:51:10 +02:00
Kukks
200e8330d8
Fix Pay Button steps and range validation
...
There were numerous issues around different button types and the amount range validation. Also fixes #2503
2021-05-05 11:27:02 +02:00
Andrew Camilleri
4e1b18e2bb
do not crash invoice if wellknown metadata keys used with different e… ( #2448 )
...
* do not crash invoice if wellknown metadata keys used with different expected types
* fix
* add bits from alt PR
2021-04-28 16:49:10 +09:00
Andrew Camilleri
5fe3c1c61f
U2fremove ( #2496 )
...
* Remove U2F support and JS
* fix final changes
* fix more final stuff
2021-04-28 16:22:09 +09:00
nicolas.dorier
5f9ef0ff62
Greenfield: Human friendly error if webhook or delivery not found
2021-04-27 15:38:42 +09:00
nicolas.dorier
dcc4214dcb
Make sure model binder error are returning error 422, use DateTimeOffsetModelBinder
2021-04-26 12:37:56 +09:00
Saker Omera
ded55a1440
customized api/v1/invoices query parameters to filter results ( #2461 )
...
* customized api/v1/invoices query parameters to filter results
* customized api/v1/invoices query parameters to filter results
* update swagger and make parameters as arrays
* change startDate and endDate types to UnixTimestamp
* update invoice status type in swagger and better handle dateTimeoffset
* change status type to array of InvoiceStatus to match controller
* change status type to array of InvoiceStatus to match controller
Co-authored-by: somera <somera@tesla.com >
2021-04-26 11:32:44 +09:00
Dennis Reimann
bbe621109f
Lightning setup redesign
2021-04-20 12:09:27 +02:00
Nicolas Dorier
b6bd7cce6d
Merge pull request #2446 from NicolasDorier/fweihnq
...
Give better error for greenfield API
2021-04-20 18:25:10 +09:00
nicolas.dorier
a7cbb3941a
Give better error for greenfield API
2021-04-20 18:21:26 +09:00
Dennis Reimann
962c80fff8
Remove permission check
...
Ensured via the controller, see https://github.com/btcpayserver/btcpayserver/pull/2469#discussion_r616289628
2021-04-20 09:10:23 +02:00
Dennis Reimann
aef06c7f61
Wording updates
...
Thanks @Zaxounette!
2021-04-20 09:09:32 +02:00
Nicolas Dorier
b2ff64733d
Update BTCPayServer/Controllers/StoresController.Onchain.cs
...
Co-authored-by: Zaxounette <51208677+Zaxounette@users.noreply.github.com >
2021-04-20 09:03:39 +02:00
Dennis Reimann
5fda21373e
Move enabling toggle to store overview
2021-04-20 09:03:37 +02: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
9b50e85d0d
Merge pull request #2455 from btcpayserver/feat/improving-files-page
...
Improving File Storage page
2021-04-20 11:06:14 +09:00
Andrew Camilleri
7d1761de4f
Coin Selection: Confirmed filter ( #2467 )
...
Allows provides confirmation count to Greenfield UTXO GET api
2021-04-20 11:02:06 +09:00
rockstardev
04a29ece3b
Only display storage providers that can actually be set in dropdown
2021-04-18 14:03:22 -05:00
rockstardev
8f6048191d
Improving navigation between files and storage services and rewording info text
2021-04-18 13:42:17 -05:00
Umar Bolatov
475a68924e
Allow accessing "misc/lang" endpoint with Greenfield auth schemes ( #2471 )
...
closes #2437
2021-04-18 11:22:50 +09:00
Nicolas Dorier
c0a544351b
Can disable the modification of SSH settings in BTCPay Server ( #2468 )
...
* Can disable the modification of SSH settings in BTCPay Server
* Update BTCPayServer/Controllers/ServerController.cs
Co-authored-by: Zaxounette <51208677+Zaxounette@users.noreply.github.com >
* Update BTCPayServer/Controllers/ServerController.cs
Co-authored-by: Zaxounette <51208677+Zaxounette@users.noreply.github.com >
* Update BTCPayServer/Views/Server/SSHService.cshtml
Co-authored-by: Zaxounette <51208677+Zaxounette@users.noreply.github.com >
Co-authored-by: Zaxounette <51208677+Zaxounette@users.noreply.github.com >
2021-04-17 13:29:50 +09:00
nicolas.dorier
e1df1c255a
Add user id in log when log in
2021-04-15 11:19:06 +09:00
Andrew Camilleri
64e34d0ef5
Seaparate CoinSwitch as a plugin ( #2390 )
...
* Separate coinswitch as a system plugin
* Decouple Coinswitch from Checkout UI
* remove dummy csproj
* Remove CoinSwitchTests.cs per @NicolasDorier feedback
Co-authored-by: rockstardev <rockstardev@users.noreply.github.com >
2021-04-13 20:19:48 +09:00