Commit Graph

374 Commits

Author SHA1 Message Date
Shannon
53bc92608a rename property 2021-01-08 00:33:47 +11:00
Shannon
dec0ab87da Gets IsInternalRedirect working and documented, adds unit tests for the builder 2021-01-07 23:14:26 +11:00
Shannon
333479666c removes ResponseStatusDescription and others that aren't used, ports the not found handler, ports redirects, headers, etc... 2021-01-06 20:03:49 +11:00
Bjarke Berg
eb6e5f9af2 Removed tests that is not useful anymore 2021-01-05 10:57:00 +01: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
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
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
b20ce5a92e A bunch of cleanup for DI namespaces, ext methods and dist cache classes 2020-12-24 09:50:05 +11: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
Andy Butland
3be9610c72 Cleaned-up code in Umbraco.Web.UnitTests to match linting rules. 2020-12-22 09:50:48 +01: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
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
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
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
Shannon
63ab8ec52c Lots of notes, removes data tokens, 2020-12-10 18:09:32 +11: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
Bjarke Berg
40a6fa2b89 NetCore: Migrate more tests (#9494)
* Migrate tests

* Cleanup

* Migrate tests

* post merge fix

Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-12-08 09:19:51 +01:00
Shannon
e3be4009c0 Getting front end routing poc going 2020-12-08 16:33:50 +11:00
Shannon
ea55d2662e no app_data paths, changing to constants, some linting updates 2020-12-08 10:42:26 +11:00
Shannon
7e4a6421d6 Merge remote-tracking branch 'origin/netcore/netcore' into netcore/netcore 2020-12-08 10:21:07 +11:00
Shannon
f16b8e705a reduce dependencies in PublishedSnapshotService, more linting 2020-12-08 10:20:03 +11:00
Bjarke Berg
e7d9d38c52 Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/more-files-from-infrastructure-to-core
# Conflicts:
#	src/Umbraco.Infrastructure/Install/InstallSteps/NewInstallStep.cs
#	src/Umbraco.Tests.Common/Builders/DataEditorBuilder.cs
#	src/Umbraco.Tests.Common/Builders/DataValueEditorBuilder.cs
2020-12-07 12:55:47 +01:00
Bjarke Berg
58219dafc3 Merge pull request #9507 from AndyButland/feature/clean-up-3
NetCore: further code clean-up (small)
2020-12-07 12:40:25 +01:00
Andy Butland
da8bfd4615 Adhered two further tests to code linting rules (omitted from previous commit/PR) 2020-12-07 10:04:52 +01:00
Shannon Deminick
262cd19f8d Merge pull request #9506 from umbraco/netcore/task/cleanup-force-renew-auth
Netcore/task/cleanup force renew auth
2020-12-07 18:59:18 +11:00
Shannon
375e056cef Removing old code 2020-12-07 18:16:42 +11:00
Bjarke Berg
dfb2b5515d Merge pull request #9505 from AndyButland/feature/clean-up-2
NetCore: updated some more code to match linting rules.
2020-12-07 07:56:59 +01:00
Bjarke Berg
8261d9c320 Merge pull request #9503 from AndyButland/feature/clean-up
NetCore: updated some code to match linting rules
2020-12-07 07:54:22 +01:00
Shannon Deminick
96da33cfd6 Merge pull request #9496 from umbraco/netcore/task/usermanager-object-cleanup
Netcore/task/usermanager object cleanup
2020-12-07 17:38:25 +11:00
Andy Butland
9f8138b2d0 Adhered to linting rules configuration models, validators and tests. 2020-12-06 10:51:31 +01:00
Andy Butland
61cbb84dd3 Adhered to linting rules for authorization policy handlers, requirements and tests. 2020-12-06 09:13:29 +01:00
Andy Butland
201940290c Adhered to linting rules in hosted services implementations and tests. 2020-12-05 10:06:59 +01:00
Bjarke Berg
fb18317c0f Moved lots of property editors into core 2020-12-04 19:01:52 +01:00
Bjarke Berg
21e3cf0887 Moved files and introduced IMarkdownToHtmlConverter to avoid packages to handle markdown in core
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-12-04 13:03:40 +01:00
Bjarke Berg
05dc597fc2 Merge pull request #9490 from AndyButland/feature/auth-policies-tests
NetCore: Adds unit tests for authorization policy handlers
2020-12-04 12:16:04 +01:00
Shannon
d206273753 Merge remote-tracking branch 'origin/netcore/netcore' into netcore/task/usermanager-object-cleanup
# Conflicts:
#	src/Umbraco.Infrastructure/Composing/CompositionExtensions/CoreMappingProfiles.cs
#	src/Umbraco.Web.BackOffice/Extensions/WebMappingProfiles.cs
2020-12-04 12:59:19 +11:00
Shannon
5172b0e58a Updates user manager, user store and identity user to use the aspnetcore base classes instead of copies of our own, uses string ids for user and roles to simplify everything and to allow for sharing between members 2020-12-04 12:44:27 +11:00
Shannon
86d231f5de removes remaining back office things from underlying UmbracoUserManager moves files 2020-12-04 02:21:21 +11:00
Shannon
0825db6861 Merge remote-tracking branch 'origin/netcore/netcore' into netcore/task/usermanager-object-cleanup
# Conflicts:
#	src/Umbraco.Tests.UnitTests/Umbraco.Web.BackOffice/Security/BackOfficeCookieManagerTests.cs
#	src/Umbraco.Web.BackOffice/Security/ConfigureBackOfficeCookieOptions.cs
2020-12-04 01:44:01 +11:00
James Jackson-South
826e5a9bad Update to match new rules. And fix dup usings 2020-12-03 13:32:04 +00:00
Shannon
de03dae46f Moving namespaces, cleaning up some stuff on the underlying base identity classes 2020-12-03 23:49:32 +11:00
James Jackson-South
606d8bcf51 Merge remote-tracking branch 'upstream/netcore/netcore' into netcore/feature/9397 2020-12-03 12:39:08 +00:00
Andy Butland
3acea01501 Restored functionality and fixed tests for BackOfficeHandler. 2020-12-03 12:22:31 +01:00
Bjarke Berg
2f537c6ec8 Fix mocking 2020-12-03 11:57:03 +01:00
Bjarke Berg
8e3a01cdfc Merge remote-tracking branch 'origin/netcore/netcore' into feature/auth-policies-tests 2020-12-03 11:30:35 +01:00
Bjarke Berg
d711bce5ef build fix 2020-12-03 11:29:17 +01:00
Andy Butland
324b983c57 Added tests for ContentPermissionsPublishBranchHandler. 2020-12-03 11:10:16 +01:00
Shannon
2f9e92eee7 Make BackOfficeClaimsPrincipalFactory not be generic, doesn't need to be, cleans up code as per rules 2020-12-03 20:30:35 +11:00
Andy Butland
76dafcc413 Added tests for MediaPermissionsQueryStringHandler.
Introduced base class to share code between content and media query string related permissions handlers.
2020-12-03 10:01:46 +01:00