* 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
* implement validation for media and prepare for member
* remove import
* port code from backoffice repo
* move repo into publishing module
* port get published methods
* cleanup
* wip render state
* align state UI
* post merge clean up
* move publish modal
* move schedule modal
* move unpublish modal
* move publish action and bulk action
* move unpublish action + bulk action
* lint fix
* Update document-workspace.context.ts
* wip move publishing methods to publishing context
* move publish with descendants
* fix more references
* Update document-publishing.workspace-context.ts
* export entity action
* add return type
* temp internal methods
* use repository response type
* expose methods for other contexts to use
* use public methods
* call publishing context methods
* fix import
* move manager into folder
* organise in folders
* add get method to get variants with changes
* preselect variants with pending changes
* observe data changes
* render pending changes client state
* observe unique
* Update document-publishing.server.data-source.ts
* use correct key
* clean up
* expose persisted data
* rename arg
* use persisted data instead of current
* add reload method
* reload data after publish
* remove headline
* handle all publish actions the same
* reset state as the first thing when creating + loading
* add method to get variants
* only load published if document has a published variant
* remove variants from observer
* add public method to get the changed variants
* align preselection with current logic
* add deprecation util
* add method deprecation warnings
* remove unused publish method
* move publishing workspace actions into publishing module
* use publishing context
* clean up
* add tests for published pending changes manager
* handle server the same way
* process pending changes when persisted data changes
* remove buggy updateDate
* remove unused
* lint fix
* add publish method back to avoid a breaking change
---------
Co-authored-by: Niels Lyngsø <niels.lyngso@gmail.com>
Co-authored-by: Niels Lyngsø <nsl@umbraco.dk>
* always render the links we get from the server
* render information about links with no url
* pass correct state value
* Update document-workspace-view-info-links.element.ts
* reuse empty link, culture markup
* remove state from urls
---------
Co-authored-by: Niels Lyngsø <nsl@umbraco.dk>
* 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>
* feat: add two launch tasks to start a vite server and attach to an existing vite server
* build(deps-dev): install and use cross-env for vite commands
* build: add mocked launch task
* build: add prompt to check if msw should be on or off
* build: defaults
* build: rename launch task
* build: add compound to start backend and frontend at the same time
* implement validation for media and prepare for member
* remove import
* use repository response type
---------
Co-authored-by: Mads Rasmussen <madsr@hey.com>
* Refactor .Children to use PublishStatusQuery
* Fix descendants
* Fix ancestors
* Fix siblings
* Handle empty string in published status service
* Fix unit test
* Fixes issue found in tests
---------
Co-authored-by: Bjarke Berg <mail@bergmania.dk>
Tinymce inserts links using the a-tag, which is triggering our navigation because we cannot control tinymce's rendering. We can however control which links we trigger on the for the 'click' event by using `composedPath()` and ensuring that we are inside one of the block entry elements.
* prevent the block list editor from setting an empty value on startup
* prevent block grid from setting and initial empty block object value
* fix import
---------
Co-authored-by: Niels Lyngsø <niels.lyngso@gmail.com>
Co-authored-by: Niels Lyngsø <nsl@umbraco.dk>