Commit Graph

67596 Commits

Author SHA1 Message Date
Niels Lyngsø
594036c3d9 make blocks auto expose on insert (#17724) 2024-12-04 10:59:47 +01:00
Niels Lyngsø
3caffa2756 Ensure all UMB_ constants is exported (#17683)
* export consts

* remove lexer

* init work on test for all consts to be exported

* temporary solution to working test

* fix test

* fix one consts

* update package-lock

* remove imports

* fix auto generation of test

* correct test

* important mistake correction

* fix workspace

* fix webhooks

* fix users

* UMB_CREATE_USER_CLIENT_CREDENTIAL_MODAL_ALIAS

* fix user group

* fix tree const exports

* tiptap const exports

* fix templates consts export

* tags

* stylesheets

* static files

* settings

* static file system

* section

* search

* scripts

* fix tsc

* relation

* relation-type

* recycle bin

* property type

* picker

* partial views

* tsc corrections

* fix circular

* package

* member

* member type

* move constants to constants file

* member group + documnet type

* media

* media-type

* revert tsconfig change

* log viewer

* language

* imaging

* healt check

* entity actions

* user permissions

* adjust test text

* document

* update consts

* document type etc

* blueprint

* dictionary

* data-type

* current-user

* culture

* content-type

* circular dependency

* block-list

* block-grid

* fix type import

* auto lint fixes

* fix tsc

* update test

* make sure always to call check-const-generation

* fix circular dependencies

* consts for content package
2024-12-04 10:39:06 +01:00
Andreas Zerbst
07c236cdc2 Bumped version of testhelpers 2024-12-04 08:44:22 +01:00
Andreas Zerbst
ece803a6b3 V15 QA added parallelization for the integration tests (#17713)
* Added parallelization for our integration tests

* Updated yaml

* Moved filter command to variable definition

* Escape quotes

* Updated testFilter

* Added testFilter for SQlite

* Cleaned up filter

* Added comments

(cherry picked from commit 2f2da4854a)
2024-12-04 08:42:45 +01:00
Andreas Zerbst
3cf90ac6b4 V15 QA add parallelization of e2e tests (#17691)
* Tries parallelizing the E2E tests

* Updated variable

* Updated SqlServer

* Updated playwright config

* Bumped to use 3 shards

* Implemented shards on nightly pipeline

* Fixed indentation

* Added a smokeTest

* Updated test to run

* Added test command

* Update Templates.spec.ts

(cherry picked from commit 303758d1b2)
2024-12-04 08:41:29 +01:00
Andreas Zerbst
e87cd0a1bc V15 QA updated E2E tests to match changes (#17625)
* Updated locators

* Added waits

* Updated clickDeleteButton

* Bumped version

(cherry picked from commit 01a19b8a9f)
2024-12-04 08:41:24 +01:00
Bjarke Berg
2f388b3f91 Fixes https://github.com/umbraco/Umbraco-CMS/issues/17614 (#17687) 2024-12-03 13:50:36 +01:00
Mole
380f3f7e87 Clear elements cache instead of refreshing it (#17708) 2024-12-03 13:40:05 +01:00
Mads Rasmussen
437fcba4e5 fix: store first rte value (#17699) 2024-12-02 21:23:39 +01:00
Mads Rasmussen
8141b6b07e Hotfix: unnecessary Discard Changes dialog for RTEs (#17692)
* remove code duplication

* remove unused code

* allow value to be undefined

* dot not build model if we have no markup

* do update the layout value if we don't get any layouts

* reset internals if there are no value

* clear value if tiny mce doesn't have any markup

* clear value if tip tap doesn't have any markup

* add method to check if tip tap element is empty

* use method to check for empty tip tap
2024-12-02 14:48:28 +01:00
Jacob Overgaard
ceafa83cc7 build: update the repository link 2024-11-29 15:36:28 +01:00
Jacob Overgaard
42f62d30df build: use the backoffice template in both build jobs 2024-11-29 14:55:35 +01:00
nikolajlauridsen
c0cef3493c Bump version 2024-11-29 12:22:13 +01:00
Bjarke Berg
07d77aa465 Optimize Azure pipeline (#17674)
* Only fetch single commit

* Hopefully fixes Nerdbank.GitVersioning.GitException: Shallow clone lacks the objects required to calculate version height. Use full clones or clones with a history at least as deep as the last version height resetting change.

* Do not checkout again

* More test pipeline

* Another attempt

* yet another attempt

* more attempts

* Revert "more attempts"

This reverts commit 5694d97ba620e90fdeea287936f58002f2a5ddba.

* Test without building backoffice and login explicitly

* Fix mem leak in integration tests

* Fixes sqlserver lock test
2024-11-29 12:21:36 +01:00
nikolajlauridsen
3203f64c2d Bump version to test template 2024-11-28 12:26:38 +01:00
nikolajlauridsen
6507497307 Revert "Hardcode version to have a working build"
This reverts commit fba183d816.
2024-11-28 12:25:53 +01:00
nikolajlauridsen
afe9604920 Don't pack template.json 2024-11-28 10:12:13 +01:00
Niels Lyngsø
7177a29b5d build(deps): update @umbraco-ui/uui from 1.12.1 to 1.12.2 (#17657)
* update uui

* remove temp fix

* revert mockServiceWorker change

* fix document collection paths
2024-11-27 17:18:44 +01:00
nikolajlauridsen
fba183d816 Hardcode version to have a working build 2024-11-27 12:43:14 +01:00
Kenn Jacobsen
444c87469c Add ASCII file name conversion (#17580)
(cherry picked from commit 4590739fa5)
(cherry picked from commit 3d1505d4c6)
2024-11-27 09:23:54 +01:00
Lee Kelleher
4f3f2efbdc Adds UFM Link component (#17636)
to support the Multi-URL Picker editor.
2024-11-26 14:45:09 +01:00
Lee Kelleher
bea12b7a50 UFM: ContentName, adds support for Media Picker (#17635) 2024-11-26 14:34:40 +01:00
Elitsa Marinovska
334cb4701f Apply content type filter on self as well (#17581) 2024-11-26 13:14:26 +01:00
nikolajlauridsen
75f1beed9d Fix version number 2024-11-26 12:24:31 +01:00
Bjarke Berg
2846325a8a Fixes routing issues (#17572)
* Child of second root should also hide root path and backoffice needs to show all domains for each language.

* Fixes routing issues based on findings https://github.com/umbraco/Umbraco-CMS/pull/17572#issuecomment-2486219574

* Revert "Fixes routing issues based on findings https://github.com/umbraco/Umbraco-CMS/pull/17572#issuecomment-2486219574"

This reverts commit ba7fb5cc904fbe602450ac109e1821282b7f69d6.

* Fix urls of descendants of non-first roots do not show the root urlsegment when HideTopLevel is true
2024-11-26 09:59:09 +01:00
nikolajlauridsen
37be8120ea Merge remote-tracking branch 'origin/release/15.1' into release/15.1 2024-11-26 09:10:14 +01:00
Jacob Overgaard
72596bd853 fix: should check specifically for if pathname is undefined or empty 2024-11-26 09:09:48 +01:00
Jacob Overgaard
1b3782f2b0 fix: should check specifically for if pathname is undefined or empty 2024-11-26 09:09:47 +01:00
Mads Rasmussen
b6551d63b7 fix merge error 2024-11-26 08:38:21 +01:00
Mads Rasmussen
e42fa14da5 generate management api types 2024-11-26 08:38:10 +01:00
Bjarke Berg
87ab29aa39 Updated nuget packages (#17632) 2024-11-25 18:23:08 +01:00
Mads Rasmussen
16a5f8d138 Media Picker: only allow navigating to folders/media with children + other fixes (#17617)
* only allow navigating into folders or item with children

* export media search provider

* mark search on media item repo as deprecated

* use media search provider for searching

* rename method

* change the look of the upload button

* only render checkbox if we are not in the root

* clear search when navigating

* add type

* set value so it gets updated when cleared

* default to search within an item

* hide breadcrumb if searching in root

* scope search on server

* Update media-picker-modal.element.ts

* hide breadcrumb when doing a global search within another item

* add selection mode

* remove unused state

* handle start node when searching

* fix if wrong order

* fix type error

* pass start node to breadcrumb

* handle start node in breadcrumb

* make start node optional

* map data

* clean up

* Update media-picker-folder-path.element.ts

* add searching load indicator

* don't show unique in detail

* Add information to item response model

* Update OpenApi.json

* generate new server models

* update mocks

* move interface to types

* add hasChildren and parent to media item model interface

* fix import

* map data

* map media item

* treat tree item and search result the same

* Fix: bump uui version (#17626)

* lint fix

* temp fix for media selection

* UX corrections for media selection

* temp uui fix for media picker modal

* fix table selection mode

* fix search from when having a start node

* remove private

* wait for all missing parts before create table items

---------

Co-authored-by: nikolajlauridsen <nikolajlauridsen@protonmail.ch>
Co-authored-by: Niels Lyngsø <niels.lyngso@gmail.com>
2024-11-25 18:16:19 +01:00
Jacob Overgaard
5856fd9612 V15: npm updates 2024-11-15 (#17545)
* build(deps): bump storybook from 8.3.5 to 8.4.4

* reenable public folder (with msw file) for storybook

* build(deps-dev): bump vite from 5.4.6 to 5.4.11

* build(deps-dev): bump babel and rollup

* build(deps-dev): bump typedoc from 0.26.5 to 0.26.11

* build(deps-dev): bump @hey-api/openapi-ts from 0.52.11 to 0.55.3

regenerated all models and migrated the config

* build(deps-dev): bump eslint from 9.7.0 to 9.14.0 including related deps

* build(deps-dev): bump all @types packages

* build(deps-dev): bump lucide to 0.459.0 and simple-icons to 13.16.0

regenerate icons:

- renamed `box-select` to `square-dashed`

* build(deps): bump marked from 14.1.0 to 15.0.0

* build(deps): bump monaco-editor from 0.50.0 to 0.52.0

* build(deps): bump dumpurify from 3.1.6 to 3.2.0

* build(deps): make changes based on the dompurify upgrade where types are now an inherent part of the package

* build(deps): bump diff from 5.2.0 to 7.0.0

* build(deps): bump element-internals-polyfill from 1.3.11 to 1.3.12

* build(deps): bump lit from 3.2.0 to 3.2.1

* build(deps-dev): bump globals from 15.8.0 to 15.12.0 (eslint dependency)

* build(deps-dev): bump storybook dependencies

* build(deps-dev): bump @web/dev-server deps

* build(deps-dev): bump typescript from 5.5.3 to 5.6.3

* build(deps): bump uuid from 10.0.0 to 11.0.3 thereby eliminating the @types/uuid module

* build(deps): bump tinymce-i18n from 24.7.15 to 24.11.11

* build(deps): bump all deps to latest and use backoffice global types for extension manifests

* chore: change import path

* build(deps-dev): bump rollup/plugin-commonjs to 26.0.3 for compatibility reasons

* feat: replace outdated 'webworker-loader' with manual paths to monaco's web workers since they are esmodules anyway

* build(deps-dev): bump storybook from 8.4.4 to 8.4.5

* build(deps): bump tiptap from 2.9.1 to 2.10.2

* build(deps): bump dompurify from 3.2.0 to 3.2.1

* build(deps): bump tinymce-i18n from 24.11.11 to 24.11.25

* build(deps): bump static icons

* build(deps): bump marked from 15.0.0 to 15.0.2

* build(deps-dev): bump eslint + deps

* build(deps-dev): bump vite + rollup dependencies

* build(deps-dev): bump @playwright/test from 1.48.2 to 1.49.0

* build(deps-dev): bump @hey-api/openapi-ts from 0.55.3 to 0.57.1

generated new services

* build(deps-dev): bump @types/mocha

* build(deps): bump typescript from 5.6.3 to 5.7.2
2024-11-25 16:47:13 +00:00
Jacob Overgaard
2383fbcd70 V15: Show a loader during the login procedures rather than oddly styled content (#17618)
* feat: show only a loader on a default login flow

if the flow fails, the app-error component will be shown, or if the flow is initialised inside a popup (i.e. the session was lost)

* fix: hasOwnOpener did not recognize the local vite url as its own pathname

it should work better by checking the `startsWith` comparing the pathname, and besides, it seems to work better for the understanding of the function to inverse the true/false check

* chore: adjust imports

* chore: formatting
2024-11-25 16:32:02 +00:00
Kenn Jacobsen
9c76f5cb37 Handle "expose" for variant elements with all invariant properties (#17621)
Co-authored-by: Elitsa <elm@umbraco.dk>
2024-11-25 15:14:45 +01:00
Nikolaj Geisle
6b0f8e7b7c Validate email for member models (#17532)
* Validate email for member models

* Add null check or more test cases

* return invalid when not a valid email

* Cleanup

* remove private method in favor of extension

* Remove non used, using statement

---------

Co-authored-by: Elitsa <elm@umbraco.dk>
2024-11-25 13:55:40 +01:00
Mole
7162efc865 V15: Add information to item endpoints (#17623)
* Add information to item response model

* Update OpenApi.json
2024-11-25 13:32:01 +01:00
Mads Rasmussen
ef470ed757 Fix: bump uui version (#17626) 2024-11-25 13:17:43 +01:00
Elitsa Marinovska
4a19d899dd V15: Update navigation references in Partial Views (#17613)
* Inject and pass-in parameters to use the respective PublishedContentExtensions methods

* Fix view comments

* Other fixes
2024-11-25 10:30:43 +01:00
Jacob Overgaard
75ba6b7492 Merge remote-tracking branch 'origin/contrib' into v15/dev 2024-11-24 22:02:41 +01:00
Allen Smith
3d3b5d53d6 Update terminology in ListView acceptance tests. (#17265)
Co-authored-by: Jacob Overgaard <752371+iOvergaard@users.noreply.github.com>
2024-11-21 16:30:59 +01:00
leekelleher
e2d4f3e0de Passes entityType to bulk actions 2024-11-21 16:18:16 +01:00
Mads Rasmussen
44384c0613 Aligning Settings welcome dashboard headlines (#17609)
* use box headline for headlines

* Settings welcome dashboard amends

`rel=noopener` is automatically implemented
by the browser for `target=_blank` links.

---------

Co-authored-by: leekelleher <leekelleher@gmail.com>
2024-11-21 14:34:48 +00:00
Lee Kelleher
f899be9640 V15: Collection Bulk Action Permissions conditions (#17593)
* Deprecated TypeScript exports

* Removed the Bulk Action Permission condition

* Removed the "bulkActionPermissions" configuration

It's now based on manifest/extension conditions.

* Added user permission checks for documents

(media do not yet have entity permissions)

* Added console warning for 'bulk-action-permissions' editor
2024-11-21 13:37:38 +01:00
Bjarke Berg
b402c1ffe3 Fixed issue where old images was not deleted when removed from the upload property editor, when it did not send null value. (#17587)
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch>
2024-11-21 12:54:38 +01:00
PhyxionNL
5518c709aa Fixes TipTap toolbar wrapping 2024-11-21 11:32:26 +00:00
Niels Lyngsø
390dde0492 Feature: Make discard changes work for modals (#17515)
* make sure to close the modal when submit was completed

* rename to _closeModal

* remove comments

* correction route registration

* implement general collection workspace path builder

* fix lint errors

* change item to entity

* remove unsued

* add entityType param

* use correct entity type

* change section view into dashboard

* router context holding paths as observables

* adapt modal context logic to become cancellable

* fix router-slot

* remove temp fix

* close none routable modals when navigating routable modal

* update uui

---------

Co-authored-by: Mads Rasmussen <madsr@hey.com>
2024-11-21 10:52:12 +01:00
Sven Geusens
6971ded138 Distinguish between default zero and intentional zero sort order for new documents (#17517)
* Distinguish between default value and initial zero

* Update special value comment documentation

* Redid solution with dirty/new entity tracking

* rework copy branch sortorder fix

* Change == false to is false

---------

Co-authored-by: Mole <nikolajlauridsen@protonmail.ch>
2024-11-21 09:07:22 +01:00
Lee Kelleher
918448f419 V15: Collection: Adds "Name" to Order By options (#17600)
* Adds "Name" option to the Collection Order By configuration

* Localizes column headers
2024-11-21 08:45:51 +01:00
Elitsa Marinovska
c363b785da Renaming of policy (#17594)
* Add access to datatypes if you have access to member section

* Rename policy

---------

Co-authored-by: Nikolaj Geisle <70372949+Zeegaan@users.noreply.github.com>
2024-11-20 19:02:30 +01:00