Commit graph

8193 commits

Author SHA1 Message Date
nicolas.dorier
d4b96d4132
Update default translations 2025-03-08 21:52:16 +09:00
nicolas.dorier
37438b6d99
Bump 2025-03-08 21:50:43 +09:00
rockstardev
9dcf8d3251
Display fiat amount previews in Transaction Details page (#6610)
* Code cleanup

* Preparing model to include data needed for fiat display

* Displaying fiat amount and allowing switching between it and BTC

* Restoring parts removed by vibe coding

* Making ToFiatAmount method work for in wider variety of cases

* Tweaks for display and negative values

* Calculating amounts on serverside and simplifying

* Fix warnings

---------

Co-authored-by: nicolas.dorier <nicolas.dorier@gmail.com>
2025-03-08 21:33:19 +09:00
nicolas.dorier
71dbfd9f28
Fix warning 2025-03-06 22:30:11 +09:00
nicolas.dorier
d8e3d8b50b
Update Langs 2025-03-06 22:28:30 +09:00
ThiagoOyo
9bff84f90f
Fix: Archived invoices shouldn't be browsable by non authenticated users (#6588)
* fix: return 403 when unauthenticated user accesses an archived invoice receipt

* refactor: simplify archived invoice access check with pattern matching

* Return 404 for unauthorized users accessing archived invoice

Co-authored-by: d11n <mail@dennisreimann.de>

* feat: add archived invoice validation for unauthenticated access in Checkout and GetStatus

* test: add test case for unauthorized access to archived invoice returning not found

* test: add unauthorized checkout test for archived invoice

* Commenting code and adding test case for GetStatus

---------

Co-authored-by: d11n <mail@dennisreimann.de>
Co-authored-by: rockstardev <5191402+rockstardev@users.noreply.github.com>
2025-03-06 17:45:53 +09:00
rockstardev
7b4fd0e40c
Merge pull request #6613 from btcpayserver/refact-email
Refactor email endpoints
2025-03-05 23:54:55 -06:00
rockstardev
2d21e3b26b
Final fixes 2025-03-05 22:49:07 -06:00
rockstardev
70c2fc0a9e
Fixing bug on password not being cleared 2025-03-05 22:49:07 -06:00
rockstardev
1da2cedffd
Reverting changes, validate email only if it was provided 2025-03-05 22:49:07 -06:00
rockstardev
18852af241
Refactoring and commenting 2025-03-05 22:49:06 -06:00
rockstardev
746a8cf6e1
Getting fast tests to pass 2025-03-05 22:49:06 -06:00
rockstardev
8094800cfc
IsMailboxAddress already checks for null, simplifying code 2025-03-05 22:49:06 -06:00
nicolas.dorier
be8ecb823e
Refactor email endpoints 2025-03-05 22:49:06 -06:00
d11n
78f33f0ca4
UI: Allow iframe context to get defined by opener (#6615)
The CSS to hide certain elements in the iframe context was introduced in #6574.

The mechanism to define the iframe context is now shifted to the opener, so that we can limit that behaviour to the mobile app.

Closes #6614.
2025-03-03 22:27:49 +09:00
rockstardev
a7e3cbb105
Adding endpoint to set server email settings (#6601)
* Adding endpoint in Greenfield to allow server email settings

* Adding related swagger file

* Refactoring EmailSettingsData to be more readable

* Adding server email masking

* Adding tests

* Update BTCPayServer/wwwroot/swagger/v1/swagger.template.serveremail.json

Co-authored-by: d11n <mail@dennisreimann.de>

* Masking smtp server email returned over greenfield api and test

* Retaining password if password mask is used

* Remove magic string *****

* Flatten request for server's settings. Fix bug on shared setting instances

* Remove useless doc

* Simplify code

* Fix Store Email settings page

---------

Co-authored-by: d11n <mail@dennisreimann.de>
Co-authored-by: nicolas.dorier <nicolas.dorier@gmail.com>
2025-02-27 15:59:17 +09:00
rockstardev
8b5c5895f0
Selenium tests for Multisig on server (#6487)
* Adding MultisigTests

* Adding fetching of receive address and creating pending transaction

* Completing multisig test flow

* Reverting Selenium ChromeDriver version

* Adding generation of PSBTs

* Removing unnecessary lines

* PSBT test signing now working with multisig dervation scheme

* Updating SignTestPSBT test

* Reducing number of iterations for test funding, to speed up tests

* Bugfixing PSBT problem

* Ensuring that PSBT signing also works for pending transactions

* Ensuring we don't collect count duplicate signatures for same PSBTs

* Resolving bug in PendingTransactionService where Combine was modifying object

* Fixing bug where pending transaction was not broadcased if there was ReturnUrl

* Finally finishing Multisig Selenium test flow with signing PSBTs, broadcasting and cancelling them

* Small nit, waiting loaded element

* Nit: Use AssetElementNotFound

* Fix warning

* Remove code dups

---------

Co-authored-by: nicolas.dorier <nicolas.dorier@gmail.com>
2025-02-25 14:39:57 +09:00
Dennis Reimann
9d5baabc2c
UI: Fix spacing of Lightning Address info on invoice details page 2025-02-19 09:38:12 +01:00
rockstardev
a7e910f7ff
Merge pull request #6602 from btcpayserver/feat/lnd-0.18.5
Bumping LND to 0.18.5-beta
2025-02-18 23:36:32 -05:00
rockstardev
148e31721b
Bumping LND to 0.18.5-beta in all yml files we've got 2025-02-18 22:17:24 -06:00
rockstardev
df16ad6418
Bumping LND to 0.18.5-beta 2025-02-18 22:09:55 -06:00
nicolas.dorier
1c8ded9362
Simple nullability fix for StoreRepo.UpdateSettings 2025-02-15 10:18:22 +09:00
Nicolas Dorier
9e58a50dfd
Merge pull request #6598 from dennisreimann/dashboard-remove-store-name
Dashboard: Remove store name headline
2025-02-11 14:25:06 +09:00
Nicolas Dorier
63750d69c4
Merge pull request #6596 from dennisreimann/fix-6592
Forms: Properly support checkbox type
2025-02-11 14:24:16 +09:00
Nicolas Dorier
cf6a356e08
Merge pull request #6597 from dennisreimann/fix-6590
Lightning Address: Display validation messages on failed creation
2025-02-11 14:23:21 +09:00
Dennis Reimann
1c6657b8b4
Dashboard: Remove store name headline
Saves some space and isn't really necessary as the current store name is also visible in the sidebar.
2025-02-10 18:47:20 +01:00
Dennis Reimann
32f1d5ea1d
Lightning Address: Display validation messages on failed creation
Fixes #6590.
2025-02-10 15:27:36 +01:00
Dennis Reimann
1d44cad847
Forms: Remove unsupported input types 2025-02-10 15:08:58 +01:00
Dennis Reimann
88d8d1b848
Forms: Properly support checkbox type
Fixes #6592.
2025-02-10 15:08:03 +01:00
Nicolas Dorier
df82860ada
Merge pull request #6594 from NicolasDorier/bump-nbx
Bump NBX
2025-02-10 16:00:36 +09:00
Nicolas Dorier
b184067df7
Merge pull request #6595 from NicolasDorier/replacement-log
If an On-Chain payment get replaced, log it in invoice logs rather than console
2025-02-10 15:46:19 +09:00
nicolas.dorier
31c1d4795f
If an On-Chain payment get replaced, log it in invoice logs rather than console 2025-02-10 15:29:38 +09:00
nicolas.dorier
e59684fc6a
Bump NBX 2025-02-10 15:26:35 +09:00
Nicolas Dorier
ddea59cb1b
Merge pull request #6589 from NicolasDorier/refactbackreturn
Refactor: Remove cshtml duplication for back/url buttons in wizards
2025-02-07 17:13:04 +09:00
nicolas.dorier
c37584328b
Refactor: Remove cshtml duplication for back/url buttons in wizards 2025-02-07 16:57:50 +09:00
Nicolas Dorier
60b317a972
Merge pull request #6580 from reneaaron/fix/remove-lnurl-desc-hash-check
Remove LNURL description hash check
2025-02-06 19:02:42 +09:00
Dennis Reimann
4fbcd89bb6
Only change opacity of amount 2025-02-06 17:27:09 +09:00
René Aaron
039e613524 fix: remove lnurl description hash check 2025-01-28 14:57:44 +01:00
nicolas.dorier
192d339a79
Fix: Wallet's transaction had null blockhash on greenfield 2025-01-28 14:42:06 +09:00
Nicolas Dorier
7faf95552a
Merge pull request #6577 from NicolasDorier/fartcoin
Fix: Invalid currency pair (FARTCOIN_USDC) may show in the logs when using kraken rate provider
2025-01-24 22:58:16 +09:00
nicolas.dorier
bc1a1cf34f
Fix: Invalid currency pair (FARTCOIN_USDC) may show in the logs when using kraken rate provider 2025-01-24 21:56:20 +09:00
Nicolas Dorier
9f4acdf8be
Merge pull request #6576 from dennisreimann/fix-unconf
UI: Display unconfirmed transactions with lower opacity
2025-01-24 21:00:58 +09:00
Dennis Reimann
8fc4aefa8f
UI: Display unconfirmed transactions with lower opacity
Fixes a regression introduced in #6190 and also adds this display style to the dashboard list of recent transactions.
2025-01-24 10:08:14 +01:00
nicolas.dorier
ba8feeddd9
Update translations 2025-01-22 00:11:48 +09:00
nicolas.dorier
4e57d27cc8
Bump and changelog 2025-01-22 00:03:51 +09:00
Nicolas Dorier
580518e5aa
Merge pull request #6572 from dennisreimann/mwb-integration-plugin
Plugins: Convert relative to absolute path when loading a plugin
2025-01-21 23:54:14 +09:00
Nicolas Dorier
81cd51cc66
Merge pull request #6570 from btcpayserver/fix-get-store-payment
Fix: Incorrect enabled value for v1/stores/{storeId}/payment-methods/{paymentMethod}
2025-01-21 23:52:18 +09:00
d11n
499ddbde65
Dashboard: Fix Lightning balance display for tiny amounts (#6573)
Fixes #6541.
2025-01-21 23:51:31 +09:00
d11n
20e8db7307
App: Allow receipt to be shown in iframe (#6574)
Also detects if the checkout page is shown within an iframe and hides the back to store link in that case.
2025-01-21 23:50:27 +09:00
nicolas.dorier
8e927eee73
Better validation of inputs when setting on-chain payment method by API 2025-01-21 23:37:56 +09:00