Merge remote-tracking branch 'origin/v8/dev' into v8/feature/block-editor-list

# Conflicts:
#	src/Umbraco.Web.UI.Client/test/config/karma.conf.js
This commit is contained in:
Niels Lyngsø
2020-06-23 14:57:39 +02:00
7 changed files with 11 additions and 11 deletions
+1
View File
@@ -37,6 +37,7 @@ jobs:
script: |
$uenv=./build.ps1 -get -doc
$uenv.SandboxNode()
$uenv.CompileBelle()
$uenv.PrepareAngularDocs()
$nugetsourceUmbraco = "https://api.nuget.org/v3/index.json"
$uenv.PrepareCSharpDocs()
+1 -1
View File
@@ -475,7 +475,7 @@
# change baseUrl
$BaseUrl = "https://our.umbraco.com/apidocs/v8/ui/"
$IndexPath = "./api/index.html"
(Get-Content $IndexPath).replace('location.href.replace(rUrl, indexFile)', "`'" + $BaseUrl + "`'") | Set-Content $IndexPath
(Get-Content $IndexPath).replace('origin + location.href.substr(origin.length).replace(rUrl, indexFile)', "`'" + $BaseUrl + "`'") | Set-Content $IndexPath
# zip it
& $this.BuildEnv.Zip a -tzip -r "$out\ui-docs.zip" "$src\Umbraco.Web.UI.Docs\api\*.*"
+4 -2
View File
@@ -25,6 +25,7 @@ namespace Umbraco.Core.Models
/// <summary>
/// Gets a value indicating whether the content is published.
/// </summary>
/// <remarks>The <see cref="PublishedVersionId"/> property tells you which version of the content is currently published.</remarks>
bool Published { get; set; }
PublishedState PublishedState { get; set; }
@@ -32,10 +33,11 @@ namespace Umbraco.Core.Models
/// <summary>
/// Gets a value indicating whether the content has been edited.
/// </summary>
/// <remarks>Will return `true` once unpublished edits have been made after the version with <see cref="PublishedVersionId"/> has been published.</remarks>
bool Edited { get; set; }
/// <summary>
/// Gets the published version identifier.
/// Gets the version identifier for the currently published version of the content.
/// </summary>
int PublishedVersionId { get; set; }
@@ -129,6 +131,6 @@ namespace Umbraco.Core.Models
/// </summary>
/// <returns></returns>
IContent DeepCloneWithResetIdentities();
}
}
+2 -2
View File
@@ -31,6 +31,6 @@ exports.build = series(parallel(dependencies, js, less, views), testUnit);
exports.dev = series(setDevelopmentMode, parallel(dependencies, js, less, views), watchTask);
exports.watch = series(watchTask);
//
exports.runTests = series(setTestMode, parallel(js, testUnit));
exports.runUnit = series(setTestMode, parallel(js, runUnitTestServer), watchTask);
exports.runTests = series(setTestMode, series(js, testUnit));
exports.runUnit = series(setTestMode, series(js, runUnitTestServer), watchTask);
exports.testE2e = series(setTestMode, parallel(testE2e));
@@ -12,7 +12,7 @@ module.exports = function (config) {
// Jasmine plugins
'node_modules/jasmine-promise-matchers/dist/jasmine-promise-matchers.js',
//libraries
'node_modules/jquery/dist/jquery.min.js',
'node_modules/angular/angular.js',
+2 -1
View File
@@ -32,7 +32,8 @@ gulp.task('docs', [], function (cb) {
}
})
.pipe(gulpDocs.process(options))
.pipe(gulp.dest('./api'));
.pipe(gulp.dest('./api'))
.pipe(connect.reload());
});
-4
View File
@@ -1,7 +1,6 @@
{
"private": true,
"scripts": {
"preinstall": "npx npm-force-resolutions",
"docs": "gulp docs",
"start": "gulp docs",
"default": "gulp docs",
@@ -9,9 +8,6 @@
"serve": "gulp watch",
"watch": "gulp watch"
},
"resolutions": {
"graceful-fs": "4.2.3"
},
"devDependencies": {
"gulp": "^3.9.1",
"gulp-connect": "5.6.1",