Commit Graph

41589 Commits

Author SHA1 Message Date
Nikolaj
20f9cfe2ac Fix ReportSiteTask post merge 2022-06-23 15:25:25 +02:00
Mole
46d71838f2 Only send telemetry if we're on runtimelevel run (#12600) 2022-06-23 15:23:41 +02:00
Olivier Bossaer
24222fa4d2 Unescape returnPath.
(cherry picked from commit 88af609c81)
2022-06-23 12:51:30 +02:00
Mole
389380d8fa V10: Fix sending content notification (#12597)
* Add mappers to map between ContentItemDisplay and ContentItemDisplayWithSchedule

* Ensure SendingContentNotification is always sent

* Add custom setup hook for UmbracoTestServerTestBase

* Add test showing bug/fix

* Test schedule being mapped correctly

* Obsolete the old constructor

* Removed TODO
2022-06-21 13:57:26 +02:00
Nikolaj Geisle
5049e7071b Fix redirect after logout bug https://github.com/umbraco/Umbraco-CMS/issues/12592 2022-06-21 09:20:47 +02:00
Paul Johnson
e3f4b86f1c Fix attempting to write lock files to LocalTempPath before it exists (#12563) 2022-06-10 09:03:59 +01:00
Bjarke Berg
116d5735fb Bump version to 10.0.0 final 2022-06-09 10:12:47 +02:00
Bjarke Berg
d7b015d8c9 Fix possible null error 2022-06-09 09:53:28 +02:00
Bjarke Berg
2ab1518862 Fixes relation issue, when moving a root item to recycle bin, the "Relate Parent Media Folder On Delete"/"Relate Parent Document On Delete" cannot get the parent node type, because it is a fake root. 2022-06-09 09:51:37 +02:00
Bjarke Berg
2cc229ef9a Updated Examine to 3.0.0 2022-06-08 21:24:19 +02:00
Bjarke Berg
7e8c3cb20d Fixed issue with expected null value. (#12550)
Fixes https://github.com/umbraco/Umbraco-CMS/issues/12526
2022-06-08 11:05:53 +02:00
Paul Johnson
cf25d29f90 Fix logic error WRT models builder flag out of date models. (#12548)
(cherry picked from commit 6b0149803a879d1c6902a5f61d1f2e9dc8545aac)
2022-06-08 08:29:02 +01:00
Paul Johnson
ce8f5f4724 Improve FlagOutOfDateModels property behaviour.
(cherry picked from commit 54077725c373495fce0d3fbc5cdb6469aad3b676)
2022-06-08 08:27:04 +01:00
Bjarke Berg
9ad790f36b Updated nuget dependencies (07-06-2022) (#12525)
* Updated nuget dependencies

* Move Nerdbank.GitVersioning update to Directory.Build.props

* Updated more dependencies
2022-06-08 08:19:43 +02:00
Mole
fffbbbeb5f Make FindContent return type nullable (#12545) 2022-06-07 14:45:42 +02:00
Paul Johnson
a8b68202f3 Fix issue where languages files are not found in subdir of package dir (#12543) 2022-06-07 13:15:26 +02:00
Paul Johnson
d7ce136107 v10: Prefer SQLite primitive types to flexible types (#12541)
* Prefer SQLite primitive types to flexible types.

* SQLite - column mappings use TEXT for decimals

Thanks @mattbrailsford for sense check.
2022-06-07 12:41:46 +02:00
Paul Johnson
fde1b6685a Remove ambient scope stack from httpcontext.items. (#12539)
This change makes it easier to use service calls in parallel whilst
a httpcontext is available.
2022-06-07 11:35:36 +02:00
Paul Johnson
ea9d27c038 Add depth property to ICoreScope (#12540) 2022-06-07 11:25:05 +02:00
Ronald Barendse
b6e93116dc Merge pull request #12516 from umbraco/v10/feature/global-usings
v10: Add global usings
2022-06-07 11:04:47 +02:00
Nikolaj Geisle
559a85812f recase assigndomain (#12448) 2022-06-07 09:01:57 +02:00
Ronald Barendse
4dcb017afe v10: Wait for updated ConnectionStrings during install (#12536)
* Do not change/reload configuration

* Wait for updated connection string options
2022-06-07 08:44:03 +02:00
Bjarke Berg
9aa6ec9d79 Merge pull request #12532 from umbraco/v10/feature/merge_v9.5.1_into_v10
Merge v9.5.1 into v10
2022-06-03 06:27:32 +02:00
Bjarke Berg
0beaf19063 Fixed query after tests on sqlite 2022-06-02 21:57:59 +02:00
Bjarke Berg
3d8f81025b Fixed NRT issues 2022-06-02 20:54:07 +02:00
Bjarke Berg
d086b21332 Merge remote-tracking branch 'origin/v9/9.5' into v10/feature/merge_v9.5.1_into_v10
# Conflicts:
#	src/Directory.Build.props
#	src/Umbraco.Infrastructure/Persistence/NPocoSqlExtensions.cs
#	src/Umbraco.Infrastructure/Persistence/Repositories/Implement/TrackedReferencesRepository.cs
#	src/Umbraco.Infrastructure/Persistence/Repositories/Implement/TwoFactorLoginRepository.cs
#	src/Umbraco.Infrastructure/Routing/RedirectTrackingHandler.cs
#	src/Umbraco.PublishedCache.NuCache/ContentCache.cs
#	src/Umbraco.PublishedCache.NuCache/DomainCacheExtensions.cs
#	templates/UmbracoPackage/.template.config/template.json
#	templates/UmbracoProject/.template.config/template.json
2022-06-02 20:45:24 +02:00
Bjarke Berg
07f685679b Changes to Basic Auth to support external logins (#12434)
* Fixed issues with basic auth middleware to support Umbraco Cloud usecase

* Fix redirects to return url, now allows website urls

* Strip potential domain part of returnPath

* Fix default value in appsettings schema

* Reintroduce check of basic auth enabled.

* Fix wrong negation introduced in #12349

* Fixed issues with redirects

* Also check external login cookie, while authenticating backoffice
2022-06-02 12:24:26 +02:00
Bjarke Berg
cce0a7d816 Obsolete stuff not used anymore and remove from appsettings schema (#12520) 2022-06-01 19:35:10 +02:00
Paul Johnson
edc9e9623d v10: fix migrations fluent create table builder sqlite (#12518)
* Fix create table builder setup for migrations with SQLite.
2022-06-01 17:04:46 +01:00
Paul Johnson
2da8bfba7d Fix unable to authorize upgrade from versions < 9.3.0 (#12519)
(cherry picked from commit 97468896357083a18eb39893aebaf8f87d292ac6)
2022-06-01 16:53:34 +01:00
Paul Johnson
406576ddfa Fix unable to authorize upgrade from versions < 9.3.0 (#12494) 2022-06-01 17:26:27 +02:00
Ronald Barendse
8d5590471c Merge branch 'release/10.0.0' into v10/feature/global-usings 2022-06-01 16:05:22 +02:00
Paul Johnson
bee19f5404 Move HostBuilderExtensions to Microsoft.Extensions.DependencyInjection (#12515) 2022-06-01 15:01:00 +01:00
Ronald Barendse
87dbc8b287 Enable implicit usings 2022-06-01 15:50:37 +02:00
Ronald Barendse
588525e99f Add Umbraco specific global usings 2022-06-01 14:46:01 +02:00
Lasse Fredslund
57babbe441 Changed manic to marvelous (#12514) 2022-06-01 14:28:39 +02:00
Bjarke Berg
c08f7f211c Query optimization in TrackedReferencesRepository (#12488)
* Rewrote query

https://github.com/umbraco/Umbraco-CMS/issues/12308

* Reuse new query

* Updated the other queries in TrackedReferencesRepository

* Fix GetPagedRelationsForItem to not include self

* Update src/Umbraco.Infrastructure/Persistence/NPocoSqlExtensions.cs

Co-authored-by: Nikolaj Geisle <70372949+Zeegaan@users.noreply.github.com>

Co-authored-by: Nikolaj Geisle <70372949+Zeegaan@users.noreply.github.com>
2022-05-31 15:55:29 +02:00
Mole
156fe5976c Send content type notifications on copy (#12463) 2022-05-31 14:26:34 +02:00
Bjarke Berg
ac61f85e70 Fixes issue with redirects not being generated when an invariant cont… (#12453)
* Fixes issue with redirects not being generated when an invariant content has variant ancestors. In this case we wanna create redirects for all languages

https://github.com/umbraco/Umbraco-CMS/issues/12452

* Handle Url routing of invariant items with variant parents, when no culture is given

* Cleanup

* Update src/Umbraco.Core/Routing/UrlProvider.cs

Co-authored-by: Ronald Barendse <ronald@barend.se>

* Refactor styling and added else if

Co-authored-by: Ronald Barendse <ronald@barend.se>
2022-05-31 13:19:01 +02:00
Matt Brailsford
7f76893399 v10: Breaking Change Fixes (#12486)
* Add Execute with obsoleted IScopeProvider parameter

* Add ScopeContextualBase Get method that accepts an obsolete IScopeProvider

* Make LegacyIScope have all props/methods defined upon it as otherwise it causes method missing errors

* Added new keyword to hidden properties / methods

* Drop Context prop from Infrastructure.IScopeProvider

Co-authored-by: Paul Johnson <pmj@umbraco.com>
2022-05-30 16:05:30 +01:00
Paul Johnson
025658e611 Fix compiler warning for hidden inherited member on legacyscopeprovider 2022-05-30 15:20:52 +01:00
Matt Brailsford
6d3e4aaa78 Make ActionDelete.ActionAlias public again
(cherry picked from commit d0a752248e)
2022-05-26 14:13:58 +01:00
Paul Johnson
be2194a8b1 Bump version to 10.0.0-rc5 2022-05-26 08:28:53 +01:00
Matt Brailsford
cf461b2504 Don't use default params for AddUnique extension methods (breaks v9) (#12485)
(cherry picked from commit f3c4c677f3)
2022-05-26 08:28:17 +01:00
Ronald Barendse
9ff06eec6e v10: Instantly reload ConnectionStrings after saving configuration (#12475)
* Do not replace DataDirectory placeholder when setting connection string

* Ensure ConnectionStrings options are updated when configuration is reloaded

* Use CurrentValue to get default Umbraco connection string
2022-05-25 10:16:39 +01:00
Paul Johnson
fcee6dc06a Fix legacy scope provider no longer implementing ICoreScopeProvider (#12480) 2022-05-25 10:08:43 +01:00
Paul Johnson
88f3628d0a Fix options monitor setup for connectionstrings (#12472) 2022-05-25 09:49:33 +01:00
Johan Runsten
4eeb03e7fb Fixed null check typo in CacheInstructionService. Fixes #12473. (#12474)
* Fixed null check typo. Fixes #12473.

* Removed unneccessary null forgiving operator

Co-authored-by: Johan Runsten <johan.runsten@toxic.se>
2022-05-25 10:14:26 +02:00
Asbjørn Riis-Knudsen
d810d66e9a Fix #12454 by having Coalesce handle null values (#12456)
* Fix #12454 by having Coalesce handle null values

* Allow null values in Html.Coalesce #12454
2022-05-24 18:20:48 +02:00
Paul Johnson
963d4c5051 Ensure unique buildnumber for devops UI 2022-05-24 14:18:50 +01:00