Andrew Camilleri
9b0d1a23dc
Decouple Pull payment from wallets ( #2987 )
...
* Decouple Pull payments from wallet
* Update _Nav.cshtml
* Fixes
2021-10-22 11:17:40 +09:00
Nicolas Dorier
262798d577
Refactor by adding extension FindPayoutHandler ( #2984 )
2021-10-18 15:00:38 +09:00
Andrew Camilleri
cf206e64a7
Add Lightning payout support ( #2517 )
...
* Add Lightning payout support
* Adjust Greenfield API to allow other payment types for Payouts
* Pull payment view: Improve payment method select
* Pull payments view: Update JS
* Pull payments view: Table improvements
* Pull payment form: Remove duplicate name field
* Cleanup Lightning branch after rebasing
* Update swagger documnetation for Lightning support
* Remove required requirement for amount in pull payments
* Adapt Refund endpoint to support multiple playment methods
* Support LNURL Pay for Pull Payments
* Revert "Remove required requirement for amount in pull payments"
This reverts commit 96cb78939d43b7be61ee2d257800ccd1cce45c4c.
* Support Lightning address payout claims
* Fix lightning claim handling and provide better error messages
* Fix tests
Co-authored-by: Dennis Reimann <mail@dennisreimann.de>
2021-10-18 12:37:59 +09:00
d11n
86956c1e7b
More CSP fixes ( #2955 )
...
* Fix CSP issue with time format switch on wallet transactions page
* Fix CSP issue with invoice modal link on invoices list page
* Fix CSP issue on FIDO2 auth page
* Fix JS error on FIDO2 auth page
* Minor UI code improvements
2021-10-10 15:52:39 +09:00
d11n
4321cbf41a
Coin selection improvements ( #2956 )
...
* Improve coin selection toggling
* Improve coin selection display
Fixes #2948 .
* Improve remove destination button
* Display hide unconfirmed only if there are any unconfirmed UTXOs
* Improve label styles
* Test fix
* Add top margin for non-JS coin selection
2021-10-09 10:39:34 +09:00
Nicolas Dorier
89fd044b00
Replace pruning wallet by wipe transactions ( #2857 )
2021-10-07 16:54:22 +09:00
d11n
143d5f69c1
Fix CSP for inline handlers in Safari ( #2946 )
...
* Fix CSP for inline handlers on LND seed backup page
* Fix CSP for inline handlers on checkout page
* Fix CSP for inline handlers on wallet sign pages
* Fix CSP for inline handlers on invoices list page
* Fix CSP for inline handlers on payouts page
* Fix CSP for inline handlers on confirm API key page
* Fix CSP for inline handlers on store rates page
* Fix CSP for inline handlers on notifications page
* Fix CSP for inline handlers on dynamic DNS page
* Fix CSP for inline handlers on checkout experience page
2021-10-05 15:52:14 +09:00
Dennis Reimann
8249d8a0f5
Fix indentation in view
2021-10-04 17:10:07 +02:00
Max Dignan
234bc30369
Update in adherence to the design
2021-10-04 17:10:07 +02:00
Max Dignan
b7a081b9a4
Show total balances for each currency on List Wallets Page
2021-10-04 17:10:07 +02:00
Dennis Reimann
e1ea7200cf
Fix FAQ links
...
Once more (and for the last time ;)) those linsk changed in btcpayserver/btcpayserver-doc#967
2021-10-04 13:42:31 +02:00
Dennis Reimann
6048a26511
Fix documentation links
...
Some links changed with the recent docs restructuring. I've also added recirects for these on the docs side now.
2021-10-01 18:18:54 +02:00
Kukks
7aa4cd8104
Plugins: Pass the current Model to the Ui extension points
2021-09-27 14:16:38 +02:00
nicolas.dorier
920955657d
Fix camera not working on wallet send ( Fix #2922 )
2021-09-27 10:32:03 +09:00
nicolas.dorier
7f40698bba
Fix interactive XSS when entering javascript: in store's website.
2021-09-10 10:56:48 +09:00
d11n
06db29dd43
Delete confirmation modals ( #2614 )
...
* Refactor confirm view: separate modal
* Add delete confirmation modals for apps and FIDO2
* Add delete confirmation modals for 2FA actions
* Add delete confirmation modals for api keys and webhooks
* Add delete confirmation modals for stores and store users
* Add delete confirmation modals for LND seed and SSH
* Add delete confirmation modals for rate rule scripting
* Test fixes and improvements
* Add delete confirmation modals for dynamic DNS
* Add delete confirmation modals for store access tokens
* Add confirmation modals for pull payment archiving
* Refactor confirm modal code
* Add confirmation input, update wording
* Update modal styles
* Upgrade ChromeDriver
* Simplify and unify confirmation input
* Test fixes
* Fix wording
* Add modals for wallet replace and removal
2021-09-07 11:55:53 +09:00
Dennis Reimann
abb68d6f59
Improve fee rate component
2021-09-02 12:36:02 +02:00
Dennis Reimann
83b07e0caf
Refactor tables, remove old customizations
2021-09-02 12:36:02 +02:00
Dennis Reimann
3343738bb3
Remove back links to POSTed pages
2021-09-02 10:39:35 +02:00
Dennis Reimann
373b0b7850
Remove superfluous export command
2021-09-02 10:39:35 +02:00
Dennis Reimann
aa24da72b9
Improve raw export options
2021-09-02 10:39:35 +02:00
Dennis Reimann
aecc5f3c6e
Update wording
2021-09-02 10:39:35 +02:00
Dennis Reimann
3d4ef48ceb
View cleanup
2021-09-02 10:39:35 +02:00
Dennis Reimann
9bb74a17d8
Refine views and use cases
2021-09-02 10:39:35 +02:00
Dennis Reimann
b654dfb237
Cleanup initial PSBT input view
2021-09-02 10:39:35 +02:00
Dennis Reimann
bf5ea23bc6
Streamline views
2021-09-02 10:39:35 +02:00
Dennis Reimann
b4c1f695a8
Remove psbt ready view
...
The transaction info is now shown on the decoded PSBT page.
2021-09-02 10:39:35 +02:00
Dennis Reimann
de3d966835
WIP
2021-09-02 10:39:35 +02:00
Dennis Reimann
bcdb1ab1d8
Improve review/broadcast flow and fix test
2021-09-02 10:39:35 +02:00
Dennis Reimann
63944792b0
Move signing views into wizard
2021-09-02 10:39:35 +02:00
Dennis Reimann
3895b133a3
Move PSBT flow into wizard
2021-09-02 10:39:35 +02:00
Dennis Reimann
4371b81ef3
Adjust existing PSBT views for consistency
2021-09-02 10:39:35 +02:00
Dennis Reimann
cd93a5ab6b
Add separate signing flow for PSBT
2021-09-02 10:39:35 +02:00
nicolas.dorier
19b88fd986
Fix: Impossible to send to two more than two destination ( Fix #2825 )
2021-08-31 15:23:56 +09:00
d11n
97d16523b5
Wallet send UI improvements ( #2750 )
...
* Remove autocompletion for output fields
* Use consistent wording for available balance
* Set min value and hide number spins for amount inputs
* Move add destination button to destination input field
* Fix fiat amount display for multiple destinations case
* Improve display of multiple destinations
* Fix formatting
2021-08-04 20:58:46 +09:00
Nicolas Dorier
1b85ab8b54
Improve UI of immature balance, show available balance in wallet list ( #2732 )
2021-08-01 22:13:12 +09:00
Manan Sharma
906c7eb7ec
Show Immature Balance in walletsend page ( #2731 )
...
* Wallet Send page also shows immature balance
* changes ans to and
* Immature Balance msg is not tooltip
* Make msg more clear
2021-08-01 21:12:00 +09:00
Dennis Reimann
ad8f347989
Refactoring: Allow ViewsRazor extension to be used by plugins
...
Moves the `ViewsRazor` extension into Abstractions, so that it can be used by plugins.
Separated out of #2701 , prerequisite for the LNbank plugin integration.
2021-07-30 08:27:33 +02:00
Dennis Reimann
0054fe0886
Refactor copy to clipboard
...
Separated out of #2701 , prerequisite for the LNbank plugin integration.
2021-07-28 08:44:32 +02:00
Andrew Camilleri
04726b3ee4
Payouts: Detect External OnChain Payouts ( #2462 )
...
* Refactor and decouple Payout logic
So that we can support lightning + external payout payments
Fixes & refactoring
almost there
final
Remove uneeded payment method checks
Refactor payouts to handle custom payment method specific actions
External onchain payments to approved payouts will now require "confirmation" from the merchant that it was sent by them.
add pill tabs for payout status
* Improve some UX around feature
* add test and some fixes
* Only listen to address tracked source and determine based on wallet get tx call from nbx
* Simplify isInternal for Payout detection
* fix test
* Fix Noreferrer test
* Make EnsureNewLightningInvoiceOnPartialPayment more resilient
* Make notifications section test more resilient in CanUsePullPaymentsViaUI
2021-07-16 09:57:37 +02:00
Wouter Samaey
f1a222fbb3
New unit test to scan for external links/forms and if they have rel="noreferrer noopener" ( #2668 )
...
* Unit test to check for (possibly) external links
* Add rel="noreferrer noopener" to all external links so unit test passes
* Update BTCPayServer.Tests/UnitTest1.cs
Co-authored-by: Andrew Camilleri <evilkukka@gmail.com>
* Update BTCPayServer.Tests/UnitTest1.cs
Co-authored-by: Andrew Camilleri <evilkukka@gmail.com>
* Fixed bad merge from master
* PascalCasing
Co-authored-by: Andrew Camilleri <evilkukka@gmail.com>
2021-07-06 10:35:42 +02:00
Andrew Camilleri
6c856aba48
Introduce Server paging for Payouts List ( #2564 )
...
* Introduce Server paging for Payouts List
* Add paging params
* Minor code and formatting improvements
* View updates
* Apply suggestions from code review
Co-authored-by: Zaxounette <51208677+Zaxounette@users.noreply.github.com>
* fix tests
Co-authored-by: Dennis Reimann <mail@dennisreimann.de>
Co-authored-by: Zaxounette <51208677+Zaxounette@users.noreply.github.com>
2021-06-30 16:59: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
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
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
d11n
64a7abe53a
Bootstrap migration fixups ( #2534 )
...
* Remove xxl breakpoint
* Remove code bg
* Form updates
* Update PoS accordion
* Update forms
* Fix webhook password toggle
* Update highlight js styles
* Page updates
* Style unformatted checkboxes
* Fix typo
* Update accordions
* Update policies domain mapping
* Update toggles and checkboxes
* Update storage pages
* Fix specter logo filename casing
* Update checkout experience view
* Update webhook view
* Re-add used negative margins
* Update bootstrap
* POS layout fixes
* Decrease size of info icon in main headline
* Update BTCPayServer/Views/Stores/ModifyWebhook.cshtml
Co-authored-by: britttttk <39231115+britttttk@users.noreply.github.com>
Co-authored-by: britttttk <39231115+britttttk@users.noreply.github.com>
2021-06-06 20:44:54 +09:00
Kukks
cbec44bb73
Fix QR Code shower
2021-05-30 10:38:21 +02: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
d11n
452915478b
UI: Fix duplicate status messages ( #2481 )
...
The status message is included in the NavLayout, hence the pages that use this layout should not include the status message.
Fixes #2478 .
2021-04-20 16:16:21 +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