Commit Graph

37014 Commits

Author SHA1 Message Date
Bjarke Berg
05ef2d80ae Merge branch 'feature/clean-up-umbraco-tests-common' into netcore/feature/merge-v8-18-01-2021 2021-01-18 10:47:18 +01:00
Bjarke Berg
7f27aa1dfe Fix merge issue 2021-01-18 08:45:14 +01:00
Bjarke Berg
6310ca31e3 Merge remote-tracking branch 'origin/netcore/netcore' into feature/clean-up-umbraco-integration-tests
# Conflicts:
#	src/Umbraco.Tests.Integration/DependencyInjection/UmbracoBuilderExtensions.cs
#	src/Umbraco.Tests.Integration/RuntimeTests.cs
#	src/Umbraco.Tests.Integration/TestServerTest/UmbracoBuilderExtensions.cs
#	src/Umbraco.Tests.Integration/Umbraco.Core/IO/FileSystemsTests.cs
#	src/Umbraco.Tests.Integration/Umbraco.Core/Mapping/UmbracoMapperTests.cs
#	src/Umbraco.Tests.Integration/Umbraco.Infrastructure/Scoping/ScopedRepositoryTests.cs
#	src/Umbraco.Tests.Integration/Umbraco.Infrastructure/Services/ContentServiceTests.cs
2021-01-18 07:34:59 +01:00
Bjarke Berg
16ef520e8c Merge remote-tracking branch 'origin/netcore/netcore' into feature/clean-up-umbraco-tests-common
# Conflicts:
#	src/Umbraco.Tests.Common/Testing/UmbracoTestAttribute.cs
2021-01-18 06:44:01 +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
04bb4e99b6 Fixed possible null reference exceptions 2021-01-14 19:41:32 +01:00
Elitsa Marinovska
680f8c4d96 Other special cases 2021-01-13 16:25:21 +01:00
Elitsa Marinovska
ded3a06170 Special case where the user is not authorized 2021-01-13 16:17:39 +01:00
Elitsa Marinovska
7c5e045868 Commenting out 2 GetModelFromMultipartRequest() and ReadAsMultipart() as for the moment they are not used and we need to rethink how to handle them 2021-01-13 16:16:11 +01:00
Elitsa Marinovska
3a51965358 Placing the code for checking if a ModelState is invalid directly 2021-01-13 16:14:20 +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
Bjarke Berg
f5be1016fc Param refactor 2021-01-13 12:39:34 +01:00
Bjarke Berg
f496dadf23 Fix tests 2021-01-13 12:35:05 +01:00
Elitsa Marinovska
b572cf6809 Surrounding ModelState with the newly introduced SimpleValidationModel type 2021-01-13 11:39:44 +01:00
Elitsa Marinovska
2e62a6c5f2 Reverting the change of BadRequest() back to ValidationErrorResult 2021-01-13 11:29:56 +01:00
Bjarke Berg
86564682b0 Merge pull request #9642 from umbraco/netcore/feature/AB9725-Remove-IUmbracoApplicationLifetime_ApplicationInit
AB#9725 - Removed IUmbracoApplicationLifetimeManager
2021-01-13 11:12:59 +01:00
Elitsa Marinovska
2204a57a8d Signature changes of GetMenuForNode() & PerformGetMenuForNode() 2021-01-13 11:02:29 +01:00
Elitsa Marinovska
2c81d09d0e Replacing HttpResponseException in Attributes 2021-01-13 10:59:27 +01:00
Elitsa Marinovska
d6e90c7e7e Fixing ExamineManagementController with another way of replacing the usage of HttpResponseException 2021-01-13 10:57:49 +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
Bjarke Berg
8c8871a799 Cleanup 2021-01-13 08:30:35 +01:00
Shannon
62f3a80dc6 adds locks to culture providers when manipulating supported cultures 2021-01-13 14:46:59 +11:00
Shannon
5afa49f170 adds notes 2021-01-13 13:59:34 +11:00
Shannon
52642a3914 remove aspx tests 2021-01-13 13:54:20 +11:00
Shannon
0c012d007c Adds AbsolutePathDecoded to IPublishedRequest too 2021-01-13 11:15:23 +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
Elitsa Marinovska
f691dcef91 Changing return type 2021-01-12 16:32:24 +01:00
Elitsa Marinovska
0b9f02630f Continue replacing HttpResponseException 2021-01-12 16:24:50 +01: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
Elitsa Marinovska
5feb273c3a Some more refactoring 2021-01-12 16:01:09 +01:00
Elitsa Marinovska
b0f4f9f440 Refactoring the use of ValidationErrorResult with the build-in types for status response results 2021-01-12 14:00:14 +01:00
Bjarke Berg
cbe2214afc AB#9725 - Removed IUmbracoApplicationLifetimeManager.cs and IUmbracoApplicationLifetime.ApplicationInit
Migrated some of the components to UmbracoBuilder and fixed issues with the way asp.net core need to append the profiler html
2021-01-12 13:58:48 +01:00
Bjarke Berg
b15046ccf6 Merge pull request #9638 from umbraco/netcore/task/request-path-cleanup
removes ext checks since we don't have any server side requests with ext anymore
2021-01-12 07:17:52 +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
Bjarke Berg
5672aedcee Merge pull request #9619 from umbraco/netcore/task/9727-published-request
Migrating more routing
2021-01-11 08:13:16 +01:00
Bjarke Berg
533d56227b Change link to tiny link, that we can change without an update of umbraco 2021-01-11 07:47:24 +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
4ce3271205 adds doc link on not found result 2021-01-11 14:16:07 +11:00
Shannon
f8548543cd Fixes another async/sync issue 2021-01-11 14:10:55 +11:00
Shannon
5016166829 changed to getawaiter 2021-01-11 14:08:20 +11:00
Shannon
9e2c0bd85b Merge branch 'netcore/task/9727-published-request' of https://github.com/umbraco/Umbraco-CMS into netcore/task/9727-published-request 2021-01-11 13:55:58 +11:00
Shannon
c2c42ada3b Fixes review notes 2021-01-11 13:55:44 +11:00
Shannon Deminick
8b80b61e0b Update src/Umbraco.Tests/Routing/ContentFinderByUrlAndTemplateTests.cs
Co-authored-by: Bjarke Berg <mail@bergmania.dk>
2021-01-11 13:55:27 +11:00