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
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
Paul Johnson
a883df9d88
Use HostBuilder.UseUmbraco in same order for tests and running web app
2020-12-17 12:44:09 +00: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
Warren Buckley
b2dac7947f
Bump version to 8.10.0
...
.\build SetUmbracoVersion 8.10.0
2020-12-14 13:29:53 +00: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
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
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
897fe804b0
Multiple test databases, similar setup to LocalDbTestDatabase.DatabasePool
2020-12-11 14:12:34 +00:00
Paul Johnson
51f20119a2
Enable running integrations tests on Linux
2020-12-11 14:12:34 +00:00
Shannon
776df77dfe
Notes and cleanup
2020-12-11 15:29:27 +11:00
Shannon
b5e3bc9e0d
Fix the UmbracoViewPage and view model binding, combine the tests cases, remove IPublishedContentType2, front end is rendering
2020-12-11 14:55:19 +11:00
Bjarke Berg
3f9b284540
Fix issue with missing properties
2020-12-10 08:56:41 +01:00
Bjarke Berg
7776e203a6
Fix issue with auth on media upload
2020-12-10 08:55:47 +01:00
Shannon
63ab8ec52c
Lots of notes, removes data tokens,
2020-12-10 18:09:32 +11:00
Shannon
4b85f8eb20
Big refactor or PublishedSnapshotService to split up so that there's a service and repository responsible for the data querying and persistence
2020-12-09 22:43:49 +11:00
Mole
d408e15c71
Merge pull request #9512 from umbraco/netcore/feature/plugin_static_files
...
Netcore: Read static files from app_plugins folder
2020-12-09 10:30:15 +01:00
Bjarke Berg
0f36db188e
Ensure folder app_plugins exists
2020-12-09 09:03:49 +01:00
Nikolaj
7ef6501bb1
Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/more-files-from-infrastructure-to-core
...
# Conflicts:
# src/Umbraco.Tests.UnitTests/Umbraco.Core/PropertyEditors/ConvertersTests.cs
2020-12-09 08:45:28 +01:00