-
-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #385 from leekelleher/dev/v4.x
Preparing v4.6.1 release
- Loading branch information
Showing
15 changed files
with
214 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
4.6.0 | ||
4.6.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
src/Umbraco.Community.Contentment/Polyfill/Core/Deploy/IContextCache.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
/* This Source Code has been copied from Lee Kelleher's Umbraco Polyfill library. | ||
* https://github.com/umbraco/Umbraco-CMS/blob/release-11.0.0/src/Umbraco.Core/Deploy/IContextCache.cs | ||
* Modified under the permissions of the MIT License. | ||
* Modifications are licensed under the Mozilla Public License. | ||
* Copyright © 2023 Lee Kelleher. | ||
* This Source Code Form is subject to the terms of the Mozilla Public | ||
* License, v. 2.0. If a copy of the MPL was not distributed with this | ||
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */ | ||
|
||
#if NET7_0_OR_GREATER == false | ||
using System; | ||
|
||
#if NET472 | ||
namespace Umbraco.Core.Deploy | ||
#else | ||
namespace Umbraco.Cms.Core.Deploy | ||
#endif | ||
{ | ||
internal interface IContextCache | ||
{ | ||
void Clear(); | ||
void Create<T>(string key, T item); | ||
T GetOrCreate<T>(string key, Func<T> factory); | ||
} | ||
} | ||
#endif |
24 changes: 24 additions & 0 deletions
24
src/Umbraco.Community.Contentment/Polyfill/Core/Deploy/ImageSourceParserExtensions.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
///* Copyright © 2023 Lee Kelleher. | ||
// * This Source Code Form is subject to the terms of the Mozilla Public | ||
// * License, v. 2.0. If a copy of the MPL was not distributed with this | ||
// * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ | ||
|
||
#if NET8_0_OR_GREATER == false | ||
using System.Collections.Generic; | ||
|
||
#if NET472 | ||
namespace Umbraco.Core.Deploy | ||
#else | ||
namespace Umbraco.Cms.Core.Deploy | ||
#endif | ||
{ | ||
internal static class ImageSourceParserExtensions | ||
{ | ||
public static string ToArtifact(this IImageSourceParser parser, string value, ICollection<Udi> dependencies, IContextCache contextCache) | ||
=> parser.ToArtifact(value, dependencies); | ||
|
||
public static string FromArtifact(this IImageSourceParser parser, string value, IContextCache contextCache) | ||
=> parser.FromArtifact(value); | ||
} | ||
} | ||
#endif |
24 changes: 24 additions & 0 deletions
24
src/Umbraco.Community.Contentment/Polyfill/Core/Deploy/LocalLinkParserExtensions.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
///* Copyright © 2023 Lee Kelleher. | ||
// * This Source Code Form is subject to the terms of the Mozilla Public | ||
// * License, v. 2.0. If a copy of the MPL was not distributed with this | ||
// * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ | ||
|
||
#if NET8_0_OR_GREATER == false | ||
using System.Collections.Generic; | ||
|
||
#if NET472 | ||
namespace Umbraco.Core.Deploy | ||
#else | ||
namespace Umbraco.Cms.Core.Deploy | ||
#endif | ||
{ | ||
internal static class LocalLinkParserExtensions | ||
{ | ||
public static string ToArtifact(this ILocalLinkParser parser, string value, ICollection<Udi> dependencies, IContextCache contextCache) | ||
=> parser.ToArtifact(value, dependencies); | ||
|
||
public static string FromArtifact(this ILocalLinkParser parser, string value, IContextCache contextCache) | ||
=> parser.FromArtifact(value); | ||
} | ||
} | ||
#endif |
24 changes: 24 additions & 0 deletions
24
src/Umbraco.Community.Contentment/Polyfill/Core/Deploy/MacroParserExtensions.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
///* Copyright © 2023 Lee Kelleher. | ||
// * This Source Code Form is subject to the terms of the Mozilla Public | ||
// * License, v. 2.0. If a copy of the MPL was not distributed with this | ||
// * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ | ||
|
||
#if NET8_0_OR_GREATER == false | ||
using System.Collections.Generic; | ||
|
||
#if NET472 | ||
namespace Umbraco.Core.Deploy | ||
#else | ||
namespace Umbraco.Cms.Core.Deploy | ||
#endif | ||
{ | ||
internal static class MacroParserExtensions | ||
{ | ||
public static string ToArtifact(this IMacroParser parser, string value, ICollection<Udi> dependencies, IContextCache contextCache) | ||
=> parser.ToArtifact(value, dependencies); | ||
|
||
public static string FromArtifact(this IMacroParser parser, string value, IContextCache contextCache) | ||
=> parser.FromArtifact(value); | ||
} | ||
} | ||
#endif |
27 changes: 27 additions & 0 deletions
27
src/Umbraco.Community.Contentment/Polyfill/Core/Deploy/PassThroughCache.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
/* This Source Code has been copied from Lee Kelleher's Umbraco Polyfill library. | ||
* https://github.com/umbraco/Umbraco-CMS/blob/release-11.0.0/src/Umbraco.Core/Deploy/PassThroughCache.cs | ||
* Modified under the permissions of the MIT License. | ||
* Modifications are licensed under the Mozilla Public License. | ||
* Copyright © 2023 Lee Kelleher. | ||
* This Source Code Form is subject to the terms of the Mozilla Public | ||
* License, v. 2.0. If a copy of the MPL was not distributed with this | ||
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */ | ||
|
||
#if NET7_0_OR_GREATER == false | ||
using System; | ||
|
||
#if NET472 | ||
namespace Umbraco.Core.Deploy | ||
#else | ||
namespace Umbraco.Cms.Core.Deploy | ||
#endif | ||
{ | ||
internal sealed class PassThroughCache : IContextCache | ||
{ | ||
public void Clear() { } | ||
public void Create<T>(string key, T item) { } | ||
public T GetOrCreate<T>(string key, Func<T> factory) => factory(); | ||
public static PassThroughCache Instance { get; } = new PassThroughCache(); | ||
} | ||
} | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/Umbraco.Community.Contentment/Web/UI/App_Plugins/Contentment/package.manifest
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"name": "Contentment", | ||
"id": "Umbraco.Community.Contentment", | ||
"version": "4.6.0", | ||
"version": "4.6.1", | ||
"css": [ "~/App_Plugins/Contentment/contentment.css" ], | ||
"javascript": [ "~/App_Plugins/Contentment/contentment.js" ] | ||
} |
Oops, something went wrong.