* Link to content type and/or template from content/media/member info workspace view only if current user has access to sections.
* Fixed HTML
* add const for condition alias
* export const
* return permitted value in onChange callback
* use condition to check for access
* implement across content
* replace strings with consts
* replace strings with const
* remove attr with the ifDefined directive
* allow to pass in callback type
* Pass callback type
* Update index.ts
* add tests for UmbSectionUserPermissionCondition
---------
Co-authored-by: Mads Rasmussen <madsr@hey.com>
* Updated pipeline to publish acceptance test artifacts for each os. and to run tests from npm command
* Adjustment to the targetPath
* Publish all in results folder
* Moved folder
* Reverted changes
* Added all results in test folder
* Updated naming
* Used semicolon
* Additional semicolons
---------
Co-authored-by: Niels Lyngsø <nsl@umbraco.dk>
* feat: adds script to run madge in a CI environment
* build: adds check for circular dependencies
* build: move actions higher up
* build: only print annotation once
* build: make script not fail CI until dependencies are fixed
* chore: add validation to mocked endpoints
* feat: create new base context `UmbEntityNamedDetailWorkspaceContextBase` to use for named entities
* feat: extend from `UmbEntityNamedDetailWorkspaceContextBase` to be able to save some code
* feat: allow to pass on the generic parameters
* feat: add type-safety property
* chore: remove duplicate code by extending from correct interface
* chore: fix type casting
* feat: make class abstract and add explanatory comment
* feat: Extend from UmbEntityNamedDetailWorkspaceContextBase to ensure all workspaces with a name follows the same interface
this allows the workspace to act as a UmbNamableWorkspace
* feat: adds a few needed properties to umb-workspace-header-name-editable
* fix: use <umb-workspace-header-name-editable> for partial views
* fix: bind to validation for templates
* chore: remove unused css
* fix(script editor): use `<umb-workspace-header-name-editable />` for the name field
* fix(stylesheet editor): use `<umb-workspace-header-name-editable />` for the name field
* chore: add missing mock endpoint for `tree/data-type/ancestors`
* chore: adds mocks for relations and relation-types
* chore: remove unused handlers
* feat: adds **readonly** to `<umb-input-with-alias />`
* fix: use `<umb-input-with-alias />` for relation type workspace editor
* chore: adds missing handler for package configuration (marketplace url)
* fix(packages): adds validation and data-marks to the package section
* feat: adds a validation context for all entity detail workspaces
* chore: remove duplicated validation contexts as that is now being set by their base class
---------
Co-authored-by: leekelleher <leekelleher@gmail.com>
* chore: add validation to mocked endpoints
* feat: create new base context `UmbEntityNamedDetailWorkspaceContextBase` to use for named entities
* feat: extend from `UmbEntityNamedDetailWorkspaceContextBase` to be able to save some code
* feat: allow to pass on the generic parameters
* feat: add type-safety property
* chore: remove duplicate code by extending from correct interface
* chore: fix type casting
* feat: make class abstract and add explanatory comment
* method to extract json query properties
* fix issue when validation context has been destroyed
* method to remove and get validation messages
* param key
* do not assign a controller alias to this observation
* clean up delete method
* clean up validation messages
* remove unused imports
* Don't add a blanket rule to allow synchronous IO, should not be necessary for the new management API
* Add obsolete warning
* Catch errors while adding global rule to allow synchronous IO, which fails on non-windows machines
* Some updates based on PR feedback
* Initial commit of changes
* final touches on styling
* Refactored to observe and resolve the document/media node names
---------
Co-authored-by: DESKTOP-16T01G5\Umbraco <obk@umbraco.dk>
Co-authored-by: leekelleher <leekelleher@gmail.com>
* Initial stab at how this could look
* Authorization PoC wip
* Add connection manager
* Add DI to its own class
* Use enum instead of string
* Use groups
* Refactor group management into its own service
* Update a users groups when it's saved
* Add saved events
* Wire up deleted notifications
* Ensure update date and create date is the same
* Cleanup
* Minor cleanup
* Remove unusued usings
* Move route to constant
* Add docstrings to server event router
* Fix and suppress warnings
* Refactor to authorizer pattern
* Update EventType
* Remove unused enums
* Add trashed events
* Notify current user that they've been updated
* Add broadcast
We don't need it, but seems like a thing that a server event router should be able to do.
* Add ServerEventRouterTests
* Add ServerEventUserManagerTests
* Use TimeProvider
* Remove principal null check
* Don't assign event type
* Minor cleanup
* Rename AuthorizedEventSources
* Change permission for relations
* Exctract event authorization into its own service
* Add some tests
* Update name
* Add forgotten file
* Rmember to add to DI
* 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.