Skip to content

Commit

Permalink
Umbraco Forms removal
Browse files Browse the repository at this point in the history
Removed the Umbraco Forms sanitisation elements as they are being moved to a new package.

Renamed the generated DLL to ensure it's unique.

Corrected the inclusion of the app settings file.
  • Loading branch information
richarth committed Apr 23, 2024
1 parent a2ab581 commit 9194e1c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 20 deletions.
1 change: 0 additions & 1 deletion src/Sanitiser/Configuration/SanitiserOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,5 @@ public class SanitiserOptions
{
public const string SanitiserOptionsKey = "Sanitiser";
public bool Enable { get; init; }
public UmbracoFormsSanitisiationOptions? UmbracoFormsSanitiser { get; init; }
public MembersSanitiserOptions? MembersSanitiser { get; init; }
}

This file was deleted.

9 changes: 5 additions & 4 deletions src/Sanitiser/Sanitiser.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
<RepositoryType>git</RepositoryType>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageIcon>logo.png</PackageIcon>
<AssemblyName>Umbracro.Community.Sanitiser</AssemblyName>
</PropertyGroup>

<ItemGroup>
Expand All @@ -37,10 +38,10 @@
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
<None Include="appsettings-schema.Sanitiser.json">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
</ItemGroup>

<ItemGroup>
<UmbracoJsonSchemaFiles Include="appsettings-schema.Sanitiser.json" Weight="-50" />
</ItemGroup>

</Project>
9 changes: 0 additions & 9 deletions src/Sanitiser/appsettings-schema.Sanitiser.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,6 @@
"type": "boolean",
"description": "Whether to enable the sanitization service"
},
"UmbracoFormsSanitiser": {
"type": "object",
"properties": {
"Enable": {
"type": "boolean",
"description": "Whether to enable sanitization of Umbraco Forms submissions"
}
}
},
"MembersSanitiser": {
"type": "object",
"properties": {
Expand Down

0 comments on commit 9194e1c

Please sign in to comment.