Commit Graph

67898 Commits

Author SHA1 Message Date
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ø
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
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
Niels Lyngsø
45603e2689 rule to accept element base for abstract element class names (#17969) 2025-01-14 08:59:41 +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
Mole
44c30807fa Handle invariant domains (#17937) 2025-01-13 08:52:43 +01:00
Niels Lyngsø
3873b5b595 Merge pull request #17929 from umbraco/v15/bugfix/17312
Fix/Feature: Introducing Route Path Addendum
2025-01-10 19:51:00 +01:00
leekelleher
533a644e12 Removed console.log
Updated typo in test.
2025-01-10 17:24:29 +00:00
Mole
aaad9c0b23 V15: Notification Hub (#17776)
* 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
2025-01-10 09:36:44 +01:00
Niels Lyngsø
7932eb9aae Merge pull request #17928 from umbraco/v15/bugfix/fix-omitted-callback
Fix omitted callback
2025-01-10 09:11:44 +01:00
Niels Lyngsø
e9865eb503 correct imports 2025-01-10 08:57:08 +01:00
Niels Lyngsø
b2690a373d mark for deprecated 2025-01-09 22:21:01 +01:00
Niels Lyngsø
252f2f5d04 rename to inherit addendum 2025-01-09 22:16:40 +01:00
Niels Lyngsø
3ccb10d7c0 implement/replace existing unique router paths 2025-01-09 22:08:07 +01:00
Niels Lyngsø
2c8117c8a5 addendum implemented 2025-01-09 21:12:57 +01:00
Niels Lyngsø
81ebf3fc02 Merge branch 'v15/bugfix/fix-omitted-callback' into v15/bugfix/17312 2025-01-09 20:51:49 +01:00
Niels Lyngsø
82b740e3ef extra test 2025-01-09 20:49:50 +01:00
Niels Lyngsø
bd456a1dfa correct null case 2025-01-09 20:28:58 +01:00
Niels Lyngsø
f862736163 make sure callback can be undefined 2025-01-09 20:23:28 +01:00
Niels Lyngsø
989781c94d use addendum 2025-01-09 20:17:24 +01:00
Niels Lyngsø
756fa05c46 improve test 2025-01-09 20:04:11 +01:00
Andy Butland
75e7bb48ea Render all URLs in document workspace info tab and ensure protocol-less links can be used to access the intended URL. (#17926)
* 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.
2025-01-09 16:19:33 +01:00
Niels Lyngsø
d879919d75 correct path generation 2025-01-09 14:29:49 +01:00
Andy Butland
0eb6a16017 Reload children of destination after duplicate of content (#17878)
* 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>
2025-01-09 14:24:33 +01:00
Niels Lyngsø
0eef5e5801 context 2025-01-09 11:39:51 +01:00
Niels Lyngsø
6fdb898467 ensure controller host destroys sub controllers (#17916) 2025-01-09 10:15:42 +01:00
Niels Lyngsø
8f9bfb4143 move router-slot component 2025-01-09 08:43:38 +01:00
Kenn Jacobsen
0565eeebd5 Do not allow editing read-only properties (#17915) 2025-01-09 06:59:32 +01:00
Niels Lyngsø
cce056b7de Merge pull request #17912 from umbraco/v15/bugfix/block-list-amount-validation-message
Block list amount valivation message
2025-01-08 16:36:05 +01:00
Niels Lyngsø
77c064af89 prettier update 2025-01-08 16:02:36 +01:00
Andy Butland
bfff224c3e Display variant selection on unpublish only if the document is variant (#17893)
* 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.
2025-01-08 15:07:56 +01:00
Niels Lyngsø
f9c52b7ebc Feature: improve collection wording (#17914)
* improve wording for collection configuration

* Update src/Umbraco.Web.UI.Client/src/assets/lang/en-us.ts

Co-authored-by: Mole <nikolajlauridsen@protonmail.ch>

* Update src/Umbraco.Web.UI.Client/src/assets/lang/en.ts

Co-authored-by: Mole <nikolajlauridsen@protonmail.ch>

---------

Co-authored-by: Mole <nikolajlauridsen@protonmail.ch>
2025-01-08 12:57:14 +01:00
Andy Butland
cbd162b3c7 Allow sort of children by name and create date (#17904)
* 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.
2025-01-08 12:46:12 +01:00
Sven Geusens
e425f0ba41 Improve document schedule (#17535)
* Expose schedule date for on document get endpoint

* typo fix

* stupid stuff

* Enable content scheduling features in the publishing service

* Replace obsoleted non async calls

* Add content scheduling test

* Publush and schedule combination test

* More invariantCulture notation allignment and more tests

* Link up api with updated document scheduling

* More invariant culture notation allignment

* Fix breaking change

* Return expected status codes.

* Fix constructor

* Forward Default implementation to actual core implementation

Co-authored-by: Bjarke Berg <mail@bergmania.dk>

* Forward default implementation to core implementation

Co-authored-by: Bjarke Berg <mail@bergmania.dk>

* Make content with scheduling retrieval scope safe

---------

Co-authored-by: Bjarke Berg <mail@bergmania.dk>
2025-01-08 12:39:34 +01:00
Andy Butland
413398afc6 Use data type configuration to determine default value for empty toggle and slider property values (#17854)
* Use data type configuration to determine default value for empty toggle property values.

* Added/updated unit tests.

* Fixed failing integration tests.

* Applied similar default value display for the slider property editor and aligned implementation of true/false with this.

* Fixed unit tests.

* Removed "duplicate" JsonPropertyName attributes and added a custom TypeInfoResolver for data type configuration so we can re-use the existing ConfigurationField attributes.

* Minor cleanup

---------

Co-authored-by: nikolajlauridsen <nikolajlauridsen@protonmail.ch>
2025-01-08 11:42:13 +01:00
Lan Nguyen Thuy
bfd2d35e13 Block list amount valivation message 2025-01-08 17:13:59 +07:00
Nikolaj Geisle
b7f424756c V15: Dont create invalid media (#17534)
* Don't allow create when there is validation errors

* Fix tests

* Add tests

* Fix last test

* Fix more tests

---------

Co-authored-by: Jacob Overgaard <752371+iOvergaard@users.noreply.github.com>
2025-01-08 10:50:53 +01:00
Andy Butland
c7b05d5455 Fixed infinite loop triggered when requesting media by ID in a folder via the media delivery API. (#17876) 2025-01-08 10:42:08 +01:00
Andy Butland
e7ee7c63c3 Fix to GetCultureFromDomains extensions following changes to routing and published content cache (#17884) 2025-01-08 10:29:06 +01:00
Jacob Overgaard
22e993f44c V15: Change password should not be shown when local login is disabled (#17900)
* 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>
2025-01-08 09:27:59 +00:00
Niels Lyngsø
fd7f6bbfc9 Merge pull request #17877 from umbraco/v15/bugfix/intermittent-issue-rendering-granular-permissions-for-user-group
Timing updates for rendering and preparation of user group granular permissions details to resolve intermittent error on race condition
2025-01-08 10:07:30 +01:00
Niels Lyngsø
0a483e6551 Merge branch 'v15/dev' into v15/bugfix/intermittent-issue-rendering-granular-permissions-for-user-group 2025-01-08 09:36:01 +01:00
Niels Lyngsø
7ac941de77 remove comment 2025-01-08 09:35:09 +01:00
Nikolaj Geisle
e5e5e8cb11 V15: Warn when content is unroutable (#17837)
* Add notification handler

* Add IsContentPublished that bypasses caching

* Add clarifying comment

* Refactor, to never hit the db

* Remove old comment

* Don't add warnings if disabled

* Dedicated configuration option to suppress unroutable content warnings

---------

Co-authored-by: kjac <kja@umbraco.dk>
2025-01-08 09:14:14 +01:00
Niels Lyngsø
bf9ba16039 Add workspace view path const (#17880)
* use path const for workspace view

* get base path and active path from router context

---------

Co-authored-by: Kenn Jacobsen <kja@umbraco.dk>
2025-01-07 19:26:10 +01:00
Andy Butland
79c8652ca4 Implemented sorting for media picker crops (#17879)
* Implemented sorting for media picker crops.

* Removed unused type import.

---------

Co-authored-by: Niels Lyngsø <nsl@umbraco.dk>
2025-01-07 19:15:58 +01:00
Niels Lyngsø
56d4ffc2e8 Merge pull request #17905 from umbraco/v15/feature/remove-one-circular-dependency
Feature: emove one circular dependency
2025-01-07 14:26:30 +01:00