Skip to content

Commit

Permalink
chore: add uSync to test site
Browse files Browse the repository at this point in the history
  • Loading branch information
jcdcdev committed Nov 17, 2024
1 parent 9459eed commit 42902f2
Show file tree
Hide file tree
Showing 74 changed files with 151 additions and 195 deletions.
3 changes: 1 addition & 2 deletions src/jcdcdev.Umbraco.Core.TestSite/Composer.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
using Umbraco.Cms.Core.Composing;
using Umbraco.Cms.Core.DependencyInjection;
using Umbraco.Cms.Infrastructure.Manifest;

namespace TestSite;
namespace jcdcdev.Umbraco.Core.TestSite;

public class Composer : IComposer
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
using Umbraco.Cms.Core.Manifest;
using Umbraco.Cms.Infrastructure.Manifest;

namespace TestSite;
namespace jcdcdev.Umbraco.Core.TestSite;

public class SimpleWorkspaceViewPackageManifestReader() : IPackageManifestReader
public class SimpleWorkspaceViewPackageManifestReader : IPackageManifestReader
{
public async Task<IEnumerable<PackageManifest>> ReadPackageManifestsAsync()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

<ItemGroup>
<PackageReference Include="Umbraco.Cms" Version="15.0.0-rc3" />
<!-- <PackageReference Include="uSync" Version="15.0.0"/>-->
<PackageReference Include="uSync" Version="15.0.1"/>
</ItemGroup>

<ItemGroup>
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,27 +1,24 @@
<?xml version="1.0" encoding="utf-8"?>
<Content Key="2f6641f9-3ce1-419c-bbd6-4c035cd4b65e" Alias="Home" Level="1">
<Content Key="89c37072-7c61-41fe-bccc-0032b12b6778" Alias="Home" Level="1">
<Info>
<Parent Key="00000000-0000-0000-0000-000000000000"></Parent>
<Path>/Home</Path>
<Trashed>false</Trashed>
<ContentType>home</ContentType>
<CreateDate>2024-05-24T00:44:32</CreateDate>
<CreateDate>2024-11-17T19:49:26</CreateDate>
<NodeName Default="Home">
<Name Culture="en-GB">Home</Name>
<Name Culture="sv">Home</Name>
</NodeName>
<SortOrder>0</SortOrder>
<Published Default="true">
<Published Culture="en-GB">true</Published>
<Published Culture="sv">true</Published>
</Published>
<Schedule />
<Template Key="cbeeee5e-944c-4df4-a177-bf80ddca5786">home</Template>
<Template Key="77e83006-4abe-4bff-b405-307a4f22f55d">home</Template>
</Info>
<Properties>
<gridContent>
<Value Culture="en-GB"><![CDATA[]]></Value>
<Value Culture="sv"><![CDATA[]]></Value>
<Value><![CDATA[]]></Value>
</gridContent>
</Properties>
</Content>
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<ContentType Key="0d240e85-c1ec-40d4-bdde-f0ae1a6699dd" Alias="home" Level="1">
<ContentType Key="ed244de0-2cd6-4ef8-aa84-6825c12cc9cf" Alias="basePage" Level="1">
<Info>
<Name>Home</Name>
<Icon>icon-home color-black</Icon>
<Name>Base Page</Name>
<Icon>icon-add color-black</Icon>
<Thumbnail>folder.png</Thumbnail>
<Description></Description>
<AllowAtRoot>True</AllowAtRoot>
Expand All @@ -14,13 +14,9 @@
<KeepAllVersionsNewerThanDays></KeepAllVersionsNewerThanDays>
<KeepLatestVersionPerDayForDays></KeepLatestVersionPerDayForDays>
</HistoryCleanup>
<Compositions>
<Composition Key="ed5e3d7d-6e97-4bbb-bcaf-e02a0e0f09bf">basePage</Composition>
</Compositions>
<DefaultTemplate>home</DefaultTemplate>
<AllowedTemplates>
<Template Key="cbeeee5e-944c-4df4-a177-bf80ddca5786">home</Template>
</AllowedTemplates>
<Compositions />
<DefaultTemplate></DefaultTemplate>
<AllowedTemplates />
</Info>
<Structure />
<GenericProperties />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,45 +1,49 @@
<?xml version="1.0" encoding="utf-8"?>
<ContentType Key="ed5e3d7d-6e97-4bbb-bcaf-e02a0e0f09bf" Alias="basePage" Level="1">
<ContentType Key="0d240e85-c1ec-40d4-bdde-f0ae1a6699dd" Alias="home" Level="1">
<Info>
<Name>Base Page</Name>
<Icon>icon-defrag</Icon>
<Name>Home</Name>
<Icon>icon-home color-black</Icon>
<Thumbnail>folder.png</Thumbnail>
<Description></Description>
<AllowAtRoot>False</AllowAtRoot>
<AllowAtRoot>True</AllowAtRoot>
<ListView>00000000-0000-0000-0000-000000000000</ListView>
<Variations>Culture</Variations>
<IsElement>true</IsElement>
<IsElement>false</IsElement>
<HistoryCleanup>
<PreventCleanup>False</PreventCleanup>
<KeepAllVersionsNewerThanDays></KeepAllVersionsNewerThanDays>
<KeepLatestVersionPerDayForDays></KeepLatestVersionPerDayForDays>
</HistoryCleanup>
<Compositions />
<DefaultTemplate></DefaultTemplate>
<AllowedTemplates />
<Compositions>
<Composition Key="ed244de0-2cd6-4ef8-aa84-6825c12cc9cf">basePage</Composition>
</Compositions>
<DefaultTemplate>home</DefaultTemplate>
<AllowedTemplates>
<Template Key="77e83006-4abe-4bff-b405-307a4f22f55d">home</Template>
</AllowedTemplates>
</Info>
<Structure />
<GenericProperties>
<GenericProperty>
<Key>1f80aa2c-b281-4f92-bdec-783895bac0f6</Key>
<Key>6ed63a94-e0ab-4ed4-accf-2558974a9a7b</Key>
<Name>Grid Content</Name>
<Alias>gridContent</Alias>
<Definition>1ae68ea7-fd86-43f4-b9d3-26f1c64e016e</Definition>
<Type>Umbraco.BlockGrid</Type>
<Mandatory>false</Mandatory>
<Validation></Validation>
<Description><![CDATA[]]></Description>
<SortOrder>1</SortOrder>
<SortOrder>0</SortOrder>
<Tab Alias="content">Content</Tab>
<Variations>Culture</Variations>
<Variations>Nothing</Variations>
<MandatoryMessage></MandatoryMessage>
<ValidationRegExpMessage></ValidationRegExpMessage>
<LabelOnTop>false</LabelOnTop>
</GenericProperty>
</GenericProperties>
<Tabs>
<Tab>
<Key>b8c5d86d-ab68-4930-9069-400e3507ecc3</Key>
<Key>53e27531-d04a-41b8-8c61-359668c26d32</Key>
<Caption>Content</Caption>
<Alias>content</Alias>
<Type>Group</Type>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
<Language Key="5e8dc56b-0000-0000-0000-000000000000" Alias="en-GB" Level="0">
<Name>English (United Kingdom)</Name>
<IsoCode>en-GB</IsoCode>
<IsMandatory>true</IsMandatory>
<IsMandatory>false</IsMandatory>
<IsDefault>true</IsDefault>
</Language>
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
</Info>
<GenericProperties>
<GenericProperty>
<Key>0000001a-0000-0000-0000-000000000000</Key>
<Key>f9527050-59bc-43e4-8fa8-1658d1319ff5</Key>
<Name>Size</Name>
<Alias>umbracoBytes</Alias>
<Definition>930861bf-e262-4ead-a704-f99453565708</Definition>
Expand All @@ -28,7 +28,7 @@
<LabelOnTop>false</LabelOnTop>
</GenericProperty>
<GenericProperty>
<Key>00000019-0000-0000-0000-000000000000</Key>
<Key>3531c0a3-4e0a-4324-a621-b9d3822b071f</Key>
<Name>Type</Name>
<Alias>umbracoExtension</Alias>
<Definition>f0bc4bfb-b499-40d6-ba86-058885a5178c</Definition>
Expand All @@ -43,7 +43,7 @@
<LabelOnTop>false</LabelOnTop>
</GenericProperty>
<GenericProperty>
<Key>00000018-0000-0000-0000-000000000000</Key>
<Key>a0fb68f3-f427-47a6-afce-536ffa5b64e9</Key>
<Name>File</Name>
<Alias>umbracoFile</Alias>
<Definition>84c6b441-31df-4ffe-b67e-67d5bc3ae65a</Definition>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
</Info>
<GenericProperties>
<GenericProperty>
<Key>00000009-0000-0000-0000-000000000000</Key>
<Key>bd4c5ace-26e3-4a8b-af1a-e8206a35fa07</Key>
<Name>Size</Name>
<Alias>umbracoBytes</Alias>
<Definition>930861bf-e262-4ead-a704-f99453565708</Definition>
Expand All @@ -28,7 +28,7 @@
<LabelOnTop>false</LabelOnTop>
</GenericProperty>
<GenericProperty>
<Key>0000000a-0000-0000-0000-000000000000</Key>
<Key>f7786fe8-724a-4ed0-b244-72546db32a92</Key>
<Name>Type</Name>
<Alias>umbracoExtension</Alias>
<Definition>f0bc4bfb-b499-40d6-ba86-058885a5178c</Definition>
Expand All @@ -43,7 +43,7 @@
<LabelOnTop>false</LabelOnTop>
</GenericProperty>
<GenericProperty>
<Key>00000006-0000-0000-0000-000000000000</Key>
<Key>b646ca8f-e469-4fc2-a48a-d4dc1aa64a53</Key>
<Name>Image</Name>
<Alias>umbracoFile</Alias>
<Definition>1df9f033-e6d4-451f-b8d2-e0cbc50a836f</Definition>
Expand All @@ -58,7 +58,7 @@
<LabelOnTop>false</LabelOnTop>
</GenericProperty>
<GenericProperty>
<Key>00000008-0000-0000-0000-000000000000</Key>
<Key>854087f6-648b-40ed-bc98-b8a9789e80b9</Key>
<Name>Height</Name>
<Alias>umbracoHeight</Alias>
<Definition>8e7f995c-bd81-4627-9932-c40e568ec788</Definition>
Expand All @@ -73,7 +73,7 @@
<LabelOnTop>false</LabelOnTop>
</GenericProperty>
<GenericProperty>
<Key>00000007-0000-0000-0000-000000000000</Key>
<Key>a68d453b-1f62-44f4-9f71-0b6bbd43c355</Key>
<Name>Width</Name>
<Alias>umbracoWidth</Alias>
<Definition>8e7f995c-bd81-4627-9932-c40e568ec788</Definition>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
</Info>
<GenericProperties>
<GenericProperty>
<Key>00000030-0000-0000-0000-000000000000</Key>
<Key>aab7d00c-7209-4337-be3f-a4421c8d79a0</Key>
<Name>Size</Name>
<Alias>umbracoBytes</Alias>
<Definition>930861bf-e262-4ead-a704-f99453565708</Definition>
Expand All @@ -28,7 +28,7 @@
<LabelOnTop>false</LabelOnTop>
</GenericProperty>
<GenericProperty>
<Key>0000002f-0000-0000-0000-000000000000</Key>
<Key>ef1b4af7-36de-45eb-8c18-a2de07319227</Key>
<Name>Type</Name>
<Alias>umbracoExtension</Alias>
<Definition>f0bc4bfb-b499-40d6-ba86-058885a5178c</Definition>
Expand All @@ -43,7 +43,7 @@
<LabelOnTop>false</LabelOnTop>
</GenericProperty>
<GenericProperty>
<Key>0000002e-0000-0000-0000-000000000000</Key>
<Key>e5c8c2d0-2d82-4f01-b53a-45a1d1cbf19c</Key>
<Name>Article</Name>
<Alias>umbracoFile</Alias>
<Definition>bc1e266c-dac4-4164-bf08-8a1ec6a7143d</Definition>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
</Info>
<GenericProperties>
<GenericProperty>
<Key>0000002d-0000-0000-0000-000000000000</Key>
<Key>3cbf538a-29ab-4317-a9eb-bbcdf1a54260</Key>
<Name>Size</Name>
<Alias>umbracoBytes</Alias>
<Definition>930861bf-e262-4ead-a704-f99453565708</Definition>
Expand All @@ -28,7 +28,7 @@
<LabelOnTop>false</LabelOnTop>
</GenericProperty>
<GenericProperty>
<Key>0000002c-0000-0000-0000-000000000000</Key>
<Key>1bee433f-a21a-4031-8e03-af01bb8d2de9</Key>
<Name>Type</Name>
<Alias>umbracoExtension</Alias>
<Definition>f0bc4bfb-b499-40d6-ba86-058885a5178c</Definition>
Expand All @@ -43,7 +43,7 @@
<LabelOnTop>false</LabelOnTop>
</GenericProperty>
<GenericProperty>
<Key>0000002b-0000-0000-0000-000000000000</Key>
<Key>1f48d730-f174-4684-afad-a335e59d84a0</Key>
<Name>Audio</Name>
<Alias>umbracoFile</Alias>
<Definition>8f430dd6-4e96-447e-9dc0-cb552c8cd1f3</Definition>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
</Info>
<GenericProperties>
<GenericProperty>
<Key>00000033-0000-0000-0000-000000000000</Key>
<Key>09a07aff-861d-4769-a2b0-c165ebd43d39</Key>
<Name>Size</Name>
<Alias>umbracoBytes</Alias>
<Definition>930861bf-e262-4ead-a704-f99453565708</Definition>
Expand All @@ -28,7 +28,7 @@
<LabelOnTop>false</LabelOnTop>
</GenericProperty>
<GenericProperty>
<Key>00000032-0000-0000-0000-000000000000</Key>
<Key>0f25a89e-2eb7-49bc-a7b4-759a7e4c69f2</Key>
<Name>Type</Name>
<Alias>umbracoExtension</Alias>
<Definition>f0bc4bfb-b499-40d6-ba86-058885a5178c</Definition>
Expand All @@ -43,7 +43,7 @@
<LabelOnTop>false</LabelOnTop>
</GenericProperty>
<GenericProperty>
<Key>00000031-0000-0000-0000-000000000000</Key>
<Key>e2a2bdf2-971b-483e-95a1-4104cc06af26</Key>
<Name>Vector Graphics</Name>
<Alias>umbracoFile</Alias>
<Definition>215cb418-2153-4429-9aef-8c0f0041191b</Definition>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
</Info>
<GenericProperties>
<GenericProperty>
<Key>0000002a-0000-0000-0000-000000000000</Key>
<Key>180eeecf-1f00-409e-8234-bba967e08b0a</Key>
<Name>Size</Name>
<Alias>umbracoBytes</Alias>
<Definition>930861bf-e262-4ead-a704-f99453565708</Definition>
Expand All @@ -28,7 +28,7 @@
<LabelOnTop>false</LabelOnTop>
</GenericProperty>
<GenericProperty>
<Key>00000029-0000-0000-0000-000000000000</Key>
<Key>edd2b3fd-1e57-4e57-935e-096defccdc9b</Key>
<Name>Type</Name>
<Alias>umbracoExtension</Alias>
<Definition>f0bc4bfb-b499-40d6-ba86-058885a5178c</Definition>
Expand All @@ -43,7 +43,7 @@
<LabelOnTop>false</LabelOnTop>
</GenericProperty>
<GenericProperty>
<Key>00000028-0000-0000-0000-000000000000</Key>
<Key>bed8ab97-d85f-44d2-a8b9-aef6893f9610</Key>
<Name>Video</Name>
<Alias>umbracoFile</Alias>
<Definition>70575fe7-9812-4396-bbe1-c81a76db71b5</Definition>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Template Key="cbeeee5e-944c-4df4-a177-bf80ddca5786" Alias="home" Level="1">
<Template Key="77e83006-4abe-4bff-b405-307a4f22f55d" Alias="home" Level="1">
<Name>Home</Name>
<Parent />
</Template>
Loading

0 comments on commit 42902f2

Please sign in to comment.