Kenn Jacobsen
012b43a1c2
Publishing in the Management API ( #14774 )
...
* make CoreScopeProvider available for derived classes
* Create publish controller
* Add publish functionality
* Remove unneeded using
* Implement publish for multiple cultures
* support multiple cultures in controler
* Dont validate properties
* Refactor to use PublishingOperationStatus
* refactor to use proper publish async methods
* Refactor publish logic into own service
* Commit some demo code
* Add notes about what errors can happen when publishing
* Rework ContentPublishingService and introduce explicit Publish and PublishBranch methods in ContentService
* Fix merge
* Allow the publishing strategy to do its job
* Improved check for unsaved changes
* Make the old content controller work (as best possible)
* Remove SaveAndPublish (SaveAndPublishBranch) from all tests
* Proper guards for invalid cultures when publishing
* Fix edge cases for property validation and content unpublishing + add unpublishing to ContentPublishingService
* Clear out a few TODOs - we'll accept the behavior for now
* Unpublish controller
* Fix merge
* Fix branch publish notifications
* Added extra test for publishing unpublished cultures and added FIXME comments for when we fix the state of published cultures in content
---------
Co-authored-by: Nikolaj Geisle <70372949+Zeegaan@users.noreply.github.com >
Co-authored-by: Zeegaan <nge@umbraco.dk >
2023-11-22 12:52:08 +01:00
Bjarke Berg
0f1c2f7022
Ensure no management api for v12 ( #14197 )
...
* Remove management api
* Remove actual files
2023-05-04 13:32:41 +02:00
Nikolaj Geisle
7aeb400fce
V10: fix build warnings in test projects ( #12509 )
...
* Run code cleanup
* Dotnet format benchmarks project
* Fix up Test.Common
* Run dotnet format + manual cleanup
* Run code cleanup for unit tests
* Run dotnet format
* Fix up errors
* Manual cleanup of Unit test project
* Update tests/Umbraco.Tests.Benchmarks/HexStringBenchmarks.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update tests/Umbraco.Tests.Integration/Testing/TestDbMeta.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update tests/Umbraco.Tests.Benchmarks/TypeFinderBenchmarks.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update tests/Umbraco.Tests.Integration/Testing/UmbracoIntegrationTest.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update tests/Umbraco.Tests.Integration/Umbraco.Core/Events/EventAggregatorTests.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Fix according to review
* Fix after merge
* Fix errors
Co-authored-by: Nikolaj Geisle <niko737@edu.ucl.dk >
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
Co-authored-by: Zeegaan <nge@umbraco.dk >
2022-06-21 08:09:38 +02:00
Paul Johnson
95aa143db0
v10 make migration from v9 less painful WRT IScope ( #12293 )
...
* Restore IEventDispatcher
* Fix breaking changes WRT IScopeProvider and IScope
* Update internal usage.
* Update src/Umbraco.Core/Services/UserService.cs
* Better obsolete message
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
2022-04-26 10:22:37 +01:00
Paul Johnson
eb841a7b98
Remove database properties from IScope
2022-01-13 17:44:40 +00:00
Elitsa Marinovska
236bf88143
Cleanup
2021-11-03 10:23:50 +01:00
Berg
4882837d60
Fixed test
2021-11-02 16:18:49 +01:00
Bjarke Berg
b7d5fd4b26
Cleanup and fixed tests
2021-11-02 09:18:15 +01:00
Bjarke Berg
53631ee48b
Merge remote-tracking branch 'origin/v8/feature/version-history-cleanup-ui' into v9/dev
...
# Conflicts:
# src/Umbraco.Core/Composing/CompositionExtensions/Repositories.cs
# src/Umbraco.Core/Composing/CompositionExtensions/Services.cs
# src/Umbraco.Core/Configuration/UmbracoSettings/ContentElement.cs
# src/Umbraco.Core/Configuration/UmbracoSettings/IContentSection.cs
# src/Umbraco.Core/ContentEditing/HistoryCleanup.cs
# src/Umbraco.Core/Models/ContentEditing/DocumentTypeDisplay.cs
# src/Umbraco.Core/Models/ContentType.cs
# src/Umbraco.Core/Models/Mapping/ContentTypeMapDefinition.cs
# src/Umbraco.Core/Persistence/Repositories/DocumentVersionRepository.cs
# src/Umbraco.Core/Scheduling/ContentVersionCleanup.cs
# src/Umbraco.Core/Services/DefaultContentVersionCleanupPolicy.cs
# src/Umbraco.Infrastructure/Migrations/Install/DatabaseSchemaCreator.cs
# src/Umbraco.Infrastructure/Migrations/Upgrade/UmbracoPlan.cs
# src/Umbraco.Infrastructure/Persistence/Repositories/Implement/ContentTypeCommonRepository.cs
# src/Umbraco.Infrastructure/Services/Implement/ContentService.cs
# src/Umbraco.Tests/Configurations/UmbracoSettings/umbracoSettings.config
# src/Umbraco.Tests/TestHelpers/Entities/MockedContent.cs
# src/Umbraco.Tests/TestHelpers/Entities/MockedContentTypes.cs
# src/Umbraco.Tests/Umbraco.Tests.csproj
# src/Umbraco.Web.UI.Client/package-lock.json
# src/Umbraco.Web.UI/config/umbracoSettings.Release.config
# src/Umbraco.Web.UI/umbraco/config/lang/en.xml
# src/Umbraco.Web.UI/umbraco/config/lang/en_us.xml
# src/Umbraco.Web/Scheduling/SchedulerComponent.cs
# src/Umbraco.Web/Umbraco.Web.csproj
# tests/Umbraco.Tests.Common/Extensions/AutoMoqDataAttribute.cs
# tests/Umbraco.Tests.UnitTests/Umbraco.Core/Persistence/Repositories/DocumentVersionRepository_Tests_Integration.cs
# tests/Umbraco.Tests.UnitTests/Umbraco.Core/Scheduling/ContentVersionCleanup_Tests_UnitTests.cs
# tests/Umbraco.Tests.UnitTests/Umbraco.Core/Services/ContentVersionCleanupService_Tests_Integration.cs
# tests/Umbraco.Tests.UnitTests/Umbraco.Core/Services/ContentVersionCleanupService_Tests_UnitTests.cs
# tests/Umbraco.Tests.UnitTests/Umbraco.Core/Services/DefaultContentVersionCleanupPolicy_Tests_UnitTests.cs
2021-10-29 15:00:27 +02:00