Skip to content

Commit a72ffc8

Browse files
Merge branch 'v15/dev' into contrib
2 parents f139aae + 89061f1 commit a72ffc8

29 files changed

+172
-86
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
*.xml text=auto
4747
*.resx text=auto
4848
*.yml text eol=lf core.whitespace whitespace=tab-in-indent,trailing-space,tabwidth=2
49+
*.sh eol=lf
4950

5051
*.csproj text=auto merge=union
5152
*.vbproj text=auto merge=union

build/azure-pipelines.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,7 @@ stages:
117117
- checkout: self
118118
submodules: false
119119
lfs: false,
120-
fetchDepth: 1
121-
fetchFilter: tree:0
120+
fetchDepth: 500
122121
- template: templates/backoffice-install.yml
123122
- script: npm run build:for:npm
124123
displayName: Run build:for:npm
@@ -936,6 +935,7 @@ stages:
936935
inputs:
937936
archiveFilePatterns: $(Build.SourcesDirectory)/csharp-docs.zip
938937
destinationFolder: $(Build.ArtifactStagingDirectory)/csharp-docs
938+
overwriteExistingFiles: true
939939
- task: AzureFileCopy@4
940940
displayName: "Copy C# Docs to blob storage"
941941
inputs:
@@ -959,6 +959,7 @@ stages:
959959
inputs:
960960
archiveFilePatterns: $(Build.SourcesDirectory)/ui-docs.zip
961961
destinationFolder: $(Build.ArtifactStagingDirectory)/ui-docs
962+
overwriteExistingFiles: true
962963
- task: AzureFileCopy@4
963964
displayName: "Copy Storybook to blob storage"
964965
inputs:
@@ -982,6 +983,7 @@ stages:
982983
inputs:
983984
archiveFilePatterns: $(Build.SourcesDirectory)/ui-api-docs.zip
984985
destinationFolder: $(Build.ArtifactStagingDirectory)/ui-api-docs
986+
overwriteExistingFiles: true
985987
- task: AzureFileCopy@4
986988
displayName: "Copy UI API Docs to blob storage"
987989
inputs:

src/Umbraco.Web.UI.Client/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Umbraco.Web.UI.Client/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@umbraco-cms/backoffice",
33
"license": "MIT",
4-
"version": "15.1.0",
4+
"version": "15.2.0-rc",
55
"type": "module",
66
"exports": {
77
".": null,

src/Umbraco.Web.UI.Client/src/mocks/browser-handlers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { handlers as backofficeHandlers } from './handlers/backoffice.handlers.js';
1+
import { handlers as backofficeHandlers } from './handlers/backoffice/backoffice.handlers.js';
22
import { handlers as configHandlers } from './handlers/config.handlers.js';
33
import { handlers as cultureHandlers } from './handlers/culture.handlers.js';
44
import { handlers as dataTypeHandlers } from './handlers/data-type/index.js';
286 KB
Loading
Lines changed: 1 addition & 0 deletions
Loading
Lines changed: 51 additions & 0 deletions
Loading
Lines changed: 51 additions & 0 deletions
Loading
Original file line numberDiff line numberDiff line change
@@ -1,50 +1,46 @@
11
const { rest } = window.MockServiceWorker;
22
import { umbracoPath } from '@umbraco-cms/backoffice/utils';
33

4-
import logoUrl from '../../../../Umbraco.Cms.StaticAssets/wwwroot/umbraco/assets/logo.svg';
5-
import loginLogoUrl from '../../../../Umbraco.Cms.StaticAssets/wwwroot/umbraco/assets/logo_light.svg';
6-
import loginLogoAlternativeUrl from '../../../../Umbraco.Cms.StaticAssets/wwwroot/umbraco/assets/logo_dark.svg';
7-
import loginBackgroundUrl from '../../../../Umbraco.Cms.StaticAssets/wwwroot/umbraco/assets/login.jpg';
4+
const logoUrl = './src/mocks/handlers/backoffice/assets/logo.svg';
5+
const loginLogoUrl = './src/mocks/handlers/backoffice/assets/logo_light.svg';
6+
const loginLogoAlternativeUrl = './src/mocks/handlers/backoffice/assets/logo_dark.svg';
7+
const loginBackgroundUrl = './src/mocks/handlers/backoffice/assets/login.jpg';
88

99
export const handlers = [
1010
rest.get(umbracoPath('/security/back-office/graphics/logo'), async (req, res, ctx) => {
11-
const imageBuffer = await fetch(logoUrl)
12-
.then((res) => res.arrayBuffer());
11+
const imageBuffer = await fetch(logoUrl).then((res) => res.arrayBuffer());
1312

1413
return res(
1514
ctx.set('Content-Length', imageBuffer.byteLength.toString()),
1615
ctx.set('Content-Type', 'image/svg+xml'),
17-
ctx.body(imageBuffer)
16+
ctx.body(imageBuffer),
1817
);
1918
}),
2019
rest.get(umbracoPath('/security/back-office/graphics/login-logo'), async (req, res, ctx) => {
21-
const imageBuffer = await fetch(loginLogoUrl)
22-
.then((res) => res.arrayBuffer());
20+
const imageBuffer = await fetch(loginLogoUrl).then((res) => res.arrayBuffer());
2321

2422
return res(
2523
ctx.set('Content-Length', imageBuffer.byteLength.toString()),
2624
ctx.set('Content-Type', 'image/svg+xml'),
27-
ctx.body(imageBuffer)
25+
ctx.body(imageBuffer),
2826
);
2927
}),
3028
rest.get(umbracoPath('/security/back-office/graphics/login-logo-alternative'), async (req, res, ctx) => {
31-
const imageBuffer = await fetch(loginLogoAlternativeUrl)
32-
.then((res) => res.arrayBuffer());
29+
const imageBuffer = await fetch(loginLogoAlternativeUrl).then((res) => res.arrayBuffer());
3330

3431
return res(
3532
ctx.set('Content-Length', imageBuffer.byteLength.toString()),
3633
ctx.set('Content-Type', 'image/svg+xml'),
37-
ctx.body(imageBuffer)
34+
ctx.body(imageBuffer),
3835
);
3936
}),
4037
rest.get(umbracoPath('/security/back-office/graphics/login-background'), async (req, res, ctx) => {
41-
const imageBuffer = await fetch(loginBackgroundUrl)
42-
.then((res) => res.arrayBuffer());
38+
const imageBuffer = await fetch(loginBackgroundUrl).then((res) => res.arrayBuffer());
4339

4440
return res(
4541
ctx.set('Content-Length', imageBuffer.byteLength.toString()),
4642
ctx.set('Content-Type', 'image/jpeg'),
47-
ctx.body(imageBuffer)
43+
ctx.body(imageBuffer),
4844
);
4945
}),
5046
];

0 commit comments

Comments
 (0)