Commit Graph

36941 Commits

Author SHA1 Message Date
Paul Johnson
f7de595e07 Merge branch 'netcore/netcore' into netcore/feature/remove-notifcation-handler-lifetime-hack 2020-12-22 10:40:14 +00:00
Paul Johnson
852aa9177e Add Dispose(bool) based on discussions on PR. 2020-12-22 10:33:57 +00:00
Andy Butland
3be9610c72 Cleaned-up code in Umbraco.Web.UnitTests to match linting rules. 2020-12-22 09:50:48 +01: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
822aa2897b Remove NotificationHandler lifetime hack 2020-12-21 15:36:31 +00: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
97cdfc302c Merge pull request #9485 from umbraco/v8/feature/update-cypress
Update cypress
2020-12-18 15:42:06 +01: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
Bjarke Berg
3f0f5c1449 Fixed tests and update testhelper 2020-12-18 12:23:44 +01: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
Sebastiaan Janssen
03c6227bfe Merge branch 'v8/8.9' into v8/8.10 2020-12-15 14:26:44 +01:00
Matt Darby
015882daa2 Remove type as it defaults to button
(cherry picked from commit bc2faefb18)
2020-12-15 14:25:50 +01:00
Matt Darby
7b32aeb127 Change defaultButton type to "button"
(cherry picked from commit 7ddb52a34f)
2020-12-15 14:25:41 +01:00
Sebastiaan Janssen
92fd623de0 Merge branch 'v8/8.8' into v8/8.9 2020-12-15 14:25:17 +01:00
Sebastiaan Janssen
02d6011888 Merge branch 'v8/8.7' into v8/8.8 2020-12-15 14:23:33 +01:00
Sebastiaan Janssen
6d4990ad48 Merge branch 'v8/8.6' into v8/8.7 2020-12-15 14:22:57 +01:00
Bjarke Berg
cd1120e062 Merge pull request #9408 from umbraco/v8/bugfix/task-scheduler-maindom-logging
Ensure that TaskScheduler.Default is used anywhere that ContinueWith is used, adds more debug logging to MainDom operations

(cherry picked from commit 9a1b456949)

# Conflicts:
#	src/Umbraco.Core/Runtime/SqlMainDomLock.cs
2020-12-15 14:14:30 +01:00