Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
ca5c7aa
Update OC versions to preview.
sarahelsaig Jan 7, 2026
47efdd5
Replace UpdateValidateAndCreateAsync.
sarahelsaig Jan 9, 2026
62fcab8
Upgrade OC preview.
sarahelsaig Jan 14, 2026
550cb7b
Update branch selector.
sarahelsaig Jan 19, 2026
23a2d43
Update branch selectors.
sarahelsaig Jan 19, 2026
fd413dc
CompatibilitySuppressions.xml
sarahelsaig Jan 20, 2026
53434b8
Nuget.
sarahelsaig Jan 20, 2026
9c5551d
Delete all CompatibilitySuppressions so we may start from scratch.
sarahelsaig Jan 20, 2026
4668be7
CompatibilitySuppressions.xml
sarahelsaig Jan 20, 2026
dafd28a
Upgrade OC preview.
sarahelsaig Jan 22, 2026
667b7fa
HL nuget
sarahelsaig Jan 22, 2026
9e62898
dummy
sarahelsaig Jan 22, 2026
4f973e3
Update UITT NuGet.
sarahelsaig Jan 22, 2026
ac80d40
UC preview update.
sarahelsaig Jan 23, 2026
1ab7ab6
Update HL nuget.
sarahelsaig Jan 23, 2026
99a6f15
Update OC preview.
sarahelsaig Jan 27, 2026
840c1bc
Update HL NuGet.
sarahelsaig Jan 28, 2026
1c9a864
Update OC preview.
sarahelsaig Feb 4, 2026
00d747d
Update OC preview.
sarahelsaig Feb 5, 2026
dc64731
Merge remote-tracking branch 'origin/dev' into issue/OSOE-925
sarahelsaig Feb 5, 2026
2e4b812
Update HL Nuget.
sarahelsaig Feb 5, 2026
57069b0
Update UITT nuget.
sarahelsaig Feb 5, 2026
9e8df8e
Upda
sarahelsaig Feb 6, 2026
4629e8f
Update OC previews to fix package downgrade.
sarahelsaig Feb 13, 2026
6bec4a1
Update HL nuget.
sarahelsaig Feb 22, 2026
eb84ef1
UITT nuget
sarahelsaig Feb 22, 2026
4a1a80d
OC preview version
sarahelsaig Feb 22, 2026
4ded413
Update HL nuget correctly.
sarahelsaig Feb 22, 2026
aed3c89
Update UITT nuget correctly.
sarahelsaig Feb 22, 2026
57f6876
Update nugets.
sarahelsaig Mar 7, 2026
8dd6b91
Update OC preview.
sarahelsaig Mar 20, 2026
5991109
Update OC preview.
sarahelsaig Mar 29, 2026
87a9ac9
Update UITT nuget.
sarahelsaig Mar 29, 2026
ff8e478
Use SDK in all modules and themes where applicable.
sarahelsaig Mar 30, 2026
da6912c
Remove `<IsLombiqProject>true</IsLombiqProject>` from projects.
sarahelsaig Mar 31, 2026
9e67c92
Update NuGet versions.
sarahelsaig Mar 31, 2026
2eb0b61
Use UI Test SDK where applicable.
sarahelsaig Mar 31, 2026
52049ac
Create new SLNX files.
sarahelsaig Apr 2, 2026
a16f8f0
Update validate-nuget-publish.yml issue branch.
sarahelsaig Apr 2, 2026
a9ad6df
Remove SLN files.
sarahelsaig Apr 3, 2026
cb2b87a
Move "See the project website for detailed documentation." boilerplat…
sarahelsaig Apr 7, 2026
fe9c716
Update OC preview.
sarahelsaig Apr 8, 2026
88f27c9
Fix obsolete "As".
sarahelsaig Apr 11, 2026
d69e86f
Merge remote-tracking branch 'origin/dev' into issue/OSOE-925
sarahelsaig Apr 11, 2026
469b5e5
Update HL Nuget.
sarahelsaig Apr 11, 2026
ce24313
Update OC preview.
sarahelsaig Apr 13, 2026
e7f3060
Update UITT nuget.
sarahelsaig Apr 13, 2026
b3cad22
Update UITT NuGet.
sarahelsaig Apr 20, 2026
f3fcdc5
Cleanup.
sarahelsaig Apr 24, 2026
3571913
Merge remote-tracking branch 'origin/issue/OSOE-925' into issue/OSOE-…
sarahelsaig Apr 24, 2026
24cb227
Update NuGet and apply library SDK where applicable
sarahelsaig Apr 24, 2026
e9d3b5c
Merge remote-tracking branch 'origin/issue/OSOE-1208' into issue/OSOE…
sarahelsaig Apr 25, 2026
7bb5b2b
Merge pull request #94 from Lombiq/issue/OSOE-1199
DemeSzabolcs Apr 27, 2026
a937598
Update GHA branch selectors.
sarahelsaig Apr 27, 2026
fdb6cf4
Update SDKs.
sarahelsaig May 16, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/publish-nuget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ on:
jobs:
publish-nuget:
name: Publish to NuGet
uses: Lombiq/GitHub-Actions/.github/workflows/publish-nuget.yml@dev
uses: Lombiq/GitHub-Actions/.github/workflows/publish-nuget.yml@issue/OSOE-925
secrets:
API_KEY: ${{ secrets.DEFAULT_NUGET_PUBLISH_API_KEY }}
2 changes: 1 addition & 1 deletion .github/workflows/validate-nuget-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ on:
jobs:
validate-nuget-publish:
name: Validate NuGet Publish
uses: Lombiq/GitHub-Actions/.github/workflows/validate-nuget-publish.yml@dev
uses: Lombiq/GitHub-Actions/.github/workflows/validate-nuget-publish.yml@issue/OSOE-925
8 changes: 8 additions & 0 deletions Lombiq.JsonEditor.Test.UI/CompatibilitySuppressions.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- https://learn.microsoft.com/dotnet/fundamentals/package-validation/diagnostic-ids -->
<Suppressions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Suppression>
<DiagnosticId>PKV006</DiagnosticId>
<Target>net8.0</Target>
</Suppression>
</Suppressions>
30 changes: 9 additions & 21 deletions Lombiq.JsonEditor.Test.UI/Lombiq.JsonEditor.Tests.UI.csproj
Original file line number Diff line number Diff line change
@@ -1,32 +1,20 @@
<Project Sdk="Microsoft.NET.Sdk">

<Project>
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net10.0</TargetFramework>
</PropertyGroup>

<Import Condition="'$(NuGetBuild)' != 'true'" Project="../../../Utilities/Lombiq.MSBuild.Targets/Lombiq.MSBuild.OrchardCore.Tests.UI.Sdk/Sdk/Import.props" />
<Import Condition="'$(NuGetBuild)' == 'true'" Project="Sdk.props" Sdk="Lombiq.MSBuild.OrchardCore.Tests.UI.Sdk" Version="1.0.1-alpha.15.osoe-1208" />

<PropertyGroup>
<Title>Lombiq JSON Editor for Orchard Core - UI Test Extensions</Title>
<Authors>Lombiq Technologies</Authors>
<Copyright>Copyright © 2021, Lombiq Technologies Ltd.</Copyright>
<Description>Lombiq JSON Editor for Orchard Core - UI Test Extensions: Extensions to aid in UI testing Lombiq JSON Editor for Orchard Core.</Description>
<PackageIcon>NuGetIcon.png</PackageIcon>
<CopyrightYear>2021</CopyrightYear>
<DescriptionBody>Extensions to aid in UI testing Lombiq JSON Editor for Orchard Core.</DescriptionBody>
<PackageTags>OrchardCore;Lombiq;AspNetCore;JSONEditor</PackageTags>
<RepositoryUrl>https://github.com/Lombiq/Orchard-JSON-Editor</RepositoryUrl>
<PackageProjectUrl>https://github.com/Lombiq/Orchard-JSON-Editor/tree/dev/Lombiq.JSONEditor.Tests.UI</PackageProjectUrl>
<PackageLicenseExpression>BSD-3-Clause</PackageLicenseExpression>
</PropertyGroup>

<ItemGroup Condition="'$(NuGetBuild)' != 'true'">
<ProjectReference Include="..\..\..\..\test\Lombiq.UITestingToolbox\Lombiq.Tests.UI\Lombiq.Tests.UI.csproj" />
</ItemGroup>

<ItemGroup Condition="'$(NuGetBuild)' == 'true'">
<PackageReference Include="Lombiq.Tests.UI" Version="14.2.0" />
</ItemGroup>

<ItemGroup>
<None Include="NuGetIcon.png" Pack="true" PackagePath="" />
<None Include="Readme.md" />
</ItemGroup>

<Import Condition="'$(NuGetBuild)' != 'true'" Project="../../../Utilities/Lombiq.MSBuild.Targets/Lombiq.MSBuild.OrchardCore.Tests.UI.Sdk/Sdk/Import.targets" />
<Import Condition="'$(NuGetBuild)' == 'true'" Project="Sdk.targets" Sdk="Lombiq.MSBuild.OrchardCore.Tests.UI.Sdk" Version="1.0.1-alpha.15.osoe-1208" />
</Project>
31 changes: 0 additions & 31 deletions Lombiq.JsonEditor.sln

This file was deleted.

4 changes: 4 additions & 0 deletions Lombiq.JsonEditor.slnx
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<Solution>
<Project Path="Lombiq.JsonEditor.Test.UI/Lombiq.JsonEditor.Tests.UI.csproj" />
<Project Path="Lombiq.JsonEditor/Lombiq.JsonEditor.csproj" />
</Solution>
8 changes: 8 additions & 0 deletions Lombiq.JsonEditor/CompatibilitySuppressions.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- https://learn.microsoft.com/dotnet/fundamentals/package-validation/diagnostic-ids -->
<Suppressions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Suppression>
<DiagnosticId>PKV006</DiagnosticId>
<Target>net8.0</Target>
</Suppression>
</Suppressions>
14 changes: 13 additions & 1 deletion Lombiq.JsonEditor/Controllers/AdminController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ private async Task<IActionResult> PostContentAsync(ContentItem model, bool draft

contentItem.Merge(model);

var result = await _contentManager.UpdateValidateAndCreateAsync(contentItem, VersionOptions.Draft);
var result = await UpdateValidateAndCreateAsync(_contentManager, contentItem, VersionOptions.Draft);
if (CheckContentValidationResult(result) is { } problem) return problem;
}

Expand All @@ -206,6 +206,18 @@ private async Task<IActionResult> PostContentAsync(ContentItem model, bool draft
return Ok(contentItem);
}

private static async Task<ContentValidateResult> UpdateValidateAndCreateAsync(
IContentManager contentManager,
ContentItem contentItem,
VersionOptions options)
{
await contentManager.UpdateAsync(contentItem);
var result = await contentManager.ValidateAsync(contentItem);
if (result.Succeeded) await contentManager.CreateAsync(contentItem, options);

return result;
}

private ActionResult CheckContentValidationResult(ContentValidateResult result)
{
if (!result.Succeeded)
Expand Down
56 changes: 9 additions & 47 deletions Lombiq.JsonEditor/Lombiq.JsonEditor.csproj
Original file line number Diff line number Diff line change
@@ -1,57 +1,19 @@
<Project Sdk="Microsoft.NET.Sdk.Razor">

<Import Project="../../../Utilities/Lombiq.MSBuild.Targets/Lombiq.MSBuild.LibMan.Targets/Lombiq.MSBuild.LibMan.Targets.props"
Condition="'$(NuGetBuild)' != 'true'"/>

<Project>
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<AddRazorSupportForMvc>true</AddRazorSupportForMvc>
<DefaultItemExcludes>$(DefaultItemExcludes);.git*</DefaultItemExcludes>
<TargetFramework>net10.0</TargetFramework>
</PropertyGroup>

<Import Condition="'$(NuGetBuild)' != 'true'" Project="../../../Utilities/Lombiq.MSBuild.Targets/Lombiq.MSBuild.OrchardCore.Module.Sdk/Sdk/Import.props" />
<Import Condition="'$(NuGetBuild)' == 'true'" Project="Sdk.props" Sdk="Lombiq.MSBuild.OrchardCore.Module.Sdk" Version="1.0.1-alpha.15.osoe-1208" />

<PropertyGroup>
<Title>Lombiq JSON Editor for Orchard Core</Title>
<Authors>Lombiq Technologies</Authors>
<Copyright>Copyright © 2021, Lombiq Technologies Ltd.</Copyright>
<Description>Lombiq JSON Editor for Orchard Core: Orchard Core module for displaying a JSON Editor like on (https://jsoneditoronline.org/. See the project website for detailed documentation.</Description>
<PackageIcon>NuGetIcon.png</PackageIcon>
<CopyrightYear>2021</CopyrightYear>
<DescriptionBody>Orchard Core module for displaying a JSON Editor like on (https://jsoneditoronline.org/.</DescriptionBody>
<PackageTags>OrchardCore;Lombiq;AspNetCore;JSONEditor</PackageTags>
<RepositoryUrl>https://github.com/Lombiq/Orchard-JSON-Editor</RepositoryUrl>
<PackageProjectUrl>https://github.com/Lombiq/Orchard-JSON-Editor</PackageProjectUrl>
<PackageLicenseExpression>BSD-3-Clause</PackageLicenseExpression>
</PropertyGroup>

<ItemGroup>
<None Include="..\Readme.md" Link="Readme.md" />
<None Include="NuGetIcon.png" Pack="true" PackagePath="" />
</ItemGroup>

<ItemGroup>
<FrameworkReference Include="Microsoft.AspNetCore.App" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Web.LibraryManager.Build" Version="3.0.71" />
<PackageReference Include="OrchardCore.Module.Targets" Version="2.1.0" GeneratePathProperty="true" />
<PackageReference Include="OrchardCore.Contents" Version="2.1.0" />
<PackageReference Include="OrchardCore.ContentManagement" Version="2.1.0" />
<PackageReference Include="OrchardCore.ContentTypes.Abstractions" Version="2.1.0" />
<PackageReference Include="OrchardCore.DisplayManagement" Version="2.1.0" />
<PackageReference Include="OrchardCore.ContentFields" Version="2.1.0" />
</ItemGroup>

<ItemGroup Condition="'$(NuGetBuild)' != 'true'">
<ProjectReference Include="..\..\..\Libraries\Lombiq.HelpfulLibraries\Lombiq.HelpfulLibraries.OrchardCore\Lombiq.HelpfulLibraries.OrchardCore.csproj" />
</ItemGroup>

<ItemGroup Condition="'$(NuGetBuild)' == 'true'">
<PackageReference Include="Lombiq.HelpfulLibraries.OrchardCore" Version="12.5.0" />
<PackageReference Include="Lombiq.MSBuild.LibMan.Targets" Version="1.0.0-alpha.12.nest-643" />
<PackageReference Include="Lombiq.HelpfulLibraries.Attributes" Version="12.5.0" OutputItemType="Analyzer" ReferenceOutputAssembly="true" />
<PackageReference Include="Lombiq.HelpfulLibraries.SourceGenerators" Version="12.5.0" OutputItemType="Analyzer" ReferenceOutputAssembly="false" />
</ItemGroup>

<Import Project="../../../Utilities/Lombiq.MSBuild.Targets/Lombiq.MSBuild.LibMan.Targets/Lombiq.MSBuild.LibMan.Targets.targets"
Condition="'$(NuGetBuild)' != 'true'"/>

<Import Condition="'$(NuGetBuild)' != 'true'" Project="../../../Utilities/Lombiq.MSBuild.Targets/Lombiq.MSBuild.OrchardCore.Module.Sdk/Sdk/Import.targets" />
<Import Condition="'$(NuGetBuild)' == 'true'" Project="Sdk.targets" Sdk="Lombiq.MSBuild.OrchardCore.Module.Sdk" Version="1.0.1-alpha.15.osoe-1208" />
</Project>
Loading