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
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
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
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
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
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
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
8f28569444
more notes
2021-01-08 18:03:10 +11:00
Shannon
5176986ecb
reduces more strings
2021-01-08 17:59:18 +11:00
Shannon
2feebe7a2c
Ensures the routable doc filter is used, adds notes about a small mem leak.
2021-01-08 17:54:21 +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
e1e3200313
Merge branch 'netcore/task/9727-published-request' into netcore/task/9733-routabledocumentfilter
2021-01-08 15:31:20 +11:00
Shannon
b801199e7c
missing commit
2021-01-08 15:30:35 +11:00
Shannon
f8033c5281
Moves RoutableDocumentFilter along with tests
2021-01-08 15:27:07 +11:00
Shannon
ee1663c978
missing commit
2021-01-08 15:21:08 +11:00
Shannon
74f51fe7ed
removes ported code
2021-01-08 11:35:27 +11:00
Shannon
c15b416e88
Ensures the culture is set for requests for both front-end and back office
2021-01-08 11:29:07 +11:00
Shannon
b4922d2685
re-enables the weird IgnorePublishedContentCollisions, simplifies IPublishedRouter interface (more flexible with request options),
2021-01-08 10:42:57 +11:00
Shannon
b017ed0b1b
Gets the UpdateRequestToNotFound thing working
2021-01-08 02:36:55 +11:00
Shannon
bc6768101e
Splits up UmbracoRouteValueTransformer and trying to figure out this hijacked route conundrum with no template :(
2021-01-08 02:10:13 +11:00
Shannon
53bc92608a
rename property
2021-01-08 00:33:47 +11:00
Shannon
504837054e
puts back in events but uses event aggregator, changes IPublishedRouter to async
2021-01-08 00:25:09 +11:00
Shannon
dec0ab87da
Gets IsInternalRedirect working and documented, adds unit tests for the builder
2021-01-07 23:14:26 +11:00