Mole
216fb87c79
Rename Umbraco.Core namespace to Umbraco.Cms.Core
2021-02-09 10:22:42 +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
f2b2e95c15
Merge pull request #9762 from umbraco/netcore/task/Surface-Routing-9717
...
SurfaceController routing for netcore
2021-02-05 10:12:10 +01:00
Shannon
b883ebfd7d
Fixing tests, created constants
2021-02-05 13:14:24 +11:00
Shannon
eed8e4dca8
Fixing tests
2021-02-05 12:19:09 +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
dd90193365
makes MB event an INotification
2021-02-01 15:37:41 +11:00
Mole
1f6b942af7
Merge pull request #9694 from umbraco/netcore/feature/net5
...
Netcore: Updated to .NET 5
2021-01-28 09:46:07 +01: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
8bf75a5047
Retry flaky test
2021-01-26 08:09:12 +01:00
Bjarke Berg
e0f98d84f6
Migrated RangeTests.cs
2021-01-25 19:34:17 +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
berg
d033257aab
Retry flaky tests
2021-01-20 12:50:17 +01:00
Shannon
166b86a007
Revert "updates test libs - lets see if the build works now"
...
This reverts commit 41ae2f3b7d .
2021-01-20 18:12:45 +11:00
Shannon
5b86182fae
fixing tests
2021-01-20 15:12:31 +11:00
Shannon
41ae2f3b7d
updates test libs - lets see if the build works now
2021-01-20 14:55:34 +11:00
Bjarke Berg
69724d8d2b
Added support for sync notification handlers in the event aggregator
2021-01-19 09:57:55 +01: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
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
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
Bjarke Berg
f496dadf23
Fix tests
2021-01-13 12:35:05 +01:00
Elitsa Marinovska
9a9f9164e2
Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/remove-httpresponseexception
...
# Conflicts:
# src/Umbraco.Web.BackOffice/Controllers/CurrentUserController.cs
# src/Umbraco.Web.BackOffice/Controllers/SectionController.cs
# src/Umbraco.Web.BackOffice/Controllers/UsersController.cs
2021-01-13 08:53:41 +01:00
Shannon
f59c69b355
Merge branch 'netcore/task/adding-tests-for-routing' into netcore/task/models-builder-9789
2021-01-13 14:02:38 +11:00
Shannon
52642a3914
remove aspx tests
2021-01-13 13:54:20 +11:00
Shannon
029ef31e01
Removing MB composers to ext methods
2021-01-13 12:48:41 +11:00
Shannon
d1df6c4719
less allocations with AbsolutePathDecoded. removes more aspx checks, adds UmbracoRouteValueTransformerTests, adds interface for IRoutableDocumentFilter
2021-01-13 11:08:48 +11:00
Bjarke Berg
fe016dd103
Netcore: Fixes issues with user invites ( #9616 )
...
* AB9629
Fixes issues with user invites
- Issue with the generated link in the invite email
- Allow anonymous access to CurrentUserController.PostSetInvitedUserPassword, as it is used by users not logged in
- Allow anonymous access to AuthenticationController.GetPasswordConfig, as this is used to set a password for newly invited users, before they login
* Fix issues with invite flow
* Fix minor typos
* Fixed issue with validation response and remove/change avatar
* Fix issue with disable users, after all enums are handled like strings
* Fix tests
* Fix other validation issue
* Fix yet another validation issue
Co-authored-by: Elitsa Marinovska <elm@umbraco.dk >
2021-01-12 16:15:19 +01:00
Shannon
456cb00a2d
Add test for UmbracoRouteValuesFactoryTests
2021-01-12 17:06:37 +11:00
Shannon
a83cbc00ef
Adding tests for HijackedRouteEvaluator
2021-01-12 16:28:00 +11:00
Shannon
84206d7625
removes ext checks since we don't have any server side requests with ext anymore
2021-01-12 10:37:21 +11:00
Bjarke Berg
24a395f1ea
Merge pull request #9626 from umbraco/netcore/task/9733-routabledocumentfilter
...
Migrates RoutableDocumentFilter and more
2021-01-11 13:36:27 +01:00
Bjarke Berg
3722a9bff5
Cleanup + fixed tests
2021-01-11 11:14:43 +01:00
Bjarke Berg
e66ccc536d
Netcore: Migrate more tests ( #9621 )
...
* AB8828 - Migrated ShadowFileSystemTests.cs
Note that the underlying behavior of Directory.EnumerateFiles is changed when search pattern is "". "" is not handled like "*" in netcore.
* AB8828 - Migrated ScopeEventDispatcherTests.cs
* AB8828 - Migrated DistributedCacheBinderTests.cs
* AB8828 - Migrated SchemaValidationTest.cs
* AB8828 - Migrated LocksTests.cs
* AB8828 - Migrated SqlCeTableByTableTest.cs (and renamed to SqlServerTableByTableTest.cs)
* AB8828 - Created DatabaseBuilderTests
* AB8828 - Fix issues with file systems for linux
2021-01-11 09:04:05 +01:00
Shannon
4a8b0f06d1
Merge branch 'netcore/task/9727-published-request' into netcore/task/9733-routabledocumentfilter
2021-01-11 16:44:01 +11:00
Shannon
2044b82bb4
turns off the endpoint matching logic - makes it configurable since it shouldn't be needed
2021-01-11 16:43:01 +11:00
Shannon
bd4006c577
Fixes the custom RequestCultureProvider to dynamically add cultures to the supported cultures list, changes the request/builder to not reference a ICultureInfo and instead just a string to avoid allocations and confusion since the handlers will end up as a string anyways. Removes the unnecessary cultureinfo concurrentdictionary because CultureInfo.GetCultureInfo does the same thing.
2021-01-11 13:39:09 +11:00
Shannon
00968a332b
fix options dependency
2021-01-08 17:28:08 +11:00
Shannon
0ce90cf359
Moves UrlExtensions methods to new service and reduce the huge amount of allocated strings during routing
2021-01-08 17:21:35 +11:00
Shannon
f8033c5281
Moves RoutableDocumentFilter along with tests
2021-01-08 15:27:07 +11:00
Shannon
53bc92608a
rename property
2021-01-08 00:33:47 +11:00
Shannon
dec0ab87da
Gets IsInternalRedirect working and documented, adds unit tests for the builder
2021-01-07 23:14:26 +11:00
Shannon
333479666c
removes ResponseStatusDescription and others that aren't used, ports the not found handler, ports redirects, headers, etc...
2021-01-06 20:03:49 +11:00