Commit Graph

672 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Dennis Reimann
9d5baabc2c UI: Fix spacing of Lightning Address info on invoice details page 2025-02-19 09:38:12 +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
nicolas.dorier
51c2b9f243 Remove ZCash and Monero from core code 2025-01-22 00:00:22 +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
d3d6b2d15c Make HtmlTags safer, properly sanitize in the view as well 2025-01-19 11:00:09 +09:00
Nicolas Dorier
92a92a7fff Rename and add to greenfield HtmlTags and HtmlMetaTags for apps (#6557) 2025-01-15 23:48:10 +09:00
Pavlenex
2255da4a56 Merge pull request #6555 from dennisreimann/fix-6554
UI: Fix store's custom CSS URL
2025-01-15 15:15:11 +01:00
Nisaba
2250853b3e HTML lang setting and Head tags for POS and Crowdfund public pages (#6229)
* HTML lang setting and Head tags for POS and Crowdfund public pages

* updates #6229

* updates 6229

* resolve conflict

* updated according to Nicolas' recommendations

* updates #6229

* Add RawMeta method in safe.cs

* ...

* resolve conflicts

* resolve conflict

* resolve conflicts

* Updates as Nicolas request

* updates

---------

Co-authored-by: d11n <mail@dennisreimann.de>
2025-01-15 14:49:25 +09:00
Dennis Reimann
ae1eb67677 UI: Fix store's custom CSS URL
Fixes #6554.
2025-01-14 08:13:19 +01:00
Nicolas Dorier
8acf1c2d62 Refactoring: Introduce IUrlHelper.ActionAbsolute (#6513) 2024-12-21 00:16:04 +09:00
d11n
44dc6499cd POS: Fix form redirect in conjunction with root path setting (#6506)
* POS: Fix form redirect in conjunction with root path setting

Fixes #6493 and also adds missing status messages on the forms pages.

* Fix other occurrences
2024-12-20 22:59:07 +09:00
ConstantineGhost
b3bc11c19d Resolving Inconsistent responsiveness of the labels on the dashboard and removing BG as a supporter
Adressing Issues #6500 and #6501
2024-12-18 09:41:22 -06:00
d11n
a8d1f55544 Editor: Use offcanvas for all breakpoints (#6441)
Avoids scrolling the editor out of the viewport. Closes #6436.

Done for the POS/Crowdfund editor, as well as the Forms one.
2024-12-04 15:18:27 +01:00
Dennis Reimann
5cf3819743 Show Invoices link regardless of archival status 2024-11-26 06:52:51 +01:00
Dennis Reimann
f7f3244b3d UI: Move app's invoices link to the top 2024-11-25 18:02:07 +01:00
d11n
088c0c7f85 UI: Do not escape apostrophe in custom server name (#6391)
Fixes #6352.
2024-11-13 16:24:47 +09:00
d11n
8b776ed9e5 POS: Update button icons (#6390)
Adjusts the POS buttons to match what we defined for the app in btcpayserver/app#93.
2024-11-13 07:50:15 +01:00
d11n
e80296fa85 UI: Escape translated strings in JS (#6373)
Fixes #6370.
2024-11-12 11:16:56 +09:00
jackstar12
acd7765159 fix: center qr code (#6362) 2024-11-12 10:43:00 +09:00
d11n
540fb6c9f6 UI: Improve brand color adjustment (#6351)
Uses a more finegrained method of deciding whether or not to adjust the brand color: Instead of simply using the brightness of the color, we calculate the contrast ratio and adjust the color by increasing the contrast until it is sufficient.

The thresholds also try to preserve the brand color in its original form, so that the color only gets adjusted if the contrast is very low.
2024-11-08 09:01:28 +01:00
d11n
ff79a31066 Refactoring: Move AppItem to Client lib and use the class for item list (#6258)
* Refactoring: Move AppItem to Client lib and use the class for item list

This makes it available for the app, which would otherwise have to replicate the model. Also uses the proper class for the item/perk list of the app models.

* Remove unused app item payment methods property

* Do not ignore nullable values in JSON

* Revert to use Newtonsoft types
2024-11-05 11:49:30 +09:00
d11n
a6e18736d6 Keypad updates (#6338)
* Add keypad icons

Closes #6195.

* Keypad JS fixes
2024-10-29 23:44:37 +09:00
d11n
a962e60de9 More Translations (#6318)
* Store selector

* Footer

* Notifications

* Checkout Appearance

* Users list

* Forms

* Emails

* Pay Button

* Edit Dictionary

* Remove newlines, fix typos

* Forms

* Pull payments and payouts

* Various pages

* Use local docs link

* Fix

* Even more translations

* Fixes #6325

* Account pages

* Notifications

* Placeholders

* Various pages and components

* Add more
2024-10-25 22:48:53 +09:00
d11n
77fba4aee3 Add more translations (#6302)
* Newlines

* Dashboard

* Add more translations

* Moar

* Remove &nbsp; from translated texts

* Dictionary controller translations

* Batch 1 of controller updates

* Batch 2 of controller updates

* Component translations

* Batch 3 of controller updates

* Fixes
2024-10-17 22:51:40 +09:00
nicolas.dorier
b470fe22f1 Remove potential NRE 2024-10-16 17:04:27 +09:00
nicolas.dorier
c35af2dc69 Add translations to the Dashboard 2024-10-14 19:19:56 +09:00
nicolas.dorier
87ab15f754 Fix crash on Monero/ZCash on invoices list 2024-10-13 00:10:49 +09:00
nicolas.dorier
1b53defab3 Show warnings if NFC payment isn't complete 2024-10-10 19:16:09 +09:00
nicolas.dorier
68f24e47cd Rename more legacy fields 2024-10-07 21:22:03 +09:00
nicolas.dorier
968223a953 Rename PaymentModel to CheckoutModel 2024-10-07 19:58:08 +09:00
nicolas.dorier
2f287874e3 Rename legacy fields 2024-10-07 19:51:50 +09:00
nicolas.dorier
34b2cca492 Simplify extension of payments extensions 2024-10-07 18:37:38 +09:00
nicolas.dorier
e1bfc04451 Move checkout registration to the UI Extension 2024-10-07 17:38:02 +09:00
nicolas.dorier
ef0ba7b0c4 Remove useless properties 2024-10-07 16:18:09 +09:00
Nicolas Dorier
5704919b3a BlockExplorer links should be using payment method ids (#6273) 2024-10-04 16:58:13 +09:00
d11n
8c35edb6e8 UI: Additional improvements to the User Invitation flow (#6233)
* UI: Additional improvements to the User Invitation flow

Closes #6224.

* Clear invitation token only after the user can sign in

Fixes "404 Error on Follow-Up Visits" of #6236.

* Minor spacing fix

* Update accordion button
2024-10-03 21:35:01 +09:00
Chukwuleta Tobechi
3a71c45a89 Add updated image upload support on Crowdfund plugin (#6254)
* Add updated image upload support on Crowdfund plugin

* Refactor crowdfund image upload fix

* update crowdfund url for greenfield api

* Resolve integration test assertion

* Remove superfluous and unused command argument

* Fix missing validation error

* Minor API controller update

* Property and usage fixes

* Fix test after merge

---------

Co-authored-by: Dennis Reimann <mail@dennisreimann.de>
2024-10-03 10:39:41 +09:00
d11n
272cc3d3c9 POS: Option for user sign in via the QR code (#6231)
* Login Code: Turn into Blazor component and extend with data for the app

* POS: Add login code for POS frontend

* Improve components, fix test
2024-09-26 19:10:14 +09:00
d11n
443a350bad App Service: Validate IDs when parsing items template (#6228)
Validates missing and duplicate IDs on the edit actions and when creating/updating apps via the API.
Fails gracefully by excluding existing items without ID or with duplicate ID for the rest of the cases.

Fixes #6227.
2024-09-26 15:52:16 +09:00