* feat: shows notification when no suitable media type is found
* chore: rearrange imports
* feat: use a forward ref to find the dropzone
* chore: rearrange imports
* chore(mock): send back correct header
* feat: avoid using the context consumer to get a token, but instead mimick the OpenAPI generator
* chore(mock): allow more file types
* chore(mock): create more upload fields
* chore(mock): also look for mediaPicker fields
* chore(mock): improve media mock db
* chore(mock): add missing endpoints
* chore(mock): update media data
* chore(mock): fix aliases for media grid and table
* chore(mock): add urls to media
* chore(mock): adds missing endpoint for imaging
* fix: reverse order of properties to overwrite existing status
* feat: listen to progress updates on upload and update the `progress` property
* feat: adds tracking of upload progress to placeholders
* feat: bind the progress number up on the temporary file badge to indicate upload status
* feat: optimises progress calculation and makes the badge bigger to be able to show the progress in percent
* feat: allow text to be normal
* chore: use correct localization
* feat: shows error status for anything that isn't waiting or complete
* feat: makes `progress` optional
* feat: adds repository+store for temporary file configuration
* chore(mock): adds mock endpoint for temporary file configuration
* feat: set progress for createTemporaryFiles
* feat: allows a `whitespace` option to notifications
* feat: validates uploads before trying to query the server
* feat: adds `formatBytes` function to format numbers
* chore: export all consts
* feat: exports bytes function
* feat: set decimals to default to 2, which works nicely with the Intl numberformat
* feat: use `formatBytes` to format the error message
* chore(mock): set max file size for mock to 1.4 GB
* feat: adds localization
* Make URL overview align with the old routing
This means including custom url providers, other URLS, etc.
* Move implementation to its own provider
* Handle could not get url
* Migrate intergration tests to new implementation
* feat: shows notification when no suitable media type is found
* chore: rearrange imports
* feat: use a forward ref to find the dropzone
* chore: rearrange imports
* chore(mock): send back correct header
* feat: avoid using the context consumer to get a token, but instead mimick the OpenAPI generator
* chore(mock): allow more file types
* chore(mock): create more upload fields
* chore(mock): also look for mediaPicker fields
* chore(mock): improve media mock db
* chore(mock): add missing endpoints
* chore(mock): update media data
* chore(mock): fix aliases for media grid and table
* chore(mock): add urls to media
* chore(mock): adds missing endpoint for imaging
* fix: reverse order of properties to overwrite existing status
* feat: listen to progress updates on upload and update the `progress` property
* feat: adds tracking of upload progress to placeholders
* feat: bind the progress number up on the temporary file badge to indicate upload status
* feat: optimises progress calculation and makes the badge bigger to be able to show the progress in percent
* feat: allow text to be normal
* chore: use correct localization
* feat: shows error status for anything that isn't waiting or complete
* feat: makes `progress` optional
* split manifest file
* use const
* use const
* use const
* require permission to create or update to render save action
* require permission to update to render "save and preview"
* require permission to update + publish to render "save and publish"
* keep button as it is extendable
* keep buttons as they are extendable
* set readonly state based on user permission
* render readonly tag for invariant documents
* remove double array
* return permitted state in callback
* disable save button if all variants are read only
* rename private method
* split check on create vs update
* clear state when resetting the state
* add null check
* remove unused
* Update document-user-permission.condition.ts
* change translation to browse
* remove create permission
* add option to interface
* pass config to picker
* add option to interface
* force type
* add request args to type
* pass allowed content types as request args
* add comments
* allow for passing type
* more type safety
* use correct types
* use correct types
* add js docs
* remove debugger + map to only pass id to server
* add js docs
* align naming
* add null check
* align types
* implement allowedContentTypes for member search
* fix imports
* add types for media search
* add and use const
* align picker interfaces
* align models
* add entity type
* filter for null value
* explicit naming
* rename field
* use query params
* Implement content type scoped search in item search controllers
* Fix bad naming
* generate server models
* wire up backend
* generate server models
* add selectable filter to member picker
* Update member-picker-modal.element.ts
* Fix indexed search for specific member and media types
* export consts
---------
Co-authored-by: kjac <kja@umbraco.dk>
* chore(mock): adds endpoint handler for allowed media types
* feat: adds new event `UmbDropzoneSubmittedEvent`
* fix: do not await unnecessarily
* fix: simplify error checking
* fix: only proceed if array contains elements
* feat: adds support to render an error state
* fix: react to error state on temporary file badges
* fix: cancel events and simplify error check and react to any status changes
* feat: adds new tryXhrRequest function
* fix: use tryXhrRequest to upload all temporary files
* fix: use error types from hey-api as a temporary solution
* fix: changes limit from int32 to long (64-bit) to allow larger files to be uploaded
* fix: set default baseURL
* fix: use same unique
* fix: do not overwrite status
* fix: adds progress callback for tinymce
* generate openapi.json
* Revert "generate openapi.json"
This reverts commit 3c723e0155e571cb8db63d211c615617d11e38ba.
* Revert "fix: changes limit from int32 to long (64-bit) to allow larger files to be uploaded"
This reverts commit c883a455088207aae0c96910b6c1e610ee5c40f2.
* chore: generate OpenApi.json
* Adds "HTML Global Attributes" Tiptap extension
This is to add `class`, `id` and `data-*` attributes
to any markup within Tiptap contents.
* Adds "Span" element Tiptap extension
to support generic markup modifications.
* Adds "Div" element Tiptap extension
to support generic markup modifications.
Also modifies "umbEmbeddedMedia" to check explicitly
for the `umb-embed-holder` class name. This is to differentiate
from the generic `div` tag.
* Adds "Rich Text Essentials" Tiptap extension
Previously this was a faux extension, but it is now real.
This extension adds the core extensions for Umbraco RTE support.
e.g. StarterKit, et al, and the new global attributes and generic elements.
* Reverts `elementName` constant
* updated the link picker modal and the property editors using it.
* updated the last language
* some minor updates to the code so that it uses the correct actions
* Minor change in the language key that is being used.
* use camel case
* use "add" and "update" without "link"
---------
Co-authored-by: Mads Rasmussen <madsr@hey.com>
* Updated the dialog label User - Assign Access - Media Start nodes
* Minor change to the modal headline
* update based on review.
* updated the languages based on review
* updated based on review
* Small update based on review on PR
* use generic choose media for the media dialog
---------
Co-authored-by: Mads Rasmussen <madsr@hey.com>
* Re-add authorization
* Add test plumbing
* Add test helper
* Add happy path test
* Remove usage of negation
* Minor DRYup of test code.
---------
Co-authored-by: Andy Butland <abutland73@gmail.com>
* Allowed retrieval of current user configuration when accessing user profile as a non-admin user.
* Update src/Umbraco.Web.UI.Client/src/packages/user/user/repository/config/current-user-config.repository.ts
---------
Co-authored-by: Jacob Overgaard <752371+iOvergaard@users.noreply.github.com>
* Validates and prevents save when providing a number outside of the configured range.
* Refactored to make use of `UmbFormControlMixin`
This flags the property layout container to be invalid (with prompt).
Adds localization keys.
* Corrected localization parameter order
---------
Co-authored-by: leekelleher <leekelleher@gmail.com>