Commit Graph

68057 Commits

Author SHA1 Message Date
Nikolaj Geisle
776e7313d0 Merge branch 'release/15.2' into v15/dev 2025-01-23 11:08:50 +01:00
Niels Lyngsø
27aef0b435 fix test 2025-01-23 10:58:33 +01:00
Nikolaj Geisle
0562757114 Replace paths, so they are equal on every OS (#18071)
* Replace paths, so they are equal on every OS

* Don't use Path.Combine
2025-01-22 13:47:24 +01:00
Nikolaj Geisle
c847a111fe 15: Convert pagesize properly to skip and take (#18069)
* convert pagesize properly to skip and take

* Obsolete pagesize & pageIndex GetAll method
2025-01-22 10:39:26 +01:00
Andy Butland
98ff36b6a8 Validates and prevents save when providing a number outside of the configured range. (#17991)
* Validates and prevents save when providing a number outside of the configured range.

* Refactored to make use of `UmbFormControlMixin`

This flags the property layout container to be invalid (with prompt).
Adds localization keys.

* Corrected localization parameter order

---------

Co-authored-by: leekelleher <leekelleher@gmail.com>
2025-01-22 09:18:39 +00:00
Zeegaan
da07a24155 Don't treat warnings as error 2025-01-22 10:15:50 +01:00
Jacob Overgaard
f67a900cc1 bump version to 15.3.0-rc 2025-01-22 10:15:21 +01:00
Zeegaan
99090fd933 Merge branch 'refs/heads/release/15.1.2' into release/15.2
# Conflicts:
#	version.json
2025-01-22 09:53:50 +01:00
Niels Lyngsø
c158a0d77e Fix: Block validation (Refactor of context-api proxy from Clipboard Feature) (#18038)
* set data path

* use prop setting

* move prop

* type

* clean up

* validation messages test

* remove import

* remove import

* refactor property context proxy to property actions scope only

* clean up

* remove proxy

* find block data

* clean up block clipboard entry data

* check if areas exisists

* test with empty area

---------

Co-authored-by: Mads Rasmussen <madsr@hey.com>
2025-01-22 08:50:17 +01:00
Niels Lyngsø
a9bf90053a enable areas to be undefined (#18057) 2025-01-21 19:38:41 +01:00
Niels Lyngsø
800873c2f1 Fix settings value begin indifference (#18022) 2025-01-21 16:43:11 +00:00
Sven Geusens
880f49abdb Merge branch 'v14/dev' into v15/dev 2025-01-21 16:54:05 +01:00
Andy Butland
f79b0f8fa7 Fix schema defined in JSON schema tool definition after merge from 13. 2025-01-21 16:51:27 +01:00
Andy Butland
8056a59a10 Fix schema defined in JSON schema tool definition after merge from 13. 2025-01-21 15:52:31 +01:00
Jacob Overgaard
8105a99b9e Merge branch 'v15/dev' into release/15.2 2025-01-21 15:27:02 +01:00
Andy Butland
fcb3d7c60a Fixes rendering of the font icons used for buttons in the code editor. (#18053) 2025-01-21 15:25:57 +01:00
Jacob Overgaard
ba1606ef18 Merge branch 'v15/dev' into release/15.2 2025-01-21 15:18:01 +01:00
Lee Kelleher
9c1aeababf Sets max-height for Workspace Variant Selector scroll container (#18051)
Fixes #17680
2025-01-21 15:16:14 +01:00
Andy Butland
edce7e6340 Localize the recycle bin tree root. (#18060) 2025-01-21 15:14:40 +01:00
jonat123
90fd0f5945 Updated the dialog label for the User - Assign Access - Groups (#18037) 2025-01-21 14:00:45 +01:00
jonat123
87c84615a6 updated the modal headline (#18050) 2025-01-21 13:28:44 +01:00
jonat123
dea2793f76 Updated the dialog labels for Member -> Choose Groups (#18046) 2025-01-21 13:26:02 +01:00
jonat123
bebb1a8677 Updated the dialog label for the User Picker label (#18034) 2025-01-21 13:20:51 +01:00
jonat123
5f8878d012 Updated the dialog label for the Member Group Picker. (#18033) 2025-01-21 13:05:16 +01:00
Sven Geusens
a42beb88bf Merge branch 'v15/dev' into release/15.2 2025-01-21 10:22:31 +01:00
Sven Geusens
f96ac32b2b Merge branch 'v14/dev' into v15/dev
# Conflicts:
#	Directory.Packages.props
#	src/Umbraco.Cms.Api.Common/DependencyInjection/UmbracoBuilderAuthExtensions.cs
#	src/Umbraco.Cms.Api.Delivery/DependencyInjection/UmbracoBuilderExtensions.cs
#	src/Umbraco.Cms.Api.Delivery/Querying/Selectors/AncestorsSelector.cs
#	src/Umbraco.Cms.Api.Management/OpenApi.json
#	src/Umbraco.Infrastructure/Examine/ExamineIndexRebuilder.cs
#	src/Umbraco.Infrastructure/PropertyEditors/MediaPicker3PropertyEditor.cs
#	src/Umbraco.PublishedCache.NuCache/ContentStore.cs
#	tests/Directory.Packages.props
2025-01-21 10:17:46 +01:00
Kenn Jacobsen
56c0aebd76 Add NoopCurrentMemberClaimsProvider so Umbraco can boot without the Delivery API enabled (#18049) 2025-01-21 09:12:20 +01:00
Kenn Jacobsen
4d3be0a761 Partial revert of #17854 (#18040) 2025-01-21 08:52:33 +01:00
Kenn Jacobsen
bbd34310ab Fix various routing and preview issues for the Delivery API in V15 (#18036)
* Fix various routing and preview issues for the Delivery API in V15

* Fix breaking change in ctor

* Fix ambigious constructors

---------

Co-authored-by: Nikolaj Geisle <70372949+Zeegaan@users.noreply.github.com>
2025-01-21 08:52:14 +01:00
Kenn Jacobsen
2a73cfefbb Partial revert of #17854 (#18040) 2025-01-21 08:48:57 +01:00
Sven Geusens
4b9771c0eb Merge branch 'v13/dev' into v14/dev
# Conflicts:
#	Directory.Packages.props
#	build/azure-pipelines.yml
#	src/Umbraco.Cms.Api.Common/DependencyInjection/UmbracoBuilderAuthExtensions.cs
#	src/Umbraco.Cms.Persistence.EFCore/Locking/SqlServerEFCoreDistributedLockingMechanism.cs
#	src/Umbraco.Core/Configuration/Models/RichTextEditorSettings.cs
#	src/Umbraco.Core/EmbeddedResources/Lang/da.xml
#	src/Umbraco.Core/EmbeddedResources/Lang/en.xml
#	src/Umbraco.Core/EmbeddedResources/Lang/en_us.xml
#	src/Umbraco.Core/Services/ContentService.cs
#	src/Umbraco.Web.BackOffice/Authorization/ContentPermissionsQueryStringHandler.cs
#	src/Umbraco.Web.BackOffice/Authorization/ContentPermissionsResourceHandler.cs
#	src/Umbraco.Web.BackOffice/Controllers/ContentController.cs
#	src/Umbraco.Web.BackOffice/Controllers/ExamineManagementController.cs
#	src/Umbraco.Web.BackOffice/Controllers/MediaController.cs
#	src/Umbraco.Web.BackOffice/Trees/StaticFilesTreeController.cs
#	src/Umbraco.Web.UI.Client/package-lock.json
#	src/Umbraco.Web.UI.Client/package.json
#	src/Umbraco.Web.UI.Client/src/common/directives/components/buttons/umbbuttongroup.directive.js
#	src/Umbraco.Web.UI.Client/src/common/directives/components/content/edit.controller.js
#	src/Umbraco.Web.UI.Client/src/common/filters/simpleMarkdown.filter.js
#	src/Umbraco.Web.UI.Client/src/common/filters/simpleMarkdown.filter.js.js
#	src/Umbraco.Web.UI.Client/src/common/services/tinymce.service.js
#	src/Umbraco.Web.UI.Client/src/less/components/umb-group-builder.less
#	src/Umbraco.Web.UI.Client/src/views/common/infiniteeditors/mediaentryeditor/mediaentryeditor.less
#	src/Umbraco.Web.UI.Client/src/views/common/infiniteeditors/propertysettings/propertysettings.html
#	src/Umbraco.Web.UI.Client/src/views/common/overlays/ysod/ysod.controller.js
#	src/Umbraco.Web.UI.Client/src/views/common/overlays/ysod/ysod.html
#	src/Umbraco.Web.UI.Client/src/views/components/buttons/umb-button-group.html
#	src/Umbraco.Web.UI.Client/src/views/content/overlays/sendtopublish.controller.js
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/blockgrid/prevalue/blockgrid.blockconfiguration.overlay.controller.js
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/blockgrid/prevalue/blockgrid.blockconfiguration.overlay.html
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/blocklist/prevalue/blocklist.blockconfiguration.overlay.controller.js
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/blocklist/prevalue/blocklist.blockconfiguration.overlay.html
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/rte/rte.component.js
#	src/Umbraco.Web.UI.Client~HEAD
#	src/Umbraco.Web.UI.Login/package-lock.json
#	src/Umbraco.Web.UI.Login/package.json
#	tests/Umbraco.Tests.AcceptanceTest/tests/DefaultConfig/BlockGridEditor/Content/blockGridEditorContent.spec.ts
#	tests/Umbraco.Tests.Integration/Umbraco.Infrastructure/Services/ContentServiceNotificationTests.cs
#	tests/Umbraco.Tests.UnitTests/Umbraco.Web.BackOffice/Controllers/ContentControllerTests.cs
#	tools/Umbraco.JsonSchema/UmbracoCmsSchema.cs
#	version.json
2025-01-21 08:47:38 +01:00
Kenn Jacobsen
c00e86e0ea Fix various routing and preview issues for the Delivery API in V15 (#18036)
* Fix various routing and preview issues for the Delivery API in V15

* Fix breaking change in ctor

* Fix ambigious constructors

---------

Co-authored-by: Nikolaj Geisle <70372949+Zeegaan@users.noreply.github.com>
2025-01-20 22:27:10 +01:00
Nikolaj Geisle
31fbd29879 Merge remote-tracking branch 'origin/contrib' into v15/dev 2025-01-20 21:12:23 +01:00
Jacob Overgaard
1a80b4d169 V15: Main entity name field lacks placeholder and auto-focus (#18041)
* fix: adds placeholder text to the main entity name field

* fix: use forward ref to execute the `.focus()` method on the uui input when it gets rendered

* Fixed up `type` imports

Removed erogenous closing `</div>` + prettify formatting.

---------

Co-authored-by: leekelleher <leekelleher@gmail.com>
2025-01-20 19:30:25 +00:00
Ronald Barendse
559c6c9f31 Merge commit from fork
* Add TimedScope

* Use TimedScope in login endpoint

* Use seperate default duration and only calculate average of actual successful responses

* Only return detailed error responses if credentials are valid

* Cancel timed scope when credentials are valid

* Add UserDefaultFailedLoginDuration and UserMinimumFailedLoginDuration settings
2025-01-20 14:58:31 +01:00
Ronald Barendse
839b6816f2 Merge commit from fork
* Add TimedScope

* Use TimedScope in login endpoint

* Use seperate default duration and only calculate average of actual successful responses

* Only return detailed error responses if credentials are valid

* Cancel timed scope when credentials are valid

* Add UserDefaultFailedLoginDuration and UserMinimumFailedLoginDuration settings
2025-01-20 14:54:14 +01:00
Jacob Overgaard
081858f627 chore(mock): fixes permissions for mock server 2025-01-20 14:46:18 +01:00
Andy Butland
d4f8754f93 Merge commit from fork
* Escape HTML in strings provided as arguments for client-side localization.

* Used HTML sanitizer from dependency.

* Moved sanitization to controller.

* Fixed path to dependency.

* fix: move constants to their own respective files to avoid circular dependencies

* fix: import through import map

* fix: import `sanitizeHTML` from importmap

* chore: consts

* feat: add more ops/sec to `term` function

* fix: check specifically for `typeof 'undefined'` before determining if an arg is valid or not

in case where the sanitizer removes everything so the arg is just an empty string (`""`) we still want it to replace the token, i.e. with the empty string

* test: add tests to verify localization controller xss

* chore: try to improve ops/sec and readability of the `term` function

* test: add more tests for the sanitizer

* fix(dictionary workspace): rely on localization sanitization

* feat: adds new function to escape html entities

* fix: use `escapeHTML` to escape/encode only HTML entities

* test: update test to reflect correct escape

* test: add tests for sanitizeHTML and escapeHTML

* fix: update function to not escape all quotes as people may want to keep those

* chore: formatting

---------

Co-authored-by: Jacob Overgaard <752371+iOvergaard@users.noreply.github.com>
2025-01-20 14:43:27 +01:00
Andy Butland
df0358162b Merge commit from fork 2025-01-20 14:14:28 +01:00
Sven Geusens
0e06c47ed7 Regression fix: searcher skip 10k not possible (#17977)
* Add new examine lucene option to restore functionality of earlier version

* Add reason comment for maxSkipTake
2025-01-20 14:00:46 +01:00
Lee Kelleher
dab932329b V15: Link Picker Modal UX Flow (#17994)
* Link Picker: reworked modal UX flow

* Tweaked "Target" description

* Link Picker modal tweaks

* Localized "Reset URL" confirm modal

* Awaits validation on picker change

* Added `data-mark` attributes

---------

Co-authored-by: Jacob Overgaard <752371+iOvergaard@users.noreply.github.com>
2025-01-20 13:46:34 +01:00
Nikolaj Geisle
51823a7671 v15: Remove old values from checkboxlist (#17936)
* Remove old values from checkboxlist

* Add validator for MultipleValueEditor

* chore: adds mocked "published" handler

* chore(mock): adds multiple dropdown

* chore(mock): adds dropdown multiple to 'all properties'

* adds localization

* feat: adds support to show invalid/legacy options

* feat: show invalid/legacy options to let the user decide what to do

* Add validator for radio buttons

---------

Co-authored-by: Jacob Overgaard <752371+iOvergaard@users.noreply.github.com>
2025-01-20 13:39:02 +01:00
Andy Butland
171ada26cc Allow for filtering of document type allowed children and allowed at root when creating new content. (#18029)
* Creates IContentTypeFilterService with a "no-op" implementation for filtering the content types available for selection at root and as children.

* Rework to collection so packages and implementors can stack filters if they need to.
2025-01-20 12:26:07 +01:00
Niels Lyngsø
ef478cf5d1 Merge pull request #17970 from umbraco/v15/bugfix/save-image-when-changing-focal-point
Fixes bug change focal point of Image Cropper can not save image
2025-01-20 12:15:22 +01:00
Andy Butland
72cae41653 Merge branch 'v15/dev' into contrib 2025-01-20 11:47:52 +01:00
Niels Lyngsø
bb8ef2ceff Merge branch 'v15/dev' into v15/bugfix/save-image-when-changing-focal-point 2025-01-20 11:41:48 +01:00
Henrik
ed08923b46 Use the new more efficient .NET 9 Lock type (#18015) 2025-01-20 11:41:13 +01:00
Niels Lyngsø
3f57a503e9 fix focal point reset 2025-01-20 11:40:51 +01:00
Tommy Enger
87916eb9cf 17760 - improved the Norwegian lang file (#17778)
* 17760 - improved the norwegain lang file

* 17760 - some corrections for the Norwegian lang file
2025-01-20 10:06:24 +00:00
Jacob Overgaard
3b6cdbe595 V15: "New version available" text is not reverified after an upgrade (#18013)
* fix: compare current version with the stored version

this ensures that if you come from an older version of Umbraco, we re-verify the upgrade-check to remove the message

* chore: update version in mock handler

* set "new version" button to a positive color

* feat: use modal data to pass on info to new-version modal element

* Amended `type` import
2025-01-20 09:37:05 +00:00