Commit Graph

6083 Commits

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