Skip to content

Commit 8db9913

Browse files
committed
Merge branch 'refs/heads/v14/dev' into release/14.0
2 parents 4b922c6 + 859e1e6 commit 8db9913

File tree

184 files changed

+5558
-1252
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

184 files changed

+5558
-1252
lines changed

build/azure-pipelines.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,10 @@ stages:
525525
workingDirectory: tests/Umbraco.Tests.AcceptanceTest
526526

527527
# Test
528-
- pwsh: npm run test --ignore-certificate-errors
528+
- ${{ if eq(parameters.isNightly, true) }}:
529+
pwsh: npm run test --ignore-certificate-errors
530+
${{ else }}:
531+
pwsh: npm run smokeTest --ignore-certificate-errors
529532
displayName: Run Playwright tests
530533
continueOnError: true
531534
workingDirectory: tests/Umbraco.Tests.AcceptanceTest
@@ -665,7 +668,10 @@ stages:
665668
workingDirectory: tests/Umbraco.Tests.AcceptanceTest
666669

667670
# Test
668-
- pwsh: npm run test --ignore-certificate-errors
671+
- ${{ if eq(parameters.isNightly, true) }}:
672+
pwsh: npm run test --ignore-certificate-errors
673+
${{ else }}:
674+
pwsh: npm run smokeTest --ignore-certificate-errors
669675
displayName: Run Playwright tests
670676
continueOnError: true
671677
workingDirectory: tests/Umbraco.Tests.AcceptanceTest

build/nightly-build-trigger.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ steps:
2626
useSameBranch: true
2727
waitForQueuedBuildsToFinish: false
2828
storeInEnvironmentVariable: false
29-
templateParameters: 'sqlServerIntegrationTests: true, forceReleaseTestFilter: true, myGetDeploy: true, isNightly: true'
29+
templateParameters: 'sqlServerIntegrationTests: true, sqlServerAcceptanceTests: true, forceReleaseTestFilter: true, myGetDeploy: true, isNightly: true'
3030
authenticationMethod: 'OAuth Token'
3131
enableBuildInQueueCondition: false
3232
dependentOnSuccessfulBuildCondition: false

src/Umbraco.Cms.Api.Management/Controllers/AuditLog/AuditLogControllerBase.cs

Lines changed: 0 additions & 10 deletions
This file was deleted.

src/Umbraco.Cms.Api.Management/Controllers/AuditLog/ByKeyAuditLogController.cs

Lines changed: 0 additions & 43 deletions
This file was deleted.

src/Umbraco.Cms.Api.Management/Controllers/AuditLog/ByTypeAuditLogController.cs

Lines changed: 0 additions & 39 deletions
This file was deleted.

src/Umbraco.Cms.Api.Management/Controllers/AuditLog/CurrentUserAuditLogController.cs

Lines changed: 0 additions & 55 deletions
This file was deleted.

src/Umbraco.Cms.Api.Management/Controllers/Content/ContentCollectionControllerBase.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,6 @@ protected IActionResult ContentCollectionOperationStatusResult(ContentCollection
6868
.WithTitle("Data type id does not belong to a collection")
6969
.WithDetail("The specified data type does not represent a collection")
7070
.Build()),
71-
ContentCollectionOperationStatus.DataTypeNotContentCollection => new BadRequestObjectResult(problemDetailsBuilder
72-
.WithTitle("Data type id does not represent the configured collection")
73-
.WithDetail($"The specified data type is not the configured collection for the given {type} item")
74-
.Build()),
7571
ContentCollectionOperationStatus.DataTypeNotContentProperty => new BadRequestObjectResult(problemDetailsBuilder
7672
.WithTitle($"Data type id is not a {type} property")
7773
.WithDetail($"The specified data type is not part of the {type} properties")

src/Umbraco.Cms.Api.Management/Controllers/Content/ContentControllerBase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ protected IActionResult ContentEditingOperationStatusResult(ContentEditingOperat
1717
.WithDetail("A notification handler prevented the content operation.")
1818
.Build()),
1919
ContentEditingOperationStatus.ContentTypeNotFound => NotFound(problemDetailsBuilder
20-
.WithTitle("The requested content could not be found")
20+
.WithTitle("The requested content type could not be found")
2121
.Build()),
2222
ContentEditingOperationStatus.ContentTypeCultureVarianceMismatch => BadRequest(problemDetailsBuilder
2323
.WithTitle("Content type culture variance mismatch")

src/Umbraco.Cms.Api.Management/Controllers/DataType/Item/ItemDatatypeItemController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public ItemDatatypeItemController(IDataTypeService dataTypeService, IUmbracoMapp
2323
[HttpGet]
2424
[MapToApiVersion("1.0")]
2525
[ProducesResponseType(typeof(IEnumerable<DataTypeItemResponseModel>), StatusCodes.Status200OK)]
26-
public async Task<ActionResult> Item(
26+
public async Task<IActionResult> Item(
2727
CancellationToken cancellationToken,
2828
[FromQuery(Name = "id")] HashSet<Guid> ids)
2929
{

src/Umbraco.Cms.Api.Management/Controllers/DataType/Item/SearchDataTypeItemController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public SearchDataTypeItemController(IEntitySearchService entitySearchService, ID
2626
[HttpGet("search")]
2727
[MapToApiVersion("1.0")]
2828
[ProducesResponseType(typeof(PagedModel<DataTypeItemResponseModel>), StatusCodes.Status200OK)]
29-
public async Task<ActionResult> Search(CancellationToken cancellationToken, string query, int skip = 0, int take = 100)
29+
public async Task<IActionResult> Search(CancellationToken cancellationToken, string query, int skip = 0, int take = 100)
3030
{
3131
PagedModel<IEntitySlim> searchResult = _entitySearchService.Search(UmbracoObjectTypes.DataType, query, skip, take);
3232
if (searchResult.Items.Any() is false)

0 commit comments

Comments
 (0)