Commit Graph

6337 Commits

Author SHA1 Message Date
d11n
540fb6c9f6
UI: Improve brand color adjustment (#6351)
Uses a more finegrained method of deciding whether or not to adjust the brand color: Instead of simply using the brightness of the color, we calculate the contrast ratio and adjust the color by increasing the contrast until it is sufficient.

The thresholds also try to preserve the brand color in its original form, so that the color only gets adjusted if the contrast is very low.
2024-11-08 09:01:28 +01:00
Nicolas Dorier
a05dbef337
Fix: Payouts were incorrectly marked as canceled even after successful (#6365)
completion
2024-11-08 16:13:13 +09:00
Chukwuleta Tobechi
a8581510e5
improve UX description (#6129)
* Include sparrow 2fa wallet import plus improve UX description

* Add test

* Remove 2FA inclusion

* udate the btcpay network

* 2FA clean up

---------

Co-authored-by: nicolas.dorier <nicolas.dorier@gmail.com>
2024-11-07 17:00:28 +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
392ec623c0
Refactoring: Remove StoreData object from view models (#6363) 2024-11-07 08:58:47 +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
jackstar12
4272ea97db
refactor: use PaymentHash instead of Id when checking pending ln payout (#6360)
Does the same, but the `GetPayment` call explicitly wants a payment
hash, which is clearer this way (thought there might be a bug here when
I first read the code)
2024-11-05 19:00:15 +09:00
jackstar12
5e438b84e1
chore: rm unnecessary try catch block (#6359)
this one is redundant since the calls to `Pay` and `GetPayment` are
inside their own try catch blocks now
2024-11-05 17:54:58 +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
7aa87d397e
Fix: Wrong manifest downloaded when installing plugin on old btcpay (Fix #6344) (#6354) 2024-11-04 13:05:10 +09:00
Chukwuleta Tobechi
693eceb80f
Reolve pull payment timezone (#6348) 2024-11-01 08:28:43 +09:00
jackstar12
7d8fc14159
fix: save proof blob if payout is in progress (#6343)
the payout cant be tracked later otherwise and will be marked as
cancelled
2024-11-01 08:24:21 +09: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
Dennis Reimann
910801d305
Replace font-awesome icon on Policies page 2024-10-31 12:23:30 +01:00
nicolas.dorier
5ad0b128aa
Dummy commit 2024-10-30 23:39:11 +09:00
d11n
a6e18736d6
Keypad updates (#6338)
* Add keypad icons

Closes #6195.

* Keypad JS fixes
2024-10-29 23:44:37 +09:00
Andrew Camilleri
373b90e3b5
Liquid fixes (#6340)
make sure link provider is per payment method of liquid assets. Also remove ETB as it has been unused. Also hide the send button as it is not supported thrrough BTCPay
2024-10-29 23:43:37 +09:00
nicolas.dorier
92f9b226fe
Prevent additional concurrency issues with LightnignPendingPayoutListener 2024-10-28 22:12:29 +09:00
Dennis Reimann
0ac6553840
Add download icon 2024-10-28 08:25:30 +01:00
jackstar12
41a2241ae1
feat: log download button (#6330)
* feat: add download button to logs view

* fix: add using block for `fileStream` if it isnt downloaded
2024-10-27 21:43:47 +09:00
nicolas.dorier
9bb1a5b80a
Prevent concurrency race on lightning payout update 2024-10-27 19:55:30 +09:00
nicolas.dorier
0e59107eee
Fix tests with LightningPendingPayoutListener overriding automated payouts state changes 2024-10-27 19:34:20 +09:00
jackstar12
c9fe68b812
fix: pass current offset to log route (#6329)
the current offset is lost otherwise and will cause a 404 if it was
greater than 0
2024-10-27 19:12:39 +09:00
jackstar12
e7b9688602
refactor: make BitcoinCheckoutModelExtension support other payment handlers (#6311)
* refactor: make `BitcoinCheckoutModelExtension` support other payment handlers

The bitcoin checkout extension doesn't have to be tied to the native
bitcoin handler since it only really needs the payment details to be in
a specific format, which can be provided by other handlers aswell,
allowing for better code reuse.

* refactor: initialize payment methods in constructor
2024-10-25 22:50:46 +09: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
Nicolas Dorier
e5611f9165
Fix tests (#6333) 2024-10-25 22:23:27 +09:00
d11n
540ad13265
Paging improvements (#6332)
* Domain Mapping: Passthrough query params when redirecting

* Clean up Pager

* Use current URL when paging

* Refactor
2024-10-25 22:23:03 +09:00
Dennis Reimann
2849426092
Checkout: Allow breaking long item description texts 2024-10-25 13:11:26 +02:00
rockstardev
d508f5dc09 Properly cleaning up old feedback in vault feedback items 2024-10-22 21:50:22 -05:00
nicolas.dorier
81ce8b0469
Fix flaky test 2024-10-23 00:17:02 +09:00
nicolas.dorier
5a3a661e91
Revert "Revert "Fix flaky test""
This reverts commit bb5c6bd68d.
2024-10-22 23:44:16 +09:00
nicolas.dorier
bb5c6bd68d
Revert "Fix flaky test"
This reverts commit 9dfabeab52.
2024-10-22 23:41:41 +09:00
nicolas.dorier
9dfabeab52
Fix flaky test 2024-10-22 23:36:12 +09:00
Nicolas Dorier
ad07330bf1
Update CLN support to 24.08.2 (#6323) 2024-10-21 00:25:50 +09:00
nicolas.dorier
74011e50e3
Do not translate checkout with the backend language 2024-10-20 11:49:36 +09:00
Nicolas Dorier
3dfdbf544a
Automated processor get disabled after some repeated failures (#6320) 2024-10-20 00:08:28 +09:00
nicolas.dorier
4bf0b79c2a
Simple rename 2024-10-19 22:07:20 +09:00
Nicolas Dorier
cc0ea0b3f8
Refactor payouts processing (#6314) 2024-10-19 21:33:34 +09:00
Dennis Reimann
62d765125d
Toggle color fix 2024-10-18 15:14:30 +02:00
nicolas.dorier
b5b45d9a27
Rename Transaction->Translation 2024-10-18 16:06:51 +09:00
Nicolas Dorier
8e098710c1
Require non interactivity for boltcard payments (#6289) 2024-10-18 14:09:41 +09: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
jackstar12
8b5b90d247
refactor: make BeforeFetchingRates function public (#6310)
This function is useful when a payment method wants to update its
payment prompt after receiving a partial payment, like ln does
2024-10-18 14:03:37 +09:00
jackstar12
b670097592
feat: provide store info to modify-lnurlp-request filter (#6312)
adds store data to the filter using a new `StoreLNURLPayRequest` class
which simply adds a `Store` member.

closes: https://github.com/btcpayserver/btcpayserver/issues/6301
2024-10-18 14:03:07 +09:00
Nicolas Dorier
7b6a115adc
[Greenfield] Select default payoutMethodId if none are selected in the Refund route (#6315) 2024-10-17 22:54:59 +09:00
d11n
77fba4aee3
Add more translations (#6302)
* Newlines

* Dashboard

* Add more translations

* Moar

* Remove &nbsp; from translated texts

* Dictionary controller translations

* Batch 1 of controller updates

* Batch 2 of controller updates

* Component translations

* Batch 3 of controller updates

* Fixes
2024-10-17 22:51:40 +09:00
nicolas.dorier
b7affb1d34
Fix monero payments 2024-10-17 18:55:00 +09:00