Commit Graph

36977 Commits

Author SHA1 Message Date
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
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
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
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
Shannon
5b5fe626bb cleanup, notes 2021-01-07 22:05:23 +11:00
Shannon
8373e98eff Fix tests 2021-01-07 20:37:36 +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
Shannon
f5bd53b223 removes the weird IsInitialPublishedContent 2021-01-06 17:31:46 +11:00
Shannon
295ab504cd Splits PublishedRequest into a builder and a immutable object 2021-01-06 17:04:35 +11:00
Bjarke Berg
a9e01b8de7 Merge pull request #9609 from umbraco/netcore/task/9720-view-locations
Simplifies how view locations are determined
2021-01-05 12:12:47 +01:00
Bjarke Berg
eb6e5f9af2 Removed tests that is not useful anymore 2021-01-05 10:57:00 +01:00
Bjarke Berg
cdc3dbd7fe Merge pull request #9598 from umbraco/netcore/task/dist-cache-cleanup
More cleanup & reorganizing
2021-01-04 15:01:55 +01:00
Bjarke Berg
7dbb2dbf9a Merge remote-tracking branch 'origin/v8/dev' into netcore/netcore
# Conflicts:
#	src/Umbraco.Web.UI.Client/package-lock.json
#	src/Umbraco.Web.UI.NetCore/umbraco/config/lang/en.xml
#	src/Umbraco.Web.UI.NetCore/umbraco/config/lang/en_us.xml
2021-01-04 12:10:56 +01:00
Shannon
a126977a4e Simplifies how view locations are determined
AB#9720
2021-01-04 15:43:30 +11:00