Commit Graph

36939 Commits

Author SHA1 Message Date
Elitsa Marinovska
5feb273c3a Some more refactoring 2021-01-12 16:01:09 +01:00
Elitsa Marinovska
b0f4f9f440 Refactoring the use of ValidationErrorResult with the build-in types for status response results 2021-01-12 14:00:14 +01:00
Bjarke Berg
88615cfa52 Fix tests by change return type to ActionResult<T> 2021-01-06 08:49:02 +01: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
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
Bjarke Berg
7dbb2dbf9a Merge remote-tracking branch 'origin/v8/dev' into netcore/netcore
# Conflicts:
#	src/Umbraco.Web.UI.Client/package-lock.json
#	src/Umbraco.Web.UI.NetCore/umbraco/config/lang/en.xml
#	src/Umbraco.Web.UI.NetCore/umbraco/config/lang/en_us.xml
2021-01-04 12:10:56 +01:00
Shannon
a126977a4e Simplifies how view locations are determined
AB#9720
2021-01-04 15:43:30 +11:00
Shannon
a6f281789b Add explicit package sources 2021-01-04 13:29:13 +11:00
Shannon
34427b0104 Moves AddDistributed cache back to being called implicitly, ensures notification handlers are not added twice 2021-01-04 13:22:29 +11:00
Shannon
d46545faa0 For now, we explicitly require AddDistributedCache in Startup so it's not called twice. 2021-01-04 13:01:49 +11:00
Shannon
cbc08fb008 notes/cleanup 2021-01-04 12:56:44 +11:00
Shannon
d1d664c449 removes unneeded cast 2021-01-04 12:51:13 +11:00
Shannon
cf9dd9bfec Adds notes, another hacky fix for hacky test/code 2021-01-04 12:48:59 +11:00
Shannon
999c20a755 Fixes UmbracoIntegrationTest Mapping flag and missing using in Startup 2021-01-04 12:22:03 +11:00
Shannon
2848f4083b notes - why isn't this building? 2021-01-04 12:01:52 +11:00
Shannon
4ce5dc8eff fixing tests 2021-01-04 11:32:36 +11:00
Elitsa Marinovska
d341266cca Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/remove-httpresponseexception 2020-12-29 14:40:03 +01:00
Elitsa Marinovska
c482b6df3d Another step towards getting rid of HttpResponseException 2020-12-29 12:55:48 +01:00
Shannon
1a0d961e42 removes WebsiteComposer, BackOfficeComposer 2020-12-24 18:11:16 +11:00
Shannon
cc84c866bc moves file 2020-12-24 16:44:50 +11:00
Shannon
91486bbede Removes IServerRegistrar, new IServerRoleAccessor, removes more composers, moves more to ext, 2020-12-24 16:35:59 +11:00
Shannon
307ef4c1e0 Removes IBatchedDatabaseServerMessenger, renames methods of IServerMessenger 2020-12-24 14:44:42 +11:00
Shannon
e785ac28a3 Moves more services and registrations "up", removes AspNetCoreComposer logic and moves to AddWebComponents 2020-12-24 14:29:26 +11:00
Shannon
1328ca3cee Merge remote-tracking branch 'origin/netcore/netcore' into netcore/task/dist-cache-cleanup 2020-12-24 11:46:51 +11:00
Shannon
1f6297ad6b Moves some services 'up' to Core, moves core DI registrations 'up' to UmbracoBuilder, moves Composing ext to DependencyInjection namespaces as UmbracoBuilder ext 2020-12-24 11:46:17 +11:00
Shannon Deminick
2dc72ea323 Merge pull request #9589 from umbraco/netcore/task/9779-publishedsnapshot-slight-cleanup
Some IPublishedSnapshotService (etc) cleanup based on TODOs
2020-12-24 10:52:54 +11:00
Shannon
f55ace434b Merge branch 'netcore/task/9779-publishedsnapshot-slight-cleanup' into netcore/task/dist-cache-cleanup 2020-12-24 09:57:47 +11:00
Shannon
2798f31c67 fixes test 2020-12-24 09:56:31 +11:00
Shannon
b20ce5a92e A bunch of cleanup for DI namespaces, ext methods and dist cache classes 2020-12-24 09:50:05 +11:00
Shannon
a70951b382 Fixes (hopefully last) tests 2020-12-23 14:28:03 +11:00
Shannon
544753112e fixing more tests by enabling nucache explicitly where required 2020-12-23 14:02:05 +11:00
Shannon
534b74dda5 Changes CustomTestSetup to just be a normal method, not sure why it was an action, fixes ContentEventsTests which requires NuCache 2020-12-23 13:57:41 +11:00
Shannon
d5a19530f3 Fixing tests, more DependencyInjection namespace 2020-12-23 13:06:22 +11:00
Shannon
e8379d6c77 oops, trying to fix build 2020-12-23 12:27:47 +11:00
Shannon
696dd0b8dc removes partial keyword 2020-12-23 12:11:38 +11:00
Shannon
e62edc7bef missing file 2020-12-23 12:02:23 +11:00
Shannon
7115e0a11e shuffles code with DependencyInjection namespace, forgot to commit changes to Startup 2020-12-23 12:02:01 +11:00
Shannon
ac7fac8f56 Merge remote-tracking branch 'origin/netcore/netcore' into netcore/task/9779-publishedsnapshot-slight-cleanup 2020-12-23 11:12:55 +11:00
Shannon Deminick
f47154bbc7 Merge pull request #9586 from rustybox/netcore/feature/remove-notifcation-handler-lifetime-hack
Netcore: Remove NotificationHandler lifetime hack
2020-12-23 11:12:20 +11:00
Shannon
ce5cdad376 separates classes to files 2020-12-23 11:02:50 +11:00
Shannon
674b61a7f9 small cleanup of DisposableObjectSlim 2020-12-23 11:00:37 +11:00
Shannon
0c645a99bd Makes PublishedSnapshotStatus status code more human readable, fixes ModelBinding ns 2020-12-23 10:45:52 +11:00
Shannon Deminick
aa3c69d759 Merge pull request #9591 from AndyButland/feature/clean-up-umbraco-tests-unittests
NetCore: Code clean-up (Umbraco.Tests.UnitTests)
2020-12-23 10:08:38 +11:00
Elitsa Marinovska
358a8ec2af Initial stage of getting rid of HttpResponseException and replacing it with the usage of ValidationErrorResult 2020-12-22 16:36:07 +01:00
Andy Butland
6bf38e624c Merge branch 'netcore/netcore' into feature/clean-up-umbraco-tests-unittests
# Conflicts:
#	src/Umbraco.Tests.UnitTests/Umbraco.Core/Components/ComponentTests.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Core/PropertyEditors/BlockListPropertyValueConverterTests.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Web.Common/ModelBinders/ContentModelBinderTests.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Web.Common/ModelBinders/RenderModelBinderTests.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Web.Common/Views/UmbracoViewPageTests.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Web.Website/Controllers/RenderIndexActionSelectorAttributeTests.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Web.Website/Controllers/SurfaceControllerTests.cs
2020-12-22 11:50:48 +01:00
Paul Johnson
50c15a42ed Misc, async TearDown 2020-12-22 10:43:07 +00:00
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