Ronald Barendse
802f2baaa0
Fix editing template and show warning message when using runtime mode production
2022-07-14 22:48:43 +02:00
Ronald Barendse
db90b16cb1
Skip saving template file when using runtime mode Production
2022-07-14 22:41:20 +02:00
Nikolaj Geisle
e92ceae7ee
Bumb version
2022-07-14 11:31:24 +02:00
Nikolaj Geisle
871bb94a41
Merge pull request #12690 from umbraco/v10/hotfix/remove-docs-dependency-from-nuget-step
...
edit pipelines for release
2022-07-14 10:16:05 +02:00
Nikolaj Geisle
920e952e6a
edit pipelines for release
2022-07-14 10:13:55 +02:00
Nikolaj Geisle
bd2dd3e442
bumb version
2022-07-13 15:36:56 +02:00
Nikolaj Geisle
7f020861c2
Add ActivatorUtilitiesConstructor to ctor
2022-07-13 14:19:41 +02:00
Nikolaj Geisle
66cd2145ad
Reinstate old ctor and obsolete
2022-07-13 13:33:42 +02:00
Nikolaj Geisle
c6f1534148
Change delete action back to move
2022-07-13 13:11:30 +02:00
Nikolaj Geisle
3e464933fc
delete unused static leftover from merge
2022-07-13 11:14:51 +02:00
Nikolaj Geisle
b8ef3836a1
Fix formatting
2022-07-13 11:14:31 +02:00
Matthew Care
ce568343ab
Issue 12551 search bug
...
Previous optimisation incorrectly filtered the index fields needed to return published results
2022-07-13 11:13:35 +02:00
Nikolaj Geisle
af7d9db32b
Add missing null-check
2022-07-13 10:14:21 +02:00
Sebastiaan Janssen
f69f672b2c
Merge branch 'v10/contrib' into v10/dev
2022-07-12 14:53:12 +02:00
Sebastiaan Janssen
324f4c7168
Remove accidental merge problem
2022-07-12 14:52:46 +02:00
Sebastiaan Janssen
e516e3472c
Merge branch 'v10/contrib' into v10/dev
2022-07-12 14:50:50 +02:00
Johan Runsten
3778f0da7a
Bump ImageSharp to latest version ( #12651 )
2022-07-12 14:45:40 +02:00
Nikolaj Geisle
110d8067ad
Merge pull request #12682 from umbraco/v10/contrib
...
Merge `v10/contrib` into `v10/dev`
2022-07-12 08:23:45 +02:00
Sebastiaan Janssen
7611ba7f73
Remove undefined param
2022-07-11 15:50:58 +02:00
Sebastiaan Janssen
885ec99cc4
Fix breaking change in MenuItemList
2022-07-11 15:43:57 +02:00
Sebastiaan Janssen
942c4b336d
Fix formatting/style in DictionaryController
2022-07-11 15:43:57 +02:00
Daniël Knippers
611badfce2
Revert incorrect change in Property.PublishValues ( #12680 )
...
* Revert incorrect change in Property.PublishValues
Fix incorrect change made for nullability support which changes the result of the updated expression to `false` instead of `true` when both inputs are `null`.
That is, `null?.InvariantEquals(null) ?? false` becomes `false` but in the previous version it was `true` since the `InvariantEquals` extension method simply calls `string.Equals(v1, v2)` which will return `true` when both inputs are `null`. Due to the `?` operator the `InvariantEquals` method is not called anymore and `?? false` turns the expression to `false`.
* Update PropertyValidationService.cs
Reverts incorrect update for nullability that changes a value of `true` into `false` when both operands are `null`.
Co-authored-by: Nikolaj Geisle <70372949+Zeegaan@users.noreply.github.com >
2022-07-11 15:41:10 +02:00
Sebastiaan Janssen
e626fca243
Merge branch 'v10/dev' into v10/contrib
...
# Conflicts:
# src/Umbraco.Core/Actions/ActionAssignDomain.cs
# src/Umbraco.Core/Actions/ActionCopy.cs
# src/Umbraco.Core/Actions/ActionCreateBlueprintFromContent.cs
# src/Umbraco.Core/Actions/ActionDelete.cs
# src/Umbraco.Core/Actions/ActionMove.cs
# src/Umbraco.Core/Actions/ActionNew.cs
# src/Umbraco.Core/Actions/ActionNotify.cs
# src/Umbraco.Core/Actions/ActionProtect.cs
# src/Umbraco.Core/Actions/ActionRestore.cs
# src/Umbraco.Core/Actions/ActionRights.cs
# src/Umbraco.Core/Actions/ActionRollback.cs
# src/Umbraco.Core/Actions/ActionSort.cs
# src/Umbraco.Core/Actions/ActionToPublish.cs
# src/Umbraco.Core/Actions/ActionUnpublish.cs
# src/Umbraco.Core/Actions/ActionUpdate.cs
# src/Umbraco.Core/Constants-Telemetry.cs
# src/Umbraco.Core/DependencyInjection/ServiceCollectionExtensions.cs
# src/Umbraco.Core/DependencyInjection/UmbracoBuilder.CollectionBuilders.cs
# src/Umbraco.Core/DependencyInjection/UmbracoBuilder.Collections.cs
# src/Umbraco.Core/Models/Trees/ActionMenuItem.cs
# src/Umbraco.Core/Models/Trees/CreateChildEntity.cs
# src/Umbraco.Core/Models/Trees/ExportMember.cs
# src/Umbraco.Core/Models/Trees/MenuItem.cs
# src/Umbraco.Core/Models/Trees/RefreshNode.cs
# src/Umbraco.Core/Persistence/Repositories/IRedirectUrlRepository.cs
# src/Umbraco.Core/PropertyEditors/NestedContentConfiguration.cs
# src/Umbraco.Core/Routing/ContentFinderByRedirectUrl.cs
# src/Umbraco.Core/Services/IFileService.cs
# src/Umbraco.Core/Services/IRedirectUrlService.cs
# src/Umbraco.Core/Services/RedirectUrlService.cs
# src/Umbraco.Core/Trees/MenuItemList.cs
# src/Umbraco.Infrastructure/Persistence/Repositories/Implement/MemberRepository.cs
# src/Umbraco.Infrastructure/Persistence/Repositories/Implement/RedirectUrlRepository.cs
# src/Umbraco.Infrastructure/Telemetry/Providers/SystemInformationTelemetryProvider.cs
# src/Umbraco.Web.BackOffice/Controllers/CodeFileController.cs
# src/Umbraco.Web.BackOffice/Controllers/ContentController.cs
# src/Umbraco.Web.BackOffice/Controllers/DictionaryController.cs
# src/Umbraco.Web.BackOffice/Controllers/EntityController.cs
# src/Umbraco.Web.BackOffice/Controllers/PreviewController.cs
# src/Umbraco.Web.BackOffice/Trees/ContentBlueprintTreeController.cs
# src/Umbraco.Web.BackOffice/Trees/ContentTreeController.cs
# src/Umbraco.Web.BackOffice/Trees/ContentTreeControllerBase.cs
# src/Umbraco.Web.BackOffice/Trees/ContentTypeTreeController.cs
# src/Umbraco.Web.BackOffice/Trees/DataTypeTreeController.cs
# src/Umbraco.Web.BackOffice/Trees/DictionaryTreeController.cs
# src/Umbraco.Web.BackOffice/Trees/FileSystemTreeController.cs
# src/Umbraco.Web.BackOffice/Trees/MacrosTreeController.cs
# src/Umbraco.Web.BackOffice/Trees/MediaTreeController.cs
# src/Umbraco.Web.BackOffice/Trees/MediaTypeTreeController.cs
# src/Umbraco.Web.BackOffice/Trees/MemberGroupTreeController.cs
# src/Umbraco.Web.BackOffice/Trees/MemberTreeController.cs
# src/Umbraco.Web.BackOffice/Trees/MemberTypeAndGroupTreeControllerBase.cs
# src/Umbraco.Web.BackOffice/Trees/RelationTypeTreeController.cs
# src/Umbraco.Web.BackOffice/Trees/TemplatesTreeController.cs
# src/Umbraco.Web.UI.Client/src/less/navs.less
# templates/UmbracoProject/.gitignore
# tests/Umbraco.Tests.Integration/Umbraco.Core/Telemetry/TelemetryServiceTests.cs
# tests/Umbraco.Tests.UnitTests/Umbraco.Core/Services/UserDataServiceTests.cs
# tests/Umbraco.Tests.UnitTests/Umbraco.Core/Telemetry/SystemInformationTelemetryProviderTests.cs
2022-07-11 15:04:46 +02:00
Arul Prabakaran
7c2a2996a2
Fixes alignment issue for "Saved searches" dropdown in log viewer ( #12665 )
...
* Umbraco avatar component updated to fit the image
* Fixed: Broken saved search dropdown in log viewer
2022-07-08 15:39:55 +01:00
Ronald Barendse
4fc7f775ba
Merge pull request #12663 from umbraco/v10/bugfix/fix-automoq
...
V10: Fix AutoMoq for unit tests
2022-07-06 15:32:48 +02:00
nikolajlauridsen
9c5006e5c8
Remove body from obsolete constructor
2022-07-06 14:53:57 +02:00
nikolajlauridsen
6d80904280
Make InstallHelper moq greedy
2022-07-06 14:52:00 +02:00
Nikolaj Geisle
0fe894c4f6
Fix up system information test ( #12660 )
...
Co-authored-by: Zeegaan <nge@umbraco.dk >
2022-07-06 11:33:33 +02:00
Bjarne Fyrstenborg
cb4ec89bcf
Allow only unpublish in schedule publish overlay if user has permission ( #11827 )
...
* Allow only unpublish in schedule publish overlay if user has permission
* Adjust logic to newer JS syntax
* Fix update configuration
* Delete updated property names
* Style unpublish date as disabled
* Fix css selector for new button element
* Make buttons and datepickers more consistent in invariant and variant versions of schedule overlay
* Fill half width like in invariant version of schedule overlay
* Use native includes instead
* return early from getPermissionsForContent
Co-authored-by: Nathan Woulfe <nathan@nathanw.com.au >
2022-07-06 09:34:24 +10:00
Arul Prabakaran
05d095914e
Umbraco avatar component updated to fit the image
2022-07-06 08:46:12 +10:00
Ronald Barendse
b0b6081bea
Read BootFailed.html file from WebRootFileProvider ( #12634 )
2022-07-05 15:24:53 +02:00
Mole
be38fb41ad
V10: Use FireAndForget when logging install ( #12658 )
...
* Use FireAndForget when logging install
* Obsolete constructor
Co-authored-by: Zeegaan <nge@umbraco.dk >
2022-07-05 15:17:45 +02:00
Nikolaj Geisle
22577163ba
Remove context from IScopeProvider.cs ( #12657 )
...
Co-authored-by: Zeegaan <nge@umbraco.dk >
2022-07-05 12:42:52 +02:00
Kenn Jacobsen
f2a98309b4
Support localization for content search (backoffice) ( #12618 )
...
* Support localization for content search
* Formatting
Co-authored-by: Nikolaj Geisle <70372949+Zeegaan@users.noreply.github.com >
* Review changes
* Review changes
Co-authored-by: kjac <kjn@impact.dk >
Co-authored-by: Nikolaj Geisle <70372949+Zeegaan@users.noreply.github.com >
2022-07-04 13:45:33 +02:00
Bjarke Berg
af3e9bf892
Merge pull request #12645 from umbraco/v10/bugfix/language-cultureName-is-null
...
languageCultureName null makes umbraco explode
2022-07-04 10:23:20 +02:00
Zeegaan
56ef2d56eb
Merge branch 'v10/dev' into v10/bugfix/language-cultureName-is-null
2022-07-04 08:43:08 +02:00
Erik-Jan Westendorp
173c1c8c8f
Add Current Server Role to system information ( #12630 )
...
* Add Current Server Rule to system information
* Update Unit Tests, Mock IServerRoleAccessor
* Add CurrentServerRole to UnitTest
* adds trailing commas
Co-authored-by: Nathan Woulfe <nathan@nathanw.com.au >
2022-07-04 09:54:27 +10:00
Dennis
5bb81558f8
set isInfoTab to true if active tab is info tab ( #12632 )
...
* set isInfoTab to true if active tab is info tab
* replace underscore functions with good old boring javascript
Co-authored-by: Nathan Woulfe <nathan@nathanw.com.au >
2022-07-04 09:26:19 +10:00
Ronald Barendse
dca4d0f167
Add runtime mode (BackofficeDevelopment, Development and Production) ( #12631 )
...
* Add runtime mode setting
* Only enable Razor runtime compilation in development modes
* Only enable ModelsBuilder generation in development modes
* Fix disabling ModelsBuilder controllers
* Add IRuntimeModeValidationService and IRuntimeModeValidator
* Add JITOptimizerValidator
* Add UmbracoApplicationUrlValidator
* Add UseHttpsValidator
* Add RuntimeMinificationValidator
* Add ModelsBuilderModeValidator
* Remove .NET 6 preview 1 fix for Razor runtime compilation
* Only allow InMemoryAuto in backoffice development mode
* Make runtime mode validators public, so they can be easily removed if required
* Add comment to highlight removing RazorCompileOnBuild, RazorCompileOnPublish and CopyRazorGenerateFilesToPublishDirectory when using ModelsMode InMemoryAuto
* Add documentation
* Update src/Umbraco.Web.Common/ModelsBuilder/NoopModelsBuilderDashboardProvider.cs
Co-authored-by: Ronald Barendse <ronald@barend.se >
Co-authored-by: Nikolaj Geisle <70372949+Zeegaan@users.noreply.github.com >
2022-07-01 08:48:05 +02:00
Ronald Barendse
7d545a7dfc
Fix test after Sqlite casing change
2022-06-30 22:52:59 +02:00
Bjarke Berg
8de95acec6
Fixed casing
2022-06-30 15:30:42 +02:00
Zeegaan
30c5068f83
Get cultureName from culture info if null
2022-06-30 15:28:06 +02:00
Matthew Care
448836ee2d
Break word for limited width content
...
Add break word to avoid overflowing content / account for label values which are often used to store random data
2022-06-30 14:13:46 +02:00
Bjarke Berg
be1fddb9be
Added configuration to allow RTL cultures to opt-in to reverse the url hierarchy ( #12635 )
...
* Added configuration to allow RTL cultures to opt-in to reverse the url hierarchy.
https://github.com/umbraco/Umbraco-CMS/issues/12621
* Fixed bug.. There is difference between array.Reverse (Linq) and list.Reverse (native)
* formatting
2022-06-30 14:08:13 +02:00
gilbertaoe
ccf0d3f443
Update MemberRepository.cs
...
Ensuring that MemberManager.ConfirmEmailAsync persists.
2022-06-30 13:47:16 +02:00
Zeegaan
5eb5cb7e2b
Fix up after merge
2022-06-30 09:57:45 +02:00
Zeegaan
35549ca218
Merge branch 'release/10.0.1' into v10/dev
...
# Conflicts:
# src/Umbraco.Core/Actions/ActionAssignDomain.cs
# src/Umbraco.Core/Configuration/Models/ModelsBuilderSettings.cs
# src/Umbraco.Core/Models/RelationItem.cs
# src/Umbraco.Core/Scoping/ICoreScope.cs
# src/Umbraco.Infrastructure/DependencyInjection/UmbracoBuilder.CoreServices.cs
# src/Umbraco.Infrastructure/HostedServices/ReportSiteTask.cs
# src/Umbraco.Infrastructure/Logging/MessageTemplates.cs
# src/Umbraco.Infrastructure/Persistence/DbProviderFactoryCreator.cs
# src/Umbraco.Infrastructure/Runtime/FileSystemMainDomLock.cs
# src/Umbraco.Infrastructure/Scoping/ScopeProvider.cs
# src/Umbraco.Web.BackOffice/Filters/OutgoingEditorModelEventAttribute.cs
# src/Umbraco.Web.BackOffice/Mapping/ContentMapDefinition.cs
# tests/Umbraco.Tests.Integration/TestServerTest/UmbracoTestServerTestBase.cs
# tests/Umbraco.Tests.UnitTests/Umbraco.Core/Components/ComponentTests.cs
# tests/Umbraco.Tests.UnitTests/Umbraco.Core/Scoping/ScopedNotificationPublisherTests.cs
# tests/Umbraco.Tests.UnitTests/Umbraco.Infrastructure/Scoping/ScopeUnitTests.cs
# version.json
2022-06-30 09:48:24 +02:00
Zeegaan
fd0c4fda54
bumb version
2022-06-30 08:34:58 +02:00
Bjarke Berg
62eeb42004
Changed const to return "Microsoft.Data.Sqlite" instead of "Microsoft.Data.SQLite" and made our checks case insensitive where possible. Sadly DbProviderFactories is still case sensative so for that we support both strings. ( #12639 )
...
https://github.com/umbraco/Umbraco-CMS/issues/12604
2022-06-29 16:49:47 +02:00
Erik-Jan Westendorp
ce9f92909b
Remove Obsolete AddOEmbedProvider extension method ( #12624 )
...
* Remove unused using
* Remove Obsolete AddOEmbedProvider Method
* Revert and update obsolete message
2022-06-29 16:41:00 +10:00