Commit Graph

1574 Commits

Author SHA1 Message Date
nicolas.dorier
2fa87e33fc Display the keypad's running total more prominently 2025-06-04 12:33:16 +09:00
rockstardev
9454a272c0 Merge pull request #6752 from btcpayserver/bugfix/flag-skip-email
Adding flag on Greenfield API Create User method to skip email invitation
2025-05-29 12:04:38 -05:00
Dennis Reimann
5b2b6d6994 Update email invite flag 2025-05-28 13:59:16 +02:00
Chukwuleta Tobechi
c483705761 Include amount paid on greenfield invoice (#6747)
* Include amount paid on greenfield invoice

* revert changes in invoice watcher

* Round up currency and include changes in swagger docs

* Add test

---------

Co-authored-by: nicolas.dorier <nicolas.dorier@gmail.com>
2025-05-24 21:44:35 +09:00
Abhijay jain
a2ca8649e2 (Fix): Fiat text input disappears if you remove the BTC amount
Signed-off-by: Abhijay jain <Abhijay007j@gmail.com>
2025-05-21 16:15:09 +05:30
Nicolas Dorier
5f7a686833 Show tax rate in receipt, adjust keypad display (#6739)
* Show tax rate in receipt, adjust keypad display

* Adjust small nits in the view
2025-05-20 13:31:29 +09:00
Nicolas Dorier
932d313dee Can apply tax rates to PoS items (#6724) 2025-05-19 10:35:46 +09:00
Nicolas Dorier
1e79730c6e Implement store templates (#6704)
* Implement store templates

* Use the template for the default rate rules

* Polish messages

* Do not show exchange selection if template has a script
2025-05-09 15:58:24 +09:00
nicolas.dorier
9a2d17b2a2 Add missing tags in docs 2025-05-08 19:05:55 +09:00
nicolas.dorier
9dc1aeda72 [Feature] Can configure fallback rates 2025-05-08 19:05:55 +09:00
Nicolas Dorier
dae4cc67b2 Cleanup playwright tests (#6700) 2025-04-26 21:50:12 +09:00
d11n
abd180f4d3 QR scanner: Properly handle BIP21 input (#6693)
* QR scanner: Properly handle BIP21 input

Fixes #6665. Supersedes and closes #6672.

Details [here](https://github.com/btcpayserver/btcpayserver/pull/6672#issuecomment-2809299548)

* Update BTCPayServer/wwwroot/js/wallet/wallet-camera-scanner.js

* Fix scanner Vue component
2025-04-24 09:00:32 +09:00
Nicolas Dorier
2f26979ed7 Refactor vault (#6678)
* Use Blazor for the Vault code

* Put elements in different file

* Controller abstraction

* Break into VaultElement
2025-04-21 17:09:46 +09:00
rockstardev
c3998fdf34 Addressing PR review issues 2025-04-16 10:49:08 +09:00
nicolas.dorier
b7524e3587 Improve doc of payment requests 2025-04-09 19:22:44 +09:00
d11n
a916ae81be Greenfield: Expand user data (#6649) 2025-04-04 16:15:33 +09:00
Nicolas Dorier
658ddd1f27 Fix: Refunds through API were ignoring BOLT11 expiration at store level (#6644) 2025-03-31 09:32:12 +09:00
Dennis Reimann
f8635d3ee6 UI: Fix cliboard-button coloring
Addition to 0c8b0d1dd3.
2025-03-24 15:56:53 +01:00
Dennis Reimann
0c8b0d1dd3 UI: Do not alter color on clipboard-button class
Fixes regression from 1b248e1c01
2025-03-20 16:50:30 +01:00
Pavlenex
bc2f6aa446 Merge pull request #6633 from dennisreimann/fix-6632
UI: Prevent copy to clipboard double-clicks
2025-03-18 11:19:27 +04: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
Dennis Reimann
4bcf2ae830 UI: Prevent copy to clipboard double-clicks
As long as the copy confirmation is shown, it should not allow the handler to be called again.

Fixes #6632.
2025-03-17 19:29:18 +01:00
thgOyo
1b248e1c01 refactor: replace [data-clipboard] with .clipboard-button and [data-clipboard-hover] with .clipboard-button-hover 2025-03-16 16:38:00 -03: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
nicolas.dorier
d8e3d8b50b Update Langs 2025-03-06 22:28:30 +09:00
rockstardev
18852af241 Refactoring and commenting 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
Dennis Reimann
88d8d1b848 Forms: Properly support checkbox type
Fixes #6592.
2025-02-10 15:08:03 +01:00
nicolas.dorier
ba8feeddd9 Update translations 2025-01-22 00:11:48 +09:00
nicolas.dorier
51c2b9f243 Remove ZCash and Monero from core code 2025-01-22 00:00:22 +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
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
Nicolas Dorier
92a92a7fff Rename and add to greenfield HtmlTags and HtmlMetaTags for apps (#6557) 2025-01-15 23:48:10 +09:00
Dennis Reimann
c430d3b4ed UI: Fix mobile sidebar height and behaviour for Firefox
Fixes #6548.
2025-01-13 12:45:15 +01:00
d11n
1ef177ba0f Checkout: Fix plugins integration (#6481)
Fixes a regression introduced in #6316: Moving the `checkout-payment-method` integration point outside the div above broke the UI for the SiodeShift, FixedFloat and Trocador plugins.

Also updated the URL change handler, so that it works for all plugins.
2024-12-23 09:23:47 +09:00
Pavlenex
f5a420a272 Merge pull request #6503 from ConstantineGhost/master
Removing Baillie Gifford as BTCPay Foundation supporter
2024-12-19 18:53:35 +01:00
d11n
d24e0cd1a2 Greenfield: Remove authorization requirement for app data (#6499)
As discussed with @NicolasDorier on Mattermost: Right now only store owners can access the app data, which doesn't contain sensitive info or something beyond what one would see as a regular customer. The app would need a way to access the data for roles other than `Owner` as well, e.g. `Employee`.
2024-12-19 09:54:28 +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
Andrew Camilleri
b797cc9af8 Multisig/watchonly wallet transaction creation flow proof of concept (#5743) 2024-12-10 21:56:52 +09:00
jackstar12
61b882d426 fix: truncate center css for icons (#6465)
currently, the info icon used for displaying a link is way too big since
its not matched by the current css
2024-12-06 18:11:54 +01:00
nicolas.dorier
694b8e111c Update FIDO library 2024-12-03 21:13:23 +09:00
d11n
898f0f4481 Greenfield: Improve store users API (#6427)
* Greenfield: Improve store users API

- Adds an endpoint to update store users (before they had to be removed ad re-added)
- Checks for the existance of a user and responds with 404 in that case (fixes #6423)
- Allows retrieval of user by user id or email for add and update (consistent with the other endpoints)
- Improves the API docs for the store users endpoints

* Swagger: Reuse UserIdOrEmail parameter component

* Add details to store user data
2024-12-02 15:35:33 +01:00
Lee Salminen
76f87011a2 Handle undefined AudioContext, resolves #6422 (#6424) 2024-11-23 10:52:23 +01:00
d11n
7db510b5ca Swagger: Fix errors, warnings and formatting (#6410)
* Fix linting errors

* Fix linting warnings

* Fix inconsistend indentation and unify formatting

* Extract StoreId schemas

* Extract CryptoCode parameter

* Extract AppId parameter

* More StoreId parameter references

* Extract WebhookId and DeliveryId parameters

* Extract InvoiceId parameter

* Formatting
2024-11-20 22:46:55 +09:00
nicolas.dorier
b040f78f70 Update checkout translations 2024-11-14 16:10:49 +09:00
d11n
d0f97e85d2 UI: Allow text break in labels to avoid horizontal scrolling (#6366) 2024-11-13 21:05:40 +09:00
Nicolas Dorier
fdbee350b8 Greenfield: Create Pull Request payoutMethods is now optional (#6396) 2024-11-13 18:31:55 +09:00