Commit Graph

36874 Commits

Author SHA1 Message Date
Shannon
0c645a99bd Makes PublishedSnapshotStatus status code more human readable, fixes ModelBinding ns 2020-12-23 10:45:52 +11:00
Shannon
c88ba7afa5 notes, removes todo 2020-12-22 13:49:26 +11:00
Shannon
c074a4d7d4 IsFrontEndUmbracoRequest as ext method instead, makes IUmbracoContext IDisposable since it has a Dispose method 2020-12-22 13:32:12 +11:00
Shannon
57020b4778 adds notes, removes IPublishedCacheComposer 2020-12-22 12:33:00 +11:00
Shannon
f5e9441e9f renames umb builder ext class to be more explicit, no more AddAllBackOfficeComponents, just AddBackOffice, removes NuCacheComposer 2020-12-22 12:16:37 +11:00
Shannon
322f0deff3 Merge remote-tracking branch 'origin/netcore/netcore' into netcore/task/9779-publishedsnapshot-slight-cleanup 2020-12-22 11:25:05 +11:00
Shannon
74d253a88f Removes IPublishedSnapshotService.EnsureEnvironment 2020-12-22 11:22:29 +11:00
Shannon
b1045e081b Makes ModelBindingExceptionAttribute 2020-12-22 10:52:25 +11:00
Shannon
3e948475a6 Remove unneeded NPocoRepositoryBase 2020-12-22 10:30:16 +11:00
Shannon Deminick
bb8434eed6 Merge pull request #9530 from umbraco/netcore/task/front-end-routing
Starts getting front-end routing/rendering working
2020-12-22 10:27:13 +11:00
Shannon Deminick
2cc66cf20b Merge pull request #9585 from rustybox/netcore/task/front-end-routing
Netcore: Dispose host on test teardown.
2020-12-22 09:41:51 +11:00
Paul Johnson
198586a82b Dispose host on test teardown. 2020-12-21 09:02:05 +00:00
Shannon
c761fa0506 New IPublishedSnapshotStatus, reduces IPublishedSnapshotService 2020-12-21 17:41:12 +11:00
Shannon
e8f5aa8ebc removes PublishedSnapshotServiceBase, shrinks interface 2020-12-21 17:04:29 +11:00
Shannon
03f22e9362 Fixing tests after merge 2020-12-21 16:44:50 +11:00
Shannon
86adf01f88 Merge remote-tracking branch 'origin/netcore/netcore' into netcore/task/front-end-routing
# Conflicts:
#	src/Umbraco.PublishedCache.NuCache/PublishedSnapshotService.cs
#	src/Umbraco.Tests.Integration/TestServerTest/UmbracoTestServerTestBase.cs
#	src/Umbraco.Web.Common/Extensions/ApplicationBuilderExtensions.cs
2020-12-21 16:04:42 +11:00
Shannon
75796e3eae Fixing tests, removing old files, adds notes 2020-12-21 15:58:47 +11:00
Bjarke Berg
7600ae9e05 Merge pull request #9556 from rustybox/netcore/feature/core-component-cleanup-low-hanging-fruit
Netcore: composer / component cleanup low hanging fruit
2020-12-18 15:40:50 +01:00
Paul Johnson
e4e26159ae Prevent multiple first time schema create 2020-12-18 14:10:11 +00:00
Paul Johnson
6114fffb4a Remove HostBuilder UseUmbraco extension, it's not required. 2020-12-18 09:53:01 +00:00
Paul Johnson
fa061d36ba What's up with ThreadSafetyServiceTest?
Really interesting that it has this at top

if (Environment.GetEnvironmentVariable("UMBRACO_TMP") != null)
                Assert.Ignore("Do not run on VSTS.");

But this test passes on other peoples builds :(
2020-12-17 17:06:51 +00:00
Paul Johnson
3395f4cc35 Fixes for ContentTypeServiceVariantsTests PublishedSnapshotService hack
These pass if running the full suite, but fail when ran alone otherwise
2020-12-17 15:13:50 +00:00
Bjarke Berg
2c54b5c28c Merge pull request #9571 from umbraco/netcore/feature/update-umbraco-version-in-template-from-azure-pipeline
Netcore: Update umbraco version in template from azure pipeline
2020-12-17 15:12:03 +01:00
Bjarke Berg
cd169fbcce Update version number in umbraco template from azure pipeline in continuous builds 2020-12-17 14:26:17 +01:00
Paul Johnson
a883df9d88 Use HostBuilder.UseUmbraco in same order for tests and running web app 2020-12-17 12:44:09 +00:00
Bjarke Berg
e4857abc57 Added missing package to nuspec 2020-12-17 12:58:15 +01:00
Paul Johnson
79aa2e1cc2 LocalDb TestDatabase cleanup
LocalDbTestDatabase now renames the final database like it used to (guid vs sensible name)
Made serilog log to integration tests TEMP as far as I can tell it wasn't writing at all before
2020-12-17 11:19:47 +00:00
Paul Johnson
6dd5e04a2b Fix broken integration test, must set ServiceProvider before using 2020-12-17 11:19:47 +00:00
Paul Johnson
431403e372 Fixup CoreRuntime so it starts after Startup.Configure
Makes integration tests play nice with Components as RuntimeLevel will be correct
2020-12-17 11:19:47 +00:00
Paul Johnson
91e2f58822 Drop ManifestWatcherComposer, Convert CoreInitialComposer to extension on UmbracoBuilder 2020-12-17 11:19:47 +00:00
Paul Johnson
ef310920cb Remove ManifestWatcherComponent 2020-12-17 11:17:46 +00:00
Paul Johnson
a69739a7a2 Remove CoreInitialComponent 2020-12-17 11:17:46 +00:00
Shannon
cc1404747b Changes PublishedSnapshotService to lazily load it's caches on demand when they are required instead of relying on an external initializer to load them. 2020-12-17 16:27:28 +11:00
Bjarke Berg
0151c435f1 Netcore: Package support for media + media types (#9547)
* Add support for media when installing a package

* clean up

* Fix tests

* Add support for media when installing a package

* clean up

* Fix tests

* moved tests + test data

* Migrated package tests + resources

* Fix issue with media picker on package page, was empty after save.

* Added missing files

* Fix casing issue of resources

* Added test for media

* Fix tests for linux

* Fix test

* Fix issue with move media..

* Fix issue with adding files to packages

* Add MediaType permissions.

* Fix test

* Fix test

* Retry flaky tests, and added TODOs to fix those

* new attempt to fix test

Co-authored-by: Mole <nikolajlauridsen@protonmail.ch>
2020-12-16 22:26:47 +01:00
Bjarke Berg
5119e8da9c Merge pull request #9515 from umbraco/netcore/feature/remove-overrideauthorization-attribute
NetCore: Get rid of OverrideAuthorizationAttribute
2020-12-16 14:49:13 +01:00
Shannon
868c9d02df Fixes routing when installer needs to run 2020-12-16 16:39:06 +11:00
Shannon
47e98bfdc6 Fixes up issue with UsePlugins and where it's executed 2020-12-16 16:31:23 +11:00
Shannon
ce508d08ec Merge remote-tracking branch 'origin/netcore/netcore' into netcore/task/front-end-routing
# Conflicts:
#	src/Umbraco.Tests/PublishedContent/NuCacheChildrenTests.cs
#	src/Umbraco.Tests/Testing/UmbracoTestBase.cs
#	src/Umbraco.Web.BackOffice/Extensions/BackOfficeApplicationBuilderExtensions.cs
2020-12-16 16:18:10 +11:00
Bjarke Berg
1e09d0b063 Merge remote-tracking branch 'origin/v8/dev' into netcore/netcore
# Conflicts:
#	src/SolutionInfo.cs
#	src/Umbraco.Core/Runtime/MainDom.cs
#	src/Umbraco.Infrastructure/Runtime/SqlMainDomLock.cs
#	src/Umbraco.Web.UI.NetCore/umbraco/UmbracoBackOffice/Preview.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
2020-12-14 22:16:21 +01:00
Bjarke Berg
07231bbfe0 Merge remote-tracking branch 'origin/netcore/netcore' into netcore/netcore 2020-12-14 19:22:03 +01:00
Bjarke Berg
3a11c21ebc revert connection string 2020-12-14 19:21:35 +01:00
Sebastiaan Janssen
5ff101d31c Merge branch 'v8/8.9' into v8/8.10
# Conflicts:
#	src/Umbraco.Core/Runtime/SqlMainDomLock.cs
2020-12-14 15:12:28 +01:00
Sebastiaan Janssen
58c6e655b3 Merge branch 'v8/8.8' into v8/8.9 2020-12-14 15:07:38 +01:00
Sebastiaan Janssen
d5d7d31c08 Merge branch 'v8/8.7' into v8/8.8 2020-12-14 15:06:51 +01:00
Sebastiaan Janssen
a141467bae Merge branch 'v8/8.6' into v8/8.7 2020-12-14 15:04:38 +01:00
Bjarke Berg
9c4dce564e Merge pull request #9543 from umbraco/v8/bugfix/sqlmaindom-server-terminated
SqlMainDomLock will stop listening if Sql Server connection terminates
2020-12-14 14:45:55 +01:00
Warren Buckley
b2dac7947f Bump version to 8.10.0
.\build SetUmbracoVersion 8.10.0
2020-12-14 13:29:53 +00:00
Bjarke Berg
3e89013e20 Merge pull request #9464 from rustybox/netcore/feature/integration-tests-linux
Netcore: Enable running integrations tests on Linux
2020-12-14 13:46:48 +01:00
Warren Buckley
3c610e7992 Merge pull request #9545 from umbraco/v7/bugfix/9484
Change dialog
2020-12-14 11:43:54 +00:00
Niels Lyngsø
734d33fe1c change dialog 2020-12-14 11:14:12 +01:00