* Fix various routing and preview issues for the Delivery API in V15
* Fix breaking change in ctor
* Fix ambigious constructors
---------
Co-authored-by: Nikolaj Geisle <70372949+Zeegaan@users.noreply.github.com>
* Initial stab at how this could look
* Authorization PoC wip
* Add connection manager
* Add DI to its own class
* Use enum instead of string
* Use groups
* Refactor group management into its own service
* Update a users groups when it's saved
* Add saved events
* Wire up deleted notifications
* Ensure update date and create date is the same
* Cleanup
* Minor cleanup
* Remove unusued usings
* Move route to constant
* Add docstrings to server event router
* Fix and suppress warnings
* Refactor to authorizer pattern
* Update EventType
* Remove unused enums
* Add trashed events
* Notify current user that they've been updated
* Add broadcast
We don't need it, but seems like a thing that a server event router should be able to do.
* Add ServerEventRouterTests
* Add ServerEventUserManagerTests
* Use TimeProvider
* Remove principal null check
* Don't assign event type
* Minor cleanup
* Rename AuthorizedEventSources
* Change permission for relations
* Exctract event authorization into its own service
* Add some tests
* Update name
* Add forgotten file
* Rmember to add to DI
* Don't allow create when there is validation errors
* Fix tests
* Add tests
* Fix last test
* Fix more tests
---------
Co-authored-by: Jacob Overgaard <752371+iOvergaard@users.noreply.github.com>
* Display variant selection on unpublish only if the document is variant.
* Allow for publish and unpublish of variant and invariant content.
* Added integration tests for amends to ContentPublishingService.
* Fixed assert.
* Fixed assert and used consistent language codes.
* Further integration tests.
* Expose schedule date for on document get endpoint
* typo fix
* stupid stuff
* Enable content scheduling features in the publishing service
* Replace obsoleted non async calls
* Add content scheduling test
* Publush and schedule combination test
* More invariantCulture notation allignment and more tests
* Link up api with updated document scheduling
* More invariant culture notation allignment
* Fix breaking change
* Return expected status codes.
* Fix constructor
* Forward Default implementation to actual core implementation
Co-authored-by: Bjarke Berg <mail@bergmania.dk>
* Forward default implementation to core implementation
Co-authored-by: Bjarke Berg <mail@bergmania.dk>
* Make content with scheduling retrieval scope safe
---------
Co-authored-by: Bjarke Berg <mail@bergmania.dk>
* Use data type configuration to determine default value for empty toggle property values.
* Added/updated unit tests.
* Fixed failing integration tests.
* Applied similar default value display for the slider property editor and aligned implementation of true/false with this.
* Fixed unit tests.
* Removed "duplicate" JsonPropertyName attributes and added a custom TypeInfoResolver for data type configuration so we can re-use the existing ConfigurationField attributes.
* Minor cleanup
---------
Co-authored-by: nikolajlauridsen <nikolajlauridsen@protonmail.ch>
* Don't allow create when there is validation errors
* Fix tests
* Add tests
* Fix last test
* Fix more tests
---------
Co-authored-by: Jacob Overgaard <752371+iOvergaard@users.noreply.github.com>
* Add a way to configure IUmbracobuilder on a per testcase basis
* New logic for invariantVariantMerging
* bugfix
* Undo formatting changes
* Undo more automatic formatting
* Last automatic formatting correction
* Cleanup ConfigureBuilderAttribute
* Made propertyEditor tests internal
* Added tests for content with tiptap - not done
* Updated tests - not done
* Addes tests for create content with non-empty RTE tiptap
* Added Content tests for tiptap
* Cleaned up
* Updated tests for Content with tiptap due to test helper changes
* Make all the Content tests run in the pipeline
* Fixed comment
* Reverted
* Fix ConvertLocalLinks migration and add a new migration in case the old one has already run
* RebuildCache
* Clear cache means clear ALL caches
* Fix Block Markup recursion
* Fix Unittest mock constructor
* Handle empty permissions
* Add tests
* Add a few more asserts to the tests
* Move dependency injection to test itself
---------
Co-authored-by: Kenn Jacobsen <kja@umbraco.dk>
* Property level versioning for the Delivery API using a custom System.Text.Json resolver
* Adding a converter base class that custom converters can implement
* Revert resolver
* Use IHttpContextAccessor for the API version
* Fix attribute and checks in ShouldIncludeProperty
* Fix enumeration
* Fix comment
* Unit tests
* Refactoring
* Remove Assert.Multiple where no needed
* Updated tests for content with media picker
* Fixed tests for content with multi url picker
* Skip tests for update action permission as it is removed now
* Fixed tests for list view media
* Fixed notification
* Updated method name due to api helper changes
* Fixed tests for welcome
* Fixed test for deleting a tab in a document type
* Updated expectation test result due to UI changes
* Updated create stylesheet method
* Fixed tests due to the action for selecting media item changes
* Bumped version
* Fixed expected result
* Fixed due to test helper changes
* Added more waits
* Added test for rendering content with member picker value
* Added tests for rendering content with multiple media picker
* Added tests for rendering content with multi url picker
* Bumped version
* Updated tests for member picker
* Make all rendering content tests run in the pipeline
* Bumped version
* Fixed indentation
* Added clean for media
* Reverted
---------
Co-authored-by: Andreas Zerbst <73799582+andr317c@users.noreply.github.com>
Co-authored-by: Andreas Zerbst <andr317c@live.dk>
* Added Content tests with Approved Color
* Bumped version of test helper
* Make Content tests run in the pipeline
* Using custom datatype builder instead of changing the default approved color data type
* Updated variables
* Fixed comment
* Make all Content tests run in the pipeline
* Reverted
* Add custom serializer
* Add migration to rebuild cache
* Rename migration namespace to 15.1
* Also clear media cache
* Remove failed cache items
* Refactor to only use keys for document cache repository
---------
Co-authored-by: nikolajlauridsen <nikolajlauridsen@protonmail.ch>
* Add custom serializer
* Add migration to rebuild cache
* Rename migration namespace to 15.1
* Also clear media cache
* Remove failed cache items
* Refactor to only use keys for document cache repository
---------
Co-authored-by: nikolajlauridsen <nikolajlauridsen@protonmail.ch>
* Added tests for Tiptap data type
* Removed tests for adding a toolbar item as the drag and drop is not working
* Fixed the variable name
* Added tests for TinyMCE data type
* Added tests for RTE data type
* Updated tests for delete toolbar row in Tiptap
* Updated tests for rich text editor data type
* Updated tests for tiny MCE data type
* Updated tests for content with tiny MCE rich text editor
* Renamed tests as there are 2 types of rich text editor
* Bumped version
* Make all data type tests in the pipeline
* Updated tests for Tiptap and TinyMCE due to api helper changes
* Fixed comments
* Update TinyMCE.spec.ts
Removed line
* Reverted
---------
Co-authored-by: Andreas Zerbst <73799582+andr317c@users.noreply.github.com>
* Update nuget packages
* Cherry pick fixes from v15
* Fixed: Projects that use central package version management should not define the version on the PackageReference items but on the PackageVersion items
* rollback update in tool