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
Nikolaj Geisle
86e16302bf
recase assigndomain ( #12448 )
2022-06-07 08:59:45 +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
3754824ac9
Merge remote-tracking branch 'origin/release/10.0.0' into v10/dev
...
# Conflicts:
# src/Umbraco.Infrastructure/Migrations/Expressions/Create/Expressions/CreateTableExpression.cs
# src/Umbraco.Infrastructure/Migrations/MigrationExpressionBase.cs
# src/Umbraco.Infrastructure/Migrations/Upgrade/Upgrader.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.Infrastructure/Scoping/IScopeProvider.cs
# src/Umbraco.Infrastructure/Scoping/LegacyIScope.cs
# src/Umbraco.Infrastructure/Scoping/ScopeContextualBase.cs
# version.json
2022-06-03 07:12:56 +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
Bjarne Fyrstenborg
4238e2a4f3
Simplify code in UmbracoViewPage ( #12528 )
2022-06-02 15:47:47 +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
faf06be618
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:19:22 +02:00
Nikolaj Geisle
f4e333c178
V10: fix build warnings infrastructure ( #12369 )
...
* Run code cleanup
* Run dotnet format
* Start manual fixes
* Manual fixing of warnings
* Fix nullability in columnalias
* Fix tests
* Fix up after merge
* Start updating after review
* Update editorconfig to contain new static & const rules
* Fix up editorconfig to not contain duplicate rules
* Fix up static member names
* Fix up according to review
* Update src/Umbraco.Infrastructure/DependencyInjection/UmbracoBuilder.DistributedCache.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/DependencyInjection/UmbracoBuilder.Repositories.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/DependencyInjection/UmbracoBuilder.Repositories.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/Examine/ContentIndexPopulator.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/Examine/ContentIndexPopulator.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/Examine/ContentValueSetValidator.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/Examine/ContentValueSetValidator.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/Examine/ContentValueSetValidator.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/Examine/ExamineUmbracoIndexingHandler.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/Examine/PublishedContentIndexPopulator.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/Extensions/InstanceIdentifiableExtensions.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/HostedServices/RecurringHostedServiceBase.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/HostedServices/ReportSiteTask.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/Logging/Serilog/LoggerConfigExtensions.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/Logging/Serilog/LoggerConfigExtensions.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/Macros/MacroTagParser.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/Macros/MacroTagParser.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/Macros/MacroTagParser.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/Migrations/Expressions/Alter/Table/IAlterTableColumnOptionBuilder.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/Migrations/Upgrade/V_10_0_0/AddMemberPropertiesAsColumns.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/ModelsBuilder/Building/TextBuilder.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/ModelsBuilder/Building/TextBuilder.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/ModelsBuilder/Building/TextBuilder.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/ModelsBuilder/Building/TextBuilder.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/ModelsBuilder/Building/TextBuilder.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/ModelsBuilder/Building/TextBuilder.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/ModelsBuilder/Building/TextBuilder.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/Persistence/Dtos/ExternalLoginDto.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/Persistence/Mappers/AccessMapper.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/Persistence/Mappers/AuditEntryMapper.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/Persistence/Mappers/MediaMapper.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/Persistence/Mappers/MemberMapper.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/Persistence/Mappers/PropertyGroupMapper.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/Persistence/Mappers/PropertyGroupMapper.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/Persistence/Mappers/PropertyTypeMapper.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/Persistence/Mappers/PropertyTypeMapper.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/Persistence/Mappers/RelationTypeMapper.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/Persistence/Mappers/RelationTypeMapper.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/Persistence/NPocoMapperCollectionBuilder.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/Persistence/Querying/ExpressionVisitorBase.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/Persistence/Repositories/Implement/ExternalLoginRepository.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Fix [..] to substring
* Fix after merge with 10/dev
* Fox ContentValueSetValidator.cs
* Update LoggerConfigExtensions
Co-authored-by: Nikolaj Geisle <niko737@edu.ucl.dk >
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
2022-06-02 08:18:31 +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
Matt Brailsford
d0a752248e
Make ActionDelete.ActionAlias public again
2022-05-26 13:16:12 +02: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
Matt Brailsford
adcc9a0e1f
Don't use default params for AddUnique extension methods (breaks v9) ( #12485 )
...
(cherry picked from commit f3c4c677f3 )
2022-05-26 08:27:40 +01:00
Matt Brailsford
f3c4c677f3
Don't use default params for AddUnique extension methods (breaks v9) ( #12485 )
2022-05-26 08:25:02 +01:00
Jeavon
8609314314
Update template gitignore for static assets now in Razor Class Library ( #12424 )
...
* Update template gitignore
Remove the rules for umbraco static assets as these are now served from a Razor Class Libray
* Update .gitignore
Adjust path of appsettings-schema.json
2022-05-26 15:39:21 +10:00
nikolajlauridsen
c5e1f5c67d
Merge branch 'release/10.0.0' into v10/dev
...
# Conflicts:
# src/Umbraco.Infrastructure/Install/InstallSteps/NewInstallStep.cs
2022-05-25 12:51:08 +02:00
Paul Johnson
8c7905a354
merge release/10.0.0 into v10/dev
...
commit 9ff06eec6e
Author: Ronald Barendse <ronald@barend.se >
Date: Wed May 25 11:16:39 2022 +0200
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
commit fcee6dc06a
Author: Paul Johnson <pmj@umbraco.com >
Date: Wed May 25 10:08:43 2022 +0100
Fix legacy scope provider no longer implementing ICoreScopeProvider (#12480 )
commit 88f3628d0a
Author: Paul Johnson <pmj@umbraco.com >
Date: Wed May 25 09:49:33 2022 +0100
Fix options monitor setup for connectionstrings (#12472 )
commit 4eeb03e7fb
Author: Johan Runsten <jrunestone@users.noreply.github.com >
Date: Wed May 25 10:13:25 2022 +0200
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 >
commit d810d66e9a
Author: Asbjørn Riis-Knudsen <ar@jf-data.com >
Date: Tue May 24 17:41:10 2022 +0200
Fix #12454 by having Coalesce handle null values (#12456 )
* Fix #12454 by having Coalesce handle null values
* Allow null values in Html.Coalesce #12454
commit 963d4c5051
Author: Paul Johnson <pmj@umbraco.com >
Date: Tue May 24 13:55:39 2022 +0100
Ensure unique buildnumber for devops UI
2022-05-25 10:48:45 +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
Johan Runsten
83e555a8ed
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:13:25 +02:00
Wilmar de Hoogd
019385411a
added option to disable automatic expand of single nc item ( #12261 )
...
* added option to disable automatic expand of single nc item
* remove max item conditional
remove max item 1 conditional to set current node
* changed description of slider property
removed description of first item conditional
* Update NestedContentConfiguration.cs
change copy to more accurately describe the feature
Co-authored-by: Wilmar <wilmar.de.hoogd@thevalley.nl >
2022-05-25 02:31:52 +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
Asbjørn Riis-Knudsen
d6b60cfc88
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 17:41:10 +02:00
Paul Johnson
963d4c5051
Ensure unique buildnumber for devops UI
2022-05-24 14:18:50 +01:00
Nikolaj
2f498be587
Bump version to 9.5.1
2022-05-24 14:57:26 +02:00
Bjarke Berg
e6479207f1
Merge remote-tracking branch 'origin/release/10.0.0' into v10/dev
2022-05-24 14:11:18 +02:00