Commit Graph

2822 Commits

Author SHA1 Message Date
rockstardev
d2debaa842 Adding Reference Number to Payment Requests 2025-04-16 09:39:29 +09:00
Honza Pobořil
d3359f4c55 Added inputmode="decimal“ to POS Cart app (#6673)
So the iOS will show numpad for this fields.
2025-04-14 08:08:12 +02:00
rockstardev
772b9f9b4e Bugfixing interpolation on PaymentRequest
Adding TrimmerId as field as well
2025-04-10 15:45:34 -05:00
d11n
1c921030dc Store users: Ensure the last owner cannot be downgraded (#6654)
* Store users: Ensure the last owner cannot be downgraded

Changes the behaviour of the `AddOrUpdateStoreUser` method to throw errors for the failure cases, so that the UI and API can report the actual problem. A role change might fail if the user already has that role or if they are the last owner of the store.

* Cleanup code

---------

Co-authored-by: nicolas.dorier <nicolas.dorier@gmail.com>
2025-04-08 17:21:07 +09:00
nicolas.dorier
c5270fa441 Strengthen JS code to avoid injections 2025-03-27 16:16:55 +09:00
nicolas.dorier
631a0a22b5 Small nits 2025-03-27 16:08:15 +09:00
rockstardev
2e848797a3 Using CallbackGenerator as Nicolas requested 2025-03-26 23:08:48 -05:00
rockstardev
2427740e79 Providing TrimmedId property for shorter txn id 2025-03-26 23:08:48 -05:00
rockstardev
dd17cd25cb Triggering webhook for pending transaction events
Adding Cancelled event as well
2025-03-26 23:08:48 -05:00
rockstardev
6784be2ce2 Adding logic to count signatures in multisig 2025-03-26 23:08:48 -05:00
rockstardev
b631c2ee80 Adding breadcrumbs per request 2025-03-23 09:04:11 -05:00
rockstardev
8aa6ac289d Fixing the problem with permission on CreateEmailRule button 2025-03-23 09:04:11 -05:00
rockstardev
55cdd63c44 Renaming methods to align with views 2025-03-23 09:04:11 -05:00
rockstardev
0997e9b76c Fixing Selenium tests 2025-03-23 09:04:11 -05:00
rockstardev
1b2dfb3e82 Removing legacy class 2025-03-23 09:04:11 -05:00
rockstardev
d800cab2d1 Sorting Webhook text so it is ordered for user selection 2025-03-23 09:04:10 -05:00
rockstardev
5ce8648bd2 Fixing tests 2025-03-23 09:04:10 -05:00
rockstardev
9cf25c7c9e Simplifying code 2025-03-23 09:04:10 -05:00
rockstardev
75dee3170f Simplifying javascript now that there aren't multiple forms on page 2025-03-23 09:04:10 -05:00
rockstardev
f0b0aa0c89 Starting dedicated pages for Email Rules 2025-03-23 09:04:10 -05:00
Pavlenex
a253be3e13 Merge pull request #6631 from thgO-O/refactor/clipboard-styling-issue-6625
Refactor: Move clipboard styling from attributes to CSS classes
2025-03-18 11:19:07 +04:00
thgOyo
11f3fbf418 refactor: update clipboard button usage in WalletReceive view 2025-03-16 16:52:37 -03:00
thgOyo
453abd1b93 refactor: update clipboard button usage in WalletSettings view 2025-03-16 16:52:22 -03:00
thgOyo
07e43989cc refactor: update clipboard button usage in Files view 2025-03-16 16:49:50 -03:00
thgOyo
40b40260ed refactor: update clipboard button usage in EnableAuthenticator view 2025-03-16 16:49:30 -03:00
thgOyo
afab345b4c refactor: update clipboard button usage in APIKeys view 2025-03-16 16:49:19 -03:00
thgOyo
711e5080e3 refactor: update clipboard button usage in EditLightningAddress view 2025-03-16 16:49:04 -03:00
thgOyo
59656fe8af refactor: update clipboard button usage in Footer view 2025-03-16 16:48:44 -03:00
thgOyo
4268abb72d refactor: update clipboard button usage in PayButton view 2025-03-16 16:48:32 -03:00
thgOyo
72b2fca87d refactor: update clipboard button usage in LightningLikeMethodCheckout view 2025-03-16 16:45:33 -03:00
thgOyo
ddd844b3c0 refactor: update clipboard button usage in BitcoinLikeMethodCheckout view 2025-03-16 16:44:04 -03:00
thgOyo
353957c9c1 refactor: update clipboard button usage in Checkout view 2025-03-16 16:43:27 -03:00
Nicolas Dorier
7126732aa9 Merge pull request #6626 from NicolasDorier/disable-cold
Disable cold wallet creation by default
2025-03-13 21:36:50 +09:00
nicolas.dorier
c3c6473e35 Disable cold wallet creation by default 2025-03-13 19:23:23 +09:00
Dennis Reimann
a9fbba5825 UI: Fix and unify localizer usage for page titles
Issue was caused by duplicate translation through a combination of `StringLocalizer` and `text-translate="true"` usage. Fixes #6622.
2025-03-11 10:54:17 +01:00
nicolas.dorier
2911771f19 Feature: RBF and UX improvement to fee bumping 2025-03-11 17:44:18 +09:00
Nicolas Dorier
7355be48ee Merge pull request #6535 from NicolasDorier/remove-xmr-sec
Remove ZCash and Monero from core code
2025-03-11 15:47:20 +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
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
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
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
88d8d1b848 Forms: Properly support checkbox type
Fixes #6592.
2025-02-10 15:08:03 +01:00
nicolas.dorier
c37584328b Refactor: Remove cshtml duplication for back/url buttons in wizards 2025-02-07 16:57:50 +09:00
Dennis Reimann
4fbcd89bb6 Only change opacity of amount 2025-02-06 17:27:09 +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