moves legacy actions to _Legacy namespace for now

This commit is contained in:
Shannon
2016-03-17 15:28:46 +01:00
parent 7d20557937
commit bb6b9f4ebc
98 changed files with 144 additions and 183 deletions
@@ -3,9 +3,9 @@ using NUnit.Framework;
using Umbraco.Core;
using Umbraco.Core.ObjectResolution;
using umbraco.interfaces;
using Umbraco.Web.LegacyActions;
using Umbraco.Web.UI.Pages;
using Umbraco.Web;
using Umbraco.Web._Legacy.Actions;
namespace Umbraco.Tests.Resolvers
{
@@ -10,7 +10,7 @@ using Umbraco.Core.Profiling;
using Umbraco.Web;
using Umbraco.Web.Macros;
using umbraco;
using Umbraco.Web.LegacyActions;
using Umbraco.Web._Legacy.Actions;
namespace Umbraco.Tests.Resolvers
{
@@ -10,7 +10,7 @@ using Umbraco.Core.Persistence.Querying;
using Umbraco.Core.Services;
using Umbraco.Tests.TestHelpers;
using Umbraco.Tests.TestHelpers.Entities;
using Umbraco.Web.LegacyActions;
using Umbraco.Web._Legacy.Actions;
namespace Umbraco.Tests.Services
{
@@ -34,7 +34,7 @@ using Umbraco.Web.Trees;
using Umbraco.Web.UI.JavaScript;
using Umbraco.Web.WebApi.Filters;
using Umbraco.Web.WebServices;
using Action = Umbraco.Web.LegacyActions.Action;
using Action = Umbraco.Web._Legacy.Actions.Action;
using Constants = Umbraco.Core.Constants;
namespace Umbraco.Web.Editors
@@ -7,10 +7,10 @@ using System.Web.Http.Filters;
using Umbraco.Core;
using Umbraco.Core.Models;
using Umbraco.Core.Services;
using Umbraco.Web.LegacyActions;
using Umbraco.Web.Models.ContentEditing;
using Umbraco.Web.Security;
using Umbraco.Web.WebApi;
using Umbraco.Web._Legacy.Actions;
namespace Umbraco.Web.Editors
{
@@ -93,7 +93,7 @@ namespace Umbraco.Web.Editors
//clear the tree cache - we'll do this here even though the browser will reload, but just in case it doesn't can't hurt.
//these bits are super old, but cant find another way to do this currently
global::umbraco.cms.presentation.Trees.TreeDefinitionCollection.Instance.ReRegisterTrees();
global::Umbraco.Web.LegacyActions.Action.ReRegisterActionsAndHandlers();
global::Umbraco.Web._Legacy.Actions.Action.ReRegisterActionsAndHandlers();
return model;
@@ -11,7 +11,6 @@ using Umbraco.Core;
using Umbraco.Core.Models;
using Umbraco.Core.Models.Mapping;
using Umbraco.Core.Services;
using Umbraco.Web.LegacyActions;
using Umbraco.Web.Models.ContentEditing;
using Umbraco.Web.Trees;
using Umbraco.Web.Routing;
+1 -1
View File
@@ -5,7 +5,7 @@ using Umbraco.Web.Trees;
using System.Collections.Generic;
using Umbraco.Core;
using Umbraco.Core.Services;
using Umbraco.Web.LegacyActions;
using Umbraco.Web._Legacy.Actions;
namespace Umbraco.Web.Models.Trees
{
+1 -1
View File
@@ -2,7 +2,7 @@
using System.Collections.Generic;
using Umbraco.Core;
using umbraco.interfaces;
using Umbraco.Web.LegacyActions;
using Umbraco.Web._Legacy.Actions;
namespace Umbraco.Web.Models.Trees
{
@@ -7,7 +7,7 @@ using Umbraco.Core.Models.EntityBase;
using Umbraco.Core.Models.Membership;
using Umbraco.Core.Services;
using Umbraco.Core.Models;
using Umbraco.Web.LegacyActions;
using Umbraco.Web._Legacy.Actions;
namespace Umbraco.Web
{
+1 -1
View File
@@ -9,8 +9,8 @@ using Umbraco.Web.Trees;
using Umbraco.Web.WebApi;
using umbraco;
using umbraco.interfaces;
using Umbraco.Web.LegacyActions;
using Umbraco.Web.Models.Trees;
using Umbraco.Web._Legacy.Actions;
namespace Umbraco.Web
{
@@ -8,7 +8,7 @@ using Umbraco.Core.Configuration;
using Umbraco.Core.Models.EntityBase;
using Umbraco.Core.Services;
using umbraco;
using Umbraco.Web.LegacyActions;
using Umbraco.Web._Legacy.Actions;
namespace Umbraco.Web.Strategies
{
@@ -10,7 +10,7 @@ using Umbraco.Core.Services;
using Umbraco.Web.Models.Trees;
using Umbraco.Web.Mvc;
using Umbraco.Web.WebApi.Filters;
using Umbraco.Web.LegacyActions;
using Umbraco.Web._Legacy.Actions;
using Constants = Umbraco.Core.Constants;
namespace Umbraco.Web.Trees
@@ -124,7 +124,7 @@ namespace Umbraco.Web.Trees
// we need to get the default permissions as you can't set permissions on the very root node
var permission = Services.UserService.GetPermissions(Security.CurrentUser, Constants.System.Root).First();
var nodeActions = global::Umbraco.Web.LegacyActions.Action.FromEntityPermission(permission)
var nodeActions = global::Umbraco.Web._Legacy.Actions.Action.FromEntityPermission(permission)
.Select(x => new MenuItem(x));
//these two are the standard items
@@ -15,7 +15,7 @@ using Umbraco.Web.Models.Trees;
using Umbraco.Web.WebApi.Filters;
using umbraco;
using System.Globalization;
using Umbraco.Web.LegacyActions;
using Umbraco.Web._Legacy.Actions;
namespace Umbraco.Web.Trees
{
@@ -268,7 +268,7 @@ namespace Umbraco.Web.Trees
internal IEnumerable<MenuItem> GetAllowedUserMenuItemsForNode(IUmbracoEntity dd)
{
var permission = Services.UserService.GetPermissions(Security.CurrentUser, dd.Path);
var actions = global::Umbraco.Web.LegacyActions.Action.FromEntityPermission(permission);
var actions = global::Umbraco.Web._Legacy.Actions.Action.FromEntityPermission(permission);
// A user is allowed to delete their own stuff
if (dd.CreatorId == Security.CurrentUser.Id && actions.Contains(ActionDelete.Instance) == false)
@@ -8,7 +8,7 @@ using Umbraco.Core.Models;
using Umbraco.Web.Models.Trees;
using Umbraco.Web.WebApi.Filters;
using Umbraco.Core.Services;
using Umbraco.Web.LegacyActions;
using Umbraco.Web._Legacy.Actions;
namespace Umbraco.Web.Trees
{
@@ -13,7 +13,7 @@ using Umbraco.Web.WebApi.Filters;
using umbraco;
using Umbraco.Core.Models.EntityBase;
using Umbraco.Core.Services;
using Umbraco.Web.LegacyActions;
using Umbraco.Web._Legacy.Actions;
using Constants = Umbraco.Core.Constants;
namespace Umbraco.Web.Trees
@@ -8,10 +8,10 @@ using Umbraco.Core;
using Umbraco.Core.Services;
using Umbraco.Core.Models;
using umbraco.presentation.actions;
using Umbraco.Web.LegacyActions;
using Umbraco.Web.Models.Trees;
using Umbraco.Web.Mvc;
using Umbraco.Web.WebApi.Filters;
using Umbraco.Web._Legacy.Actions;
using Constants = Umbraco.Core.Constants;
namespace Umbraco.Web.Trees
@@ -16,7 +16,7 @@ using umbraco.cms.presentation.Trees;
using umbraco.controls.Tree;
using umbraco.interfaces;
using Umbraco.Core.Models;
using Umbraco.Web.LegacyActions;
using Umbraco.Web._Legacy.Actions;
namespace Umbraco.Web.Trees
{
@@ -5,7 +5,7 @@ using System.Text;
using Umbraco.Core;
using Umbraco.Core.Logging;
using umbraco.cms.presentation.Trees;
using Umbraco.Web.LegacyActions;
using Umbraco.Web._Legacy.Actions;
namespace Umbraco.Web.Trees
{
@@ -55,10 +55,10 @@ namespace Umbraco.Web.Trees
if (string.IsNullOrEmpty(a.Alias) == false && (string.IsNullOrEmpty(a.JsFunctionName) == false || string.IsNullOrEmpty(a.JsSource) == false))
{
// if the action is using invalid javascript we need to do something about this
if (global::Umbraco.Web.LegacyActions.Action.ValidateActionJs(a) == false)
if (global::Umbraco.Web._Legacy.Actions.Action.ValidateActionJs(a) == false)
{
js.AppendLine("function IActionProxy_" + a.Alias.ToSafeAlias() + "() {");
js.AppendLine(global::Umbraco.Web.LegacyActions.Action.ConvertLegacyJs(a.JsFunctionName));
js.AppendLine(global::Umbraco.Web._Legacy.Actions.Action.ConvertLegacyJs(a.JsFunctionName));
js.AppendLine("}");
}
}
+1 -1
View File
@@ -12,7 +12,7 @@ using Umbraco.Web.Models.Trees;
using Umbraco.Web.Mvc;
using Umbraco.Web.WebApi.Filters;
using umbraco;
using Umbraco.Web.LegacyActions;
using Umbraco.Web._Legacy.Actions;
using Constants = Umbraco.Core.Constants;
namespace Umbraco.Web.Trees
@@ -11,7 +11,7 @@ using Umbraco.Core.Models.EntityBase;
using Umbraco.Web.Models.Trees;
using Umbraco.Web.WebApi.Filters;
using Umbraco.Core.Services;
using Umbraco.Web.LegacyActions;
using Umbraco.Web._Legacy.Actions;
namespace Umbraco.Web.Trees
{
@@ -12,7 +12,7 @@ using Umbraco.Web.Models.Trees;
using Umbraco.Web.Mvc;
using Umbraco.Web.WebApi.Filters;
using umbraco;
using Umbraco.Web.LegacyActions;
using Umbraco.Web._Legacy.Actions;
using Constants = Umbraco.Core.Constants;
namespace Umbraco.Web.Trees
@@ -7,9 +7,9 @@ using System.Threading.Tasks;
using umbraco;
using Umbraco.Core;
using Umbraco.Core.Services;
using Umbraco.Web.LegacyActions;
using Umbraco.Web.Models.Trees;
using Umbraco.Web.WebApi.Filters;
using Umbraco.Web._Legacy.Actions;
namespace Umbraco.Web.Trees
{
+1 -1
View File
@@ -11,7 +11,7 @@ using Umbraco.Core.IO;
using umbraco.cms.businesslogic.template;
using umbraco.cms.presentation.Trees;
using umbraco.interfaces;
using Umbraco.Web.LegacyActions;
using Umbraco.Web._Legacy.Actions;
namespace Umbraco.Web.Trees
{
@@ -12,10 +12,10 @@ using Umbraco.Core;
using Umbraco.Core.Services;
using Umbraco.Core.Configuration;
using Umbraco.Core.Models;
using Umbraco.Web.LegacyActions;
using Umbraco.Web.Models.Trees;
using Umbraco.Web.Mvc;
using Umbraco.Web.WebApi.Filters;
using Umbraco.Web._Legacy.Actions;
using Constants = Umbraco.Core.Constants;
namespace Umbraco.Web.Trees
+34 -34
View File
@@ -333,40 +333,40 @@
<Compile Include="Editors\IEditorValidator.cs" />
<Compile Include="Editors\EditorModelEventManager.cs" />
<Compile Include="HtmlHelperBackOfficeExtensions.cs" />
<Compile Include="LegacyActions\Action.cs" />
<Compile Include="LegacyActions\ActionAssignDomain.cs" />
<Compile Include="LegacyActions\ActionAudit.cs" />
<Compile Include="LegacyActions\ActionBrowse.cs" />
<Compile Include="LegacyActions\ActionChangeDocType.cs" />
<Compile Include="LegacyActions\ActionCopy.cs" />
<Compile Include="LegacyActions\ActionDelete.cs" />
<Compile Include="LegacyActions\ActionDisable.cs" />
<Compile Include="LegacyActions\ActionEmptyTranscan.cs" />
<Compile Include="LegacyActions\ActionExport.cs" />
<Compile Include="LegacyActions\ActionImport.cs" />
<Compile Include="LegacyActions\ActionMove.cs" />
<Compile Include="LegacyActions\ActionNew.cs" />
<Compile Include="LegacyActions\ActionNewFolder.cs" />
<Compile Include="LegacyActions\ActionNotify.cs" />
<Compile Include="LegacyActions\ActionNull.cs" />
<Compile Include="LegacyActions\ActionPackage.cs" />
<Compile Include="LegacyActions\ActionPackageCreate.cs" />
<Compile Include="LegacyActions\ActionProtect.cs" />
<Compile Include="LegacyActions\ActionPublish.cs" />
<Compile Include="LegacyActions\ActionQuit.cs" />
<Compile Include="LegacyActions\ActionRefresh.cs" />
<Compile Include="LegacyActions\ActionRePublish.cs" />
<Compile Include="LegacyActions\ActionRestore.cs" />
<Compile Include="LegacyActions\ActionRights.cs" />
<Compile Include="LegacyActions\ActionRollback.cs" />
<Compile Include="LegacyActions\ActionSendToTranslate.cs" />
<Compile Include="LegacyActions\ActionSort.cs" />
<Compile Include="LegacyActions\ActionToPublish.cs" />
<Compile Include="LegacyActions\ActionTranslate.cs" />
<Compile Include="LegacyActions\ActionUnPublish.cs" />
<Compile Include="LegacyActions\ActionUpdate.cs" />
<Compile Include="LegacyActions\ContextMenuSeperator.cs" />
<Compile Include="LegacyActions\LegacyActionMenuItemAttribute.cs" />
<Compile Include="_Legacy\Actions\Action.cs" />
<Compile Include="_Legacy\Actions\ActionAssignDomain.cs" />
<Compile Include="_Legacy\Actions\ActionAudit.cs" />
<Compile Include="_Legacy\Actions\ActionBrowse.cs" />
<Compile Include="_Legacy\Actions\ActionChangeDocType.cs" />
<Compile Include="_Legacy\Actions\ActionCopy.cs" />
<Compile Include="_Legacy\Actions\ActionDelete.cs" />
<Compile Include="_Legacy\Actions\ActionDisable.cs" />
<Compile Include="_Legacy\Actions\ActionEmptyTranscan.cs" />
<Compile Include="_Legacy\Actions\ActionExport.cs" />
<Compile Include="_Legacy\Actions\ActionImport.cs" />
<Compile Include="_Legacy\Actions\ActionMove.cs" />
<Compile Include="_Legacy\Actions\ActionNew.cs" />
<Compile Include="_Legacy\Actions\ActionNewFolder.cs" />
<Compile Include="_Legacy\Actions\ActionNotify.cs" />
<Compile Include="_Legacy\Actions\ActionNull.cs" />
<Compile Include="_Legacy\Actions\ActionPackage.cs" />
<Compile Include="_Legacy\Actions\ActionPackageCreate.cs" />
<Compile Include="_Legacy\Actions\ActionProtect.cs" />
<Compile Include="_Legacy\Actions\ActionPublish.cs" />
<Compile Include="_Legacy\Actions\ActionQuit.cs" />
<Compile Include="_Legacy\Actions\ActionRefresh.cs" />
<Compile Include="_Legacy\Actions\ActionRePublish.cs" />
<Compile Include="_Legacy\Actions\ActionRestore.cs" />
<Compile Include="_Legacy\Actions\ActionRights.cs" />
<Compile Include="_Legacy\Actions\ActionRollback.cs" />
<Compile Include="_Legacy\Actions\ActionSendToTranslate.cs" />
<Compile Include="_Legacy\Actions\ActionSort.cs" />
<Compile Include="_Legacy\Actions\ActionToPublish.cs" />
<Compile Include="_Legacy\Actions\ActionTranslate.cs" />
<Compile Include="_Legacy\Actions\ActionUnPublish.cs" />
<Compile Include="_Legacy\Actions\ActionUpdate.cs" />
<Compile Include="_Legacy\Actions\ContextMenuSeperator.cs" />
<Compile Include="_Legacy\Actions\LegacyActionMenuItemAttribute.cs" />
<Compile Include="Models\ContentEditing\EntityBasic.cs" />
<Compile Include="Models\Trees\ApplicationAttribute.cs" />
<Compile Include="Models\Trees\ApplicationDefinitions.cs" />
@@ -11,8 +11,8 @@ using Umbraco.Core.Models;
using Umbraco.Core.Models.Membership;
using Umbraco.Core.Services;
using Umbraco.Web.Editors;
using Umbraco.Web.LegacyActions;
using Umbraco.Web.Models.ContentEditing;
using Umbraco.Web._Legacy.Actions;
namespace Umbraco.Web.WebApi.Filters
{
@@ -7,7 +7,7 @@ using System.Reflection;
using Umbraco.Core.Models.Membership;
using Umbraco.Core.Services;
using Umbraco.Core;
using Umbraco.Web.LegacyActions;
using Umbraco.Web._Legacy.Actions;
namespace Umbraco.Web.WebApi.Filters
{
+1 -1
View File
@@ -41,7 +41,7 @@ using Umbraco.Core.Services;
using Umbraco.Web.Services;
using Umbraco.Web.Editors;
using Umbraco.Core.DependencyInjection;
using Umbraco.Web.LegacyActions;
using Umbraco.Web._Legacy.Actions;
using Action = System.Action;
using GlobalSettings = Umbraco.Core.Configuration.GlobalSettings;
using ProfilingViewEngine = Umbraco.Core.Profiling.ProfilingViewEngine;
@@ -14,8 +14,8 @@ using Umbraco.Web.Routing;
using Umbraco.Web.WebApi;
//using umbraco.cms.businesslogic.language;
using umbraco.cms.businesslogic.web;
using Umbraco.Web.LegacyActions;
using Umbraco.Web.WebApi.Filters;
using Umbraco.Web._Legacy.Actions;
namespace Umbraco.Web.WebServices
{
@@ -1,17 +1,14 @@
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using umbraco;
using umbraco.interfaces;
using Umbraco.Core;
using Umbraco.Core.Services;
using Umbraco.Core.Logging;
using Umbraco.Core.Models.Membership;
using Umbraco.Core.Services;
using TypeFinder = Umbraco.Core.TypeFinder;
namespace Umbraco.Web.LegacyActions
namespace Umbraco.Web._Legacy.Actions
{
/// <summary>
/// Actions and Actionhandlers are a key concept to umbraco and a developer whom wish to apply
@@ -7,7 +7,7 @@ using Umbraco.Core.Logging;
using Umbraco.Core.ObjectResolution;
using Umbraco.Web.UI.Pages;
namespace Umbraco.Web.LegacyActions
namespace Umbraco.Web._Legacy.Actions
{
/// <summary>
/// A resolver to return all IAction objects
@@ -1,8 +1,7 @@
using System;
using umbraco.interfaces;
using Umbraco.Web.UI.Pages;
namespace Umbraco.Web.LegacyActions
namespace Umbraco.Web._Legacy.Actions
{
/// <summary>
/// This action is invoked upon viewing audittrailing on a document
@@ -1,6 +1,4 @@
using umbraco.interfaces;
namespace Umbraco.Web.LegacyActions
namespace Umbraco.Web._Legacy.Actions
{
/// <summary>
/// This action is used as a security constraint that grants a user the ability to view nodes in a tree
@@ -1,8 +1,7 @@
using System;
using umbraco.interfaces;
using Umbraco.Web.UI.Pages;
namespace Umbraco.Web.LegacyActions
namespace Umbraco.Web._Legacy.Actions
{
/// <summary>
/// This action is invoked when the document type of a piece of content is changed
@@ -1,8 +1,7 @@
using System;
using umbraco.interfaces;
using Umbraco.Web.UI.Pages;
namespace Umbraco.Web.LegacyActions
namespace Umbraco.Web._Legacy.Actions
{
/// <summary>
/// This action is invoked when copying a document, media, member
@@ -1,8 +1,7 @@
using System;
using umbraco.interfaces;
using Umbraco.Web.UI.Pages;
namespace Umbraco.Web.LegacyActions
namespace Umbraco.Web._Legacy.Actions
{
/// <summary>
/// This action is invoked when a document, media, member is deleted
@@ -1,8 +1,7 @@
using System;
using umbraco.interfaces;
using Umbraco.Web.UI.Pages;
namespace Umbraco.Web.LegacyActions
namespace Umbraco.Web._Legacy.Actions
{
/// <summary>
/// This action is invoked when a document is disabled.
@@ -1,8 +1,7 @@
using System;
using umbraco.interfaces;
using Umbraco.Web.UI.Pages;
namespace Umbraco.Web.LegacyActions
namespace Umbraco.Web._Legacy.Actions
{
/// <summary>
/// This action is invoked when the trash can is emptied
@@ -1,8 +1,7 @@
using System;
using umbraco.interfaces;
using Umbraco.Web.UI.Pages;
namespace Umbraco.Web.LegacyActions
namespace Umbraco.Web._Legacy.Actions
{
/// <summary>
/// This action is invoked when exporting a document type
@@ -1,8 +1,7 @@
using System;
using umbraco.interfaces;
using Umbraco.Web.UI.Pages;
namespace Umbraco.Web.LegacyActions
namespace Umbraco.Web._Legacy.Actions
{
/// <summary>
/// This action is invoked when importing a document type
@@ -1,8 +1,7 @@
using System;
using umbraco.interfaces;
using Umbraco.Web.UI.Pages;
namespace Umbraco.Web.LegacyActions
namespace Umbraco.Web._Legacy.Actions
{
/// <summary>
/// This action is invoked upon creation of a document, media, member
@@ -1,8 +1,7 @@
using System;
using umbraco.interfaces;
using Umbraco.Web.UI.Pages;
namespace Umbraco.Web.LegacyActions
namespace Umbraco.Web._Legacy.Actions
{
/// <summary>
/// This action is invoked upon creation of a document
@@ -1,8 +1,7 @@
using System;
using umbraco.interfaces;
using Umbraco.Web.UI.Pages;
namespace Umbraco.Web.LegacyActions
namespace Umbraco.Web._Legacy.Actions
{
/// <summary>
/// This action is invoked upon creation of a document
@@ -1,8 +1,7 @@
using System;
using umbraco.interfaces;
using Umbraco.Web.UI.Pages;
namespace Umbraco.Web.LegacyActions
namespace Umbraco.Web._Legacy.Actions
{
/// <summary>
/// This action is invoked when a notification is sent
@@ -1,6 +1,4 @@
using umbraco.interfaces;
namespace Umbraco.Web.LegacyActions
namespace Umbraco.Web._Legacy.Actions
{
/// <summary>
/// This permission is assigned to a node when there are no permissions assigned to the node.
@@ -1,8 +1,7 @@
using System;
using umbraco.interfaces;
using Umbraco.Web.UI.Pages;
namespace Umbraco.Web.LegacyActions
namespace Umbraco.Web._Legacy.Actions
{
/// <summary>
/// This action is invoked upon creation of a document, media, member
@@ -1,8 +1,7 @@
using System;
using umbraco.interfaces;
using Umbraco.Web.UI.Pages;
namespace Umbraco.Web.LegacyActions
namespace Umbraco.Web._Legacy.Actions
{
/// <summary>
/// This action is invoked upon creation of a document, media, member
@@ -1,8 +1,7 @@
using System;
using umbraco.interfaces;
using Umbraco.Web.UI.Pages;
namespace Umbraco.Web.LegacyActions
namespace Umbraco.Web._Legacy.Actions
{
/// <summary>
/// This action is invoked when a document is protected or unprotected
@@ -1,8 +1,7 @@
using System;
using umbraco.interfaces;
using Umbraco.Web.UI.Pages;
namespace Umbraco.Web.LegacyActions
namespace Umbraco.Web._Legacy.Actions
{
/// <summary>
/// This action is invoked when a document is being published
@@ -1,8 +1,7 @@
using System;
using umbraco.interfaces;
using Umbraco.Web.UI.Pages;
namespace Umbraco.Web.LegacyActions
namespace Umbraco.Web._Legacy.Actions
{
/// <summary>
/// This action is invoked when a user logs out
@@ -1,8 +1,7 @@
using System;
using umbraco.interfaces;
using Umbraco.Web.UI.Pages;
namespace Umbraco.Web.LegacyActions
namespace Umbraco.Web._Legacy.Actions
{
/// <summary>
/// This action is invoked when all documents are being republished
@@ -1,8 +1,7 @@
using System;
using umbraco.interfaces;
using Umbraco.Web.UI.Pages;
namespace Umbraco.Web.LegacyActions
namespace Umbraco.Web._Legacy.Actions
{
/// <summary>
/// This action is invoked when a node reloads its children
@@ -1,6 +1,4 @@
using umbraco.interfaces;
namespace Umbraco.Web.LegacyActions
namespace Umbraco.Web._Legacy.Actions
{
/// <summary>
/// This action is invoked when the content item is to be restored from the recycle bin
@@ -1,8 +1,7 @@
using System;
using umbraco.interfaces;
using Umbraco.Web.UI.Pages;
namespace Umbraco.Web.LegacyActions
namespace Umbraco.Web._Legacy.Actions
{
/// <summary>
/// This action is invoked when rights are changed on a document
@@ -1,8 +1,7 @@
using System;
using umbraco.interfaces;
using Umbraco.Web.UI.Pages;
namespace Umbraco.Web.LegacyActions
namespace Umbraco.Web._Legacy.Actions
{
/// <summary>
/// This action is invoked when copying a document is being rolled back
@@ -1,8 +1,7 @@
using System;
using umbraco.interfaces;
using Umbraco.Web.UI.Pages;
namespace Umbraco.Web.LegacyActions
namespace Umbraco.Web._Legacy.Actions
{
/// <summary>
/// This action is invoked when a send to translate request occurs
@@ -1,8 +1,7 @@
using System;
using umbraco.interfaces;
using Umbraco.Web.UI.Pages;
namespace Umbraco.Web.LegacyActions
namespace Umbraco.Web._Legacy.Actions
{
/// <summary>
/// This action is invoked when children to a document, media, member is being sorted
@@ -1,8 +1,7 @@
using System;
using umbraco.interfaces;
using Umbraco.Web.UI.Pages;
namespace Umbraco.Web.LegacyActions
namespace Umbraco.Web._Legacy.Actions
{
/// <summary>
/// This action is invoked when children to a document is being sent to published (by an editor without publishrights)
@@ -1,7 +1,6 @@
using System;
using umbraco.interfaces;
namespace Umbraco.Web.LegacyActions
namespace Umbraco.Web._Legacy.Actions
{
/// <summary>
/// This action is invoked when a translation occurs
@@ -1,7 +1,6 @@
using System;
using umbraco.interfaces;
namespace Umbraco.Web.LegacyActions
namespace Umbraco.Web._Legacy.Actions
{
@@ -1,8 +1,7 @@
using System;
using umbraco.interfaces;
using Umbraco.Web.UI.Pages;
namespace Umbraco.Web.LegacyActions
namespace Umbraco.Web._Legacy.Actions
{
/// <summary>
/// This action is invoked when copying a document or media
@@ -1,6 +1,4 @@
using umbraco.interfaces;
namespace Umbraco.Web.LegacyActions
namespace Umbraco.Web._Legacy.Actions
{
/// <summary>
/// Used simply to define context menu seperator items.
@@ -1,7 +1,7 @@
using System;
using Umbraco.Core;
namespace Umbraco.Web.LegacyActions
namespace Umbraco.Web._Legacy.Actions
{
/// <summary>
/// The attribute to assign to any IAction objects.
@@ -12,7 +12,7 @@ using umbraco.BusinessLogic;
using umbraco.cms.businesslogic.media;
using umbraco.cms.businesslogic.web;
using umbraco.interfaces;
using Umbraco.Web.LegacyActions;
using Umbraco.Web._Legacy.Actions;
namespace umbraco.cms.presentation.Trees
{
@@ -1,6 +1,6 @@
using System;
using System.Collections.Generic;
using Umbraco.Web.LegacyActions;
using Umbraco.Web._Legacy.Actions;
namespace umbraco.cms.presentation.Trees
{
@@ -9,7 +9,7 @@ using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Collections.Generic;
using umbraco.interfaces;
using Umbraco.Web.LegacyActions;
using Umbraco.Web._Legacy.Actions;
namespace umbraco.cms.presentation.Trees
{
@@ -4,8 +4,8 @@ using umbraco.interfaces;
using System.Collections.Generic;
using System.Text;
using Umbraco.Core;
using Umbraco.Web.LegacyActions;
using Umbraco.Web.Trees;
using Umbraco.Web._Legacy.Actions;
namespace umbraco.cms.presentation.Trees
{
@@ -5,10 +5,10 @@ using System.Xml.Schema;
using System.Collections.Generic;
using System.Web.Script.Serialization;
using Umbraco.Core.IO;
using Umbraco.Web.LegacyActions;
using Umbraco.Web.UI.Pages;
using Umbraco.Web._Legacy.Actions;
using Umbraco.Web._Legacy.Utils;
using Action = Umbraco.Web.LegacyActions.Action;
using Action = Umbraco.Web._Legacy.Actions.Action;
namespace umbraco.cms.presentation.Trees
{
@@ -473,7 +473,7 @@ namespace umbraco.cms.presentation.Trees
this.m_action = reader.Value;
break;
case TreeAttributes.menu:
this.m_menu = (!string.IsNullOrEmpty(reader.Value) ? Umbraco.Web.LegacyActions.Action.FromString(reader.Value) : null);
this.m_menu = (!string.IsNullOrEmpty(reader.Value) ? Umbraco.Web._Legacy.Actions.Action.FromString(reader.Value) : null);
break;
case TreeAttributes.rootSrc:
this.m_rootSrc = reader.Value;
@@ -518,7 +518,7 @@ namespace umbraco.cms.presentation.Trees
writer.WriteAttributeString(TreeAttributes.text.ToString(), this.m_text);
writer.WriteAttributeString(TreeAttributes.iconClass.ToString(), this.m_iconClass);
writer.WriteAttributeString(TreeAttributes.action.ToString(), this.m_action);
writer.WriteAttributeString(TreeAttributes.menu.ToString(), (this.m_menu != null && this.m_menu.Count > 0 ? Umbraco.Web.LegacyActions.Action.ToString(this.m_menu) : ""));
writer.WriteAttributeString(TreeAttributes.menu.ToString(), (this.m_menu != null && this.m_menu.Count > 0 ? Umbraco.Web._Legacy.Actions.Action.ToString(this.m_menu) : ""));
writer.WriteAttributeString(TreeAttributes.rootSrc.ToString(), this.m_rootSrc);
writer.WriteAttributeString(TreeAttributes.src.ToString(), this.m_src);
writer.WriteAttributeString(TreeAttributes.icon.ToString(), this.m_icon);
@@ -7,8 +7,8 @@ using umbraco.cms.businesslogic;
using umbraco.interfaces;
using umbraco.cms.presentation.Trees;
using Umbraco.Core;
using Umbraco.Web.LegacyActions;
using Umbraco.Web.Trees;
using Umbraco.Web._Legacy.Actions;
namespace umbraco
@@ -6,8 +6,8 @@ using umbraco.interfaces;
using Umbraco.Core;
using Umbraco.Core.Services;
using umbraco.cms.presentation.Trees;
using Umbraco.Web.LegacyActions;
using Umbraco.Web.Trees;
using Umbraco.Web._Legacy.Actions;
namespace umbraco
{
@@ -9,8 +9,8 @@ using umbraco.cms.businesslogic.packager;
using umbraco.cms.presentation.Trees;
using Umbraco.Core;
using umbraco.interfaces;
using Umbraco.Web.LegacyActions;
using Umbraco.Web.Trees;
using Umbraco.Web._Legacy.Actions;
namespace umbraco
{
@@ -10,8 +10,8 @@ using umbraco.interfaces;
using umbraco.cms.presentation.developer.RelationTypes.TreeMenu;
using Umbraco.Core;
using Umbraco.Web.LegacyActions;
using Umbraco.Web.Trees;
using Umbraco.Web._Legacy.Actions;
namespace umbraco
{
@@ -8,8 +8,8 @@ using Umbraco.Core.Configuration;
using umbraco.interfaces;
using umbraco.cms.presentation.Trees;
using Umbraco.Core.IO;
using Umbraco.Web.LegacyActions;
using Umbraco.Web.Trees;
using Umbraco.Web._Legacy.Actions;
namespace umbraco
@@ -7,8 +7,8 @@ using System.Web;
using umbraco.interfaces;
using umbraco.cms.presentation.Trees;
using Umbraco.Core;
using Umbraco.Web.LegacyActions;
using Umbraco.Web.Trees;
using Umbraco.Web._Legacy.Actions;
namespace umbraco
@@ -11,7 +11,7 @@ using Umbraco.Core.Services;
using umbraco.interfaces;
using umbraco.cms.businesslogic.template;
using umbraco.cms.presentation.Trees;
using Umbraco.Web.LegacyActions;
using Umbraco.Web._Legacy.Actions;
namespace umbraco
@@ -8,7 +8,7 @@ using umbraco.interfaces;
using umbraco.cms.presentation.Trees;
using Umbraco.Core.Models.Membership;
using Umbraco.Web;
using Umbraco.Web.LegacyActions;
using Umbraco.Web._Legacy.Actions;
namespace umbraco {
public class loadOpenTasks : BaseTree {
@@ -9,8 +9,8 @@ using Umbraco.Core;
using Umbraco.Core.Models;
using Umbraco.Core.Models.Membership;
using Umbraco.Web;
using Umbraco.Web.LegacyActions;
using Umbraco.Web.Trees;
using Umbraco.Web._Legacy.Actions;
namespace umbraco
@@ -5,8 +5,8 @@ using umbraco.interfaces;
using umbraco.cms.presentation.Trees;
using Umbraco.Core.IO;
using Umbraco.Core;
using Umbraco.Web.LegacyActions;
using Umbraco.Web.Trees;
using Umbraco.Web._Legacy.Actions;
namespace umbraco
{
@@ -4,9 +4,9 @@ using System.Web.Script.Serialization;
using Umbraco.Core.Logging;
using umbraco.interfaces;
using Umbraco.Core;
using Umbraco.Web.LegacyActions;
using Umbraco.Web._Legacy.Actions;
using Umbraco.Web._Legacy.Utils;
using Action = Umbraco.Web.LegacyActions.Action;
using Action = Umbraco.Web._Legacy.Actions.Action;
namespace umbraco.controls.Tree
{
@@ -5,7 +5,7 @@ using umbraco.interfaces;
using System.Text;
using Umbraco.Core;
using Umbraco.Core.Services;
using Umbraco.Web.LegacyActions;
using Umbraco.Web._Legacy.Actions;
using Umbraco.Web._Legacy.Utils;
namespace umbraco.controls.Tree
@@ -13,7 +13,7 @@ using runtimeMacro = umbraco.macro;
using System.Xml;
using umbraco.cms.presentation.Trees;
using Umbraco.Web.UI.Pages;
using BizLogicAction = Umbraco.Web.LegacyActions.Action;
using BizLogicAction = Umbraco.Web._Legacy.Actions.Action;
using Macro = umbraco.cms.businesslogic.macro.Macro;
using Template = umbraco.cms.businesslogic.template.Template;
@@ -9,7 +9,7 @@ using Umbraco.Web;
using umbraco.cms.presentation.Trees;
using Umbraco.Core;
using Umbraco.Web.UI.Pages;
using BizLogicAction = Umbraco.Web.LegacyActions.Action;
using BizLogicAction = Umbraco.Web._Legacy.Actions.Action;
namespace umbraco.presentation.developer.packages
{
@@ -1,4 +1,4 @@
using Umbraco.Web.LegacyActions;
using Umbraco.Web._Legacy.Actions;
namespace umbraco.cms.presentation.developer.RelationTypes.TreeMenu
{
@@ -1,4 +1,4 @@
using Umbraco.Web.LegacyActions;
using Umbraco.Web._Legacy.Actions;
namespace umbraco.cms.presentation.developer.RelationTypes.TreeMenu
{
@@ -5,8 +5,8 @@ using Umbraco.Core;
using Umbraco.Core.Services;
using Umbraco.Web.UI.Pages;
using Umbraco.Web;
using Umbraco.Web.LegacyActions;
using Umbraco.Web.WebServices;
using Umbraco.Web._Legacy.Actions;
namespace umbraco.dialogs
@@ -12,7 +12,7 @@ using Umbraco.Web;
using umbraco.BusinessLogic;
using umbraco.cms.businesslogic.web;
using Umbraco.Core;
using Umbraco.Web.LegacyActions;
using Umbraco.Web._Legacy.Actions;
namespace umbraco.dialogs
{
@@ -10,8 +10,8 @@ using Umbraco.Web;
using umbraco.cms.businesslogic;
using Umbraco.Core;
using Umbraco.Core.Services;
using Umbraco.Web.LegacyActions;
using Umbraco.Web.UI.Pages;
using Umbraco.Web._Legacy.Actions;
namespace umbraco.dialogs
{
@@ -7,8 +7,8 @@ using System.Collections.Generic;
using Umbraco.Core;
using Umbraco.Web;
using umbraco.cms.businesslogic;
using Umbraco.Web.LegacyActions;
using Umbraco.Web.UI.Pages;
using Umbraco.Web._Legacy.Actions;
namespace umbraco.dialogs
{
@@ -9,9 +9,9 @@ using System.Linq;
using umbraco.cms.presentation.user;
using Umbraco.Web;
using Umbraco.Web.UI.Pages;
using Action = Umbraco.Web.LegacyActions.Action;
using Action = Umbraco.Web._Legacy.Actions.Action;
using Umbraco.Core.Services;
using Umbraco.Web.LegacyActions;
using Umbraco.Web._Legacy.Actions;
namespace umbraco.dialogs
{
@@ -9,9 +9,9 @@ using umbraco.cms.businesslogic;
using umbraco.cms.businesslogic.workflow;
using Umbraco.Core;
using Umbraco.Web;
using Umbraco.Web.LegacyActions;
using Umbraco.Web.UI.Pages;
using Action = Umbraco.Web.LegacyActions.Action;
using Umbraco.Web._Legacy.Actions;
using Action = Umbraco.Web._Legacy.Actions.Action;
namespace umbraco.dialogs
{
@@ -10,8 +10,8 @@ using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
using Umbraco.Core;
using Umbraco.Core.Services;
using Umbraco.Web.LegacyActions;
using Action = Umbraco.Web.LegacyActions.Action;
using Umbraco.Web._Legacy.Actions;
using Action = Umbraco.Web._Legacy.Actions.Action;
namespace umbraco.presentation.umbraco.dialogs
{
@@ -9,7 +9,7 @@ using Umbraco.Core;
using Umbraco.Core.Services;
using Umbraco.Core.Models;
using Umbraco.Web;
using Umbraco.Web.LegacyActions;
using Umbraco.Web._Legacy.Actions;
namespace umbraco.presentation.templateControls
{
@@ -6,10 +6,10 @@ using System.Linq;
using umbraco.cms.presentation.Trees;
using Umbraco.Core;
using Umbraco.Core.Models.Membership;
using Umbraco.Web.LegacyActions;
using Umbraco.Web.UI;
using Umbraco.Web.UI.Pages;
using Action = Umbraco.Web.LegacyActions.Action;
using Umbraco.Web._Legacy.Actions;
using Action = Umbraco.Web._Legacy.Actions.Action;
namespace umbraco.cms.presentation.user
{
@@ -4,9 +4,9 @@ using umbraco.interfaces;
using umbraco.BusinessLogic;
using Umbraco.Core.Models.Membership;
using Umbraco.Web;
using Umbraco.Web.LegacyActions;
using Umbraco.Web.UI.Controls;
using Action = Umbraco.Web.LegacyActions.Action;
using Umbraco.Web._Legacy.Actions;
using Action = Umbraco.Web._Legacy.Actions.Action;
namespace umbraco.cms.presentation.user
{
@@ -7,8 +7,8 @@ using System.IO;
using System.Collections.Generic;
using umbraco.interfaces;
using Umbraco.Core.IO;
using Umbraco.Web.LegacyActions;
using Umbraco.Web.WebServices;
using Umbraco.Web._Legacy.Actions;
namespace umbraco.cms.presentation.user
{
@@ -6,7 +6,7 @@ using Umbraco.Web;
using umbraco.interfaces;
using umbraco.cms.businesslogic.web;
using Umbraco.Core.Models.Membership;
using Umbraco.Web.LegacyActions;
using Umbraco.Web._Legacy.Actions;
namespace umbraco.cms.presentation.user
{
@@ -8,8 +8,8 @@ using Umbraco.Core;
using Umbraco.Core.Logging;
using Umbraco.Core.Models;
using Umbraco.Web;
using Umbraco.Web.LegacyActions;
using Umbraco.Web.WebServices;
using Umbraco.Web._Legacy.Actions;
namespace umbraco.presentation.webservices
{