Commit Graph

7902 Commits

Author SHA1 Message Date
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
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