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
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
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
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
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
Mole
e57b99a3b7
Fix blocklist validation
2021-02-08 14:52:17 +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
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
36e1c012d4
lowercasing files
2021-02-05 16:31:14 +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
f2b2e95c15
Merge pull request #9762 from umbraco/netcore/task/Surface-Routing-9717
...
SurfaceController routing for netcore
2021-02-05 10:12:10 +01:00
Mole
f8c7b9e639
Merge pull request #9748 from umbraco/netcore/feature/healthchecks
...
NetCore: Updated healthchecks
2021-02-05 09:55:07 +01:00
Shannon
967c150180
Merge branch 'netcore/netcore' into netcore/task/Surface-Routing-9717
2021-02-05 13:22:21 +11:00
Shannon
295e4eb118
Merge branch 'netcore/task/Surface-Routing-9717' of https://github.com/umbraco/Umbraco-CMS into netcore/task/Surface-Routing-9717
2021-02-05 13:14:40 +11:00
Shannon
b883ebfd7d
Fixing tests, created constants
2021-02-05 13:14:24 +11:00
Shannon Deminick
7aff288ff1
Apply suggestions from code review
...
Co-authored-by: Bjarke Berg <mail@bergmania.dk >
2021-02-05 12:32:09 +11:00
Shannon
6273c95a90
Gets UmbracoPageResult working with ViewData and TempData
2021-02-04 14:51:55 +11:00
Shannon
eda98aa41f
Changes how controllers are discovered, re-uses aspnetcore to do this, rely directly on the resolved ControllerActionDescriptor since this is how routing works anyways and also saves future lookups (perf), gets the UmbracoPageResult 'working' - at least to proxy a controller execution but now we need to do the model state merging, etc...
2021-02-04 13:09:28 +11:00
Bjarke Berg
8624a246ba
Updated healthchecks to show a link to documentation instead of trying to fix something that can often not be fixed automatically.
2021-02-03 07:42:56 +01:00
Shannon
0c26a82489
Changes the umbraco route values to use http features intead of in route values which is much nicer, fixes the redirect to page result, tests a surface controller POST and it works, ensures the routing takes place before the form check, removes a bunch of old code
2021-02-03 15:47:27 +11:00
Shannon
86fd473018
UmbracoRequestBegin and UmbracoRequestEnd part of the core proj and changed to just have a IUmbracoContext reference. Removes IRequestAccessor events, Fixes the DatabaseServerMessengerNotificationHandler weirdness, Removes UmbracoModule and friends and old routing events and statuses
2021-02-02 18:42:39 +11:00
Shannon
c024db9d3c
gets surface controllers and front-end api controllers auto-routed, adds tests
2021-02-02 14:48:01 +11:00
Mole
d52c084e3b
Minor style changes
2021-02-01 13:04:58 +01:00
Bjarke Berg
14284b64c2
Bugfixes..
...
- ModelsBuilder: Inject PublishedValueFallback into static Mixins
- ModelsBuilder: Throw exception if compiler can't compile the code
- CheckIfUserTicketDataIsStaleAttribute: Scope issue
- Ambiguous Actions: Couldn't determine the action when empty arrays was passed. Fixed by using more v8 like solution. (Still stupid the client not just have different endpoints)
- Fixed issue with reading the body from post requests. Often we where not allowed to seek in the stream.
- UmbracoHelper: Made available on UmbracoViewPage
- Client entity.resource.js: Don't ask server when getByIds has 0 ids.
- Client content.resource.js: Renamed endpoint GetEmptyBlueprint to avoid ambiguous action name
2021-02-01 13:04:45 +01:00
Shannon
2a41cec263
Ensures the default PublishedModelFactory is always registered. Ensures AddModelsBuilder is done when adding the website (not required for the back office).
2021-02-01 16:53:24 +11:00
Shannon
dd90193365
makes MB event an INotification
2021-02-01 15:37:41 +11:00
Bjarke Berg
5a4a3c760d
Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/net5
2021-01-26 08:09:33 +01:00
Bjarke Berg
6f357a771d
Netcore: Replace IUmbracoRequestLifetime with EventAggregator nofitications ( #9711 )
...
* AB#9928 - Replace IUmbracoRequestLifetime with event aggregator
* AB#9928 - Fix issue with profiling, by calling it explicitly in the request middleware
* Longer timeout to avoid flaky test
* Longer timeout to avoid flaky test
Co-authored-by: Elitsa Marinovska <elm@umbraco.dk >
2021-01-26 07:58:11 +01:00
Bjarke Berg
c79b31ed2e
Changed remaining background jobs to be either hosted services or real fire and forget + Cleanup + moved classes to the legacy test project, that is only needed there. ( #9700 )
2021-01-25 09:26:38 +01:00
Bjarke Berg
4a3941620d
Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/net5
2021-01-25 08:54:37 +01:00
Shannon Deminick
b885bcf193
Merge pull request #9682 from umbraco/netcore/feature/add_support_for_sync_notification_handlers_in_event_aggregator
...
Netcore: Add support for sync notification handlers in event aggregator
2021-01-25 15:22:41 +11:00
Bjarke Berg
132c4f7910
Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/net5
2021-01-21 09:37:44 +01:00
Bjarke Berg
e38972abf0
Updated to net5.0 and updated most nuget packages. Also fixed the nuspec files. + Fix typo Persistance => Persistence.
2021-01-20 21:01:45 +01:00
Shannon
3d24376136
missing file
2021-01-20 15:38:21 +11:00
Bjarke Berg
69724d8d2b
Added support for sync notification handlers in the event aggregator
2021-01-19 09:57:55 +01:00
Shannon
1614e9a53c
Removes MB.Enabled since it doesn't make since, Removes MB.EnableFactory since that cannot ever be not enabled, fixes up settings usage, primarily we just check for models mode
2021-01-19 18:29:14 +11:00
Shannon
0ce34bea18
Merge remote-tracking branch 'origin/netcore/netcore' into netcore/task/models-builder-9789
...
# Conflicts:
# src/Umbraco.ModelsBuilder.Embedded/ModelsBuilderNotificationHandler.cs
2021-01-19 17:43:18 +11:00
Bjarke Berg
a54e10bc13
Merge remote-tracking branch 'origin/v8/dev' into netcore/feature/merge-v8-18-01-2021
...
# Conflicts:
# .gitignore
# build/NuSpecs/UmbracoCms.Core.nuspec
# src/SolutionInfo.cs
# src/Umbraco.Core/Configuration/UmbracoSettings/BackOfficeElement.cs
# src/Umbraco.Core/Configuration/UmbracoSettings/ContentElement.cs
# src/Umbraco.Core/Configuration/UmbracoSettings/IBackOfficeSection.cs
# src/Umbraco.Core/Configuration/UmbracoSettings/IContentSection.cs
# src/Umbraco.Core/IO/SystemFiles.cs
# src/Umbraco.Core/Models/ContentBase.cs
# src/Umbraco.Core/Models/Identity/BackOfficeIdentityUser.cs
# src/Umbraco.Core/Persistence/UmbracoDatabaseExtensions.cs
# src/Umbraco.Core/Runtime/CoreRuntime.cs
# src/Umbraco.Core/RuntimeOptions.cs
# src/Umbraco.Core/RuntimeState.cs
# src/Umbraco.Core/Telemetry/TelemetryMarkerComponent.cs
# src/Umbraco.Core/Telemetry/TelemetryMarkerComposer.cs
# src/Umbraco.Examine/Umbraco.Examine.csproj
# src/Umbraco.Infrastructure/HostedServices/ReportSiteTask.cs
# src/Umbraco.Infrastructure/Install/InstallStepCollection.cs
# src/Umbraco.Infrastructure/Install/InstallSteps/NewInstallStep.cs
# src/Umbraco.Infrastructure/Migrations/Install/DatabaseBuilder.cs
# src/Umbraco.Infrastructure/Migrations/Install/DatabaseSchemaCreator.cs
# src/Umbraco.Infrastructure/Runtime/SqlMainDomLock.cs
# src/Umbraco.Tests.Integration/Umbraco.Infrastructure/Persistence/Repositories/ContentTypeRepositoryTest.cs
# src/Umbraco.Tests/Runtimes/CoreRuntimeTests.cs
# src/Umbraco.Tests/Runtimes/StandaloneTests.cs
# src/Umbraco.Tests/Testing/TestDatabase.cs
# src/Umbraco.Web.BackOffice/Controllers/BackOfficeServerVariables.cs
# src/Umbraco.Web.UI.Client/src/installer/steps/database.controller.js
# src/Umbraco.Web.UI.NetCore/Views/Partials/Grid/Editors/TextString.cshtml
# src/Umbraco.Web.UI.NetCore/umbraco/config/lang/da.xml
# src/Umbraco.Web.UI.NetCore/umbraco/config/lang/en.xml
# src/Umbraco.Web.UI.NetCore/umbraco/config/lang/en_us.xml
# src/Umbraco.Web.UI/Umbraco/config/lang/cs.xml
# src/Umbraco.Web.UI/config/umbracoSettings.Release.config
# src/Umbraco.Web/Composing/CompositionExtensions/Installer.cs
# src/Umbraco.Web/Editors/PreviewController.cs
# src/Umbraco.Web/Editors/UsersController.cs
# src/Umbraco.Web/JavaScript/PreviewInitialize.js
# src/Umbraco.Web/Telemetry/TelemetryComponent.cs
# src/Umbraco.Web/UmbracoApplication.cs
2021-01-18 16:06:23 +01:00
Shannon
5f9447fc2a
Got a POC working with dynamic recompilation
2021-01-15 18:17:13 +11:00
Bjarke Berg
9d0665e66c
Merge pull request #9601 from umbraco/netcore/feature/remove-httpresponseexception
...
NetCore: Getting rid of HttpResponseException
2021-01-15 07:26:19 +01:00
Bjarke Berg
04bb4e99b6
Fixed possible null reference exceptions
2021-01-14 19:41:32 +01:00
Elitsa Marinovska
ccfb915584
Getting rid of HttpResponseExceptionFilter
2021-01-13 16:08:00 +01:00
Bjarke Berg
99188da03a
Merge pull request #9647 from umbraco/netcore/task/adding-tests-for-routing
...
Adding tests for routing
2021-01-13 13:34:32 +01:00