* Render all URLs in document workspace info tab and ensure protocol-less links can be used to access the intended URL.
* Removed unused import.
* Removed scheme from resolved URL.
* Reload children of destination after duplicate of content.
* Revert changes to generic duplicate to action.
* Don't assume entity type of duplicated item is the same as the destination. Instead treat as "document" unless destination unique is null, when it will be "document-root".
* add todo back
* remove console log
---------
Co-authored-by: Mads Rasmussen <madsr@hey.com>
* Display variant selection on unpublish only if the document is variant.
* Allow for publish and unpublish of variant and invariant content.
* Added integration tests for amends to ContentPublishingService.
* Fixed assert.
* Fixed assert and used consistent language codes.
* Further integration tests.
* Added create date to document and media children endpoints.
* Sort by name or create date for documents and media.
* Fix build issues.
* Only render column headers for sorting if all pages of children are loaded.
* Add indicator and debounce sorting by column headers.
* feat: include the option whether a login provider has disabled local login
* feat: include information whether change password or two factor is allowed
* generate new OpenApi.json
* generate new ts client
* feat: request the server configuration and include in the UmbAppContext
* fix: for login screen, check that a provider did not disable the local login
* fix: use UmbAppContext to fetch the version check period
* chore: remove unused method
* revert current user configuration changes
* generate new ts client
* fix: add condition for "allow password change" on the change password button
* fix: create new IsDefaultKind condition to separate change password logic
* fix: update "allow change password" and "allow mfa" conditions to take the user configuration into consideration
* chore: export consts
* remove falsely named attribute that happens to not be useful anyway
* chore: revamp logic for early return to make it more readable
* convert `isInitialized` to a Promise as it is only being resolved once anyway, which then additionally saves a call to `this.observe` in the conditions
---------
Co-authored-by: Niels Lyngsø <nsl@umbraco.dk>
* Ensure sort order is used when rendering the list of allowed documents that can be created under an item in the content section.
* Fixed issue preventing sorting of the allowed content types.
* Refactors `umb-ref-item` to inherit from `uui-ref-node`
To extend, rather than reinvent the wheel.
* Updates components using `umb-ref-item` with `select-only` attribute
* Updates `umb-entity-create-option-action-list-modal` to use `umb-ref-item`
instead of `uui-ref-node`, so we can use `umb-icon`
(with color support) and UI consistency.
* Adds `headline` property for Create Option modal
* Changes 'Umb.EntityAction.DocumentType.Create' to use `kind: 'create'`
Deprecates `umb-document-type-create-options-modal` and token.
* Adds `entityCreateOptionAction` extensions for Document Types
- Document Type (default)
- Document Type with Template
- Element Type
- Folder
* Tweaks Create Options modal to submit upon selection
* corrections
* remove headline option
---------
Co-authored-by: Niels Lyngsø <nsl@umbraco.dk>
Co-authored-by: Niels Lyngsø <niels.lyngso@gmail.com>
Co-authored-by: Mads Rasmussen <madsr@hey.com>
* rename arg for better readin
* use nothing
* parse args and implement single mode
* make single mode work with conditions
* implement UmbExtensionsElementAndApiInitializer in workspace element
* move workspace initialization to workspace element
* do not parse host, as it already happens
* implement initializer single mode for extension slot elements
* implement validation for media and prepare for member
* remove import
* port code from backoffice repo
* move repo into publishing module
* port get published methods
* cleanup
* wip render state
* align state UI
* post merge clean up
* move publish modal
* move schedule modal
* move unpublish modal
* move publish action and bulk action
* move unpublish action + bulk action
* lint fix
* Update document-workspace.context.ts
* wip move publishing methods to publishing context
* move publish with descendants
* fix more references
* Update document-publishing.workspace-context.ts
* export entity action
* add return type
* temp internal methods
* use repository response type
* expose methods for other contexts to use
* use public methods
* call publishing context methods
* fix import
* move manager into folder
* organise in folders
* add get method to get variants with changes
* preselect variants with pending changes
* observe data changes
* render pending changes client state
* observe unique
* Update document-publishing.server.data-source.ts
* use correct key
* clean up
* expose persisted data
* rename arg
* use persisted data instead of current
* add reload method
* reload data after publish
* remove headline
* handle all publish actions the same
* reset state as the first thing when creating + loading
* add method to get variants
* only load published if document has a published variant
* remove variants from observer
* add public method to get the changed variants
* align preselection with current logic
* add deprecation util
* add method deprecation warnings
* remove unused publish method
* move publishing workspace actions into publishing module
* use publishing context
* clean up
* add tests for published pending changes manager
* handle server the same way
* process pending changes when persisted data changes
* remove buggy updateDate
* remove unused
* lint fix
* add publish method back to avoid a breaking change
---------
Co-authored-by: Niels Lyngsø <niels.lyngso@gmail.com>
Co-authored-by: Niels Lyngsø <nsl@umbraco.dk>
* always render the links we get from the server
* render information about links with no url
* pass correct state value
* Update document-workspace-view-info-links.element.ts
* reuse empty link, culture markup
* remove state from urls
---------
Co-authored-by: Niels Lyngsø <nsl@umbraco.dk>
* feat: add two launch tasks to start a vite server and attach to an existing vite server
* build(deps-dev): install and use cross-env for vite commands
* build: add mocked launch task
* build: add prompt to check if msw should be on or off
* build: defaults
* build: rename launch task
* build: add compound to start backend and frontend at the same time
* implement validation for media and prepare for member
* remove import
* use repository response type
---------
Co-authored-by: Mads Rasmussen <madsr@hey.com>