Commit Graph

8010 Commits

Author SHA1 Message Date
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
d11n
3bad5883bb
Permissions: Remove deprecated custodian account policies (#6193)
Updates the store owner role and removes these three deprecated policies:

- `btcpay.store.cantradecustodianaccount`
- `btcpay.store.canwithdrawfromcustodianaccount`
- `btcpay.store.candeposittocustodianaccount`
2024-09-12 10:02:37 +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
04b1130837
Fix tests 2024-09-09 23:39:59 +09:00
nicolas.dorier
c377617b5a
Fix migration issue on invalid json char 2024-09-09 23:15:53 +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
85cc221d50
Remove obsolete errors 2024-08-29 10:47:03 +09:00
nicolas.dorier
588b00de45
Fix potential crash in migration 2024-08-29 10:21:25 +09:00
nicolas.dorier
656a1f8294
bump version 2024-08-29 09:40:22 +09: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
nicolas.dorier
9410a293f7
Fix tests 2024-08-22 17:21:06 +09:00
nicolas.dorier
a0704eddb0
Fix tests 2024-08-22 16:34:37 +09:00