* 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>
* 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
* 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
* 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 allow navigating into folders or item with children
* export media search provider
* mark search on media item repo as deprecated
* use media search provider for searching
* rename method
* change the look of the upload button
* only render checkbox if we are not in the root
* clear search when navigating
* add type
* set value so it gets updated when cleared
* default to search within an item
* hide breadcrumb if searching in root
* scope search on server
* Update media-picker-modal.element.ts
* hide breadcrumb when doing a global search within another item
* add selection mode
* remove unused state
* handle start node when searching
* fix if wrong order
* fix type error
* pass start node to breadcrumb
* handle start node in breadcrumb
* make start node optional
* map data
* clean up
* Update media-picker-folder-path.element.ts
* add searching load indicator
* don't show unique in detail
* Add information to item response model
* Update OpenApi.json
* generate new server models
* update mocks
* move interface to types
* add hasChildren and parent to media item model interface
* fix import
* map data
* map media item
* treat tree item and search result the same
* Fix: bump uui version (#17626)
* lint fix
* temp fix for media selection
* UX corrections for media selection
* temp uui fix for media picker modal
* fix table selection mode
* fix search from when having a start node
* remove private
* wait for all missing parts before create table items
---------
Co-authored-by: nikolajlauridsen <nikolajlauridsen@protonmail.ch>
Co-authored-by: Niels Lyngsø <niels.lyngso@gmail.com>
* build(deps): bump storybook from 8.3.5 to 8.4.4
* reenable public folder (with msw file) for storybook
* build(deps-dev): bump vite from 5.4.6 to 5.4.11
* build(deps-dev): bump babel and rollup
* build(deps-dev): bump typedoc from 0.26.5 to 0.26.11
* build(deps-dev): bump @hey-api/openapi-ts from 0.52.11 to 0.55.3
regenerated all models and migrated the config
* build(deps-dev): bump eslint from 9.7.0 to 9.14.0 including related deps
* build(deps-dev): bump all @types packages
* build(deps-dev): bump lucide to 0.459.0 and simple-icons to 13.16.0
regenerate icons:
- renamed `box-select` to `square-dashed`
* build(deps): bump marked from 14.1.0 to 15.0.0
* build(deps): bump monaco-editor from 0.50.0 to 0.52.0
* build(deps): bump dumpurify from 3.1.6 to 3.2.0
* build(deps): make changes based on the dompurify upgrade where types are now an inherent part of the package
* build(deps): bump diff from 5.2.0 to 7.0.0
* build(deps): bump element-internals-polyfill from 1.3.11 to 1.3.12
* build(deps): bump lit from 3.2.0 to 3.2.1
* build(deps-dev): bump globals from 15.8.0 to 15.12.0 (eslint dependency)
* build(deps-dev): bump storybook dependencies
* build(deps-dev): bump @web/dev-server deps
* build(deps-dev): bump typescript from 5.5.3 to 5.6.3
* build(deps): bump uuid from 10.0.0 to 11.0.3 thereby eliminating the @types/uuid module
* build(deps): bump tinymce-i18n from 24.7.15 to 24.11.11
* build(deps): bump all deps to latest and use backoffice global types for extension manifests
* chore: change import path
* build(deps-dev): bump rollup/plugin-commonjs to 26.0.3 for compatibility reasons
* feat: replace outdated 'webworker-loader' with manual paths to monaco's web workers since they are esmodules anyway
* build(deps-dev): bump storybook from 8.4.4 to 8.4.5
* build(deps): bump tiptap from 2.9.1 to 2.10.2
* build(deps): bump dompurify from 3.2.0 to 3.2.1
* build(deps): bump tinymce-i18n from 24.11.11 to 24.11.25
* build(deps): bump static icons
* build(deps): bump marked from 15.0.0 to 15.0.2
* build(deps-dev): bump eslint + deps
* build(deps-dev): bump vite + rollup dependencies
* build(deps-dev): bump @playwright/test from 1.48.2 to 1.49.0
* build(deps-dev): bump @hey-api/openapi-ts from 0.55.3 to 0.57.1
generated new services
* build(deps-dev): bump @types/mocha
* build(deps): bump typescript from 5.6.3 to 5.7.2
* feat: show only a loader on a default login flow
if the flow fails, the app-error component will be shown, or if the flow is initialised inside a popup (i.e. the session was lost)
* fix: hasOwnOpener did not recognize the local vite url as its own pathname
it should work better by checking the `startsWith` comparing the pathname, and besides, it seems to work better for the understanding of the function to inverse the true/false check
* chore: adjust imports
* chore: formatting
* Validate email for member models
* Add null check or more test cases
* return invalid when not a valid email
* Cleanup
* remove private method in favor of extension
* Remove non used, using statement
---------
Co-authored-by: Elitsa <elm@umbraco.dk>