* Numeric: renamed `#parseInt` function to `#parseNumber`
* Numeric: Changed to use `@change` event
* Number input: `max="Infinity"` was invalid markup
We don't need to always set the `min` and `max` attributes.
Leave the browser to do its thing.
* Decimal: adds input `step` config
* add entity trashed event
* dispatch event when entity is trashed
* remove double event listeners
* export action class
* Update default-tree.context.ts
* wip reload tree when entity is trashed
* move into data folder
* clean up listeners
* move manifest
* wip reload root
* clean up
* add recycle bin tree item
* use for media
* pass entity types through manifest + add recycle bin tree item kind
* remove custom implementation for document recycle bin
* use kind
* rename to supportedEntityTypes
* Update recycle-bin-tree-item.context.ts
* clean up
* Update recycle-bin-tree-item.context.ts
* Update recycle-bin-tree-item.context.ts
---------
Co-authored-by: Niels Lyngsø <nsl@umbraco.dk>
* Add a deprecation warning for the getUnique param
* fix import
* add specific version number
* remove block usage
* remove input rich media usage
* explicit version
* deprecate getUnique method in picker context
* remove get unique method
* Added tests to verify the media thumbnail
* Added tests to verify the media thumbnail
* Bumped version
* Make the SVG tests run in the pipeline
* Cleaned code
* Updated smokeTest command
* Reverted
* Updated the thumbnail file for audio
* Reverted
* Added deliveries workspace view to the webhook details workspace.
* Front-end linting fixes.
* rename to unique
* update filter value
* make delivery feature folder
* move delivery workspace view for delivery feature folder
* correct details workspace view label and pathname to match name
* remove unused alias
* use singular form to align naming
* remove pagination as the default collection kind already includes this
* show icon
* remove double registration
* add observables for webhook data, add get methods + add jsdocs
* align UX with languages
* remove hardcoded fake name + make url the link
* remove redundant url in table
* render status code as tag
* use tags for enabled/disabled webhook state to align with users
* make the name more explicit
* move webhook root to a feature folder
* export consts
* fix webhook collection pagination
* move menu item manifests into root folder
* move webhook delivery filering responsibility from repo to workspace view
* reorganize
* move workspace
* fix import
* move entity actions
* export delivery consts
* dot not export const
* rename folder
* update name
* make event feature folder
* export consts
* move repository files
* more clean up
* split types
* add deprecation warning for a temp method
* bring back url to deliveries table
---------
Co-authored-by: Mads Rasmussen <madsr@hey.com>
* Corrected rendering of member type icons on create button and picker.
* Removed debug code.
* Member Picker: sets icon
---------
Co-authored-by: leekelleher <leekelleher@gmail.com>
* feat: uses a blob url over a FileReader to get the temporary file's blob and mimetype
* feat: adds styling to temporary file badge
* use correct styling
* feat: adds uploader ui to track progress of uploaded files
* chore: check for potentially undefined promises
* feat: adds an `AbortSignal` to the xhr requests to allow for the request to be aborted
* feat: adds an `AbortSignal` through the stack to upload a file
* feat: cancel the ongoing request if the user removes the file during an upload
* Code/markup tidy-up
Added "Cancel" button, from @bjarnef's suggestion.
---------
Co-authored-by: leekelleher <leekelleher@gmail.com>
* update the setting for the toggle satet
* update the setting for the toggle satet
* adds a fallback label if no ariaLabel is set in the manifest, using toggleFor
* 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
* Update src/Umbraco.Web.UI.Client/src/packages/core/utils/bytes/bytes.function.ts
Co-authored-by: Lee Kelleher <leekelleher@users.noreply.github.com>
* chore: add end character to comment
* feat: binds multiple text string to validation
* chore: fixes event type
* feat: adds new property editor ui for accepted file types
* feat: changes the upload field to use the property editor ui for accepted file types
* adds localization
* Markup/style refactoring/streamlining
* Renamed "Accepted Types" to "Accepted Upload Types"
---------
Co-authored-by: Lee Kelleher <leekelleher@users.noreply.github.com>
Co-authored-by: leekelleher <leekelleher@gmail.com>
* Make block editor base classes public
* Update BlockEditorValues.cs
Change to trigger a new build for #16774
* Make healthchecks fully async
* Updated obsolete comments to reference next but one major.
---------
Co-authored-by: Kenn Jacobsen <kja@umbraco.dk>
Co-authored-by: Andy Butland <abutland73@gmail.com>
* Less parsing, allocation & LINQ when splitting strings
* Added unit test verifying refactoring of GetIdsFromPathReversed.
---------
Co-authored-by: Andy Butland <abutland73@gmail.com>
* adds back the custom icon for the content nodes and give a hover effect to indicate that it is grabable, and applys the choosen color
* Update sort-children-of-modal.element.ts
* switches to use the umb-icon and updates styling
* removes the backoffice host
* Update appsettings.Development.template.json
* Update sort-children-of-modal.element.ts
* Update sort-children-of-modal.element.ts
---------
Co-authored-by: Mads Rasmussen <madsr@hey.com>
* Ensure min/max property editor settings are valid before rendering for content editing.
* Display message when URL picker data type configuration is not valid.
* Reverted 'umb-input-multi-url' changes
* Added console warnings for misconfigured min/max values
Also adds `label` property for UUI elements
---------
Co-authored-by: Niels Lyngsø <nsl@umbraco.dk>
Co-authored-by: leekelleher <leekelleher@gmail.com>
* Avoid doing multiple lookups in dictionaries, avoid doing string interpolation & adding single char strings to a StringBuilder, made some private/internal classes & some private methods static when possible, use FrozenSet for InvalidFileNameChars
* Avoid some array + list allocations & async methods and made some private methods static
* Avoid double lookup of XML attribute (and double null check) & avoid an unneeded lookup before writing to a dictionary
* Avoid some double lookups
# Conflicts:
# src/Umbraco.Core/Services/LocalizedTextService.cs
* Avoid double lookups
# Conflicts:
# src/Umbraco.Core/Services/LocalizedTextService.cs
* Avoid double lookups
* List AsSpan, also to trigger a new build that hopefully goes through
* Avoid concatting strings when using writer & more static
* Updated CollectionBenchmarks to show that ToArray isn't always the fastest & Lists can be iterated nearly as fast as arrays (and that ToList is nearly as fast as ToArray on IReadOnlyLists in .NET 8)
* Fix rebase
* Use explicit types ❤️ (I thought it was the other way round...)
# Conflicts:
# src/Umbraco.Core/Services/LocalizedTextService.cs
* Reduce number of lines in HtmlStringUtilities.Truncate to pass code quality analysis
* Avoid double lookups & allocating empty arrays
* Use native List Find instead of LINQ