* 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>
* 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>
* Created explicit endpoints returning the login image instead of leaking the configuration. Thereby some hardcoded values have been changed, but the url will now be the same every time.
* Remove magic concatenation for action lookup
* remove unused backoffice asset (login.jpg)
* remove unused umbraco logo assets
* add manifest handlers
* add mock handlers for the `security/back-office/graphics` endpoints to the backoffice
* add mock handlers for the `security/back-office/graphics` endpoints to the login screen
* chore: update msw service worker
* feat: make static assets available for consumption without copying them from the login project
* update consts with new location for static assets
* feat: prefix login assets with `login-`
* remove unused asset `logo.png`
* feat: introduce a `/back-office/graphics/logo` endpoint to serve the logo "mark" used throughout all applications
* feat: use the alternative logo for disabled javascript warning
* feat: use the umbraco logo on the NoNodes.cshtml page
* Do not expose the new readme in the package
* feat: add logo.svg
* feat: add `umb-app-logo` element to display the backoffice logo including server url and appropriate tags
* feat: use the new `umb-app-logo` element relevant places and make sure to add the serverUrl in front of other graphics
* feat: move logic to connectedCallback to prevent error from non-existing element
* revert usage of HideBackOfficeLogo
* feat: add alt text to logos
* feat: add obsolete message and a hint to use BackOfficeLogo insted
---------
Co-authored-by: Sven Geusens <sge@umbraco.dk>
Co-authored-by: Jacob Overgaard <752371+iOvergaard@users.noreply.github.com>
* fix: make sure we only target valid blocks
This is to say we should remove any invalid block elements to clean up the DOM. A block element is considered invalid if it does not have the `data-content-key` attribute.
* build(deps): bump tiptap from 2.10.2 to 2.10.3
this fixes a potential issue with link creations
* revert the 'leaf node specification'
---------
Co-authored-by: Niels Lyngsø <nsl@umbraco.dk>
* fix: do not add attributes or html elements to custom elements before they are created
Due to the way browsers treat custom elements, they are not allowed to add attributes and/or child elements upon creation. They must wait until the `connectedCallback`. That means any controller that wants to add elements should also wait until the host is connected (`hostConnected`).
* test: add generic tests for rte block elements
* chore: cleanup imports
* split observables so we don't request url when variantsOptions changes
* clean up events + debounce requests
* add loading state
* clear lookup before requesting new urls
* 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>
* remove code duplication
* remove unused code
* allow value to be undefined
* dot not build model if we have no markup
* do update the layout value if we don't get any layouts
* reset internals if there are no value
* clear value if tiny mce doesn't have any markup
* clear value if tip tap doesn't have any markup
* add method to check if tip tap element is empty
* use method to check for empty tip tap
* make args protected + type generic
* add rename event
* get new name and unique from modal
* dispatch event when file is renamed
* get unique from entity context
* poc redirect after rename
* move logic to controller
* dont render code editor if content is undefined
* remove unused styling
* set unique after create
* use replace state
* set additionalOptions for rename action
* Update workspace-redirect.controller.ts
* add focus to name input
* add rename redirect controller
* clean up
* split render methods
* Update script-workspace.context.ts
* implement EntityDetailWorkspaceBase for stylesheets
* remove unused
* don't render code editor if there is no content
* add rename redirect controller
---------
Co-authored-by: Niels Lyngsø <nsl@umbraco.dk>
* Only fetch single commit
* Hopefully fixes Nerdbank.GitVersioning.GitException: Shallow clone lacks the objects required to calculate version height. Use full clones or clones with a history at least as deep as the last version height resetting change.
* Do not checkout again
* More test pipeline
* Another attempt
* yet another attempt
* more attempts
* Revert "more attempts"
This reverts commit 5694d97ba620e90fdeea287936f58002f2a5ddba.
* Test without building backoffice and login explicitly
* Fix mem leak in integration tests
* Fixes sqlserver lock test
* Only fetch single commit
* Hopefully fixes Nerdbank.GitVersioning.GitException: Shallow clone lacks the objects required to calculate version height. Use full clones or clones with a history at least as deep as the last version height resetting change.
* Do not checkout again
* More test pipeline
* Another attempt
* yet another attempt
* more attempts
* Revert "more attempts"
This reverts commit 5694d97ba620e90fdeea287936f58002f2a5ddba.
* Test without building backoffice and login explicitly
* Fix mem leak in integration tests
* Fixes sqlserver lock test