Commit Graph

68045 Commits

Author SHA1 Message Date
Mads Rasmussen
434bac788f Feature: Data Type Folder workspace (#17996)
* implement folder workspace view for data types

* Update index.ts

* export consts
2025-01-16 11:52:52 +00:00
Sven Geusens
fd1bd51aff bump version 2025-01-16 10:10:04 +01:00
Sven Geusens
b12620af9c Merge branch 'release/13.6' into v13/dev 2025-01-16 10:08:43 +01:00
Sven Geusens
d1af59fdf0 Merge branch 'v13/dev' into release/13.6 2025-01-15 22:13:42 +01:00
Andreas Zerbst
1b050ebc47 V13 QA added parallelization for E2E tests (#17995)
* Added script for running tests

* Added parallelization for our E2E tests

* Removed line

* Removed condition
2025-01-15 22:12:45 +01:00
Sven Geusens
ff3e457c58 Merge branch 'v13/dev' into release/13.6 2025-01-15 20:55:41 +01:00
Andy Butland
2ffaede07b Added a maxlength setting to the regular expression pattern field. (#17982) 2025-01-15 20:54:54 +01:00
mcl-sz
53060e1ec5 Remove __Key field from Backoffice Search if query is not a Guid
When a short search query is used, irrelevant results may arise because the query appears in the Key guide.
2025-01-15 19:11:53 +00:00
Sven Geusens
2a83f57262 Do not re-map schedule modal on error as it leads to broken bindings (#17990) 2025-01-15 17:35:23 +01:00
Sebastiaan Janssen
37343b24bb Merge branch 'contrib' into v15/dev 2025-01-15 16:54:02 +01:00
Mads Rasmussen
aaa025f85e close modal for create options with links (#17988) 2025-01-15 15:02:15 +00:00
Kenn Jacobsen
5be9193978 Do not show "Save and preview" by default (#17986) 2025-01-15 15:42:37 +01:00
Niels Lyngsø
d3f264fc54 Fix: only fire event when instance is available (issue 17847) (#17987)
* only fire event when instance is available

* avoid js issue when no markup
2025-01-15 14:01:33 +01:00
Niels Lyngsø
04ea002bf3 Fix: only fire event when instance is available (issue 17847) (#17987)
* only fire event when instance is available

* avoid js issue when no markup
2025-01-15 13:56:53 +01:00
Andy Butland
a29f51049b Link to content type and/or template from content/media/member info workspace view only if current user has access to settings (#17965)
* 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>
2025-01-15 13:46:01 +01:00
Kenn Jacobsen
8f42a3a0ea Make the RTE handle inline elements gracefully for JSON (#17983) 2025-01-15 11:26:03 +01:00
Andreas Zerbst
b8ee161e08 V15 QA updated our E2E pipeline to output test artifacts in a clearer way (#17826)
* 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>
2025-01-15 10:21:36 +01:00
Jacob Overgaard
c8547d9ff0 Build: Detect circular dependencies with Madge (#17924)
* 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
2025-01-15 09:19:43 +00:00
Kenn Jacobsen
4dd8fbe25d Enforce the "Save and preview" button after when switching content app (#17985) 2025-01-15 09:55:00 +01:00
Nikolaj Geisle
1c468e2088 Implement IsLockedOut on base class instead (#17979) 2025-01-15 08:53:15 +01:00
Sven Geusens
ee727c43e1 Added localizations for composite key of missing New (media) Audit item (#17981) 2025-01-14 21:08:47 +01:00
Jacob Overgaard
1347074330 V15: Adds validation to all entity workspaces (#17980)
* 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>
2025-01-14 17:14:28 +00:00
Jacob Overgaard
c3134cbb9d V15: Add abstraction for named entity detail workspaces (#17959)
* 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
2025-01-14 16:38:24 +00:00
Jacob Overgaard
395213946b build(deps): update @microsoft/signalr from 7.0.12 to 8.0.7 (#17973) 2025-01-14 15:44:52 +00:00
Niels Lyngsø
b5e48062b3 Merge pull request #17943 from umbraco/v15/feature/no-callback-then-destroy
Feature: no callback then destroy
2025-01-14 16:26:11 +01:00
Andy Butland
ed0b236208 Resets send to approval dialog on close such that when re-opening the selection and operation can still be triggered. (#17956) 2025-01-14 16:25:26 +01:00
Jacob Overgaard
836d526be8 Merge branch 'v15/dev' of https://github.com/umbraco/Umbraco-CMS into v15/dev 2025-01-14 16:06:15 +01:00
Jacob Overgaard
e49374d3f0 deps(build-dev): bump simple-icons from 13.21.0 to 14.2.0 and regenerate **icon-linkedin** 2025-01-14 16:06:12 +01:00
Jacob Overgaard
95f7aff360 hotfix: restore icon-layers due to renaming 2025-01-14 16:00:58 +01:00
Niels Lyngsø
f86919410c Merge pull request #17978 from umbraco/v15/chore/lint-corrections
Lint corrections
2025-01-14 16:00:08 +01:00
Kenn Jacobsen
8d56e75257 Add Vary header to all content API operations (#17962)
* Add Vary header to all content API operations

* Make attribute sealed
2025-01-14 15:54:19 +01:00
Niels Lyngsø
baecd565cc Fix: 17428 (#17976)
* 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
2025-01-14 15:52:54 +01:00
Mathias Helsengren
482af686a0 Updated the npm packages (#17975)
* Updated the npm packages

* generated server api and icons
2025-01-14 15:50:33 +01:00
Jacob Overgaard
b3c27415d1 build(deps): bump @umbraco-ui/uui from 1.11.0 to 1.12.2 (#17972) 2025-01-14 15:48:34 +01:00
Niels Lyngsø
bd0031d4cf lint auto corrections 2025-01-14 15:00:31 +01:00
Justin Neville
9839b0ee66 Fixes issue with the IVirtualPageController not setting PublishedRequest content via FindContent (#15121)
* Fixes issue https://github.com/umbraco/Umbraco-CMS/issues/12834

* Re-worked based on feedback

* Use dependency injection

* Only call new constructor

---------

Co-authored-by: Nikolaj Geisle <70372949+Zeegaan@users.noreply.github.com>
(cherry picked from commit fd9c1a0e9c)
2025-01-14 13:57:00 +01:00
Sven Geusens
f3f57f9748 Improve YSOD rendering in the client (#17940)
* Conditionally render error details and make sure something is rendered

* V13 QA updated locator for failing E2E test (#17825)

* Added timeouts

* Nullcheck user in Content permission handlers (#17846)

---------

Co-authored-by: Sven Geusens <sge@umbraco.dk>
Co-authored-by: Niels Lyngsø <nsl@umbraco.dk>

---------

Co-authored-by: Andreas Zerbst <73799582+andr317c@users.noreply.github.com>
Co-authored-by: Niels Lyngsø <nsl@umbraco.dk>
2025-01-14 13:38:07 +01:00
Justin Neville
fd9c1a0e9c Fixes issue with the IVirtualPageController not setting PublishedRequest content via FindContent (#15121)
* Fixes issue https://github.com/umbraco/Umbraco-CMS/issues/12834

* Re-worked based on feedback

* Use dependency injection

* Only call new constructor

---------

Co-authored-by: Nikolaj Geisle <70372949+Zeegaan@users.noreply.github.com>
2025-01-14 13:32:09 +01:00
Nikolaj Geisle
85d16a4354 V13: Show validation error, when saving invalid media (#17961)
* Don't save invalid media

* Revert "Don't save invalid media"

This reverts commit c4b6acf54282753476678a5027c371ac2d8a72b0.

* Still allow save, but show validation error, not popup error

* Add clarifying comment
2025-01-14 11:18:36 +01:00
Kenn Jacobsen
c0517c3562 Allow filtering for multiple content types (#17960) 2025-01-14 10:40:45 +01:00
Kenn Jacobsen
d6e7f83e3b Published Content should handle "is previewing" (#17957) 2025-01-14 10:39:39 +01:00
Kenn Jacobsen
6fc728c3d7 Make the Delivery API "ancestors" selector work with preview (#17938) (#17950) 2025-01-14 10:39:03 +01:00
Lan Nguyen Thuy
5afa4b069b add temporaryFileId to value when chaning focal point 2025-01-14 15:31:58 +07:00
Andreas Zerbst
92e535a1c9 V13 QA updated locator for failing E2E test (#17825)
* Added timeouts

* Nullcheck user in Content permission handlers (#17846)

---------

Co-authored-by: Sven Geusens <sge@umbraco.dk>
Co-authored-by: Niels Lyngsø <nsl@umbraco.dk>
2025-01-14 09:12:41 +01:00
Niels Lyngsø
45603e2689 rule to accept element base for abstract element class names (#17969) 2025-01-14 08:59:41 +01:00
Sebastiaan Janssen
c4021e27e5 Fixing problem on Linux where dotnet run fails because we try to set an IIS config (#17903)
* 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
2025-01-14 01:32:43 +01:00
Kenn Jacobsen
7411c2552b Added integration test to verify the Delivery API contract (#17949) 2025-01-13 15:15:37 +01:00
Krüger
42f49eb564 Visual update to user group modal (#17934)
* 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>
2025-01-13 13:17:05 +00:00
Andy Butland
f2410f376e Corrected property names and structure used in JSON schema generation for configuration of default data to install. (#17946) 2025-01-13 11:05:51 +01:00
Mole
44c30807fa Handle invariant domains (#17937) 2025-01-13 08:52:43 +01:00