d11n
3c80621dac
Add payjoin option to hot wallet setup ( #2450 )
...
* Add payjoin option to hot wallet setup
Enables payjoin by default when creating a hot wallet and offers the user an opt-out.
Test fix
* Display PayJoin option only if it is available
* Test fixes
* Update hot wallet checks
* Test fix after rebase
* Use toggle buttons for enabling options
2021-06-18 10:25:17 +09:00
Nicolas Dorier
6b4ff4ce2c
Merge pull request #2575 from NicolasDorier/refactor/wallet-cleanup
...
Cleanup some old code in wallet setup
2021-06-17 21:20:28 +09:00
Pavlenex
1c440ed36c
Update Maintenance.cshtml ( #2576 )
...
* Update Maintenance.cshtml
* fix BTCPay Server maintenance error
* Rephrase "derivation settings" to "wallet settings"
* Pay button text fix
* rephrase CoinSwitch description
2021-06-17 19:40:08 +09:00
nicolas.dorier
70f56d5920
Encrypt WalletSetupViewModel.Config
2021-06-17 19:26:50 +09:00
nicolas.dorier
8a1d5bbc57
Remove outdated code in UpdateWallet
2021-06-17 16:39:55 +09:00
nicolas.dorier
956370592f
Create a dedicated IsHotwalletProperty in the DerivationSchemeSettings
2021-06-17 15:36:22 +09:00
nicolas.dorier
afd479ac69
Remove the DerivationSchemeViewmodel.Enabled property
2021-06-17 15:08:04 +09:00
nicolas.dorier
39a4be5641
Remove HintAddress
2021-06-17 14:11:01 +09:00
d11n
70fcd053cd
Signing context cleanup ( #2568 )
...
* Signing Context cleanup
Removes extra NBXSeedAvailable property in SigningContext, which got introduced in #2559 . It is not needed since each view model involved already has it.
* Fix button in link
2021-06-15 17:35:23 +09:00
Umar Bolatov
3d21d2724e
Fix bug with LN payment method API endpoint throwing 500 ( #2567 )
...
close #2566
2021-06-14 18:19:52 +09:00
d11n
3c0292f074
Wallet: Signing UI improvements ( #2559 )
...
* Refactoring to generalize wizard layout
* Wallet: Add intermediate signing options view
* Update BTCPayServer/Views/Wallets/WalletSigningOptions.cshtml
Co-authored-by: britttttk <39231115+britttttk@users.noreply.github.com>
* Skip signing options for hot wallets
* Update signing options wordings, add PSBT doc link
* Fix test
* Remove form route params
* Use decode command for PSBT
Co-authored-by: britttttk <39231115+britttttk@users.noreply.github.com>
2021-06-14 14:06:56 +09:00
nicolas.dorier
371acc84a8
Do not retrieve all payouts in GetPullPayment every time
2021-06-10 18:54:27 +09:00
Andrew Camilleri
cd9feccf6e
Mark Payouts as Paid ( #2539 )
...
* Mark Payouts as Paid
This PR allows users to mark payouts as paid manually through the UI and through the API. It also sets up the payout proof system to be able store a manual proof that will in a later PR allow you to specify a proof of payment (link or text)
* add docs, test and greenfield client
* remove extra docs stuff
* Update BTCPayServer.Tests/GreenfieldAPITests.cs
Co-authored-by: britttttk <39231115+britttttk@users.noreply.github.com>
* clean up pull payment/payouts fetch code
* Ensure payoutis are retrieved with pull payment
Co-authored-by: britttttk <39231115+britttttk@users.noreply.github.com>
2021-06-10 18:43:45 +09:00
Nicolas Dorier
e93b030bfe
Update HWI library, warn users to run newer version ( #2544 )
...
* Update HWI library, warn users to run newer version
* Update BTCPayServer/wwwroot/js/vaultbridge.ui.js
Co-authored-by: Zaxounette <51208677+Zaxounette@users.noreply.github.com>
* Update BTCPayServer/wwwroot/js/vaultbridge.ui.js
Co-authored-by: Pavlenex <pavle@pavle.org>
Co-authored-by: Zaxounette <51208677+Zaxounette@users.noreply.github.com>
Co-authored-by: Pavlenex <pavle@pavle.org>
2021-06-06 21:02:15 +09:00
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