Commit Graph

6764 Commits

Author SHA1 Message Date
Nicolas Dorier
b6c635c29b Refactor: Move email services to the email plugin directory 2025-11-12 11:35:04 +09:00
Nicolas Dorier
666896df5c Merge pull request #6979 from NicolasDorier/server-email-rules
Add Server Email Rules
2025-11-12 08:52:23 +09:00
Nicolas Dorier
46156a5a39 Remove the store invitation notification to store owners 2025-11-12 08:49:48 +09:00
Nicolas Dorier
894643c5a3 Fix: When running more than one test in a test run, only the first would load plugins correctly (#6985)
Reported by @napoly.

## Actual behavior

Two tests were created. When we would run the tests through the runner,
ASP.NET wouldn't find the registered view of the plugin.

## Expected behavior

The second test should works find, ASP.NET should properly find the
views of the plugin when there are more than one test in the same test
run.

## Cause

If we detected that a plugin assemly was already in the AppDomain, then
we were not loading the ApplicationParts of such assembly.
This wasn't the case for the first test run, but would be after.

The reason for initially doing this was that long time ago, we would
test plugins by referencing them from BTCPaySevrer project. But since
this is not how we are doing things anymore, I think it is safe to
remove this "Feature".
This feature was broken anyway since we started loading plugins in their
own context, but this wouldn't happen with the old way of referencing
plugins from BTCPayServer. (#6851)
2025-11-12 00:15:31 +09:00
Nicolas Dorier
3948eb13cd Add default server email rules in migration 2025-11-10 17:24:27 +09:00
Nicolas Dorier
dcf60e20b9 Add CC and BCC to emails 2025-11-10 17:24:27 +09:00
Nicolas Dorier
d7fcd55707 Add invite and confirmation emails 2025-11-10 17:24:27 +09:00
Nicolas Dorier
88d3e7ad55 Fix: Rich TextBox (Summernote) not saving changes in code-view
The richtext box had an annoying bug: If you switch to code view, modify
the code then save, the changes would be ignored.

One had to switch back to preview mode prior to save. (See
summernote/summernote#94 for more details)
2025-11-10 17:24:27 +09:00
Nicolas Dorier
b7aed3e3d8 Add Server Email Rules 2025-11-10 17:24:27 +09:00
Nicolas Dorier
849b27cf49 Do not save cache of rates in the database (#6978)
We were previously saving the rates in the database in a JSONB blob
column. However, the volume of data ise consequential enough for
provoking timeouts during update.

Due to how postgres works, this also create bloat in the database that
isn't cleaned immediately.

This PR fixes this issue by saving the cache in files instead.
2025-11-05 16:54:34 +09:00
Nicolas Dorier
1411745265 Refactor ToggleUser->SetDisabled (#6975) 2025-11-05 09:39:33 +09:00
Nicolas Dorier
5a5b0c21a4 Fix: Denied 403 page if denied access to default store (#6976)
If a user go to store A, then lose access to store A, any attempt to
browse the home page will return a 403 error.

The user would then get stuck, unable to select a new store until he
clears the cache.
2025-11-05 09:26:36 +09:00
Nicolas Dorier
d53b36c2a3 Fix: Wallet report were showing negative balance change in green (#6974) 2025-11-04 12:27:02 +09:00
Nicolas Dorier
54cec83507 Refactor access to the ViewModel of the MainLayout (#6970) 2025-11-01 00:02:11 +09:00
Nicolas Dorier
b8fcb83fd6 Disable cookie access when a user is disabled (#6971) 2025-10-30 23:35:28 +09:00
nicolas.dorier
b1cba47adf [Features] Subscriptions 2025-10-28 15:33:23 +09:00
Nicolas Dorier
ff02c0f5d7 Unify delete confirmation confirm dialog (#6965) 2025-10-26 12:37:55 +09:00
rockstardev
3697790c81 Merge pull request #6962 from btcpayserver/bugfix/payment-request-referenceid
Preventing duplicate ReferenceIds for Payment Requests
2025-10-23 07:07:49 -05:00
Nicolas Dorier
42490c389d Fix: Unable to reset email settings (#6963) 2025-10-23 17:29:42 +09:00
rockstardev
aa6944b01e Adding validation of ReferenceId for Payment Request 2025-10-22 10:44:29 -05:00
rockstardev
02adde7fd5 Merge pull request #6942 from bufo24/add-Status-template-string-in-redirect-url
feature: add {Status} template string in redirect url
2025-10-21 12:00:18 -05:00
rockstardev
83cc198124 Merge pull request #6958 from btcpayserver/fix/pos-full-status
Providing full status for review in POS recent transactions
2025-10-21 11:03:50 -05:00
nicolas.dorier
66a64e8622 Fixup modal not closing 2025-10-20 22:57:39 +09:00
Bufo
49e5afcacf chore: update status replace logic 2025-10-20 10:47:58 +04:00
Bufo
d25dbaabbc feat: add {Status} template string in redirect url 2025-10-20 10:47:58 +04:00
Nicolas Dorier
e8282ca849 Refactoring of Webhooks and Email Rules (#6954) 2025-10-19 22:31:24 +09:00
rockstardev
c630c9b4cb Centering the icon for recent transactions 2025-10-17 14:39:02 -05:00
rockstardev
5ade3b99b1 Providing full status for review in POS recent transactions 2025-10-17 14:39:02 -05:00
Nicolas Dorier
6b727dd192 Add helpers methods (#6941) 2025-10-07 21:08:23 +09:00
Nicolas Dorier
e170ed1f91 Add ability to setup anti forgery token and action values to confirm modal (#6940) 2025-10-07 17:40:30 +09:00
Nicolas Dorier
84c2caf2c8 Minor refactoring (#6939) 2025-10-07 17:06:26 +09:00
Nicolas Dorier
fa29176a9c Better error message on invalid PSBT in Sign with Seed (#6920)
* Better error message on invalid PSBT in Sign with Seed

* Improve error reporting if a PSBT built by SendWallet is not signable
2025-09-18 10:49:54 +09:00
nicolas.dorier
5400c2bd14 Update translations 2025-09-09 20:31:53 +09:00
nicolas.dorier
5ebc113bff Fix typo in swagger (#6906) 2025-09-09 20:24:28 +09:00
Nicolas Dorier
967626a07d Fix: Date column header isn't aligned (#6914) 2025-09-09 18:31:41 +09:00
nicolas.dorier
0d4662512f Fix: Updating store settings would silently fail where the is validation issue 2025-09-08 14:30:46 +09:00
rockstardev
03b1133336 Merge pull request #6896 from btcpayserver/fix/unlisted-plugins-updates
fix: ensure unlisted installed plugins appear as updatable
2025-09-05 11:33:04 -05:00
rockstardev
9caea0958a refactor: removing local variable 2025-09-05 11:32:23 -05:00
thgO.O
5994fcd0ae refactor: show error detail in ListPlugins temp data. 2025-09-02 14:50:28 -03:00
thgO.O
3d8dc1040b refactor: let exceptions bubble and remove noisy logs 2025-09-02 12:19:22 -03:00
thgO.O
0352edd56d refactor: add GetShortBtcpayVersion to DRY version parsing 2025-08-27 15:04:42 -03:00
thgO.O
d608072efa refactor: improve logging context in MapToAvailablePlugin 2025-08-27 14:40:35 -03:00
thgO.O
b02d113a76 refactor: add query param encoding and improve error handling 2025-08-27 14:39:59 -03:00
thgO.O
b733a8e079 refactor: make HttpClient a readonly field and adopt _httpClient naming 2025-08-27 14:36:42 -03:00
thgO.O
5802966b23 refactor: drop #nullable enable and return empty array 2025-08-27 13:15:25 -03:00
thgO.O
2fcaf9bbf6 refactor: improve null-safety and error handling 2025-08-27 13:15:10 -03:00
thgO.O
ffa3ea82ed refactor: handle malformed JSON in updates response 2025-08-27 12:25:38 -03:00
thgO.O
f58e790672 refactor: move update check logic for installed plugins to plugin-builder 2025-08-26 01:03:57 -03:00
thgO.O
a787eabf13 feat: add InstalledPluginRequest and GetInstalledPluginsUpdates 2025-08-26 00:54:57 -03:00
Nicolas Dorier
fe09dca178 Fix: Periodic tasks would sometimes stop firing (#6898) 2025-08-25 02:37:16 +01:00