Commit Graph

45999 Commits

Author SHA1 Message Date
Bjarke Berg
e92a1b73f0 Formatting and disable warningsaserrors on tests 2024-10-28 13:19:46 +01:00
Bjarke Berg
aceadc1ed7 Fixed formatting and comment warnings/errors 2024-10-28 12:58:28 +01:00
Bjarke Berg
9a80328224 Merge remote-tracking branch 'origin/release/15.0' into v15/dev
# Conflicts:
#	src/Umbraco.Web.UI.Client
#	tests/Umbraco.Tests.AcceptanceTest/tests/DefaultConfig/Dictionary/Dictionary.spec.ts
#	version.json
2024-10-28 12:32:39 +01:00
Bjarke Berg
b05564c03f Added DisableBuildCompression to not make compressed versions of back… (#17380)
* Added DisableBuildCompression to not make compressed versions of backoffice client. That should dotnet not spend time on when building

* Also add to our own execuable even that we do not ship it

* Also add to our own execuable even that we do not ship it

* Use <CompressionEnabled>false</CompressionEnabled> instead

* Revert "Also add to our own execuable even that we do not ship it"

This reverts commit 183200d24b6d381fee0dc35894db72abb037e634.
2024-10-28 12:31:46 +01:00
Bjarke Berg
935c3b8e42 Initialize important services before unattended installs (#17366)
* Added new notification to hook in after the premigrations and use this to init different services.

* Force MaxDegreeOfParallelism to 1, while investigating scopes

* Tried some more workarounds

* Updated scopes and changed parallel to non parallel to ensure migration works

* Missing scope

* Make it parallel again - The secret is, the SuppressFlow needs to be when you create the task, but not on the await!.

* Fixed issue when DEBUG_SCOPES is not added to tests.

* Remove test exception

* Try build on ubuntu again, even that we know it can be stuck. Just a test to see if all tests pass

* Updated comment

---------

Co-authored-by: kjac <kja@umbraco.dk>
2024-10-28 12:10:38 +01:00
Elitsa Marinovska
5cc0a35665 Adding not null when annotation (#17379) 2024-10-28 11:35:48 +01:00
Elitsa Marinovska
853e605665 V15: Adding tests for INavigationQueryService.TryGetLevel() (#17375)
* Fixing implementation to return null as level when it cannot retrieve it

* Adding unit tests
2024-10-28 08:15:43 +01:00
Elitsa Marinovska
64b6c8a47e V15: Adding unit tests for INavigationQueryService.TryGetRootKeys() (#17374)
* Changing to Guid.NewGuid()

* Adding unit tests for TryGetRootKeys
2024-10-28 08:04:55 +01:00
Andreas Zerbst
2edbd7d419 V15 QA updated E2E tests (#17359)
* Updated tests for v15

* V14 QA Skip Users tests on Sqlite (#17330)

* Split sqlite test because we run into db locks

* Uses the new command

(cherry picked from commit 728dc89909)
(cherry picked from commit 126bce7721)

* Fixed tests

---------

Co-authored-by: Nhu Dinh <hnd@umbraco.dk>
2024-10-25 12:17:30 +02:00
Nikolaj Geisle
5a5de18843 Format sql statement (#17354)
(cherry picked from commit aa9f194d76)
2024-10-24 15:07:40 +02:00
Nikolaj Geisle
226819de21 Format sql statement (#17354)
(cherry picked from commit aa9f194d76)
2024-10-24 15:07:04 +02:00
Nikolaj Geisle
d6f17ee39a Swap to windows vm for build (#17348)
(cherry picked from commit 199a2f4619)
2024-10-24 09:47:24 +02:00
Nikolaj Geisle
199a2f4619 Swap to windows vm for build (#17348) 2024-10-24 09:45:59 +02:00
Andreas Zerbst
126bce7721 V14 QA Skip Users tests on Sqlite (#17330)
* Split sqlite test because we run into db locks

* Uses the new command

(cherry picked from commit 728dc89909)
2024-10-22 13:13:42 +02:00
Lee Kelleher
07a9196320 TreatWarningsAsErrors: adds condition to check not in debug compilation mode (#17327) 2024-10-22 09:55:33 +02:00
Andreas Zerbst
f3c3b25657 Fixed test (#17325) 2024-10-21 14:47:45 +02:00
Andreas Zerbst
cdcac37a04 Updated version of messagepack (#17321)
(cherry picked from commit 8a22672c7f)
(cherry picked from commit 6399f235f2)
(cherry picked from commit 0d7d6ac940)
2024-10-21 12:04:48 +02:00
Andreas Zerbst
0d7d6ac940 Updated version of messagepack (#17321)
(cherry picked from commit 8a22672c7f)
(cherry picked from commit 6399f235f2)
2024-10-21 11:27:26 +02:00
Kenn Jacobsen
bafcc2b945 Block level variants - search indexing (#17239)
* Support block level variance for search indexing

* Rename base class

---------

Co-authored-by: Elitsa <elm@umbraco.dk>
2024-10-20 15:42:13 +02:00
Nikolaj Geisle
0a0cf73e3c Extend timeout (#17304) 2024-10-18 12:09:46 +02:00
Zeegaan
b18ed241e2 bump version 2024-10-18 09:12:06 +02:00
Jacob Overgaard
ab4364ebbf update backoffice submodule 2024-10-17 13:12:34 +02:00
Andreas Zerbst
60ddff1ce2 Fixed build errors (#17298) 2024-10-17 10:49:33 +02:00
Andreas Zerbst
0a496b2e52 Updated to string.empty (#17294)
(cherry picked from commit ba1080541b)
2024-10-17 10:13:26 +02:00
Jacob Overgaard
85e55845a3 update backoffice submodule 2024-10-17 09:02:51 +02:00
Jacob Overgaard
4f4f6787dc Merge remote-tracking branch 'origin/release/15.0' into v15/dev
# Conflicts:
#	src/Umbraco.Core/Services/DocumentUrlService.cs
#	src/Umbraco.Web.UI.Client
#	tests/Umbraco.Tests.UnitTests/Umbraco.Core/Services/ContentNavigationServiceBaseTests.cs
2024-10-17 09:02:19 +02:00
Jacob Overgaard
0e2d535495 update backoffice submodule 2024-10-16 21:17:49 +02:00
Bjarke Berg
e9a47a2c3d Fix publish status with invarint case insensative culture check 2024-10-16 19:47:34 +02:00
Jacob Overgaard
a28ee8fd17 update backoffice submodule 2024-10-16 17:15:00 +02:00
Jacob Overgaard
35e8f2e460 V15: Rich Text Editor links do not work with query strings and anchors (#17288)
* fix: anchors and query strings do not work

Since the change from UDIs to localLinks in href, the pattern matched a little too much in the href section completely ignoring any "extras" such as querystrings and anchors after the locallink, which meant that the locallink did not get replaced at all if they were present. This is fixed by limiting the regexp a bit.

* fix: legacy links do not follow the same regexp as new links

Because we are no longer matching the whole `href` attribute but only some of its contents, we need to fix up the old pattern. It has been extended with matching groups that follow the same pattern as the new links.

* feat: allow a-tags to be multiline

example:

```html
<a
  type="document"
  href="/{localLink:<GUID>}">
Test
</a>
```

* fix: split regex into two parts: first a tokenizer for a-tags and then a type-finder

* fix: ensure only "document" and "media" are matching to speed up the pattern

* feat: allow a-tags to be multiline
2024-10-16 16:53:10 +02:00
Jacob Overgaard
1945ac2150 update backoffice submodule 2024-10-16 13:53:09 +02:00
Bjarke Berg
e58d72ad18 Obsolete message 2024-10-16 12:39:49 +02:00
Elitsa Marinovska
44ff8dc5e1 V15: Implement sorting for the in-memory navigation structures (document and media) (#17280)
* bump version to 15.1.0

* V15 Fixed the failing smoke tests in the pipeline v15 (#17158)

* Fixed the failing tests of Member Group due to UI changes

* Fixed the failing tests of Member due to UI changes

* Fixed the failing tests of User due to UI changes

* Fixed failing tests for Dictionary and Document Type

* Updated tests due to test helper changes

* Bumped version

* Updated assert steps due to the response changes

* Updated tests due to api helper changes

* Updated tests due to UI changes

* Fixed tests for delete partial view

* Fixed tests

* Added more waits

* Updated assert steps

* Fixed failing tests for Block Grid and Media

* Added more waits

* Added skip tests

* Removed waits time

* Updated assertion steps for User

* Added todo

* Updated tests due to api helper changes

* Bumped version

* Added skip tests

* Fetch sortOrder for each navigationNode

* Update NavigationNode to have sortOrder and change Parent and Children props to keys instead of NavigationNodes

* Consider sortOrder when building the navigation structures

* Renaming tests

* Adding tests for items being the last in structure when added, moved, etc.

* Updating names

* Cleanup

* Updating cache refreshers with changes due to sorting

* Refactoring due to sorting changes and resolving key to NavigationNode

* Removing sortOrder params from test as they are calculated automatically

* Adding content and media integration tests to test sorting functionality

* Adding sortOrder param for special case when adding new nodes

* Adding new UpdateSortOrder to INavigationManagementService

* Revert "V15 Fixed the failing smoke tests in the pipeline v15 (#17158)"

This reverts commit 31399c3b15.

* Revert "bump version to 15.1.0"

This reverts commit 5e4d15be

* Fix revert

* Add sort order when creating media

---------

Co-authored-by: Jacob Overgaard <752371+iOvergaard@users.noreply.github.com>
Co-authored-by: Nhu Dinh <150406148+nhudinh0309@users.noreply.github.com>
Co-authored-by: Bjarke Berg <mail@bergmania.dk>
2024-10-16 09:51:42 +02:00
Nikolaj Geisle
86557a01cf Dont seed when in upgrade mode, and maintenance page is enabled (#17275) 2024-10-15 19:43:06 +02:00
Bjarke Berg
b477cf50f2 Bugfix: Do not allow routing content that is unpublished (#17251)
* Ensure routing respect publish status

* Check published status per culture

* Added PublishStatusService to get publish status for a given documentkey and culture

* Added tests and fixed bug with a static fields that should not have been static

* Make sure the write and read cache key is always the same no matter where the request comes from

There is an edge case where the incomming culure is fully capitalized while the read is camelcase

* Fixed review comments

---------

Co-authored-by: Sven Geusens <sge@umbraco.dk>
2024-10-15 19:33:23 +02:00
Jacob Overgaard
75bf17229f update backoffice submodule 2024-10-15 12:46:55 +02:00
Kenn Jacobsen
0e700af35d Support block level variant tags (#17268) 2024-10-15 12:03:05 +02:00
Nikolaj Geisle
fc0e62faa1 V15: Reimplement cache startup handler (#17279)
* Reimplement cache startup handler

* Remove duplicate handle

* Fixed missing scope and ordering of notifications

* formatting

---------

Co-authored-by: Bjarke Berg <mail@bergmania.dk>
2024-10-15 12:02:48 +02:00
Bjarke Berg
25be93b1e0 Fixed bug that used the draft template for the publish data on load from database (#17277) 2024-10-15 11:59:08 +02:00
Bjarke Berg
0da6ab60b3 Updated missing .net 9 rc2 reference 2024-10-11 19:03:25 +02:00
Jacob Overgaard
5a01460e5a update backoffice submodule 2024-10-11 08:34:10 +02:00
Bjarke Berg
fed6c5436b Refactors GetMany on services to not return all content on empty list inputted. Instead a GetAll overload have been introduced (#17223) 2024-10-10 13:21:24 +02:00
Bjarke Berg
2fa5ccc267 Update client 2024-10-10 11:14:19 +02:00
Bjarke Berg
6e0ab4dd7e Merge remote-tracking branch 'origin/release/15.0' into v15/dev
# Conflicts:
#	src/Umbraco.PublishedCache.HybridCache/Services/MediaCacheService.cs
#	src/Umbraco.Web.UI.Client
#	tests/Umbraco.Tests.Common/Builders/MediaTypeEditingBuilder.cs
2024-10-10 11:11:08 +02:00
Bjarke Berg
d28f04d750 Updated to .NET9 RC2 + other nuget packageds (#17235)
* Updated to .NET9 RC2 and a few other nuget packages. Most notable is OpenIddict v6 preview that supports .net 9

* Revert "temp remove tag helpers (#16977)"

This reverts commit 84cc3051ad.
2024-10-10 10:14:46 +02:00
Niels Lyngsø
aea38bd35c update photo 2024-10-09 14:17:06 +02:00
Bjarke Berg
a3963359d2 Introduced methods on the IEntityTypeContainerService, so have alternatives for obsoleted methods. E.g. IDataTypeService.GetContainers(string folderName, int level) and a GetAllAsync (#17208) 2024-10-09 09:55:44 +02:00
Matthew Care
ea073e6158 Fix internal class being returned from media cache service (#17213)
* update backoffice submodule

* update backoffice submodule

* Fix internal class being returned from media cache service

Return the correct models from the media cache service

---------

Co-authored-by: Jacob Overgaard <752371+iOvergaard@users.noreply.github.com>

(cherry picked from commit ccd02cf2a9)
2024-10-09 08:40:59 +02:00
Bjarke Berg
a73fef126e Reintroduced a lot of extension methods as obsolete to avoid breaking change (#17201)
* Reintroduced a lot of extension methods as obsolete to avoid introducing breaking changes where possible

* Missing commit

* Removed ambiguous methods

* Fixup cache injection

* Return the correct cache in FriendlyPublishedContentExtensions

---------

Co-authored-by: nikolajlauridsen <nikolajlauridsen@protonmail.ch>
2024-10-08 14:50:26 +02:00
Jacob Overgaard
ced655e7d3 update backoffice submodule 2024-10-07 15:04:46 +02:00