Commit Graph

543 Commits

Author SHA1 Message Date
Shannon
b20ce5a92e A bunch of cleanup for DI namespaces, ext methods and dist cache classes 2020-12-24 09:50:05 +11:00
Shannon
d5a19530f3 Fixing tests, more DependencyInjection namespace 2020-12-23 13:06:22 +11:00
Shannon
696dd0b8dc removes partial keyword 2020-12-23 12:11:38 +11:00
Shannon
7115e0a11e shuffles code with DependencyInjection namespace, forgot to commit changes to Startup 2020-12-23 12:02:01 +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
c761fa0506 New IPublishedSnapshotStatus, reduces IPublishedSnapshotService 2020-12-21 17:41:12 +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
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
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
Shannon
827bf80d1d Removes EnterPreview, RefreshPreview, ExitPreview 2020-12-14 17:04:02 +11:00
Bjarke Berg
7776e203a6 Fix issue with auth on media upload 2020-12-10 08:55:47 +01: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
Elitsa Marinovska
940084e342 Removing OverrideAuthorization attribute and related 2020-12-08 15:37:53 +01:00
Elitsa Marinovska
54d1e9d5e0 Removing AllowsCultureVariation from ContentController, so we can get rid of OverrideAuthorization attribute 2020-12-08 15:36:37 +01:00
Bjarke Berg
1727a5d6f1 Added specific PhysicalFileProvider for the app_plugins folder, that also checks whether extensions are allowed. 2020-12-08 12:33:07 +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
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
Shannon
1a35cf5164 Merge branch 'netcore/task/cleanup-force-renew-auth' into netcore/netcore 2020-12-07 19:40:09 +11:00
Shannon
6f7a0f358a c# 9 2020-12-07 19:14:42 +11: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
36342438da Deleting old code 2020-12-07 18:47:25 +11:00
Shannon
92cc23c5b3 Merge branch 'netcore/task/usermanager-object-cleanup' into netcore/task/cleanup-force-renew-auth 2020-12-07 18:17:07 +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
Shannon
835d1d0ad3 linting cleanup 2020-12-07 17:56:40 +11: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
61cbb84dd3 Adhered to linting rules for authorization policy handlers, requirements and tests. 2020-12-06 09:13:29 +01:00
Bjarke Berg
fb18317c0f Moved lots of property editors into core 2020-12-04 19:01:52 +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
9441f5c5ea fix remaining test 2020-12-04 15:05:47 +11:00
Shannon
10fc351470 merge cleanup 2020-12-04 13:09:08 +11: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
Bjarke Berg
53d424244e Merge pull request #9486 from Matthew-Wise/feature/8264-typefilters-OutgoingEditorModelEventAttribute
Converted  OutgoingEditorModelEventAttribute to a type filter
2020-12-03 19:08:46 +01:00
Matthew Wise
946a4abc75 changed IResultFilter to IActionFilter 2020-12-03 16:49:09 +00:00
Shannon
86d231f5de removes remaining back office things from underlying UmbracoUserManager moves files 2020-12-04 02:21:21 +11:00
Shannon
35af86c3d3 Splits user manager into a base class that can be reused changes base class of IdentityUser to UmbracoIdentityUser 2020-12-04 01:38:36 +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
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