Commit Graph

7986 Commits

Author SHA1 Message Date
nicolas.dorier
7ac6cad18c
Be more flexible on derivation scheme parsing 2024-11-12 15:26:30 +09:00
Nicolas Dorier
b3abc8f161
Fix: Newline during import of multisig xpub results in different addresses for wallet (#6328) (#6386) 2024-11-12 12:15:42 +09:00
d11n
e80296fa85
UI: Escape translated strings in JS (#6373)
Fixes #6370.
2024-11-12 11:16:56 +09:00
Nicolas Dorier
d0779b88e0
Fix: InvoiceCurrencyAmount and Rate columns in reports displays 0.00 (#6385) 2024-11-12 11:15:02 +09:00
jackstar12
acd7765159
fix: center qr code (#6362) 2024-11-12 10:43:00 +09:00
d11n
0a51031334
Docs: Improve invoice payemnt tolerance API docs (#6383)
Fixes #6378.
2024-11-12 09:59:17 +09:00
Nicolas Dorier
0f7c0341c5
Fix: Do not allow retry of payouts if they are non interactive (Boltcard) (#6382) 2024-11-12 09:58:10 +09:00
Dennis Reimann
d40669c7bd
Fix flakyness in CanUseLightningAPI test 2024-11-11 18:20:45 +01:00
Dennis Reimann
fe8360e870
Remove old Altcoins folder 2024-11-11 08:01:15 +01:00
nicolas.dorier
72fd2ec424
Add additional error message if payout fail with no route 2024-11-11 12:09:17 +09:00
Nicolas Dorier
7e7d4086cd
Fix: The lightning symbol was missing in the payment stats (#6376) 2024-11-09 23:09:31 +09:00
d11n
f5d26a1555
Store: Fix missing invitation email when adding new user (#6372)
Fixes #6369, a regression introduced with#6188: Sending invite emails required a flag to be set, which defaulted to false. This fixes the code to explicitely set the flag and also defaults it to true (sending an invite email unless declared otherwise).
2024-11-09 13:55:34 +01:00
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
12681eda36
bump 2024-11-08 16:36:27 +09: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
nicolas.dorier
bbba7551b7
Minor forgotten dispose in tests 2024-11-07 10:47:02 +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
b3945d758a
chore: add rider .run folder to .gitignore (#6358)
custom run configurations in rider are stored inside .run folder
2024-11-05 19:00:29 +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
8a5a160645
bump 2024-11-04 13:12:35 +09:00
nicolas.dorier
5cbadc09f9
Changelog 2.0.1 2024-11-04 13:08:57 +09: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
5cbeea4fb3
Changelog 2.0 (#6313)
* Changelog 2.0

* Update Changelog.md

---------

Co-authored-by: Andrew Camilleri <evilkukka@gmail.com>
2024-10-30 15:35:00 +01: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
c4a2b4e975
Merge pull request #6327 from btcpayserver/bugfix/vaulticons
Properly cleaning up old feedback in vault feedback items
2024-10-24 15:33:44 -05:00
rockstardev
d508f5dc09 Properly cleaning up old feedback in vault feedback items 2024-10-22 21:50:22 -05:00