Commit Graph

6445 Commits

Author SHA1 Message Date
Nicolas Dorier
64ba8248d2
Can inject currency data in CurrencyNameTable (#6276) 2024-10-04 22:24:44 +09:00
Dennis Reimann
206d222455
Fix missing interpolation marker 2024-10-04 15:18:06 +02:00
Nicolas Dorier
2e114d7c29
Remove references to cryptoCode in SyncStatus (#6275) 2024-10-04 16:58:31 +09:00
Nicolas Dorier
5190c25be0
OnlyIfSupportAttribute should use PaymentMethodId (#6274) 2024-10-04 16:58:24 +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
Nicolas Dorier
2f2b4094f6
[UI] Do not show unabled payment methods in invoice creation (#6272) 2024-10-03 21:34:09 +09:00
Nicolas Dorier
413a9b4269
Add translation for store rate and wallet setup (#6271) 2024-10-03 19:21:19 +09:00
nicolas.dorier
a698aa8a5b
Do not crash if payment method disabled when store supports it 2024-10-03 19:21:01 +09:00
Nicolas Dorier
1ffbab7338
Small improvements to make development of plugins easier (#6270) 2024-10-03 15:16:21 +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
nicolas.dorier
8f062f918b
Add comments 2024-10-03 10:35:47 +09:00
d11n
2f05d00219
V2 compatibility: Re-add deprecated navigation methods (#6267)
Gives the new methods a new name and re-adds the old ones in order to not break plugins. Simple enough backwartds compatible change, makred the old methods as obsolete to make plugin developers aware that new methods are available.
2024-10-02 08:25:43 +09:00
d11n
b48ca92675
Fix app stats sorting (#6265) 2024-10-02 08:23:25 +09:00
Nicolas Dorier
4a31cf0a09
Migrate payment requests (#6260) 2024-10-01 16:07:51 +09:00
d11n
82620ee327
Move wallet payment settings back to store settings (#6251)
Intermediate solution, until we implement these settings on the payment method level. Closes #6237.
2024-09-30 19:13:51 +09:00
nicolas.dorier
6d284b4124
Give time for pollers to detect payments after server restart 2024-09-27 15:48:16 +09:00
Chukwuleta Tobechi
83fa8cbf0f
prevent app creation without wallet creation (#6255)
* prevent app creation without wallet creation

* resolve test failures

* resolve selenium test
2024-09-27 15:28:55 +09:00
Nicolas Dorier
9ba4b030ed
Fix: Do not expose xpub without modify store permission (#6212) 2024-09-27 15:27:04 +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
nicolas.dorier
b5590a38fe
Add better error message if v1 routes are used. 2024-09-26 19:09:27 +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
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
nicolas.dorier
90635ffc4e
Remove BTCPAY_EXPERIMENTALV2_CONFIRM 2024-09-25 23:11:53 +09:00
Nicolas Dorier
056f850268
Optimize load time of StoreRoles related pages/routes (#6245) 2024-09-25 23:10:13 +09:00
nicolas.dorier
f00a71922f
Optimize queries from payout processor at startup 2024-09-24 23:39:05 +09:00
nicolas.dorier
c97c9d4ece
Add SQL test for GetMonitoredInvoices 2024-09-24 22:07:02 +09:00
nicolas.dorier
9d3f8672d9
Fix GetMonitoredInvoices 2024-09-24 17:21:36 +09:00
Vincent Bouzon
fe48cd4236
fix InvoiceRepository.GetMonitoredInvoices (#6243) 2024-09-24 15:44:51 +09:00
nicolas.dorier
8a951940fd
Remove dead property 2024-09-24 09:47:46 +09:00
nicolas.dorier
b726ef8a2e
Migrate PayoutProcessors's PayoutMethodId in entity migration 2024-09-24 09:43:02 +09:00
nicolas.dorier
25e360e175
Allow listeners to retrieve invoices with nonActivated prompts 2024-09-24 08:43:30 +09:00
Nicolas Dorier
1d9ec253fb
Fix migration of Invoice's payment (#6241) 2024-09-23 23:59:18 +09:00
Nicolas Dorier
3cf1aa00fa
Payments should use composite key (#6240)
* Payments should use composite key

* Invert PK for InvoiceAddress
2024-09-23 17:06:56 +09:00
nicolas.dorier
36a5d0ee3f
Fix: Monero and ZCash not tracking addresses 2024-09-22 11:13:09 +09:00
Nicolas Dorier
f5e5174045
Refactor: Add GetMonitoredInvoices to fetch pending invoices or those with pending payments (#6235) 2024-09-20 18:54:36 +09:00
Nicolas Dorier
ba2301ebfe
Refactor the InvoiceAddresses table (#6232) 2024-09-19 22:15:02 +09:00
nicolas.dorier
df651a2157
Fix GetInvoicesWithPendingPayments 2024-09-18 18:11:30 +09:00
jackstar12
2d2c1d5f2d
fix: check lightning payment status (#6219) 2024-09-17 21:41:04 +09:00
Nicolas Dorier
0f93581ff5
Refactor confirmation count tracking (#6215) 2024-09-17 17:28:58 +09:00
rockstardev
397452a7fe Setting standard 150x100 size for Unbank logo 2024-09-16 16:38:04 -05:00
rockstardev
cd3157361a
Adding Unbank as BTCPay Server Foundation Supporter (#6225) 2024-09-16 16:33:11 -05:00
nicolas.dorier
29a89f185a
Fix: Not able to change SpeedPolicy of a store 2024-09-13 22:59:14 +09:00
d11n
2f7a5c2967
Wallet: Generate receive address automatically (#6122)
* Wallet: Generate receive address automatically

This circumvents landing on a blank page with only the "generate address" button and automatically generates a new address, unless the Unreserve action was used.

* Fix close button leading to same page

* Fix tests

* Remove unreserve feature

---------

Co-authored-by: Nicolas Dorier <nicolas.dorier@gmail.com>
2024-09-13 22:03:45 +09:00
Chukwuleta Tobechi
f07ed53f7e
Handle password reset when SMTP isn't configured or validated (#6150)
* Handle password reset when SMTP isn't configured or the configuration cannot be validated

* include rel in external a tag

* Simplify it

* Test fix

* Simplify a bit

* selenium test to manage users

---------

Co-authored-by: Dennis Reimann <mail@dennisreimann.de>
Co-authored-by: Nicolas Dorier <nicolas.dorier@gmail.com>
2024-09-13 21:42:08 +09:00
d11n
7348a6a62f
Store Branding: Apply brand color to backend as well (#5992)
* Store Branding: Apply brand color to backend as well

Closes #5990.

* Add adjustments for different theme scenarios

* Add description text

* Make it optional to apply the brand color to the backend

* Toggle color fixes
2024-09-13 21:39:21 +09:00
d11n
b7ba53eb60
UI: Fix for truncate center component (#6213) 2024-09-13 17:55:31 +09:00
Dennis Reimann
e389d6a96b
UI: Minor fix on policies page 2024-09-12 18:43:52 +02:00
d11n
0238dffc7a
POS: Fix accounting for manually entered keypad amounts (#6178)
* POS: Fix accounting for manually entered keypad amounts

For keypad orders where there are products AND manual amount entries, we didn't account for the latter.

Fixes #6168.

* Adjust wording: "Manual entry" becomes "Custom Amount"
2024-09-12 21:36:35 +09:00
d11n
666445e8f7
Greenfield: App endpoints for sales statistics (#6103) 2024-09-12 16:17:16 +09:00
Nicolas Dorier
36bada8feb
Uniformize Wallet API's path (#6209)
* Uniformize Wallet API's path

* Rewrite old API path to new API

* Rename routes
2024-09-12 15:19:10 +09:00
Nicolas Dorier
b4946f4db1
Fix divisibility in invoice details of lightning amounts (#6202)
* Fix divisibility in invoice details of lightning amounts

This PR will show 11 decimal in the invoice details for BTC amount
of lightning payment methods.

It also hacks around the fact that some
lightning clients don't create the requested amount of sats, which
resulted in over or under payments. (Blink not supporting msats, and
strike)

Now, In that case, a payment method fee (which can be negative) called tweak fee
will be added to the prompt.

We are also hiding this tweak fee from the user in the checkout page in
order to not disturb the UI with inconsequential fee of 0.000000001 sats.

* Only show 8 digits in checkout, even if amount is 11 digits
2024-09-12 12:43:08 +09:00
d11n
f3d485da53
Invitation process improvements (#6188)
* Server: Make sending email optional when adding user

Closes #6158.

* Generate custom invite token and store it in user blob

Closes btcpayserver/app/#46.

* QR code for user invite

Closes #6157.

* Text fix
2024-09-12 12:31:57 +09:00
d11n
3342122be2
Make Role Permissions more human legible (#6191)
Had to rename `CanModifyStoreWebhooks` to `CanModifyWebhooks` for this, but the value stayed the same, so I don't think it's a big deal.

Closes #6183.
2024-09-12 12:29:10 +09:00
Chukwuleta Tobechi
f59751853a
Fx pos data additional info (#6172)
* Resolve Additional Information from posData

* code formatting

* Minor adjustments

* Update ChromeDriver

* Revert and improve PosData partial

---------

Co-authored-by: Dennis Reimann <mail@dennisreimann.de>
Co-authored-by: Nicolas Dorier <nicolas.dorier@gmail.com>
2024-09-12 12:27:02 +09:00
d11n
a60c55c6df
Transactions: Improve TX ID display (#6190)
* Transactions: Improve TX ID display

* Elastic fix

* Test and behaviour fix
2024-09-12 10:08:16 +09:00
Nicolas Dorier
d4c30866b7
Fix timeout issues during migration (#6208) 2024-09-10 20:11:07 +09:00
Nicolas Dorier
7c92ce771f
Reindex Invoices table if corrupt, fix migration timeout (#6207) 2024-09-10 17:34:02 +09:00
nicolas.dorier
4601359ebe
Do not block the Lightning PendingPayoutListener if a client is failing 2024-09-10 17:33:36 +09:00
nicolas.dorier
222e8f66df
Fix entity half migrated entities for v2 2024-09-09 21:21:04 +09:00
nicolas.dorier
87e2f5f414
Add migration logs 2024-09-09 19:03:07 +09:00
Nicolas Dorier
7de05700e9
Edit dictionary should be in JSON format (#6203) 2024-09-09 11:25:36 +09:00
d11n
841f41da2f
Invoice: Improve zero amount invoice handling (#6199)
This is for the checkout page to properly redirect paid invoices with no payment methods (e.g. free invoices with zero amount) to either the receipt page or redirect URL. Only fall back to 404 if there is neither.

Fixes #6123.
2024-09-09 11:05:03 +09:00
Dennis Reimann
73dcde7780
UI: Create Store CTA should be full-width
Closes btcpayserver/app#92
2024-09-06 13:23:52 +02:00
Nicolas Dorier
377ff52222
Fix: Incorrect rounding for lightning amounts (#6201) 2024-09-06 18:48:20 +09:00
nicolas.dorier
e4b5609d78
Fix doc 2024-09-06 13:27:12 +09:00
Nicolas Dorier
c93497af10
Rename PaymentMethod => PaymentMethodId (#6198)
* Rename PaymentMethod => PaymentMethodId

* Rename DB Columns
2024-09-06 13:24:33 +09:00
Nicolas Dorier
99dda66bbc
Rename PayoutData.Destination (#6197) 2024-09-06 10:34:10 +09:00
Dennis Reimann
4ce68f817d
UI: Spacing fixes for Policies page 2024-09-02 12:06:34 +02:00
Nicolas Dorier
1c027be106
Greenfield: Can set the label when generating a wallet for store (#6186) 2024-09-02 18:54:15 +09:00
Nicolas Dorier
4a94074595
Add topups to payouts (#6187) 2024-09-02 18:37:39 +09:00
d11n
b49f6c3f86
Checkout fixes and improvements (#6181)
* Adjust to new payment method IDs

* Sound improvements

* NFC: Handle no data/empty tag case

Fixes #6154.
2024-09-02 18:20:29 +09:00
nicolas.dorier
9c8fe9277d
Fix route's param in doc 2024-09-02 16:27:49 +09:00
nicolas.dorier
a7c70e6912
Add missing doc for scriptPubKeyType TaprootBIP86 2024-09-02 10:35:06 +09:00
Chukwuleta Tobechi
28156a5a6b
Include hover to display total sales per day (#6174)
* Include hover to display total sales per day

* Add label to top items as well

* Bring in recent Chart modifications from app

---------

Co-authored-by: Dennis Reimann <mail@dennisreimann.de>
2024-08-30 09:58:50 +02:00
Nicolas Dorier
a3cfb9e5e4
Removal of the Altcoins build (#6177)
* Remove some useless #if ALTCOINS

* Removal of the Altcoins build
2024-08-30 08:34:23 +09:00
Chukwuleta Tobechi
25ccc6a9f9
Update notificaiton counter record (#6169) 2024-08-29 12:47:29 +02:00
Umar Farooq
8d1904c185
Sales report dashboard issue #6167 - querySelectorAll returns multiple elements that leads to not updateding the reuired element innerHtml directy, so i change querySelector that will directly update our .sales-count element innerHtml (#6176)
Co-authored-by: Umar Farooq <umar.u.farooq@constellationdealer.com>
2024-08-29 11:30:34 +02:00
Nicolas Dorier
1dd37c5020
Refactor Payouts and PullPayments DB models (#6173) 2024-08-28 18:52:08 +09:00
Nicolas Dorier
3c40dc1f49
Delete columns CustomerEmail, OrderId, ItemCode (#6170) 2024-08-27 09:53:28 +09:00
Nicolas Dorier
6d560caf06
Small optimization of query (#6153) 2024-08-22 18:52:53 +09:00
Nicolas Dorier
07f3301e32
Remove unused code (#6152) 2024-08-22 18:52:41 +09:00
Dennis Reimann
672491c66c
UI: Offcanvas fixes 2024-08-20 18:12:32 +02:00
Dennis Reimann
bd91c45d1f
Minor design update 2024-08-20 18:12:21 +02:00
rockstardev
f77cdb7148
Removing Strike as BTCPay Foundation supporter and cleaning up old SVGs (#6144) 2024-08-11 13:21:09 -05:00
d11n
7878a4365c
Dictionary additions (#6120)
* Cleanups

* Add text entries for dictionary pages

* Wording: Keep Clone title consistent with Payment Request cloning

* Dictionaries: List used one first; badge for marking In use
2024-07-26 08:46:17 +09:00
Nicolas Dorier
94760792af
Add parts of the UI to translate (#6119) 2024-07-25 22:46:02 +09:00
Nicolas Dorier
50dafd2452
Uniform primary action id's of pages (#6118) 2024-07-25 08:23:28 +02:00
Nicolas Dorier
ca4abcb497
Allow translations of BTCPay Server Backend by admins (#5662) 2024-07-24 20:16:20 +09:00
napoly
acbc75d077
Fix xmr status message (#6111) 2024-07-19 21:46:24 +09:00
nicolas.dorier
8b20cd9082
Fix: Plugin Exception Handler didn't disabled plugin if crash was detected 2024-07-17 11:23:14 +09:00
Nicolas Dorier
0eca1ddbf1
Shopify: Cancel rather than close an order (#6108) 2024-07-15 21:57:12 +09:00
Nicolas Dorier
859a8d1a11
Shopify: Create invoice when the payment page opens (#6109) 2024-07-15 21:57:00 +09:00
d11n
25ae6df095
Greenfield: Add file endpoints and upload (#6075)
* Greenfield: Add file endpoints and upload

- Endpoints for server files
- File upload using `multipart/form-data`

Closes #6074.

Can also be tested using cURL:

- `curl --location 'https://localhost:14142/api/v1/files' --header 'Authorization: token MY_API_TOKEN' --form 'file=@"LOCAL_FILEPATH"'`
- `curl --location 'https://localhost:14142/api/v1/users/me/picture' --header 'Authorization: token MY_API_TOKEN' --form 'file=@"LOCAL_FILEPATH"'`

* Revert UnresolvedUri changes

* Add upload for store logo
2024-07-11 09:28:24 +09:00
d11n
249b991185
Checkout: Display description if present (#6082)
This is mostly for the POS, where either an individual item title might be the description, or in case of the cart and keypad, the name of the app will be displayed. The description is omitted if it matches the store name, to avoid duplicate titles.

Closes #5023.
2024-07-11 00:14:18 +09:00
d11n
bc6d037341
POS: Improve padding on mobile and unify card look with tiles (#6088)
On mobile, the description content was lacking horizontal padding. This adjusts it while also unifying the cards to work like the tiles on checkout: Below 400px width, we pull the to the edges of the screen, which makes it looks nicer and display better than as if they'd also have an outer margin.

Adjustments take effect on all POS view variants.
2024-07-11 00:12:58 +09:00
d11n
a4a1fa0746
Greenfield: Add store id for notifications (#6093)
* Rename filter to storeid for consistency with other filters

* Greenfield: Add storeId to notification

* Cleanups

* Greenfield: Allow filtering notifications by store id
2024-07-11 00:12:22 +09:00
d11n
d73e26e0c4
Fix null pointer exception on receipt print page (#6045) (#6085) 2024-07-11 00:11:04 +09:00
Nicolas Dorier
372688b723
Disable plugins if they crash the Dashboard page (#6099) 2024-07-11 00:09:54 +09:00
d11n
a5ab68ab02
Greenfield: Fix missing delete app policy (#6098) 2024-07-10 22:50:32 +09:00
d11n
e7297ce6b8
Truncate Center Component: Fix Vue rendering (#6087)
* Truncate Center Component: Fix Vue rendering

* Simplify the TruncateCenter component

---------

Co-authored-by: nicolas.dorier <nicolas.dorier@gmail.com>
2024-07-10 11:00:49 +02:00
d11n
a88b39e50d
Fix missing normalization of Settled invoice status (#6097)
Addition to #5982, which fixes lookups for invoices with status `Settled` (e.g. for Sales tiles on the Dashboard).
2024-07-10 15:33:48 +09:00
Andrew Camilleri
a0988c250d
Handle LNURL Payouts failing due to amount restriction (#6061)
* Handle LNURL payouts better when amount is not allowee

* docker-compose: Add missing restart for merchant CLN container

* show sats not msats

---------

Co-authored-by: Dennis Reimann <mail@dennisreimann.de>
2024-07-10 11:05:25 +09:00
Nicolas Dorier
3a52759090
Bump EF libs (#6096) 2024-07-10 08:50:43 +09:00
d11n
ddb07a7ba9
Receipt page fixes (#6079)
* Receipt: Don't assign empty values to data; hide present empty values
* Receipt: Use same URL on "Return to Store" link as on invoice
2024-07-09 16:59:36 +02:00
Dennis Reimann
b5ad5a5f6f
TransactionLinkProviders: Don't force single item (#6078)
* TransactionLinkProviders: Don't force single item

Fixes #6077.

* docker-compose: Add missing restart for merchant CLN container
2024-07-09 16:19:08 +02:00
d11n
a46073f3e4
Fix email settings on store level, when server has no email settings (#6080)
* Fix email settings on store level, when server has no email settings

Fixes #6076.

* docker-compose: Add missing restart for merchant CLN container
2024-07-09 16:16:53 +02:00
d11n
f7569b715d
Greenfield: Add missing invoice metadata to Lightning Address (#6084)
* Greenfield: Add missing invoice metadata to Lightning Address

Closes #6067.

* Update BTCPayServer/wwwroot/swagger/v1/swagger.template.stores-lightning-addresses.json
2024-07-04 22:42:02 +09:00
Dennis Reimann
6e19d21575
Reports: Fix dropdown z-index 2024-07-04 13:22:08 +02:00
nicolas.dorier
4eb155696c
Fix Fake Data Generator for the reports 2024-07-04 19:01:58 +09:00
nicolas.dorier
1157e2d04b
Fix: Reports rows weren't always properly sorted (Fix #6065) 2024-07-04 18:09:30 +09:00
Nicolas Dorier
247532e3c4
Do not crash when refunding an invoice that has been marked settled (Fix #6003) (#6086) 2024-07-04 16:43:30 +09:00
nicolas.dorier
4a2f61de9f
Fix crash if refunding an invoice without payment 2024-07-04 10:43:39 +09:00
d11n
654cf1982e
Icon fix in checkout CSS 2024-07-03 14:13:29 +02:00
Chukwuleta Tobechi
e0a0406825
Improved Notifications List View (#6050, #3871) 2024-07-02 17:55:54 +09:00
Dennis Reimann
d6d14b4170
Re-add missing file upload
This was accidentally removed in #5744.
2024-07-01 11:52:10 +02:00
d11n
cbeb32808a
Dashboard: Remove View All link for Top Items (#6072)
Fixes #6068.
2024-06-29 11:44:51 +02:00
Nicolas Dorier
a295e123bc
Migrate Payouts to new format (#5989)
* Migrate Payouts to new format

* Rename PayoutData column to PayoutMethodId
2024-06-28 20:07:53 +09:00
Nicolas Dorier
c56b660c92
bump selenium container (#6071) 2024-06-28 17:32:55 +09:00
Dennis Reimann
6a5bc99a55
Color fix 2024-06-27 16:39:13 +02:00
Dennis Reimann
833895e797
Design system updates; add icons 2024-06-27 10:43:28 +02:00
d11n
2482b9df74
Greenfield: Refactor app endpoints (#6051)
* Greenfield: Refactor app endpoints

- Do not change unset data
- Clean up difference between request (template) and data (items/perks)
- Add missing properties (form id and custom tip percentage)
- Update docs

* Revert ToSettings changes in GreenfieldAppsController
2024-06-26 17:42:22 +09:00
d11n
bf66b54c9a
User: Add name and image URL (#6008)
* User: Add name and image URL

More personalization options, prerequisite for btcpayserver/app#3.

Additionally:
- Remove ambigious and read-only username from manage view.
- Improve email verification conditions and display.
- Greenfield: Update current user. Prerequisite for btcpayserver/app#13.

* Refactor UpdateCurrentUser

* Replace new columns by UserBlob

* Update email check and add test case for mailbox addresses

---------

Co-authored-by: nicolas.dorier <nicolas.dorier@gmail.com>
2024-06-26 17:39:22 +09:00
d11n
feffbbd980
Greenfield: Manage notifications (#6058)
Prerequisite for btcpayserver/app#12.
2024-06-25 20:01:11 +02:00
napoly
e0c5ac5271
Fix Monero development environment with wallet load (#6066) 2024-06-24 15:16:11 +02:00
Dennis Reimann
50656dc7d3
UI unifications 2024-06-23 19:38:34 +02:00
d11n
5a6bdd756a
POS: Keypad error should sit below the header (#6055)
Fixes #6054.
2024-06-20 16:17:36 +02:00
d11n
f8f98ab7f0
BTCPayServerClient refactoring (#6024)
* Allow overrides on all methods

* Add non-returning SendHttpRequest methods

* Use SendHttpRequest consistently

* Use file-scoped namespace

* Rates: Set default null value for currencyPair

* Ensure it works with instances which have BTCPAY_ROOTPATH set
2024-06-19 15:25:33 +02:00
d11n
0f8da123b8
UI: Move section navigation to sidebar (#5744)
* UI: Move section navigation to sidebar

* Scroll active nav link into view

* Move CTAs to top right

* Server Settings: Make Policies first page

* Responsive table fixes

* Spacing fixes

* Add breadcrumb samples

* store settings fixes

* payment request fixes

* updates pull payment title

* adds invoice detail fix

* updates server settings breadcrumbs + copy fix

* Don't open Server Settings on Plugins page

* Add breadcrumbs to pull payment views

* adds breadcrumbs to account

* server and store breadcrumb fixes

* fixes access tokens

* Fix payment processor breadcrumbs

* fixes webhook 404

* Final touches

* Fix test

* Add breadcrumb for email rules page

* Design system updates

---------

Co-authored-by: dstrukt <gfxdsign@gmail.com>
2024-06-19 15:23:10 +02:00
d11n
e14b055651
Pull payment: Enable CORS for LNURL request (#6044)
Fixes #6043 and ensures Mutiny Wallet can do the LNURL request.
2024-06-12 11:13:51 +02:00
d11n
e5a09cbeaa
POS: Don't show free items in print view (#6009)
We cannot generate a proper LNURL response for free items, hence we should not show them in the print view.

Closes #5999.
2024-06-05 22:11:26 +09:00
Kukks
b5ade89763
fix shopify 2024-06-05 08:53:40 +02:00
Andrew Camilleri
2c63d16774
Refactor shopify logic (#6029)
This refactors the logic around shopify to keep it in one place. invoice Statuses are handled in a more streamlined way.
2024-06-05 09:00:55 +09:00
Andrew Camilleri
c5aca1b7f7
Cancel shopify order when invoice payment fails (#6027)
* Cancel shopify order when invoice payment fails

* void correctly and invoice logs
2024-06-03 22:02:27 +09:00
Nicolas Dorier
d8d36cf4c7
Fix: Adding a label to a base58 addresses in the Send Wallet screen wasn't working (#6011) 2024-05-27 23:16:51 +09:00
d11n
31a9466bf8
Dashboard: Add table-responsive wrapper for transactions and invoices (#6006)
Fixes #5721.
2024-05-24 14:11:05 +09:00
d11n
181e4fd2fc
Sanitizer: Allow bitcoin and lightning URI schemes (#6002)
Fixes #6001.
2024-05-24 14:10:32 +09:00
Nicolas Dorier
03ba6b39ec
Bump dependencies (#5996) 2024-05-23 22:16:16 +09:00
d11n
c063c70b07
Search: Display text filters in search input (#5986)
* Search: Display text filters in search input

This changes the search text input to also display the filters, which don't have a special UI (e.g. dropdown). Those filters (e.g. orderid) were not displayed before and hence could not be reset.

Fixes #5984.

* Add and fix test
2024-05-23 20:22:16 +09:00
d11n
89fcf86bb4
POS: Allow overpay for articles with minimum price (#5997)
Adjust the LNURL settings so that minimum price items aren't capped and can be overpaid.

Also fixes the missing LNURL response for free items to return a proper LNURL error instead of just 404.

Fixes #5995.
2024-05-23 20:20:58 +09:00
nicolas.dorier
faf6b514e6
Fix error message if rate unavailable 2024-05-21 22:11:03 +09:00
Nicolas Dorier
7564c3c2bd
Fix: Some valid taproot PSBT couldn't parsed and show better error message (Fix #5715) (#5993) 2024-05-21 10:52:55 +09:00
d11n
fc9d4f96a7
Design system and icon updates for 2.0 (#5938)
* Design system updates

* Icon fix

* Add new icons, replace show/hide

* Icon replacements

* Test fix

* Icon replacements in Vault

* More icon replacements

* Final icon replacements, remove Font Awesome
2024-05-20 08:57:46 +09:00
nicolas.dorier
c6d46fcdd0
Minor refactorings 2024-05-17 14:48:55 +09:00
nicolas.dorier
8331d1019f
Can hide the footer of LayoutSimple 2024-05-17 09:28:00 +09:00
nicolas.dorier
900c5f7976
Show boltcard deeplink also on iOS 2024-05-17 09:10:29 +09:00
rockstardev
d2a04db49f
Cutting off lightning payment so receipt takes less space 2024-05-16 09:41:28 +09:00
Nicolas Dorier
7793c5e5df
Allow user to input a passphrase for Trezor v1 (Fix #5794) (#5980) 2024-05-15 09:18:20 +09:00
Nicolas Dorier
69e0ae76c7
Fix: Error while connecting to websockets without reverse proxy (#5981) 2024-05-15 09:17:45 +09:00
Nicolas Dorier
c134602cbd
Remove Legacy Status from the code (#5982) 2024-05-15 07:49:53 +09:00
Nicolas Dorier
d96b066658
Recommended exchange to be resolved during Invoice Creation (#5976)
* Recommended Exchange Rate Selection during Invoice Creation

* Make Recommended exchanges pluginifiable
2024-05-13 22:29:42 +09:00
Chukwuleta Tobechi
11b38a7a4c
allow admin update default rate provider and default currency for stores (#5918)
* allow admin update default rate provider and default currency for stores

* Updated PR on allowing server admin to update currency

* update server settings to select default currency

* revert standard default currency

* clean up

* Minor rewording

---------

Co-authored-by: nicolas.dorier <nicolas.dorier@gmail.com>
2024-05-10 15:26:04 +09:00
nicolas.dorier
84df96429c
Refactor of Default RateRules 2024-05-10 08:55:53 +09:00
Nicolas Dorier
adbe5977cd
Decouple DefaultRates from BTCPayNetwork (#5974) 2024-05-09 17:20:24 +09:00
d11n
4c303d358b
Branding updates for 2.0 (#5947)
* Remove deprecated CSS options

Closes #5945.

* Greenfield: Add brandColor to store APIs

Closes #5946.

* Migrate file IDs to URLs

Closes #5953.

* Greenfield: Add CSS and logo URL to store settings API

Closes #5945.

* Add migration test

* Store and Server branding can reference file's via fileid:ID

* Add PaymentSoundUrl to Store API

---------

Co-authored-by: nicolas.dorier <nicolas.dorier@gmail.com>
2024-05-09 09:18:02 +09:00
d11n
eba3475a1b
Theme docs link fix (#5972)
We recently removed the section the anchor links to and we'll remove the links entirely in #5947.
2024-05-08 09:11:04 +09:00
Nicolas Dorier
8bb4ceaaac
Remove dead code from multi db support (#5971) 2024-05-07 09:21:49 +09:00
Nicolas Dorier
a89c0d4797
Add refund reports (#5791)
* Add refund reports

* Fix fake data generator in reports
2024-05-06 18:44:16 +09:00
d11n
a8e16b0ba6
Wallet UI quick wins (#5851)
- Unify single/multiple inputs display
- Destination: Move labels above amount
- Coin Selection: Add sorting by amount and confirmations, add page size. Closes #5850
- Move PSBT and BIP21 buttons up to input related button group
- Turn checkboxes in Advanced Settings into toggles
- Improve spacings and button groups
2024-05-06 14:40:17 +09:00
Nicolas Dorier
7de4e8b001
Show better error message for invalid destination in PullPayments (#5969) 2024-05-05 21:03:25 +02:00
Nicolas Dorier
b4cd74056e
Remove period concept from PullPayment (#5963) 2024-05-01 17:59:10 +09:00
Nicolas Dorier
9db9c5e936
Decouple PaymentMethodId from PayoutMethodId (#5944) 2024-05-01 10:22:07 +09:00
nicolas.dorier
247afe6a7b
Fix launchsettings 2024-04-30 20:12:11 +09:00
Andrew Camilleri
6049fa23a7
Support pluginable rate providers (#5777)
* Support pluginable rate providers

This PR allows plugins to provide custom rate providers, that can be contextual to a store. For example, if you use the upcoming fiat offramp plugin, or the Blink plugin, you'll probably want to configure the fetch the rates from them since they are determining the actual fiat rrate to you. However, they require API keys. This PR enables these scenarios, even much more advanced ones, but for example:
* Install fiat offramp plugin
* Configure it
* You can now use the fiat offramp rate provider (no additional config steps beyond selecting the rate source from the select, or maybe the plugin would automatically set it for you once configured)

* Apply suggestions from code review

* Simplify

* Do not use BackgroundFetcherRateProvider for contextual rate prov

---------

Co-authored-by: nicolas.dorier <nicolas.dorier@gmail.com>
2024-04-30 18:31:15 +09:00
Andrew Camilleri
4821f77304
Guard against running current master (#5959)
* Guard against running current master

With a longer release cycle for v2, we need to guard people from running master and corrupting their data. This adds a new requirement in that  a special config must be set when running master. We will remove when v2 rc is ready.

* add envs
2024-04-30 18:29:05 +09:00
d11n
c348f442cc
Checkout: Fix copying numeric values to clipboard (#5962)
Fixes #5960.
2024-04-30 18:26:27 +09:00
ndeet
c23fab5b34
Greenfield API clarifications, fix typo subscriptions -> registrations (#5955) 2024-04-30 18:22:41 +09:00
d11n
8d429f064b
Show Lightning node availability in navigation (#5951)
* Show Lightning node availability in navigation

Instead of simply communicating the setup state of the store's LN node, this now also checks its availability.

Closes  #5940.

* Cleanups

* Add Selenium test for public node page and status in nav

* Cache the available lightning node result

---------

Co-authored-by: nicolas.dorier <nicolas.dorier@gmail.com>
2024-04-26 08:30:34 +02:00
Nicolas Dorier
d3277306cf
Avoid timeouts during EF migrations (#5937) 2024-04-25 17:27:45 +09:00
Nicolas Dorier
0f08d3e3a3
Remove migrations prior to 1.0.3.162 (#5939)
* Consolidate EF migrations up to 03/2020 into a single SQL script

* Remove old migrations code
2024-04-25 14:09:21 +09:00
Nicolas Dorier
0c35939001
Cleanup data from the InvoiceEvents table (#5904) 2024-04-25 14:09:01 +09:00
d11n
06edb0e157
Server email settings: Fix missing password field (#5952)
Fixes #5949.
2024-04-24 23:02:54 +09:00
nicolas.dorier
c0f9716b1e
bump NTag424 lib 2024-04-24 21:50:18 +09:00
d11n
d10e07b67b
Pull payment QR scan fixes (#5950)
Updates the icon and fixes a JS error, in case the LNURL/Boltcard option isn't available.
2024-04-24 21:05:35 +09:00
nicolas.dorier
22cf253183
Remove some legacy code 2024-04-24 17:24:15 +09:00
d11n
56d57bbd84
Improve data display on receipt (#5896)
Once more an improvement for the receipt, which also fixes #5882:

- Unify data displayed on the web and print version
- Split cart and additional data and ensure additional data is displayed
- Do not display extra subtotal row if there are no tips or discounts
- Make PosData partial more universal and backwards-compatible by using case insensitive key lookups
2024-04-24 10:22:00 +02:00
d11n
aeb836da76
Domain mapping constraint: Fix .onion case (#5948)
Fixes #5917, which is a regression introduced in #5776. The Tor-check must happen to prevent redirecting, but we must still return true if we already resolved an `appId`.
2024-04-24 11:24:00 +09:00
nicolas.dorier
e4440ca0dc
Fix node public info 2024-04-24 10:14:11 +09:00
Andrew Camilleri
8c4cf779ce
fix bolt 11 0 amount check for payouts (#5943)
Co-authored-by: d11n <mail@dennisreimann.de>
2024-04-23 09:36:49 +02:00
nicolas.dorier
c8f003950a
Remove debug logs 2024-04-22 10:54:44 +09:00
Nicolas Dorier
f4aafd5be3
Cleanup AddressesInvoices table (#5905) 2024-04-16 16:18:56 +09:00
d11n
76719cdc4a
Greenfield: Fix payment method update regression (#5932)
* Greenfield: Fix payment method update regression

Do not exclude if `enabled` is `true`. Got introduced in #5809.

* Fix PaymentMethodId Swagger docs
2024-04-16 11:32:52 +09:00
d11n
7e80fd2e98
Prevent payout double send (#5931)
Fixes #5913.
2024-04-15 13:25:17 +02:00
Nicolas Dorier
f1a04a3bd0
Remove MySQL and Sqlite deps (#5910) 2024-04-15 19:08:25 +09:00
Nicolas Dorier
9699b3837b
Bump CLightning (#5923) 2024-04-15 18:22:30 +09:00
Chukwuleta Tobechi
d2e95c2246
update csv export to include full date and time in 12 hour format (#5922)
* update csv export to include full date and time in 12 hour format

* formatting the export datetime to 24 hours
2024-04-15 12:21:56 +09:00
Andrew Camilleri
8819372d2e
Small payment request fixes (#5926)
* Do not crash payment request page on 0 amount

* set email from form to payment request
2024-04-12 12:56:11 +02:00
Henry Hollingworth
b9cea968e5
(bug) handle null XMR settings (#5909)
Co-authored-by: Henry Hollingworth <henry.hollingworth@alcoa.com>
2024-04-12 07:51:56 +02:00
Dennis Reimann
d2e9ec9494
Cleanup v2 leftovers 2024-04-05 18:05:51 +02:00
nicolas.dorier
4208110d57
Remove CheckoutV1 2024-04-05 16:58:13 +09:00
Nicolas Dorier
ff5e03a8b1
Merge pull request #5902 from btcpayserver/fweoinqrnt
Fix migration crash
2024-04-04 23:11:21 +09:00
nicolas.dorier
57851cef9a
Fix migration crash 2024-04-04 23:10:58 +09:00
Dennis Reimann
620ebc751c
Convert to file-scoped namespace 2024-04-04 11:00:18 +02:00
Dennis Reimann
c7a8523b77
Code cleanups 2024-04-04 10:58:47 +02:00
Dennis Reimann
df4d370524
Rename and clean up properties 2024-04-04 10:48:09 +02:00
Dennis Reimann
71ba5d9c4c
Move actions and methods to separate partial controllers 2024-04-04 10:48:07 +02:00
Jabster28
d216ad7da9
fix: switch to using get_info for monerod (#5885) 2024-04-04 17:38:41 +09:00
Nicolas Dorier
6cc1751924
The Big Cleanup: Refactor BTCPay internals (#5809) 2024-04-04 16:31:04 +09:00
rockstardev
69b589a401
Adding Tether as BTCPay Server Foundation Supporter (#5891)
* Adding Tether as BTCPay Server Foundation Supporter

* Adding Tether to _BTCPaySupporters partial as well

* Modfying supporter_strike.svg to have white backgroundf or dark mode

* Modifying supporter_tether.svg to fit in the 150x100 box

* Centering Tether shape
2024-04-02 19:06:24 -05:00
Snoppy
9ac0e982d6
chore: fix typos (#5883) 2024-03-30 10:20:24 +01:00
Andrew Camilleri
cb25c225e9
Remove custodians (#5863)
* Remove custodians

* Hide Experimental checkbox in the server policies

---------

Co-authored-by: Nicolas Dorier <nicolas.dorier@gmail.com>
2024-03-29 00:28:27 +09:00
d11n
14f8c73b08
POS: Increase size of quantity buttons (#5877)
Closes #5873.
2024-03-28 09:01:56 +09:00
d11n
529075f64c
Make "Employee" default role on store settings (#5874)
* Refactoring: Use property rather than injecting StoreRepository

* Update info text

* Make "Employee" default role on store settings

Closes #5867.
2024-03-28 09:01:34 +09:00
d11n
dba102e74f
Template Editor: Fix mobile view (#5871)
Fixes #5869.
2024-03-27 19:20:49 +09:00
d11n
0f3f8b6bf9
Contact Us improvements (#5872)
* Add contact link to sidebar

Closes #5866.

* Obfuscate contact email on public pages

Closes #5870.

* Fix
2024-03-27 19:19:39 +09:00
ndeet
83028b9b73
Adding introduction, Authentication and Usage examples sections to the API docs. (#5858) 2024-03-24 00:02:01 +09:00
d11n
1fe766cb16
Keypad: Fix images (#5857) 2024-03-22 15:16:59 +01:00
Andrew Camilleri
6b45eb0d3d
Do not throw when local node is not synced and using external ln node (#5859)
* Do not throw when local node is not synced and using external ln node

* Fix additional bug when ln conn strings without server would crash
2024-03-22 10:06:38 +01:00
Andrew Camilleri
88a1d83323
Support bbqr psbts (#5852)
* Support bbqr psbts

https://bbqr.org/ @nvk

* add js test for bbqr
2024-03-21 10:30:23 +01:00
Andrew Camilleri
e21a8df0f3
smaller printed receipts (#5856) 2024-03-21 17:30:34 +09:00
d11n
93f37b506b
UI: Improve Create First Store view (#5854)
Unifies the width and display with the login view.
2024-03-21 07:37:15 +01:00
Chukwuleta Tobechi
fca3480e37
Specify mailto: prefix for emails in Server Settings (#5844)
* Specify mailto: prefix for emails in Server Settings

* resolve test failure

* Update wording

* Apply mailto-prefix on setting change

---------

Co-authored-by: Dennis Reimann <mail@dennisreimann.de>
2024-03-19 15:04:09 +01:00
d11n
966547db54
Template Editor: Apply item changes directly (#5849)
Closes #5847.
2024-03-19 14:59:26 +01:00
d11n
09dbe44bca
Onboarding: Invite new users on store level (#5719)
* Onboarding: Invite new users

- Separates the user self-registration and invite cases
- Adds invitation email for users created by the admin
- Adds invitation tokens to verify user was invited
- Adds handler action for invite links
- Refactors `UserEventHostedService`
- Fixes #5726.

* Add permissioned form tag helper

* Better way of changing a user's role

* Test fixes
2024-03-19 14:58:33 +01:00
rockstardev
b7ce6b7400
Providing additional parameter for info message (#5756)
* Providing additional parameter for info message

* Refactoring code to remove parameter and only set status message in LoadFromBIP21 if not present

* Update BTCPayServer/Controllers/UIWalletsController.cs

---------

Co-authored-by: Andrew Camilleri <evilkukka@gmail.com>
2024-03-18 12:17:30 +01:00
soonsouth
78f169cd24
chore: remove repetitive words (#5842)
chore: remove repetitive words

Signed-off-by: soonsouth <cuibuwei@163.com>
2024-03-18 10:49:07 +01:00
Chukwuleta Tobechi
d0e11f1ec4
changing check box to toggle in various setting views (#5769)
* Resolves: check box to toggle in various setting views

* resolve conflicts

* Notification logic reversal

* remove transform property in the toggle

* Handle email tls certificate check

* Unifications and fixes

---------

Co-authored-by: Dennis Reimann <mail@dennisreimann.de>
2024-03-14 15:16:48 +01:00
Nicolas Dorier
912a706de9
Make Payouts and PullPayments columns JSONB (#5800) 2024-03-14 11:13:26 +01:00
d11n
9b5c8a8254
POS: Add item list to keypad (#5814)
* Add admin option to show item list for keypad view

* Refactor common POS Vue mixin

* Add item list to POS keypad

* Add recent transactions to cart

* Keypad: Pass tip and discount as cart does

* Keypad and cart tests

* Improve offcanvas button

---------

Co-authored-by: Andrew Camilleri <evilkukka@gmail.com>
2024-03-14 11:11:54 +01:00
Nicolas Dorier
e5adc630af
If pull payment opened in mobile, use deeplink to setup card (#5613)
* If pull payment opened in mobile, use deeplink to setup card

* Allow passing LNURLW to register boltcard

* debug

* debug

* debug

* Only show setup/reset when the page is fully loaded

* Apply suggestions from code review

---------

Co-authored-by: Andrew Camilleri <evilkukka@gmail.com>
2024-03-14 11:07:11 +01:00
Henry Hollingworth
c56c6401d6
(feat) monero settlement thresholds (#5807)
* (bug) treat xmr wallet directory as required

The wallet directory configuration setting is required
because the `UIMoneroLikeStoreController`'s
`GetMoneroLikePaymentMethodViewModel` method checks if the wallet file
exists, and to do that in needs the directory.

* (feat) xmr settlement thresholds

Adds the ability to select zero, 1, 10, or a custom number of
confirmations as the payment settlement threshold.

* (review) fix validation message not showing

---------

Co-authored-by: Henry Hollingworth <henry.hollingworth@alcoa.com>
2024-03-14 10:31:27 +01:00
Andrew Camilleri
0e64df3bbf
Parallel payout ln (#5781) 2024-03-14 10:29:14 +01:00
Andrew Camilleri
e497903bf4
Support Admin being able to view stores (#5782)
* Support Admin being able to view stores

* fix null check

* Delete obsolete empty view

* Add test

* Apply CanViewStoreSettings policy changes

Taken from #5719

* Fix Selenium tests

* Update dashboard permission requirement

---------

Co-authored-by: Dennis Reimann <mail@dennisreimann.de>
2024-03-14 10:25:40 +01:00
Chukwuleta Tobechi
f1ff913cbe
PoS app to show POS view for easy setup (#5825)
* PoS app to show POS view for easy setup

* update selenium test

* Updates

* Add QR code icon

---------

Co-authored-by: Dennis Reimann <mail@dennisreimann.de>
2024-03-14 08:52:33 +01:00
d11n
22c6468a5d
Wallet: Label filter dropdown (#5802)
Uses a dropdown component for the label filter, which also work on mobile. Closes #5722.
2024-03-12 10:48:37 +01:00
Andrew Camilleri
a60072a431
do not have report name conflict with old plugin (#5826)
* do not have report name conflict with old plugin

* tryadd instead of add

* Apply #5816 to crowdfund too
2024-03-11 14:18:47 +01:00
d11n
dcc6f17c9c
POS: Fix exception when asking for data with a top up item (#5816)
Fixes #5811.
2024-03-11 11:05:44 +01:00
d11n
15ce148b99
Apps: Make app name the default title (#5779)
* Apps: Make app name the default title

Successor of #5762 with a way simpler approach. Allows the user-facing title to be set, but defaults it to the app name instead of "Tea shop".

* Test fixes
2024-03-11 11:04:41 +01:00
Nicolas Dorier
1fd3054006
Fix: Old payments not showing up in reports (#5812) 2024-03-05 16:10:54 +09:00
d11n
9160a1d71e
Store Logo: Remove restriction of square dimension (#5738)
As discussed on #5718, there is no need for the store logo to be provided in square dimension. As it populates its own row on the public page layouts, we can remove that restriction and make it adaptable by providing only maximum height and width.
2024-02-29 09:34:28 +01:00
d11n
a896560a3c
Lightning Setup page fixes (#5796)
* Lightning Setup: Fix missing headline

Fixes #5795.

* Lightning Setup: Fix tab switching UI glitch

Fixes #5778.
2024-02-29 06:56:34 +01:00
d11n
e43b4ed540
Onboarding: Invite new users (#5714)
* Server Users: More precise message when inviting users

This lets the admin who invited a new user know whether or not an email has been sent. If the SMTP server hasn't been set up, they need to share the invite link with the user.

* Onboarding: Invite new users

- Separates the user self-registration and invite cases
- Adds invitation email for users created by the admin
- Adds invitation tokens to verify user was invited
- Adds handler action for invite links
- Refactors `UserEventHostedService`

* Remove duplicate status message from views that use the wizard layout

* Auto-approve users created by an admin

* Notify admins via email if a new account requires approval

* Update wording

* Fix update user error

* Fix redirect to email confirmation in invite action

* Fix precondition checks after signup

* Improve admin notification

Send notification only if the user does not require email confirmation or when they confirmed their email address. Rationale: We want to inform admins only about qualified users and not annoy them with bot registrations.

* Allow approval alongside resending confirm email

* Use user email in log messages instead of ID

* Prevent unnecessary notification after email confirmation

* Use ApplicationUser type explicitly

* Fix after rebase

* Refactoring: Do not subclass UserRegisteredEvent
2024-02-28 20:43:18 +09:00
Chukwuleta Tobechi
8b446e2791
Reposition the camera scan icon in the wallet > send functionality (#5790)
* Reposition the camera scan icon in the wallet > send functionality

* refactored changes

* Minor adjustments

---------

Co-authored-by: Dennis Reimann <mail@dennisreimann.de>
2024-02-28 10:41:17 +01:00
Pavlenex
d72b0e4cee
Merge pull request #5610 from NicolasDorier/warnignremov
Remove disclaimer for lightning being in experimentation
2024-02-24 21:33:26 +05:00
d11n
22996ea21e
UI: Deprecate the custom CSS options (#5735)
* UI: Deprecate the custom CSS options

As discussed with @pavlenex we are deprecating the custom CSS options for particular entities (payemnt request, pull payment, POS, crowdfund) in favor of the store branding approach.

This displays the custom CSS section only if these values are set already.

* Add IDs to html element

This will allow styling of individual entities.
2024-02-23 13:42:00 +01:00
d11n
d55770cc16
Admin overview of the stores on the instance (#5745)
* Admin overview of the stores on the instance

POC/Draft for #5674.

* Enable admin to access foreign stores

* Remove stores list link

* UI updates

* Grant admins guest access to foreign stores

* Optimize cookie auth handler

* Test fix

* Revert changes related to StoreRepository.FindStore with isAdmin
2024-02-23 09:51:41 +01:00
Andrew Camilleri
5c98ca180a
Webhook tests + FIXES + DOCS (#5686)
* webhook tests

* fixes and add docs

* Do not update FormResponse and StoreId in update/create PullPayment

---------

Co-authored-by: nicolas.dorier <nicolas.dorier@gmail.com>
2024-02-23 09:44:42 +01:00
d11n
b9e3686fcf
Fix build warnings and flaky tests (#5780)
* Make checkout v2 selenium tests more robust

* Fix build warnings

* Make payjoin test more robust

* Make LNURL test more robust
2024-02-22 09:38:06 +09:00
d11n
4ae1046571
Server Settings: Customize instance name and add contact URL (#5718)
* Server Settings: Customize instance name and add contact URL

- The custom instance name would improve #5563
- Added contact URL closes #4806

* Fix custom logo display
2024-02-21 20:54:39 +01:00
d11n
147c6c4548
HTML Sanitizer updates (#5736)
* Update HTML sanitizer package

* Remove unused sanitizer from apps

* Allow mailto: links

Fixes #5728.
2024-02-21 20:53:24 +01:00
d11n
354338180b
Store: Move support URL to Checkout Appearance and improve wording (#5717)
As discussed in the recent design meeting.
2024-02-21 18:50:38 +01:00
d11n
5939e19f72
Lightning: Replace user info in server URL when logging (#5750)
* Lightning: Replace user info in server URL when logging

Fixes #5747.

* Fix empty user info case
2024-02-21 14:45:05 +01:00
Andrew Camilleri
f72a6df55a
Add legacy report (#5740) 2024-02-21 14:44:49 +01:00
d11n
9c95b98f3a
Policies: Cleanup and improvements (#5731)
* Policies: Turn checkboxes into toggles

* Move email policy to server email settings

* Move maintenance policies to server maintenance settings

* Policies: Adjust spacings

* Policies: Remove DisableInstantNotifications setting

* Wording updates

* Move maintenance settings back
2024-02-21 14:43:44 +01:00
ndeet
55a8ba0905
Adding link to API usage examples in docs. (#5772) 2024-02-21 14:42:15 +01:00
Nisaba
04037b3d2d
Crowdfund : Add Buyer information / Additional information(forms) like POS (#5659)
* Crowfund : Add Buyer information / Additional information(forms) like POS

* PR 5659 - changes

* Cleanups

* fix perk

* Crowdfund form tests

* Add Selenium test for Crowfund

* Selenium update

* update Selenium

* selenium update

* update selenium

* Test fixes and view improvements

* Cleanups

* do not use hacky form element for form detection

---------

Co-authored-by: nisaba <infos@nisaba.solutions>
Co-authored-by: Dennis Reimann <mail@dennisreimann.de>
Co-authored-by: Kukks <evilkukka@gmail.com>
2024-02-21 14:41:21 +01:00
d11n
4943c84655
Invoice: Improve events display (#5775)
Closes #5773.

- Adds seconds to the displayed date and time
- Adds a tooltip that displays the full date and time including milliseconds
- Reintroduced the colored text in case of unusual events/states (this didn't work before)
2024-02-21 14:08:28 +01:00
d11n
42a8160768
UI: Make store selector list scrollable if necessary (#5760)
Fixes #5754.
2024-02-21 13:34:47 +01:00
d11n
33d3a25928
Apps: Don't redirect .onion requests to canonical domain (#5776)
Fixes #5729.
2024-02-21 13:34:12 +01:00