Commit Graph

32886 Commits

Author SHA1 Message Date
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
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
Sebastiaan Janssen
0ee80bf88c Bump version to 8.11.0-rc 2021-01-08 15:47:54 +01:00
Sebastiaan Janssen
ca5c56dccd Merge branch 'v8/8.10' into v8/dev
# Conflicts:
#	src/Umbraco.Web.UI/config/umbracoSettings.config
2021-01-08 15:43:45 +01:00
Sebastiaan Janssen
e246dea29e Merge branch 'v8/8.9' into v8/8.10 2021-01-08 15:42:04 +01:00
Sebastiaan Janssen
93d281289a Merge branch 'v8/8.8' into v8/8.9 2021-01-08 15:41:26 +01:00
Sebastiaan Janssen
e3dc1b42dd As per https://github.com/umbraco/Umbraco-CMS/pull/9613 - allowing the style tag in v4 of HtmlSanitizer is insecure, we can't upgrade to v5 yet so this is the temporary fix for the problem
(cherry picked from commit a9fdaaceb0)
2021-01-08 15:40:32 +01:00
Sebastiaan Janssen
a9fdaaceb0 As per https://github.com/umbraco/Umbraco-CMS/pull/9613 - allowing the style tag in v4 of HtmlSanitizer is insecure, we can't upgrade to v5 yet so this is the temporary fix for the problem 2021-01-08 15:35:46 +01:00
Martin Humlund Clausen
d9c6584d90 Updated NPoco from 3.9.4 -> 4.0.2 (#9061) 2021-01-08 15:32:09 +01:00
Sebastiaan Janssen
967485f4e1 Merge branch 'v8/contrib' into v8/dev
# Conflicts:
#	src/Umbraco.Core/Runtime/SqlMainDomLock.cs
2021-01-08 15:18:03 +01: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 Deminick
74e7ddb45f Merge pull request #9482 from umbraco/v8/feature/unattended-install
Add support for unattended installs
2021-01-07 19:19:52 +11:00
Shannon
fce13e23e9 Fixes test, adds null checks 2021-01-07 17:51:03 +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
Bjarke Berg
88615cfa52 Fix tests by change return type to ActionResult<T> 2021-01-06 08:49:02 +01: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
Shannon
9e3d1836f0 fix build 2021-01-06 14:29:41 +11:00
Bjarke Berg
a023d5c55f Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/remove-httpresponseexception
# Conflicts:
#	src/Umbraco.Web.BackOffice/Controllers/EntityController.cs
#	src/Umbraco.Web.Common/Install/InstallApiController.cs
2021-01-05 14:20:32 +01: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
Shannon
083b5d2611 Fixes issue with SqlMainDomLock during install, obsolete InstallEmptyDatabase, ensures installation can occur with/without the umbraco version 2021-01-05 16:27:42 +11: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