Commit graph

1546 commits

Author SHA1 Message Date
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
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
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
0a51031334
Docs: Improve invoice payemnt tolerance API docs (#6383)
Fixes #6378.
2024-11-12 09:59:17 +09:00
d11n
a129114603
Greenfield: Add image upload for app items (#6226)
Upload endpoints for app item images. Follow-up to #6075.
Tested to work with the app item editor.

Uses UploadImage consistently in API and UI.
2024-11-07 10:43:22 +09:00
d11n
641bdcff31
Histograms: Add Lightning data and API endpoints (#6217)
* Histograms: Add Lightning data and API endpoints

Ported over from the mobile-working-branch.

Adds histogram data for Lightning and exposes the wallet/lightning histogram data via the API. It also add a dashboard graph for the Lightning balance.

Caveat: The Lightning histogram is calculated by using the current channel balance and going backwards through as much invoices and transactions as we have. The "start" of the LN graph data might not be accurate though. That's because we don't track (and not even have) the LN onchain data. It is calculated by using the current channel balance and going backwards through as much invoices and transactions as we have. So the historic graph data for LN is basically a best effort of trying to reconstruct it with what we have: The LN channel transactions.

* More timeframes

* Refactoring: Remove redundant WalletHistogram types

* Remove store property from dashboard tile view models

* JS error fixes
2024-11-05 21:40:37 +09: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
225264a283
Reports: Fix export (#6357)
Regression from the translation PRs, in which the proper button ID was replaced. Fixes #6356.
2024-11-04 11:50:15 +01:00
Nicolas Dorier
4687bb95cb
Fix: Incorrect percentage accounting of raised money in crowdfunding (#6347) 2024-11-01 08:23:10 +09:00
Nicolas Dorier
e3ec07da76
Fix: Crowdfund page was crashing from 2.0.0 (#6342) (#6346) 2024-10-31 23:42:18 +09:00
d11n
a6e18736d6
Keypad updates (#6338)
* Add keypad icons

Closes #6195.

* Keypad JS fixes
2024-10-29 23:44:37 +09:00
Dennis Reimann
0ac6553840
Add download icon 2024-10-28 08:25:30 +01: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
rockstardev
d508f5dc09 Properly cleaning up old feedback in vault feedback items 2024-10-22 21:50:22 -05:00
Dennis Reimann
62d765125d
Toggle color fix 2024-10-18 15:14:30 +02:00
d11n
6dfb369b55
UI: Inactive toggle hover color fix (#6299) 2024-10-18 14:08:34 +09:00
jackstar12
817522ff97
refactor(checkout): displayed payment methods vue component (#6316)
The displayed payment methods can change with updates aswell, so it
should be rendered as a vue component instead
2024-10-18 14:05:00 +09:00
Andrew Camilleri
2dc58a82b7
Item editor: Do not use only known props for diff (#6307)
Brooke the file seller plugin which adds a property and this did not detect the item change
2024-10-16 14:25:06 +02:00
nicolas.dorier
1b53defab3
Show warnings if NFC payment isn't complete 2024-10-10 19:16:09 +09:00
nicolas.dorier
402eaa8f12
Add fontawesome back 2024-10-08 21:17:02 +09:00
nicolas.dorier
dd35af3c55
Use AddUIExtension 2024-10-07 21:43:06 +09:00
nicolas.dorier
68f24e47cd
Rename more legacy fields 2024-10-07 21:22:03 +09:00
nicolas.dorier
2f287874e3
Rename legacy fields 2024-10-07 19:51:50 +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
2e114d7c29
Remove references to cryptoCode in SyncStatus (#6275) 2024-10-04 16:58:31 +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
Nicolas Dorier
9ba4b030ed
Fix: Do not expose xpub without modify store permission (#6212) 2024-09-27 15:27:04 +09:00
nicolas.dorier
7013e618de
Remove dead fields from swagger 2024-09-26 12:23:41 +09:00
Nicolas Dorier
363b60385b
Renaming various properties in the Payouts API (#6246)
* Rename Payouts Currency/OriginalCurrency

* Rename Payout Processor PayoutMethodIds

* Rename paymentMethods to payoutMethodIds

* Rename payoutMethodIds to payoutMethods
2024-09-26 11:25:45 +09:00