* feat: adds validation checks and saves a version when scheduling content
* chore: adds mock handler for validate
* docs: adds documentation for umbracoPath
* chore: adds deprecation and todos
* feat: adds a method to output a list format
* test: adds test for list format
* feat: rename to list
* feat: adds localization for scheduling
* feat: adds notifications for publishing by action
* test: fixes naming
* feat: adds notification for publishing in bulk
* feat: fixes todo by adding localization
* feat: adds notification when publishing from workspace
---------
Co-authored-by: leekelleher <leekelleher@gmail.com>
* Introduce IsDocumentPublishedInAnyCulture
Sometimes we don't care about culture
* Check ancestor path when resolving cache items
* Fix tests
* Rebuild NavigationService
* Only set node if it has a published ancestor path
* Remove branch when unpublished
* Add tests
* Add seed test
* Consider published ancestor path when seeding documents
* Introduce MediaBreadthFirstKeyProviderTests
This is needed since the logic of document and media is no longer the same
* Remove unused services
* Move assert page to helper
* Add variant tests
* Add tests
* Filter keys in ContentTypeSeedKeyProvider
* Fix tests
* Add failing test showing refreshing issue
* Don't blow up if we can't resolve the node from navigation cache
Turns out that this can actually happen :D Should be fine to just return false
* Refactor cache refresher check
* Make NavigationQueryService service protected
* Add comment on how to refactor breadth first key provider
* Refactor if statement
* Added IsTrashed to document collection model.
* Add IsProtected to document collection response model.
* Rework to do setting of IsProtected within the mapper.
* Remove use of service in map definition.
* Refactor document and media by key endpoints to use presentation factories.
* Set IsProtected property.
* Introduced base presentation factory interface for content.
* chore(mock): adds handling for publishing schedules
* chore: removes unused translation key
* feat: shows a message when a culture has pending changes that are not saved
* feat: optimises pending changes text
* feat(UmbInputDateElement): extends the UUIInputElement rather than using it internally, which allows for more advanced form usage as well as usage of its slots
* feat: adds a Clear button on each date field to more easily clear a schedule
* feat: optimises localization with text from the real button
* Display the remove button if the datetime input has a value
---------
Co-authored-by: leekelleher <leekelleher@gmail.com>
* feat: adds a method to output a list format
* test: adds test for list format
* feat: adds a method to show a compounded relative time
* test: improves test to be absolute
* feat: allows dates to be strings
* chore: fixes lit warnings
* feat: adds compounded time to document info view
* feat: rename to list
* feat: use the Intl.DurationFormat API to format durations
* test: adds test for string dates
* feat: times should always be absolute
* feat: adds duration to the umb-localize-date element
* feat: adds support to set your own title
* revert changes
* feat: adds localization to calculate duration past or future
* feat: adds danish localization
* Added description for Data Type create option
* Updated "create_folderDescription" in English fallback
as it had previously been updated in English US only.
* US to GB typo correction
* remove collection action state
* clean up
* Update collection-action-button.element.ts
* use ellipsis character
* JSDocs
* TODO note
* add more options
* TODO
* additionalOptions for Collection Actions
---------
Co-authored-by: Niels Lyngsø <niels.lyngso@gmail.com>
* Render scheduled publish and unpublish on content info workspace view.
* Populate previously saved schedule on set schedule dialog.
* Hide workspace button actions that require a saved document when the document is new.
* Convert between local and server time when saving and displaying schedule.
* Fix issues with clearing of previously set schedule.
* Updated OpenApi.json to align with APi amends.
* Added missing constant.
* Fixes following merge.
* Fixed schedule mapping for invariant content.
* Fixed display of publishing/pending changes on info workspace view.
* Removed debug code.
* fix: adds missing localization keys
fixes#18297
* chore: eslint
* fix: render only the selectAll checkbox when more than one language is present
* feat: adds last edited date
* feat: adds 'last published' date
* fix: format input datetimes to datetime-local
* fix: converts the datetime string to an ISO format before sending to the server
this way we ensure the datetime contains the offset
* chore: adds more types to ensure type safety
* chore: use initialized boolean
* fix: makes schedule modal options-based to isolate the `selection` to the actual values
* docs: fix comment
* docs: adds comment
* fix: use helper function to update selection
* revert commit to prevent breaking change
* chore: eslint
* Whitespace tidy-up
* fix: stores a copy of the prevalues to be able to update that internally before finally setting the value from the updated internal values upon submit
* chore: removes unused function
* fix: unifies any pickable filters into one function
---------
Co-authored-by: Niels Lyngsø <nsl@umbraco.dk>
Co-authored-by: Jacob Overgaard <752371+iOvergaard@users.noreply.github.com>
Co-authored-by: leekelleher <leekelleher@gmail.com>
* wip entity-item-ref extension point
* clean up
* add ref list element
* fix styling
* Update document-item-ref.element.ts
* move item repo
* implement for input member
* enable action slot
* add null check
* fix sorting again
* fix sorting again
* use member element
* add draft styling back
* move item repository
* implement for user input
* pass readonly and standalone props
* make editPath a state
* Update member-item-ref.element.ts
* Fix user item ref
* remove open button
* remove unused
* remove unused
* check for section permission
* add fallback element
* add unique to modal route registration
* add unique to modal router
* remove unused id
* Update member-item-ref.element.ts
* append unique
* compare with old value
* only recreate the controller if the entity type changes
* fix console warning
* use addUniquePaths for modal registration
* Added a parameter that by default skips the sqlite acceptance tests
* Added timeout for flaky test
* Removed continue on error
* Created tests that fails to ensure that the update is working as expected
* Fixed tests
* Added tests for document type create option
* Renamed and added tests for document type create options
* Added tests for data type create options
* Added tests for media type create options
* Fixed tests to create media type folder
* Bumped version
* Make all Create option tests run in the pipeline
* Introduce publishNotifications method on IMembershipMemberService.cs
* Fix test
* Add PublishNotificationSaveOptions
* Fix up according to comments
* Use numeric values for flag enum
* Update src/Umbraco.Core/Services/MemberService.cs
Co-authored-by: Andy Butland <abutland73@gmail.com>
* Update src/Umbraco.Core/Services/MemberService.cs
Co-authored-by: Andy Butland <abutland73@gmail.com>
---------
Co-authored-by: Andy Butland <abutland73@gmail.com>
* adding types and default kind element
* switch to use ?? for code consistency
* add data-mark
* move listener last
* fix tsc
* save action additionalOptions
* hasAdditionalOptions for Save and Publish
* remove unused import
* type arg
* rename to _retrieveWorkspaceContext