Commit Graph

8572 Commits

Author SHA1 Message Date
Nicolas Dorier
62552a7bfe Merge pull request #7000 from NicolasDorier/fix-linkgenerator
Fix: Spurious EF error on CallbackGenerator
2025-11-14 23:00:57 +09:00
Nicolas Dorier
c9dcd4f0a4 Fix: Spurious EF error on CallbackGenerator 2025-11-14 22:48:18 +09:00
Nicolas Dorier
01f478e680 Merge pull request #6997 from NicolasDorier/loginrules
Feature: Plugin can extend whether an account can login or not
2025-11-14 22:22:48 +09:00
Nicolas Dorier
41f5588257 Feature: Plugin can extend whether an account can login or not 2025-11-14 18:00:20 +09:00
Nicolas Dorier
a914d798f3 Fix CI: Unsupported repository version 1. Only versions up to 0 are supported. 2025-11-14 16:34:59 +09:00
Nicolas Dorier
2926dc402b Fix node menu link style 2025-11-14 09:01:30 +09:00
Nicolas Dorier
f3184c35b4 Merge pull request #6995 from Abhijay007/SeleniumToPlaywright/CanChangeUserRolesAndOthers
(Refactor) : Converted Selenium test for `CanAccessUserStoreAsAdmin` and Others to playwright
2025-11-13 22:18:31 +09:00
Abhijay007
cc0570f0ef refactor : addressed requested changes
Signed-off-by: Abhijay007 <Abhijay007j@gmail.com>
2025-11-13 13:12:32 +00:00
Abhijay007
1bbb95084e refactor : addressed requested changes
Signed-off-by: Abhijay007 <Abhijay007j@gmail.com>
2025-11-13 12:50:27 +00:00
Abhijay007
f26f42ba05 refactor: updated test
Signed-off-by: Abhijay007 <Abhijay007j@gmail.com>
2025-11-13 10:57:28 +00:00
Abhijay jain
da53f3a580 (Refactor): Removed Selenium Test for CanChangeUserRoles
Signed-off-by: Abhijay jain <Abhijay007j@gmail.com>
2025-11-13 10:32:17 +00:00
Abhijay jain
89acda4f3e (Test):Converted/Added Playwright Test for CanChangeUserRoles
Signed-off-by: Abhijay jain <Abhijay007j@gmail.com>
2025-11-13 10:31:11 +00:00
Abhijay jain
edac1e7e5d (Refactor): Removed Selenium Test for CanAccessUserStoreAsAdmin
Signed-off-by: Abhijay jain <Abhijay007j@gmail.com>
2025-11-13 10:30:52 +00:00
Abhijay jain
bb7d14f71f (Test):Converted/Added Playwright Test for CanAccessUserStoreAsAdmin
Signed-off-by: Abhijay jain <Abhijay007j@gmail.com>
2025-11-13 10:30:34 +00:00
Nicolas Dorier
4afb608eb8 Merge pull request #6990 from NicolasDorier/email-test
Refactor: Move all email tests to same class EmailTests
2025-11-12 17:06:00 +09:00
Nicolas Dorier
955dd63512 Refactor: Move all email tests to same class EmailTests 2025-11-12 16:11:56 +09:00
Nicolas Dorier
c06617a498 Merge pull request #6988 from NicolasDorier/ui-extension-registry
Refactor: Add UIExtensionsRegistry
2025-11-12 12:07:11 +09:00
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
52a73d4dd3 Refactor: Add UIExtensionsRegistry
The component UIExtensionPoint was injecting IEnumerable<IUIExtension>
and then filtering on those.
As the number of IUIExtension grows, this operation grows at O(n).

Now we use UIExtensionsRegistry instead which use lookups. O(1)
2025-11-12 11:52:08 +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