nicolas.dorier
cf7c3c2bf7
LightningSupportedPaymentMethod.CryptoCode is never null
2021-06-14 18:22:00 +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
Bjarne Magnussen
e4f298acac
Set lightning invoice fallback in QR code as uppercase ( #2492 )
...
* Set lightning invoice fallback in QR code as uppercase
On the lightning payment view the invoice is encoded as uppercase inside the QR code; however this is not true for the on-chain payment QR code if the invoice is set as fallback option.
This commit sets the fallback invoice as uppercase inside the QR code.
* Adds test case for uppercase fallback lightning invoice
* Apply suggestions from rockstar's review
Co-authored-by: Kukks <evilkukka@gmail.com>
2021-06-08 12:24:17 +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
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
Andrew Camilleri
778a0f7e8d
Fix: Lightning Listener not listening on Lightning payment after activating when using lazy payments ( #2524 )
2021-05-14 17:17:07 +09:00
Nicolas Dorier
c551e5cd0a
Make sure to only select accounted payments where we should ( #2523 )
2021-05-14 16:16:19 +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
Andrew Camilleri
8fd4a816a6
Allow Payjoin for wallet receive addresses ( #2425 )
...
* Allow Payjoin for wallet receive addresses
* wip
* show bip21 and additional work
* style better
* add to docs
* pr changes
* remove from state when unreserved
2021-04-13 12:26:36 +09:00
xpayserver
475809b1a0
Make Invoice Create Faster And Fix Gap Limit Issue ( #1843 )
...
* Make Invoice Create Faster And Fix Gap Limit Issue
This make address reserve only when user "activate" paymet method in ui. optional setting in store checkout ui.
* Fix swagger documentation around Lazy payment methods
* fix changed code signature
* Add missing GreenField API for activate feature
* Fix checkout experience styling for activate feature
* Fix issue with Checkout activate button
* Make lightning also work with activation
* Make sure PreparePaymentModel is still called on payment handlers even when unactivated
* Make payment link return empty if not activated
* Add activate payment method method to client and add test
* remove debugger
* add e2e test
* Rearranging lazy payments position in UI to be near dependent Unified QR code
* fix rebase conflicts
* Make lazy payment method mode activate on UI load.
Co-authored-by: Kukks <evilkukka@gmail.com>
Co-authored-by: rockstardev <rockstardev@users.noreply.github.com>
Co-authored-by: Andrew Camilleri <kukks@btcpayserver.org>
2021-04-07 13:08:42 +09:00
nicolas.dorier
a128685b83
If an input already used in a payjoin is reused in another, we should not attempt to broadcast the original transaction.
2021-03-24 13:48:33 +09:00
nicolas.dorier
749d26fafa
Revert "Fix Payjoin test randomly crashing"
...
This reverts commit 485faf0141
.
2021-03-23 23:59:26 +09:00
nicolas.dorier
485faf0141
Fix Payjoin test randomly crashing
2021-03-23 18:34:34 +09:00
nicolas.dorier
af9d896510
Do not use Random
2021-03-23 17:53:23 +09:00
Kukks
ce6c9c91fc
Make sure payment method uppercase logic only happens for BTC
2021-03-20 06:52:18 +01:00
Andrew Camilleri
30c7cbba96
Fix issue around new bech uppercase + vault supported flag ( #2337 )
2021-03-09 12:45:56 +09:00
rockstardev
6b156f2144
Reenabling uppercase BECH32 in QR codes ( #2181 )
...
* Reenabling uppercase BECH32 in QR codes
* Fixing the test now that we're uppercasing BECH32 address
* Implementing Nicolas' feedback
Co-authored-by: rockstardev <rockstardev@users.noreply.github.com>
2021-03-06 13:52:25 +09:00
Nicolas Dorier
4f6ec3aa32
Merge pull request #2325 from btcpayserver/fix/nextnetworkfee-null
...
Returning 0 for NextNetworkFee if it's null
2021-03-02 11:19:43 +09:00
Nicolas Dorier
7e714f1ef8
Refactor how we handle and validate LN ConnectionStrings ( #2314 )
...
* Refactor how we handle and validate LN ConnectionStrings
* Migrate existing connection string to Internal Node if they are the same. Cleanup some obsolete fields
* Fix typos, remove duplicated method
* Add a InternalNodeRef to LightningSupportedPaymentMethod
2021-03-02 11:11:58 +09:00
rockstardev
e65e46f664
NextNetworkFee is not directly initialized, falling back to null check
2021-03-01 09:56:57 -06:00
rockstardev
5e7eb6635f
Initializing NextNetworkFee values if GetFee returns null
2021-03-01 09:33:02 -06:00
Andrew Camilleri
49ae62b02e
Use library for Payjoin Sender ( #2158 )
...
* Use library for Payjoin Sender
* update payjoin sender to use new package and reduce code
* fix using statements
2021-03-01 22:44:53 +09:00
Kukks
71c11b34f4
Make payment type parsing more dynamic
...
fixes bug described in #2297
2021-02-19 08:23:55 +01:00
Dennis Reimann
af5bd89f34
Invoices list: Remove icon indicator for onchain
...
As [discussed on the chat](https://chat.btcpayserver.org/btcpayserver/pl/tcjy5ornhbd8i8jm4yj9y3maie ) the icon feels unnecessary and isn't clear to users. Leaving it off and only indicating Lightning transactions avoids confusion.
2021-01-30 18:53:21 +01:00
nicolas.dorier
f0fc0441bd
Remove useless constant
2020-12-23 14:07:24 +09:00
Andrew Camilleri
69eaaef963
GreenField: Store OnChain Payment Method ( #2157 )
...
* GreenField: Store set payment methods
* add swagger docs
* fix swagger
2020-12-23 14:00:38 +09:00
Nicolas Dorier
0d144d088e
Refactor label implementation ( Fix #2090 ) ( #2123 )
2020-12-12 14:10:47 +09:00
rockstardev
3ac257bfda
Lowercasing the protocol in QR code because it's not widely supported
...
https://github.com/btcpayserver/btcpayserver/issues/2099#issuecomment-738550565
2020-12-03 23:39:18 -06:00
rockstardev
36582a2741
Reverting uppercasing of Bech32 addresses in QR code
2020-12-03 17:30:14 -06:00
nicolas.dorier
18e68d04f9
Rename invoice states and payment states
2020-11-23 18:28:35 +09:00
Kukks
af866939f4
fix merge
2020-11-19 07:34:22 +01:00
Nicolas Dorier
e72becdfcb
Merge branch 'master' into separate-ln-bitcoin-checkout-part2
2020-11-19 12:44:01 +09:00
Nicolas Dorier
4bd97eecc9
Merge pull request #2050 from Kukks/separate-btc-ln-checkout
...
Separate views of Bitcoin and LN
2020-11-19 12:42:17 +09:00
Nicolas Dorier
9c5fd1b478
Merge pull request #2058 from NicolasDorier/webhook2
...
Add Webhooks in store's settings
2020-11-19 12:17:34 +09:00
Dennis Reimann
ec31a4fe17
Improve Lightning node info view ( #2066 )
...
* Cleanups
* Add store name
* Unify js/non-js HTML
2020-11-17 08:57:14 +01:00
nicolas.dorier
94bcbeb604
Add Greenfield API
2020-11-13 14:15:03 +09:00
rockstardev
35e45333b1
Uppercasing destination address in QR code if it's Bech32
2020-11-09 23:57:48 -06:00
rockstardev
f17a6f13a4
Adding uppercasing of BITCOIN: scheme
2020-11-09 23:46:31 -06:00
rockstardev
c581b80132
ToUpper for lightning invoice part of unified QR code
...
Ref: https://github.com/btcpayserver/btcpayserver/pull/2060#issuecomment-723828348
2020-11-09 02:05:17 -06:00
rockstardev
6aa9122160
By convention ln invoices are usually lowercase
2020-11-09 01:14:28 -06:00
rockstardev
3c6992e910
Adding lightning invoice fallback to onchain bitcoin url if enabled
2020-11-09 00:23:09 -06:00
rockstardev
7f79d16f02
Code cleanup of used classes
2020-11-08 23:56:39 -06:00
Kukks
e021d42551
Ensure that there is no LN/Bitcoin specific logic in the Invoice UI endpoint
2020-11-06 11:09:17 +01:00
Kukks
a729dd1380
Separate views of Bitcoin and LN
2020-11-06 09:35:26 +01:00
nicolas.dorier
d8f9075e2a
Fix NRE
2020-10-30 00:19:23 +09:00
nicolas.dorier
4520e1bb3e
Fix potential NRE in polling
2020-10-29 23:17:46 +09:00
nicolas.dorier
b9ca02088d
Make a batch query for all pending invoice ( Fix #2022 )
2020-10-28 23:21:46 +09:00
nicolas.dorier
440ce0221a
Revert "Add thread limit for updating payment states for payment invoices in NBXplorerListener"
...
This reverts commit 5d9827fb60
.
2020-10-28 23:07:30 +09:00
nicolas.dorier
caff7eda9f
Revert "Add missing async/await keywords"
...
This reverts commit 8d0260b644
.
2020-10-28 23:07:27 +09:00
Igor Rylko
8d0260b644
Add missing async/await keywords
2020-10-27 21:17:56 +02:00