Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/dev' into issue/NEST-462
Browse files Browse the repository at this point in the history
  • Loading branch information
DemeSzabolcs committed Oct 19, 2023
2 parents 44cd8e5 + e787941 commit 605a4f4
Show file tree
Hide file tree
Showing 24 changed files with 67 additions and 34 deletions.
6 changes: 3 additions & 3 deletions Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<Project>
<PropertyGroup Condition="'$([MSBuild]::IsOSUnixLike())' == 'false'">
<PropertyGroup>
<!-- Use a single installation of Node.js Extensions for all projects in the solution. Currently, only works on
Windows. -->
<UseGlobalNodeJsExtensionsNpmPackage>true</UseGlobalNodeJsExtensionsNpmPackage>
Expand All @@ -26,13 +26,13 @@
package dependencies instead of submodules. -->
<!--<PropertyGroup>
<NuGetBuild>true</NuGetBuild>
</PropertyGroup>-->
</PropertyGroup>-->

<!-- Uncomment this to run .NET static code analyzers during rebuilds. -->
<!--<PropertyGroup>
<RunAnalyzersDuringBuild>true</RunAnalyzersDuringBuild>
</PropertyGroup>-->

<Import Project="tools/Lombiq.Analyzers/Lombiq.Analyzers.OrchardCore/Build.props" />

<!-- This option hasn't improved the build time in this solution, but we'll keep it turned on regardless because it
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,14 @@
<PackageReference Include="Lombiq.Hosting.MediaTheme" Version="5.0.1-alpha.0.osoe-638" />
<PackageReference Include="Lombiq.Hosting.MediaTheme.Bridge" Version="5.0.1-alpha.0.osoe-638" />
<PackageReference Include="Lombiq.Hosting.MediaTheme.Targets" Version="5.0.1-alpha.0.osoe-638" />
<PackageReference Include="Lombiq.Hosting.Tenants.Admin.Login" Version="6.3.0-alpha.1.osoe-638" />
<PackageReference Include="Lombiq.Hosting.Tenants.EnvironmentRobots" Version="6.3.0-alpha.1.osoe-638" />
<PackageReference Include="Lombiq.Hosting.Tenants.FeaturesGuard" Version="6.3.0-alpha.1.osoe-638" />
<PackageReference Include="Lombiq.Hosting.Tenants.IdleTenantManagement" Version="6.3.0-alpha.1.osoe-638" />
<PackageReference Include="Lombiq.Hosting.Tenants.Maintenance" Version="6.3.0-alpha.1.osoe-638" />
<PackageReference Include="Lombiq.Hosting.Tenants.Management" Version="6.3.0-alpha.1.osoe-638" />
<PackageReference Include="Lombiq.Hosting.Tenants.MediaStorageManagement" Version="6.3.0-alpha.1.osoe-638" />
<PackageReference Include="Lombiq.Hosting.Tenants.EmailQuotaManagement" Version="6.3.0-alpha.1.osoe-638" />
<PackageReference Include="Lombiq.Hosting.Tenants.Admin.Login" Version="6.3.0-alpha.2.lmbq-249" />
<PackageReference Include="Lombiq.Hosting.Tenants.EnvironmentRobots" Version="6.3.0-alpha.2.lmbq-249" />
<PackageReference Include="Lombiq.Hosting.Tenants.FeaturesGuard" Version="6.3.0-alpha.2.lmbq-249" />
<PackageReference Include="Lombiq.Hosting.Tenants.IdleTenantManagement" Version="6.3.0-alpha.2.lmbq-249" />
<PackageReference Include="Lombiq.Hosting.Tenants.Maintenance" Version="6.3.0-alpha.2.lmbq-249" />
<PackageReference Include="Lombiq.Hosting.Tenants.Management" Version="6.3.0-alpha.2.lmbq-249" />
<PackageReference Include="Lombiq.Hosting.Tenants.MediaStorageManagement" Version="6.3.0-alpha.2.lmbq-249" />
<PackageReference Include="Lombiq.Hosting.Tenants.EmailQuotaManagement" Version="6.3.0-alpha.2.lmbq-249" />
<PackageReference Include="Lombiq.JsonEditor" Version="6.0.1-alpha.0.osoe-638" />
<PackageReference Include="Lombiq.JsonEditor.Tests.UI" Version="6.0.1-alpha.0.osoe-638" />
<PackageReference Include="Lombiq.Privacy" Version="7.0.2-alpha.2.osoe-638" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
"Lombiq.Hosting.Tenants.Management.ShellSettingsEditor",
"Lombiq.Hosting.Tenants.EmailQuotaManagement",
"Lombiq.Hosting.Tenants.IdleTenantManagement.ShutDownIdleTenants",
"Lombiq.Hosting.Tenants.Maintenance.ChangeUserSensitiveContent",
"Lombiq.JsonEditor",
"Lombiq.OSOCE.Samples",
"Lombiq.OSOCE.NuGet.TestModule",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,13 @@
<PackageReference Include="Lombiq.Hosting.Azure.ApplicationInsights.Tests.UI" Version="7.0.1-alpha.0.osoe-638" />
<PackageReference Include="Lombiq.Hosting.BuildVersionDisplay.Tests.UI" Version="4.0.1-alpha.0.osoe-638" />
<PackageReference Include="Lombiq.Hosting.MediaTheme.Tests.UI" Version="5.0.1-alpha.0.osoe-638" />
<PackageReference Include="Lombiq.Hosting.Tenants.EnvironmentRobots.Tests.UI" Version="6.3.0" />
<PackageReference Include="Lombiq.Hosting.Tenants.FeaturesGuard.Tests.UI" Version="6.3.0" />
<PackageReference Include="Lombiq.Hosting.Tenants.IdleTenantManagement.Tests.UI" Version="6.3.0" />
<PackageReference Include="Lombiq.Hosting.Tenants.MediaStorageManagement.Tests.UI" Version="6.3.0" />
<PackageReference Include="Lombiq.Hosting.Tenants.EmailQuotaManagement.Tests.UI" Version="6.3.0" />
<PackageReference Include="Lombiq.Hosting.Tenants.Management.Tests.UI" Version="6.3.0" />
<PackageReference Include="Lombiq.Hosting.Tenants.EnvironmentRobots.Tests.UI" Version="6.3.0-alpha.2.lmbq-249" />
<PackageReference Include="Lombiq.Hosting.Tenants.FeaturesGuard.Tests.UI" Version="6.3.0-alpha.2.lmbq-249" />
<PackageReference Include="Lombiq.Hosting.Tenants.IdleTenantManagement.Tests.UI" Version="6.3.0-alpha.2.lmbq-249" />
<PackageReference Include="Lombiq.Hosting.Tenants.MediaStorageManagement.Tests.UI" Version="6.3.0-alpha.2.lmbq-249" />
<PackageReference Include="Lombiq.Hosting.Tenants.EmailQuotaManagement.Tests.UI" Version="6.3.0-alpha.2.lmbq-249" />
<PackageReference Include="Lombiq.Hosting.Tenants.Maintenance.Tests.UI" Version="6.3.0-alpha.2.lmbq-249" />
<PackageReference Include="Lombiq.Hosting.Tenants.Management.Tests.UI" Version="6.3.0-alpha.2.lmbq-249" />
<PackageReference Include="Lombiq.JsonEditor.Tests.UI" Version="6.0.1-alpha.0.osoe-638" />
<PackageReference Include="Lombiq.OrchardCoreApiClient.Tests.UI" Version="4.0.1-alpha.0.osoe-638" />
<PackageReference Include="Lombiq.Privacy.Tests.UI" Version="7.0.2-alpha.2.osoe-638" />
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
using Lombiq.Hosting.Tenants.Maintenance.Tests.UI.Extensions;
using Lombiq.Tests.UI.Attributes;
using Lombiq.Tests.UI.Services;
using System.Threading.Tasks;
using Xunit;
using Xunit.Abstractions;

namespace Lombiq.OSOCE.NuGet.Tests.UI.Tests.ModuleTests;

public class BehaviorMaintenanceTests : UITestBase
{
public BehaviorMaintenanceTests(ITestOutputHelper testOutputHelper)
: base(testOutputHelper)
{
}

[Theory, Chrome]
public Task ChangeUserSensitiveContentMaintenanceTaskShouldBeExecutedSuccessfully(Browser browser) =>
ExecuteTestAfterSetupAsync(
async context => await context.ChangeUserSensitiveContentMaintenanceExecutionAsync(),
browser,
configuration => configuration.ChangeUserSensitiveContentMaintenanceConfiguration());
}
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
"Lombiq.Hosting.Tenants.Maintenance",
"Lombiq.Hosting.Tenants.Maintenance.UpdateSiteUrl",
"Lombiq.Hosting.Tenants.Maintenance.AddSiteOwnerPermissionToRole",
"Lombiq.Hosting.Tenants.Maintenance.ChangeUserSensitiveContent",
"Lombiq.Hosting.Tenants.IdleTenantManagement.ShutDownIdleTenants",
"Lombiq.Hosting.Tenants.EmailQuotaManagement",
"Lombiq.JsonEditor",
Expand Down
2 changes: 1 addition & 1 deletion src/Modules/Lombiq.ChartJs
2 changes: 1 addition & 1 deletion src/Modules/Lombiq.ContentEditors
2 changes: 1 addition & 1 deletion src/Modules/Lombiq.DataTables
2 changes: 1 addition & 1 deletion src/Modules/Lombiq.Hosting.Tenants
Submodule Lombiq.Hosting.Tenants updated 16 files
+1 −1 Lombiq.Hosting.Tenants.Admin.Login/Lombiq.Hosting.Tenants.Admin.Login.csproj
+1 −1 Lombiq.Hosting.Tenants.EmailQuotaManagement/Lombiq.Hosting.Tenants.EmailQuotaManagement.csproj
+2 −2 Lombiq.Hosting.Tenants.FeaturesGuard/Lombiq.Hosting.Tenants.FeaturesGuard.csproj
+15 −0 Lombiq.Hosting.Tenants.Maintenance.Tests.UI/Extensions/MaintenanceExtensions.cs
+20 −0 Lombiq.Hosting.Tenants.Maintenance.Tests.UI/Extensions/TestCaseUITestContextExtensions.cs
+33 −25 Lombiq.Hosting.Tenants.Maintenance.Tests.UI/Lombiq.Hosting.Tenants.Maintenance.Tests.UI.csproj
+19 −0 ....Hosting.Tenants.Maintenance.Tests.UI/Recipes/Lombiq.Hosting.Tenants.Maintenance.Tests.UI.Users.recipe.json
+1 −0 Lombiq.Hosting.Tenants.Maintenance/Constants/FeatureNames.cs
+4 −1 Lombiq.Hosting.Tenants.Maintenance/Lombiq.Hosting.Tenants.Maintenance.csproj
+7 −0 ....Tenants.Maintenance/Maintenance/ChangeUserSensitiveContent/ChangeUserSensitiveContentMaintenanceOptions.cs
+73 −0 ...Tenants.Maintenance/Maintenance/ChangeUserSensitiveContent/ChangeUserSensitiveContentMaintenanceProvider.cs
+28 −0 Lombiq.Hosting.Tenants.Maintenance/Maintenance/ChangeUserSensitiveContent/Startup.cs
+9 −0 Lombiq.Hosting.Tenants.Maintenance/Manifest.cs
+19 −0 Lombiq.Hosting.Tenants.Maintenance/Readme.md
+1 −1 Lombiq.Hosting.Tenants.Management/Lombiq.Hosting.Tenants.Management.csproj
+1 −1 Lombiq.Hosting.Tenants.MediaStorageManagement/Lombiq.Hosting.Tenants.MediaStorageManagement.csproj
2 changes: 1 addition & 1 deletion src/Modules/Lombiq.JsonEditor
2 changes: 1 addition & 1 deletion src/Modules/Lombiq.Privacy
2 changes: 1 addition & 1 deletion src/Modules/Lombiq.UIKit
2 changes: 1 addition & 1 deletion src/Themes/Lombiq.BaseTheme
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,11 @@ public Task AddSiteOwnerPermissionToRoleMaintenanceTaskShouldBeExecutedSuccessfu
async context => await context.TestSiteOwnerPermissionToRoleMaintenanceExecutionAsync(),
browser,
configuration => configuration.SetAddSiteOwnerPermissionToRoleMaintenanceConfiguration());

[Theory, Chrome]
public Task ChangeUserSensitiveContentMaintenanceTaskShouldBeExecutedSuccessfully(Browser browser) =>
ExecuteTestAfterSetupAsync(
async context => await context.ChangeUserSensitiveContentMaintenanceExecutionAsync(),
browser,
configuration => configuration.ChangeUserSensitiveContentMaintenanceConfiguration());
}
2 changes: 1 addition & 1 deletion tools/Lombiq.Analyzers

0 comments on commit 605a4f4

Please sign in to comment.