Commit Graph

256 Commits

Author SHA1 Message Date
Paul Johnson
7abf9466c0 Merge branch 'netcore/netcore' into netcore/feature/msdi-remove-composition 2020-11-23 12:29:00 +00:00
Andy Butland
09cfe5f055 Fixed typo in class name. 2020-11-22 09:51:57 +01:00
Shannon
7757447244 Migrates UmbracoBackOfficeAuthorizeAttribute to authz policies and adds notes/questions 2020-11-20 15:32:36 +11:00
Paul Johnson
48b61ec4c4 Simplify UmbracoBuilder setup 2020-11-19 09:12:39 +00:00
Paul Johnson
aec25d5007 Replace Composition with UmbracoBuilder 2020-11-18 17:41:57 +00:00
Andy Butland
c971a2d23d Introduced website security accessor to ensure members aren't shared between sessions. 2020-11-18 17:37:31 +01:00
Andy Butland
d8ef341854 Refactored to async where appropriate.
Added call to new abstraction in member authorize attribute.
2020-11-18 16:52:40 +01:00
Andy Butland
0fbe01cd22 Created new abstraction IUmbracoWebsiteSecurity and migrated controller's using it (replacing MembershipHelper) to Umbraco.Web.Website. 2020-11-18 16:12:42 +01:00
Bjarke Berg
13964d398b Merge remote-tracking branch 'origin/netcore/netcore' into feature/netcore/msdi-refactor-use-DefaultControllerActivator
# Conflicts:
#	src/Umbraco.Web.Website/Extensions/UmbracoWebstiteServiceCollectionExtensions.cs
#	src/Umbraco.Web.Website/Runtime/WebsiteComposer.cs
2020-11-16 10:35:51 +01:00
Bjarke Berg
bb1b04be15 Netcore: Cleanup and migrate few classes from Umbraco.Web (#9375)
* Migrated a few classes, and cleaned up by removing some old classs too in the Umbraco.Web Project

Signed-off-by: Bjarke Berg <mail@bergmania.dk>

* Migrated a few classes, and cleaned up by removing some old classs too in the Umbraco.Web Project

Signed-off-by: Bjarke Berg <mail@bergmania.dk>

* Moved SurfaceControllerTypeCollection + Builder

Signed-off-by: Bjarke Berg <mail@bergmania.dk>

* Moved Extension methods

Signed-off-by: Bjarke Berg <mail@bergmania.dk>

* Removed Wrap methods.. People should use their own TagBuilder

Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-11-12 11:01:19 +01:00
Paul Johnson
7561bb5244 No need to register controllers into container, DefaultControllerActivator works fine. 2020-11-11 19:15:30 +00:00
Bjarke Berg
9b9b5d70be Merge branch 'netcore/netcore' into netcore/feature/migrate_custom_view_engines 2020-11-04 08:40:28 +01:00
Bjarke Berg
dae6e2b8ee Migrated RenderNoContentController + related (#9309)
* Migrated RenderNoContentController + related

Signed-off-by: Bjarke Berg <mail@bergmania.dk>

* Fix after MSDI

Signed-off-by: Bjarke Berg <mail@bergmania.dk>

* Update src/Umbraco.Web.UI/Umbraco.Web.UI.csproj

Co-authored-by: Elitsa Marinovska <21998037+elit0451@users.noreply.github.com>

* Removing connection string

* Fixed tests after moving endpoint registration

Signed-off-by: Bjarke Berg <mail@bergmania.dk>

Co-authored-by: Elitsa Marinovska <elm@umbraco.dk>
Co-authored-by: Elitsa Marinovska <21998037+elit0451@users.noreply.github.com>
2020-11-03 18:55:55 +01:00
Bjarke Berg
1a4a72ee21 Cleanup
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-11-03 14:35:27 +01:00
Bjarke Berg
aefb596b4b More viewengine migration. Including wrapping in profiler etcs
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-11-03 14:25:45 +01:00
Bjarke Berg
9776816282 Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/migrate_custom_view_engines
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-11-03 10:51:00 +01:00
Bjarke Berg
1c2f048402 Migrated ProfilingViewEngine.cs
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-11-03 08:14:38 +01:00
Bjarke Berg
6905e5e734 Cleanup of different stuff that can be deleted from Umbraco.Web
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-10-22 12:25:52 +02:00
Bjarke Berg
f17c4631d2 Changed Exception to InvalidOperationException
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-10-19 06:38:57 +02:00
Bjarke Berg
b27732adc8 Migrated RenderMvcController and RenderIndexActionSelectorAttribute
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-10-15 11:42:16 +02:00
Mole
581775e08c Remove public ILogger from PluginController
Having a public ILogger doesn't align with MS ILogger, and the logger is never used
2020-09-21 11:46:29 +02:00
Bjarke Berg
6371fdbf4d post merge 2020-08-17 11:43:04 +02:00
Shannon Deminick
9cafeaf39e Merge pull request #8590 from umbraco/netcore/bugfix/get_rid_of_system_web
Netcore: Get rid of System.Web in netcore and netstandard projects
2020-08-06 14:42:54 +10:00
Bjarke Berg
53d8cfcfe4 Updated rc version of ImageSharp.Web 2020-08-05 08:48:18 +02:00
Bjarke Berg
3ea7945f24 Get rid of system web in netcore and netstandard libraries 2020-08-05 08:44:22 +02:00
Elitsa Marinovska
0c4959fc99 Merge branch 'netcore/feature/AB4822-nuget-packages-basis' into netcore/feature/AB4827-sqlce-nuget 2020-07-08 09:14:28 +02:00
Elitsa Marinovska
6282ac4a5b Merged changes from base branch 2020-07-08 09:07:54 +02:00
Bjarke Berg
6bb33c865f Small fixes to build.ps1 and added xml doc generation to projects
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-07-07 20:40:44 +02:00
Bjarke Berg
87a26f7b6f AB6455 - Cleanup and added TODO to ensure we get this tested 2020-05-15 12:24:37 +02:00
Bjarke Berg
317edabf02 AB6455 - Fix issue with ITempDataDictionary 2020-05-12 21:04:55 +02:00
Bjarke Berg
cd48adc7af AB6455 - Stub'ed WebSecurity, cleanup and fix issue with content root vs web root 2020-05-12 20:28:40 +02:00
Bjarke Berg
f586883da1 AB6455 Fix issue with ITempDataDictionary 2020-05-12 19:58:51 +02:00
Bjarke Berg
d3b15c4a41 AB6455 Fix missing umbracoContextAccessor in ctors 2020-05-12 19:12:57 +02:00
Elitsa Marinovska
6ddb103782 Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/AB6455-migrate-surfacecontroller 2020-05-12 13:43:22 +02:00
Shannon
1607045347 fix namespace 2020-05-12 17:16:42 +10:00
Elitsa Marinovska
cbf7f5ccc3 Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/AB6455-migrate-surfacecontroller 2020-05-12 08:29:39 +02:00
Elitsa Marinovska
95dd55506a Merge remote-tracking branch 'origin/netcore/feature/AB6352-migrate-action-results' into netcore/feature/AB6455-migrate-surfacecontroller 2020-05-12 08:17:02 +02:00
Elitsa Marinovska
3672e61104 Resolving service dependency 2020-05-12 08:10:32 +02:00
Shannon
bcaede22f1 Cleans up ext methods and where they are located and what they call to ensure dependencies are taken care of, cleans up Startup, moves routing appropriately 2020-05-12 15:18:55 +10:00
Shannon
39fed867c1 Cleans up some routing, mvc base classes, gets controller specific model binding working, applies our own application model to our controllers 2020-05-12 10:21:40 +10:00
Elitsa Marinovska
0eefbfd449 Migrating SurfaceController 2020-05-11 20:29:38 +02:00
Elitsa Marinovska
412067e11f Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/AB6455-migrate-surfacecontroller
# Conflicts:
#	src/Umbraco.Web.UI.NetCore/Startup.cs
2020-05-11 16:50:36 +02:00
Elitsa Marinovska
d33aa6cdf5 Updating the way we get UmbracoContext in RedirectToUmbracoPageResult.cs; removing the flushing in JsonNetResult.cs and adding necessary configuration for allowing sync operations needed in JsonNetResult.cs 2020-05-11 16:23:33 +02:00
Elitsa Marinovska
00f4899d94 Merge branch 'netcore/dev' into netcore/feature/AB6352-migrate-action-results 2020-05-11 16:07:59 +02:00
Shannon
7a185b6e87 reduce duplication 2020-05-08 17:36:59 +10:00
Shannon
12bb68100a Remove ununsed and unneeded DbProviderFactory CreateFactory(); from IDbProviderFactoryCreator, ensure the app doesn't explode if exceptions are thrown and boot fails 2020-05-08 17:30:30 +10:00
Bjarke Berg
eb4f9b5fbb Updated Imagesharp to rc1 2020-05-01 15:55:39 +02:00
Elitsa Marinovska
652da168db Migrating ActionResults and a dependency class 2020-04-28 16:00:29 +02:00
Shannon
77ce21b0e3 Adds notes/test about pre building the netcore container 2020-03-25 17:35:43 +11:00
Bjarke Berg
3e75c889ab Imaging settings 2020-03-17 17:56:00 +01:00