Commit Graph

37318 Commits

Author SHA1 Message Date
Bjarke Berg
bf936cbd65 Fix namespaces when building MB models 2021-02-22 10:32:09 +01:00
Bjarke Berg
890cd45677 Fix namespace 2021-02-22 10:09:20 +01:00
Bjarke Berg
c453719c2d Fix the register of the IModelsBuilderDashboardProvider 2021-02-22 09:49:24 +01:00
Bjarke Berg
6e89e9a8a9 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB10314-mb-embedded-dependencies
# Conflicts:
#	src/Umbraco.Infrastructure/ModelsBuilder/ApiVersion.cs
#	src/Umbraco.Infrastructure/ModelsBuilder/Building/Builder.cs
#	src/Umbraco.Infrastructure/ModelsBuilder/Building/ModelsGenerator.cs
#	src/Umbraco.Infrastructure/ModelsBuilder/Building/PropertyModel.cs
#	src/Umbraco.Infrastructure/ModelsBuilder/Building/TextBuilder.cs
#	src/Umbraco.Infrastructure/ModelsBuilder/Building/TextHeaderWriter.cs
#	src/Umbraco.Infrastructure/ModelsBuilder/Building/TypeModel.cs
#	src/Umbraco.Infrastructure/ModelsBuilder/Building/TypeModelHasher.cs
#	src/Umbraco.Infrastructure/ModelsBuilder/LiveModelsProvider.cs
#	src/Umbraco.Infrastructure/ModelsBuilder/ModelsBuilderAssemblyAttribute.cs
#	src/Umbraco.Infrastructure/ModelsBuilder/ModelsBuilderDashboard.cs
#	src/Umbraco.Infrastructure/ModelsBuilder/ModelsGenerationError.cs
#	src/Umbraco.Infrastructure/ModelsBuilder/OutOfDateModelsStatus.cs
#	src/Umbraco.Infrastructure/ModelsBuilder/PublishedElementExtensions.cs
#	src/Umbraco.Infrastructure/ModelsBuilder/PublishedModelUtility.cs
#	src/Umbraco.Infrastructure/ModelsBuilder/RoslynCompiler.cs
#	src/Umbraco.Infrastructure/ModelsBuilder/TypeExtensions.cs
#	src/Umbraco.Infrastructure/ModelsBuilder/UmbracoServices.cs
#	src/Umbraco.ModelsBuilder.Embedded/ImplementPropertyTypeAttribute.cs
#	src/Umbraco.ModelsBuilder.Embedded/Umbraco.ModelsBuilder.Embedded.csproj
#	src/Umbraco.Tests.UnitTests/Umbraco.ModelsBuilder.Embedded/BuilderTests.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.ModelsBuilder.Embedded/UmbracoApplicationTests.cs
#	src/Umbraco.Web.BackOffice/ModelsBuilder/ContentTypeModelValidator.cs
#	src/Umbraco.Web.BackOffice/ModelsBuilder/ContentTypeModelValidatorBase.cs
#	src/Umbraco.Web.BackOffice/ModelsBuilder/DashboardReport.cs
#	src/Umbraco.Web.BackOffice/ModelsBuilder/DisableModelsBuilderNotificationHandler.cs
#	src/Umbraco.Web.BackOffice/ModelsBuilder/MediaTypeModelValidator.cs
#	src/Umbraco.Web.BackOffice/ModelsBuilder/MemberTypeModelValidator.cs
#	src/Umbraco.Web.BackOffice/ModelsBuilder/ModelsBuilderDashboardController.cs
#	src/Umbraco.Web.Common/ModelsBuilder/DependencyInjection/UmbracoBuilderExtensions.cs
#	src/Umbraco.Web.Common/ModelsBuilder/ModelsBuilderNotificationHandler.cs
#	src/Umbraco.Web.Common/ModelsBuilder/PureLiveModelFactory.cs
#	src/Umbraco.Web.Common/ModelsBuilder/RefreshingRazorViewEngine.cs
#	src/Umbraco.Web.Common/ModelsBuilder/UmbracoAssemblyLoadContext.cs
#	src/Umbraco.Web.UI.NetCore/Startup.cs
#	src/Umbraco.Web.Website/DependencyInjection/UmbracoBuilderExtensions.cs
2021-02-22 09:00:33 +01:00
Mole
bf41c2eeaa Netcore: Align namespaces (#9801)
* Rename Umbraco.Core namespace to Umbraco.Cms.Core

* Move extension methods in core project to Umbraco.Extensions

* Move extension methods in core project to Umbraco.Extensions

* Rename Umbraco.Examine namespace to Umbraco.Cms.Examine

* Move examine extensions to Umbraco.Extensions namespace

* Reflect changed namespaces in Builder and fix unit tests

* Adjust namespace in Umbraco.ModelsBuilder.Embedded

* Adjust namespace in Umbraco.Persistence.SqlCe

* Adjust namespace in Umbraco.PublishedCache.NuCache

* Align namespaces in Umbraco.Web.BackOffice

* Align namespaces in Umbraco.Web.Common

* Ensure that SqlCeSupport is still enabled after changing the namespace

* Align namespaces in Umbraco.Web.Website

* Align namespaces in Umbraco.Web.UI.NetCore

* Align namespaces in Umbraco.Tests.Common

* Align namespaces in Umbraco.Tests.UnitTests

* Align namespaces in Umbraco.Tests.Integration

* Fix errors caused by changed namespaces

* Fix integration tests

* Undo the Umbraco.Examine.Lucene namespace change

This breaks integration tests on linux, since the namespace wont exists there because it's only used on windows.

* Fix merge

* Fix Merge
2021-02-18 11:06:02 +01:00
Sebastiaan Janssen
f1717a17f5 Fixes error trying to load Cosmos.CRTCompat.dll (System.BadImageForma… (#9834)
Co-authored-by: Bjarke Berg <mail@bergmania.dk>
2021-02-18 09:27:14 +01:00
Elitsa Marinovska
a2cfd277ce Cleanup 2021-02-18 08:33:49 +01:00
Elitsa Marinovska
4bccb995ec Introducing IModelsBuilderDashboardProvider 2021-02-18 08:27:35 +01:00
Elitsa Marinovska
74a67bf8bc Migrating classes to Web.Common proj 2021-02-18 08:26:08 +01:00
Elitsa Marinovska
570d19f298 Migrating classes to Web.BackOffice proj 2021-02-18 08:21:48 +01:00
Elitsa Marinovska
e74836cb48 Moving classes to Infrastructure proj 2021-02-18 08:14:27 +01:00
Bjarke Berg
88acb07873 Merge pull request #9821 from umbraco/netcore/task/9716-custom-routes
Custom controller routes within an Umbraco context (i.e. virtual nodes)
2021-02-17 12:29:20 +01:00
Bjarke Berg
2ba3eb436c Fixed up small findings in refiew..
- Uses ILogger<T> instead of ILoggerFactory
- Uses the GetControllerName extension
- Fixes views
2021-02-17 12:00:57 +01:00
Mole
0e16528db5 Merge pull request #9827 from umbraco/netcore/bugfix/fixed-build-script-to-use-Directory-build-props
Netcore: Fixed buildscripts to work with latest Umbraco.Build and Directory.Build.props
2021-02-16 14:55:26 +01:00
Bjarke Berg
b0150dc8a3 Fixed tests 2021-02-16 14:20:20 +01:00
Bjarke Berg
02ac81d53f Fixed buildscripts to work with latest Umbraco.Build (0.2.17) and Directory.Build.props. Also updates the port (Now located in launchSettings.json) number if SetUmbracoVersion is called. 2021-02-16 12:28:37 +01:00
Mole
e065ba593f Merge pull request #9822 from umbraco/netcore/bugfix/copy-static-files-to-publish-directory
Netcore: Copy static files to publish directory in dotnet template
2021-02-16 10:27:30 +01:00
Shannon
7e40a66fed Fixing tests 2021-02-16 18:04:32 +11:00
Shannon
9ef8de36e5 Ensures that we don't add duplicate UmbracoVirtualPageFilterAttribute and that we use the ActionExecutingContext as the context during the FindContent operation 2021-02-16 18:02:05 +11:00
Bjarke Berg
6fcfcb0003 https://github.com/umbraco/Umbraco-CMS/issues/9811 Copy static files to publish directory in dotnet template 2021-02-16 07:19:47 +01:00
Shannon
f40a6be9b6 Remove EnsurePublishedContentRequestAttribute 2021-02-16 12:19:25 +11:00
Bjarke Berg
5188bb09ce Reintroduced temp SolutionInfo 2021-02-15 17:50:33 +01:00
Bjarke Berg
285473d0e8 Fixed failing test 2021-02-15 15:47:59 +01:00
Bjarke Berg
2fa5c8e3be Fixed registration of IIndexPopulators, to allow injection as IEnumerable<IIndexPopulator> 2021-02-15 13:54:01 +01:00
Bjarke Berg
9ba04c394b Added Directory.Build.props to replace SolutionInfo 2021-02-15 13:53:06 +01:00
Shannon
4f2682678e Gets virtual page routing working, now just need to document. 2021-02-15 18:50:16 +11:00
Mole
1eac582649 Merge pull request #9814 from umbraco/netcore/bugfix/9813-DisableRedirectUrlTracking_value_cached
Netcore bugfix: DisableRedirectUrlTrackingValue was cached
2021-02-15 08:39:20 +01:00
Bjarke Berg
801c565bd5 https://github.com/umbraco/Umbraco-CMS/issues/9813 - Fixed issue with configuration value cached, even that the dashboard was updating its value. 2021-02-15 08:08:52 +01:00
Shannon
996c2b4277 Changes namespace of UmbracoViewPage 2021-02-12 17:23:14 +11:00
Shannon
af42af7425 Simplify UmbracoRouteValues since this is an http request feature which dictates what an Umbraco route is 2021-02-12 16:54:19 +11:00
Shannon
aeae2fcfd2 Removes old classes that merge viewdata and modelstate that are no longer necessary 2021-02-12 16:10:50 +11:00
Bjarke Berg
b0b1de9972 Merge pull request #9773 from umbraco/netcore/bugfix/Fix-BlockListEditor-validation
Netcore: Fix block list bugs
2021-02-08 15:42:39 +01:00
Mole
e57b99a3b7 Fix blocklist validation 2021-02-08 14:52:17 +01:00
Mole
fa447b3a67 Merge pull request #9770 from umbraco/netcore/bugfix/application_url
Netcore: Fix missing application url
2021-02-08 12:06:36 +01:00
Bjarke Berg
b4f5fa1e19 Cleanup 2021-02-08 11:21:55 +01:00
Bjarke Berg
fea86bbf7a Moved the application url to HostingEnvironment and set it in the request middleware 2021-02-08 11:00:15 +01:00
Bjarke Berg
cf81f9b706 Fallback for getting the current published content in UmbracoHelper 2021-02-05 19:48:44 +01:00
Bjarke Berg
ed18fba786 Fixed issue with injected UmbracoHelper hiding the one on the UmbracoViewPage 2021-02-05 19:36:31 +01:00
Bjarke Berg
c3fbfa1280 Fixed issues with embed serialization + view
added missing view for grid media
Fix missing negation
2021-02-05 19:23:58 +01:00
Bjarke Berg
7c4982a04d Fixed issues with embed serialization + view
added missing view for grid media
+ Fixed null issues in js
2021-02-05 18:41:52 +01:00
Bjarke Berg
7949f12377 casing issues + missing semicolon in view 2021-02-05 17:17:59 +01:00
Bjarke Berg
39e9daf11a lowercasing names 2021-02-05 16:32:35 +01:00
Bjarke Berg
fb7f4cf55b temp rename file 2021-02-05 16:31:33 +01:00
Bjarke Berg
36e1c012d4 lowercasing files 2021-02-05 16:31:14 +01:00
Bjarke Berg
fe9410713e Temp move files before lowercasing them 2021-02-05 16:28:55 +01:00
Bjarke Berg
c876cb3583 Added Views to template and fixed casing issue for linux 2021-02-05 14:41:33 +01:00
Bjarke Berg
359f188274 Casing issues fixed for linux/docker 2021-02-05 14:01:46 +01:00
Bjarke Berg
c98efe047f Cleanup of duplicate entries in csproj and disabled compiled views as default from template (To work with purelive) 2021-02-05 12:27:30 +01:00
Bjarke Berg
246e29f1a6 Updated template to ignore generated files and added _ViewImports.cshtml 2021-02-05 11:46:50 +01:00
Bjarke Berg
3aadb7af46 Fixed wrong nuget reference in nuspec 2021-02-05 10:40:20 +01:00