Commit Graph

36862 Commits

Author SHA1 Message Date
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
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
Warren Buckley
289017a307 Merge pull request #9544 from umbraco/v7/bugfix/9493
fixes 9493
2020-12-14 09:23:12 +00:00
Niels Lyngsø
60dbfb66f7 changed wording 2020-12-14 10:21:23 +01:00
Shannon
4bb1535786 allows the back office to route 2020-12-14 17:43:00 +11:00
Shannon
827bf80d1d Removes EnterPreview, RefreshPreview, ExitPreview 2020-12-14 17:04:02 +11:00
Shannon
fc16669a91 Moves cache initialization the the request middleware 2020-12-14 16:55:45 +11:00
Shannon
3927a8db67 Ensure we capture exceptions that occur when trying to create a transaction 2020-12-14 12:04:19 +11:00
Paul Johnson
cb84a98b9c Fix indent for MacOS
Don't split build and test on Windows.
2020-12-13 12:27:34 +00:00
Paul Johnson
4dbe5d0c38 Consolidate LocalDbTestDatabase and SqlDeveloperTestDatabase
Resolve issue with multiple empties
2020-12-12 11:33:57 +00:00
Paul Johnson
312ab96277 Resolve issues with AdvancedMigrationTests 2020-12-11 19:04:39 +00:00
Paul Johnson
ae98983172 Fix PathTests 2020-12-11 16:53:31 +00:00
Paul Johnson
1b9d1428e6 Update ci pipeline build definition 2020-12-11 15:38:35 +00:00
Paul Johnson
897fe804b0 Multiple test databases, similar setup to LocalDbTestDatabase.DatabasePool 2020-12-11 14:12:34 +00:00