Skip to content

Commit eebd73f

Browse files
authored
Merge pull request #2287 from BEXIS2/rc
release 4.2.0
2 parents ec09cf7 + c9badc1 commit eebd73f

File tree

329 files changed

+30373
-2706
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

329 files changed

+30373
-2706
lines changed

.editorconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,9 @@ csharp_prefer_simple_using_statement = true:suggestion
8484
csharp_style_namespace_declarations = block_scoped:silent
8585
csharp_style_pattern_matching_over_is_with_cast_check = true:suggestion
8686

87+
# CS1591: Fehledes XML-Kommentar für öffentlich sichtbaren Typ oder Element
88+
dotnet_diagnostic.CS1591.severity = none
89+
8790
[*.vb]
8891
#### Benennungsstile ####
8992

.github/workflows/main.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ jobs:
1111

1212
steps:
1313
- name: Checkout repository
14+
1415
uses: actions/checkout@v4
1516

1617
- name: Install .NET SDK
@@ -26,7 +27,9 @@ jobs:
2627
upgrade-assistant analyze BExIS%2B%2B.sln --format json > upgrade-report.json
2728
2829
- name: Upload report artifact
29-
uses: actions/[email protected]
30+
31+
uses: actions/upload-artifact@v4
32+
3033
with:
3134
name: upgrade-report
3235
path: upgrade-report.json

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,3 +281,4 @@ svelte
281281
/Console/BExIS.Web.Shell/Areas/RPM/BExIS.Modules.Rpm.UI/Scripts/svelte
282282
/_output
283283
/Console/BExIS.Web.Shell/Web.config
284+
/Console/BExIS.Web.Shell/Areas/SMM/BExIS.Modules.SMM.UI/Properties/PublishProfiles/FolderProfile.pubxml

BExIS++.sln

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,10 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BExIS.Ext.Orm.NH", "Compone
230230
EndProject
231231
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BExIS.Modules.Dim.UI", "Console\BExIS.Web.Shell\Areas\DIM\BExIS.Modules.Dim.UI\BExIS.Modules.Dim.UI.csproj", "{9BFFFD11-03C6-47DF-9CC9-F458A9A49377}"
232232
EndProject
233+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "SMM", "SMM", "{02EA681E-C7D8-13C7-8484-4AC65E1B71E8}"
234+
EndProject
235+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BExIS.Modules.SMM.UI", "Console\BExIS.Web.Shell\Areas\SMM\BExIS.Modules.SMM.UI\BExIS.Modules.SMM.UI.csproj", "{37402CAB-EB81-4D08-8791-8653949C0FEB}"
236+
EndProject
233237
Global
234238
GlobalSection(SolutionConfigurationPlatforms) = preSolution
235239
Debug|Any CPU = Debug|Any CPU
@@ -1486,6 +1490,24 @@ Global
14861490
{9BFFFD11-03C6-47DF-9CC9-F458A9A49377}.TestServerRelease|Mixed Platforms.Build.0 = TestServerRelease|Any CPU
14871491
{9BFFFD11-03C6-47DF-9CC9-F458A9A49377}.TestServerRelease|x86.ActiveCfg = TestServerRelease|Any CPU
14881492
{9BFFFD11-03C6-47DF-9CC9-F458A9A49377}.TestServerRelease|x86.Build.0 = TestServerRelease|Any CPU
1493+
{37402CAB-EB81-4D08-8791-8653949C0FEB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
1494+
{37402CAB-EB81-4D08-8791-8653949C0FEB}.Debug|Any CPU.Build.0 = Debug|Any CPU
1495+
{37402CAB-EB81-4D08-8791-8653949C0FEB}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
1496+
{37402CAB-EB81-4D08-8791-8653949C0FEB}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
1497+
{37402CAB-EB81-4D08-8791-8653949C0FEB}.Debug|x86.ActiveCfg = Debug|Any CPU
1498+
{37402CAB-EB81-4D08-8791-8653949C0FEB}.Debug|x86.Build.0 = Debug|Any CPU
1499+
{37402CAB-EB81-4D08-8791-8653949C0FEB}.Release|Any CPU.ActiveCfg = Release|Any CPU
1500+
{37402CAB-EB81-4D08-8791-8653949C0FEB}.Release|Any CPU.Build.0 = Release|Any CPU
1501+
{37402CAB-EB81-4D08-8791-8653949C0FEB}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
1502+
{37402CAB-EB81-4D08-8791-8653949C0FEB}.Release|Mixed Platforms.Build.0 = Release|Any CPU
1503+
{37402CAB-EB81-4D08-8791-8653949C0FEB}.Release|x86.ActiveCfg = Release|Any CPU
1504+
{37402CAB-EB81-4D08-8791-8653949C0FEB}.Release|x86.Build.0 = Release|Any CPU
1505+
{37402CAB-EB81-4D08-8791-8653949C0FEB}.TestServerRelease|Any CPU.ActiveCfg = TestServerRelease|Any CPU
1506+
{37402CAB-EB81-4D08-8791-8653949C0FEB}.TestServerRelease|Any CPU.Build.0 = TestServerRelease|Any CPU
1507+
{37402CAB-EB81-4D08-8791-8653949C0FEB}.TestServerRelease|Mixed Platforms.ActiveCfg = TestServerRelease|Any CPU
1508+
{37402CAB-EB81-4D08-8791-8653949C0FEB}.TestServerRelease|Mixed Platforms.Build.0 = TestServerRelease|Any CPU
1509+
{37402CAB-EB81-4D08-8791-8653949C0FEB}.TestServerRelease|x86.ActiveCfg = TestServerRelease|Any CPU
1510+
{37402CAB-EB81-4D08-8791-8653949C0FEB}.TestServerRelease|x86.Build.0 = TestServerRelease|Any CPU
14891511
EndGlobalSection
14901512
GlobalSection(SolutionProperties) = preSolution
14911513
HideSolutionNode = FALSE
@@ -1580,6 +1602,8 @@ Global
15801602
{AF3D9C1F-968A-46DD-86FB-6B45020DF4E3} = {CD986786-CEA1-4C30-983E-169C33600BA6}
15811603
{C48DCFC5-DF47-4486-A682-5C648F970318} = {CD986786-CEA1-4C30-983E-169C33600BA6}
15821604
{9BFFFD11-03C6-47DF-9CC9-F458A9A49377} = {F3354AC7-CDA1-44E2-8E85-8DB532ED8C75}
1605+
{02EA681E-C7D8-13C7-8484-4AC65E1B71E8} = {692AFF14-3A57-47D8-912F-093EC8F561C4}
1606+
{37402CAB-EB81-4D08-8791-8653949C0FEB} = {02EA681E-C7D8-13C7-8484-4AC65E1B71E8}
15831607
EndGlobalSection
15841608
GlobalSection(ExtensibilityGlobals) = postSolution
15851609
SolutionGuid = {9B6E4921-8EBA-487D-A098-3E473A0EAC64}

Components/AAA/BExIS.Security.Services/Subjects/UserManager.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,13 @@ public Task<bool> DeleteByIdAsync(long userId)
125125
//return Task.FromException(new Exception());
126126
return Task.FromResult(false);
127127

128+
// Logins
129+
var loginsRepository = _guow.GetRepository<Login>();
130+
foreach (var login in loginsRepository.Get(l => l.User.Id == userId))
131+
{
132+
loginsRepository.Delete(login);
133+
}
134+
128135
// EntityPermissions
129136
var entityPermissionRepository = _guow.GetRepository<EntityPermission>();
130137
foreach (var entityPermission in entityPermissionRepository.Get(e => e.Subject.Id == userId))

Components/App/BExIS.App.Bootstrap/Attributes/BExISAuthorizeAttribute.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
using BExIS.Security.Services.Authorization;
55
using BExIS.Security.Services.Objects;
66
using BExIS.Security.Services.Subjects;
7-
using BExIS.Utils.Config;
87
using System;
98
using System.Linq;
109
using System.Net;
1110
using System.Web;
1211
using System.Web.Mvc;
12+
using BExIS.Utils.Config;
1313

1414
namespace BExIS.App.Bootstrap.Attributes
1515
{

Components/App/BExIS.App.Bootstrap/Attributes/ValidateAntiForgeryTokenOnPost.cs renamed to Components/App/BExIS.App.Bootstrap/Attributes/CustomValidateAntiForgeryToken.cs

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
namespace BExIS.App.Bootstrap.Attributes
66
{
7-
public class ValidateAntiForgeryTokenOnPost: FilterAttribute, IAuthorizationFilter
7+
public class CustomValidateAntiForgeryToken: FilterAttribute, IAuthorizationFilter
88
{
99
public void OnAuthorization(AuthorizationContext filterContext)
1010
{
@@ -18,12 +18,17 @@ public void OnAuthorization(AuthorizationContext filterContext)
1818
var formToken = request.Form["__RequestVerificationToken"];
1919

2020
// check header for post from javascript
21+
2122
if (formToken==null)
2223
{
2324
formToken = request.Headers["__RequestVerificationToken"];
2425
}
2526

26-
AntiForgery.Validate(cookieToken, formToken);
27+
if (cookieToken != null)
28+
{
29+
AntiForgery.Validate(cookieToken, formToken);
30+
}
31+
2732
//AntiForgery.Validate();
2833
}
2934
}

Components/App/BExIS.App.Bootstrap/BExIS.App.Bootstrap.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@
112112
<Compile Include="Attributes\MinCapacityAttribute.cs" />
113113
<Compile Include="Attributes\NoNullOrEmptyItemsAttribute.cs" />
114114
<Compile Include="Attributes\ThrottlingFilterAttribute.cs" />
115-
<Compile Include="Attributes\ValidateAntiForgeryTokenOnPost.cs" />
115+
<Compile Include="Attributes\CustomValidateAntiForgeryToken.cs" />
116116
<Compile Include="Extensions\AuthorizationContextExtensions.cs" />
117117
<Compile Include="Helpers\BExISAuthorizeHelper.cs" />
118118
<Compile Include="Helpers\JwtHelper.cs" />
@@ -132,7 +132,7 @@
132132
<Name>BExIS.Ext.Services</Name>
133133
</ProjectReference>
134134
<ProjectReference Include="..\..\Utils\BExIS.Utils.Config\BExIS.Utils.Config.csproj">
135-
<Project>{6ead7d02-02f7-42ff-85e4-90bb892d3846}</Project>
135+
<Project>{6EAD7D02-02F7-42FF-85E4-90BB892D3846}</Project>
136136
<Name>BExIS.Utils.Config</Name>
137137
</ProjectReference>
138138
<ProjectReference Include="..\..\Utils\BExIS.Utils.Data\BExIS.Utils.Data.csproj">

Components/App/BExIS.App.Testing/BExIS.App.Testing.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@
103103
</ItemGroup>
104104
<ItemGroup>
105105
<ProjectReference Include="..\..\Utils\BExIS.Utils.Config\BExIS.Utils.Config.csproj">
106-
<Project>{6ead7d02-02f7-42ff-85e4-90bb892d3846}</Project>
106+
<Project>{6EAD7D02-02F7-42FF-85E4-90BB892D3846}</Project>
107107
<Name>BExIS.Utils.Config</Name>
108108
</ProjectReference>
109109
<ProjectReference Include="..\..\Vaiona\Vaiona.IoC\Vaiona.IoC.csproj">

Components/DLM/BExIS.Dlm.Entities/BExIS.Dlm.Entities.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@
6262
<ItemGroup>
6363
<Compile Include="Administration\ResearchPlan.cs" />
6464
<Compile Include="Common\BaseUsage.cs" />
65+
<Compile Include="Curation\CurationEntry.cs" />
66+
<Compile Include="Curation\CurationNote.cs" />
6567
<Compile Include="DataStructure\AggregateFunction.cs" />
6668
<Compile Include="DataStructure\Classifier.cs" />
6769
<Compile Include="DataStructure\Constraint.cs" />

0 commit comments

Comments
 (0)