-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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 #16801 from umbraco/v15/merge
V15: Merge
- Loading branch information
Showing
110 changed files
with
3,491 additions
and
1,018 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
steps: | ||
- task: NodeTool@0 | ||
displayName: Use Node.js | ||
retryCountOnTaskFailure: 3 | ||
inputs: | ||
versionSource: 'fromFile' | ||
versionFilePath: src/Umbraco.Web.UI.Client/.nvmrc | ||
|
||
- bash: | | ||
echo "##[command]Install nbgv" | ||
dotnet tool install --tool-path . nbgv | ||
echo "##[command]Running nbgv get-version" | ||
PACKAGE_VERSION=$(nbgv get-version -v NpmPackageVersion) | ||
echo "##[command]Running npm version" | ||
echo "##[debug]Version: $PACKAGE_VERSION" | ||
cd src/Umbraco.Web.UI.Client | ||
npm version $PACKAGE_VERSION --allow-same-version --no-git-tag-version | ||
displayName: Set NPM Version | ||
- task: Cache@2 | ||
displayName: Cache node_modules | ||
inputs: | ||
key: '"npm_client" | "$(Agent.OS)"| $(Build.SourcesDirectory)/src/Umbraco.Web.UI.Client/package-lock.json' | ||
restoreKeys: | | ||
"npm_client" | "$(Agent.OS)" | ||
"npm_client" | ||
path: $(npm_config_cache) | ||
|
||
- script: npm ci --no-fund --no-audit --prefer-offline | ||
displayName: Run npm ci (Bellissima) | ||
workingDirectory: src/Umbraco.Web.UI.Client |
15 changes: 15 additions & 0 deletions
15
src/Umbraco.Cms.Api.Common/Configuration/ConfigureOpenIddict.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,15 @@ | ||
using Microsoft.Extensions.Options; | ||
using OpenIddict.Server.AspNetCore; | ||
using Umbraco.Cms.Core.Configuration.Models; | ||
|
||
namespace Umbraco.Cms.Api.Common.Configuration; | ||
|
||
internal class ConfigureOpenIddict : IConfigureOptions<OpenIddictServerAspNetCoreOptions> | ||
{ | ||
private readonly IOptions<GlobalSettings> _globalSettings; | ||
|
||
public ConfigureOpenIddict(IOptions<GlobalSettings> globalSettings) => _globalSettings = globalSettings; | ||
|
||
public void Configure(OpenIddictServerAspNetCoreOptions options) | ||
=> options.DisableTransportSecurityRequirement = _globalSettings.Value.UseHttps is false; | ||
} |
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
Oops, something went wrong.