Commit Graph

8554 Commits

Author SHA1 Message Date
Nicolas Dorier
2bfcaaea7d Merge pull request #6987 from NicolasDorier/refact-mails
Refactor: Move email services to the email plugin directory
2025-11-12 11:55:30 +09:00
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
Abhijay Jain
2ca06c6614 (Refactor) : Converted Selenium test for CanCreateStores and Others to playwright (#6938)
* refactor : resolved merge conflicts

Signed-off-by: Abhijay007 <Abhijay007j@gmail.com>

* (Refactor): Removed Selenium Test for CanCreateStores

Signed-off-by: Abhijay jain <Abhijay007j@gmail.com>

* (Test):Converted/Added Playwright Test for CanUseCoinSelection

Signed-off-by: Abhijay jain <Abhijay007j@gmail.com>

* (Refactor): Removed Selenium Test for CanUseCoinSelection

Signed-off-by: Abhijay jain <Abhijay007j@gmail.com>

* refactor: resolved merge conflicts

Signed-off-by: Abhijay007 <Abhijay007j@gmail.com>

* refactor: resolved merge conflicts

Signed-off-by: Abhijay007 <Abhijay007j@gmail.com>

* refactor : resolved minor issues

Signed-off-by: Abhijay007 <Abhijay007j@gmail.com>

* refactor : updated tests

Signed-off-by: Abhijay007 <Abhijay007j@gmail.com>

* refactor: updated test

Signed-off-by: Abhijay007 <Abhijay007j@gmail.com>

* refactor: addressed requested changes

Signed-off-by: Abhijay007 <Abhijay007j@gmail.com>

* refactor: addressed requested changes

Signed-off-by: Abhijay007 <Abhijay007j@gmail.com>

---------

Signed-off-by: Abhijay007 <Abhijay007j@gmail.com>
Signed-off-by: Abhijay jain <Abhijay007j@gmail.com>
2025-11-11 10:26:45 +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
Abhijay Jain
999bd4db41 (Refactor) : Converted Selenium test for CanUsePairing and Others to playwright (#6927) 2025-11-05 17:24:58 +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
09b1b89509 Adding test for unique ReferenceId 2025-10-22 10:53:39 -05: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
Abhijay Jain
5e9dca19d5 (Refactor) : Converted Selenium test for CanUseWebhooks and Others to playwright (#6923)
* (Test):Converted/Added Playwright Test for CanUseAwaitProgressForInProgressPayout

Signed-off-by: Abhijay jain <Abhijay007j@gmail.com>

* (Refactor): Removed Selenium Test for CanUseAwaitProgressForInProgressPayout

Signed-off-by: Abhijay jain <Abhijay007j@gmail.com>

* (Test):Converted/Added Playwright Test for CanUseWebhooks

Signed-off-by: Abhijay jain <Abhijay007j@gmail.com>

* (Refactor): Removed Selenium Test for CanUseWebhooks

Signed-off-by: Abhijay jain <Abhijay007j@gmail.com>

---------

Signed-off-by: Abhijay jain <Abhijay007j@gmail.com>
2025-09-22 17:09:00 +09:00
rockstardev
3a324e19dc Bumping LND to 0.19.3-beta (#6924) 2025-09-19 17:24:49 +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
790616d2a6 Restore old minrelaytxfee for making test pass 2025-09-09 22:28:52 +09:00
nicolas.dorier
600d3eb9c8 bump bitcoin core in tests 2025-09-09 22:10:05 +09:00
nicolas.dorier
5400c2bd14 Update translations 2025-09-09 20:31:53 +09:00
nicolas.dorier
b2d5b0ed48 Merge branch 'changelog/2.2.1' 2025-09-09 20:25:59 +09:00
nicolas.dorier
5ebc113bff Fix typo in swagger (#6906) 2025-09-09 20:24:28 +09:00
nicolas.dorier
350152ca24 Changelog and Bump to 2.2.1 2025-09-09 20:22:23 +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
jackstar12
cfb9a7b16f fix: update docker certificates (#6909)
* fix: install `ca-certificates` in dockerfile

certificates will get outdated otherwise

* chore: bump `dotnet/aspnet` base image to 8.0.18
2025-09-06 11:20:49 +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