AB4549 - Moved models from web to abstractions and infrastructure
This commit is contained in:
+2
-3
@@ -1,6 +1,5 @@
|
||||
using System.Runtime.Serialization;
|
||||
using System.Web;
|
||||
using Umbraco.Core.Composing;
|
||||
using System.Net;
|
||||
using Umbraco.Core.Configuration;
|
||||
|
||||
namespace Umbraco.Web.Models
|
||||
@@ -22,7 +21,7 @@ namespace Umbraco.Web.Models
|
||||
{
|
||||
Type = upgradeType;
|
||||
Comment = upgradeComment;
|
||||
Url = upgradeUrl + "?version=" + HttpUtility.UrlEncode(umbracoVersion.Current.ToString(3));
|
||||
Url = upgradeUrl + "?version=" + WebUtility.UrlEncode(umbracoVersion.Current.ToString(3));
|
||||
}
|
||||
}
|
||||
}
|
||||
-2
@@ -3,12 +3,10 @@ using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.Runtime.Serialization;
|
||||
using System.Web.Http.ModelBinding;
|
||||
using Newtonsoft.Json;
|
||||
using Umbraco.Core;
|
||||
using Umbraco.Core.Models.Validation;
|
||||
using Umbraco.Core.Serialization;
|
||||
using Umbraco.Web.WebApi;
|
||||
|
||||
namespace Umbraco.Web.Models.ContentEditing
|
||||
{
|
||||
@@ -62,10 +62,6 @@
|
||||
</AssemblyAttribute>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Folder Include="Models\Identity" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Compile Remove="obj\**" />
|
||||
</ItemGroup>
|
||||
|
||||
@@ -181,17 +181,16 @@
|
||||
<Compile Include="Logging\WebProfilerProvider.cs" />
|
||||
<Compile Include="Macros\IMacroRenderer.cs" />
|
||||
<Compile Include="Migrations\PostMigrations\PublishedSnapshotRebuilder.cs" />
|
||||
<Compile Include="Models\AnchorsModel.cs" />
|
||||
<Compile Include="Models\ContentEditing\ContentTypeBasic.cs" />
|
||||
<Compile Include="Models\ContentEditing\DataTypeReferences.cs" />
|
||||
<Compile Include="Models\ContentEditing\LinkDisplay.cs" />
|
||||
<Compile Include="Models\ContentEditing\ListViewAwareContentItemDisplayBase.cs" />
|
||||
<Compile Include="Models\ContentEditing\MacroDisplay.cs" />
|
||||
<Compile Include="Models\ContentEditing\MacroParameterDisplay.cs" />
|
||||
<Compile Include="Models\ContentEditing\MediaItemDisplay.cs" />
|
||||
<Compile Include="Models\ContentEditing\UrlAndAnchors.cs" />
|
||||
<Compile Include="Models\Mapping\CommonMapper.cs" />
|
||||
<Compile Include="Models\Mapping\MapperContextExtensions.cs" />
|
||||
<Compile Include="Models\Membership\UmbracoMembershipMember.cs" />
|
||||
<Compile Include="Models\PublishedContent\HybridVariationContextAccessor.cs" />
|
||||
<Compile Include="Models\TemplateQuery\QueryConditionExtensions.cs" />
|
||||
<Compile Include="Mvc\HttpUmbracoFormRouteStringException.cs" />
|
||||
<Compile Include="Mvc\ModelBindingExceptionFilter.cs" />
|
||||
<Compile Include="Mvc\StatusCodeFilterAttribute.cs" />
|
||||
@@ -226,9 +225,6 @@
|
||||
<Compile Include="Security\UmbracoMembershipProviderBase.cs" />
|
||||
<Compile Include="Services\DashboardService.cs" />
|
||||
<Compile Include="Services\IDashboardService.cs" />
|
||||
<Compile Include="Models\Link.cs" />
|
||||
<Compile Include="Models\LinkType.cs" />
|
||||
<Compile Include="Models\TemplateQuery\OperatorFactory.cs" />
|
||||
<Compile Include="StringExtensions.cs" />
|
||||
<Compile Include="Templates\HtmlLocalLinkParser.cs" />
|
||||
<Compile Include="Templates\HtmlImageSourceParser.cs" />
|
||||
@@ -286,8 +282,6 @@
|
||||
<Compile Include="Editors\LogViewerController.cs" />
|
||||
<Compile Include="ImageProcessorLogger.cs" />
|
||||
<Compile Include="Macros\MacroTagParser.cs" />
|
||||
<Compile Include="Models\ContentEditing\ContentDomainsAndCulture.cs" />
|
||||
<Compile Include="Models\ContentEditing\ContentSavedState.cs" />
|
||||
<Compile Include="Trees\LogViewerTreeController.cs" />
|
||||
<Compile Include="Models\Mapping\ContentSavedStateMapper.cs" />
|
||||
<Compile Include="Mvc\ContainerControllerFactory.cs" />
|
||||
@@ -304,7 +298,6 @@
|
||||
<Compile Include="UmbracoApplicationBase.cs" />
|
||||
<Compile Include="WebApi\Filters\HttpQueryStringModelBinder.cs" />
|
||||
<Compile Include="WebApi\HttpActionContextExtensions.cs" />
|
||||
<Compile Include="Models\ContentEditing\IContentSave.cs" />
|
||||
<Compile Include="WebApi\SerializeVersionAttribute.cs" />
|
||||
<Compile Include="WebApi\TrimModelBinder.cs" />
|
||||
<Compile Include="Editors\CodeFileController.cs" />
|
||||
@@ -388,33 +381,15 @@
|
||||
<Compile Include="HealthCheck\HealthCheckStatus.cs" />
|
||||
<Compile Include="HealthCheck\Checks\Security\HttpsCheck.cs" />
|
||||
<Compile Include="HealthCheck\StatusResultType.cs" />
|
||||
<Compile Include="Models\BackOfficeTour.cs" />
|
||||
<Compile Include="Models\BackOfficeTourFile.cs" />
|
||||
<Compile Include="Models\BackOfficeTourStep.cs" />
|
||||
<Compile Include="Models\ContentEditing\AssignedContentPermissions.cs" />
|
||||
<Compile Include="Models\ContentEditing\AssignedUserGroupPermissions.cs" />
|
||||
<Compile Include="Models\ContentEditing\CodeFileDisplay.cs" />
|
||||
<Compile Include="Models\ContentEditing\ContentRedirectUrl.cs" />
|
||||
<Compile Include="Models\ContentEditing\ContentVariantSave.cs" />
|
||||
<Compile Include="Models\ContentEditing\ContentVariationDisplay.cs" />
|
||||
<Compile Include="Models\ContentEditing\DomainDisplay.cs" />
|
||||
<Compile Include="Models\ContentEditing\DomainSave.cs" />
|
||||
<Compile Include="Models\ContentEditing\CreatedDocumentTypeCollectionResult.cs" />
|
||||
<Compile Include="Models\ContentEditing\DictionaryDisplay.cs" />
|
||||
<Compile Include="Models\ContentEditing\DictionaryOverviewDisplay.cs" />
|
||||
<Compile Include="Models\ContentEditing\DictionaryOverviewTranslationDisplay.cs" />
|
||||
<Compile Include="Models\ContentEditing\DictionarySave.cs" />
|
||||
<Compile Include="Models\ContentEditing\DictionaryTranslationDisplay.cs" />
|
||||
<Compile Include="Models\ContentEditing\DictionaryTranslationSave.cs" />
|
||||
<Compile Include="Models\ContentEditing\EditorNavigation.cs" />
|
||||
<Compile Include="Models\ContentEditing\GetAvailableCompositionsFilter.cs" />
|
||||
<Compile Include="Editors\IEditorValidator.cs" />
|
||||
<Compile Include="Editors\EditorModelEventManager.cs" />
|
||||
<Compile Include="HtmlHelperBackOfficeExtensions.cs" />
|
||||
<Compile Include="Models\ContentEditing\IContentProperties.cs" />
|
||||
<Compile Include="Models\ContentEditing\ITabbedContent.cs" />
|
||||
<Compile Include="Models\ContentEditing\NotifySetting.cs" />
|
||||
<Compile Include="Models\ContentEditing\Permission.cs" />
|
||||
<Compile Include="Models\ContentEditing\PostedFolder.cs" />
|
||||
<Compile Include="Models\ContentEditing\SnippetDisplay.cs" />
|
||||
<Compile Include="Models\ContentEditing\TemplateDisplay.cs" />
|
||||
@@ -425,9 +400,7 @@
|
||||
<Compile Include="Models\ContentEditing\UserGroupPermissionsSave.cs" />
|
||||
<Compile Include="Models\ContentEditing\UserGroupSave.cs" />
|
||||
<Compile Include="Models\ContentEditing\UserInvite.cs" />
|
||||
<Compile Include="Models\ContentEditing\UserProfile.cs" />
|
||||
<Compile Include="Models\ContentEditing\UserSave.cs" />
|
||||
<Compile Include="Models\ContentEditing\Language.cs" />
|
||||
<Compile Include="Models\ContentTypeImportModel.cs" />
|
||||
<Compile Include="Models\Mapping\AuditMapDefinition.cs" />
|
||||
<Compile Include="Models\Mapping\DictionaryMapDefinition.cs" />
|
||||
@@ -439,9 +412,7 @@
|
||||
<Compile Include="Models\Mapping\ContentVariantMapper.cs" />
|
||||
<Compile Include="Models\PublishedContent\HttpContextVariationContextAccessor.cs" />
|
||||
<Compile Include="Models\PublishedContent\PublishedValueFallback.cs" />
|
||||
<Compile Include="Models\SendCodeViewModel.cs" />
|
||||
<Compile Include="Models\Trees\ExportMember.cs" />
|
||||
<Compile Include="Models\UserTourStatus.cs" />
|
||||
<Compile Include="Composing\ModuleInjector.cs" />
|
||||
<Compile Include="Mvc\FilteredControllerFactoryCollection.cs" />
|
||||
<Compile Include="Mvc\FilteredControllerFactoryCollectionBuilder.cs" />
|
||||
@@ -597,7 +568,6 @@
|
||||
<Compile Include="Runtime\WebInitialComponent.cs" />
|
||||
<Compile Include="Editors\PublishedStatusController.cs" />
|
||||
<Compile Include="Editors\NuCacheStatusController.cs" />
|
||||
<Compile Include="Models\ContentEditing\EntityBasic.cs" />
|
||||
<Compile Include="Services\SectionService.cs" />
|
||||
<Compile Include="Trees\TreeAttribute.cs" />
|
||||
<Compile Include="Models\Trees\TreeNode.cs" />
|
||||
@@ -617,10 +587,6 @@
|
||||
<Compile Include="Models\ContentEditing\PropertyTypeBasic.cs" />
|
||||
<Compile Include="Models\ContentEditing\SimpleNotificationModel.cs" />
|
||||
<Compile Include="Models\LocalPackageInstallModel.cs" />
|
||||
<Compile Include="Models\PackageInstallResult.cs" />
|
||||
<Compile Include="Models\SetPasswordModel.cs" />
|
||||
<Compile Include="Models\RequestPasswordResetModel.cs" />
|
||||
<Compile Include="Models\ValidatePasswordResetCodeModel.cs" />
|
||||
<Compile Include="Mvc\ControllerContextExtensions.cs" />
|
||||
<Compile Include="Mvc\DisableBrowserCacheAttribute.cs" />
|
||||
<Compile Include="Mvc\EnsurePartialViewMacroViewContextFilterAttribute.cs" />
|
||||
@@ -660,7 +626,6 @@
|
||||
<Compile Include="HtmlStringUtilities.cs" />
|
||||
<Compile Include="IUmbracoComponentRenderer.cs" />
|
||||
<Compile Include="Models\Mapping\RelationMapDefinition.cs" />
|
||||
<Compile Include="Models\UnLinkLoginModel.cs" />
|
||||
<Compile Include="Mvc\MvcVersionCheck.cs" />
|
||||
<Compile Include="Scheduling\ThreadingTaskImmutable.cs" />
|
||||
<Compile Include="Mvc\ProfilingView.cs" />
|
||||
@@ -697,25 +662,12 @@
|
||||
<Compile Include="Editors\PackageInstallController.cs" />
|
||||
<Compile Include="Editors\RelationController.cs" />
|
||||
<Compile Include="GridTemplateExtensions.cs" />
|
||||
<Compile Include="Models\PackageInstallModel.cs" />
|
||||
<Compile Include="Models\ContentEditing\DataTypeBasic.cs" />
|
||||
<Compile Include="Models\ContentEditing\MemberBasic.cs" />
|
||||
<Compile Include="Models\ContentEditing\MemberListDisplay.cs" />
|
||||
<Compile Include="Models\TemplateQuery\ContentTypeModel.cs" />
|
||||
<Compile Include="Models\TemplateQuery\PropertyModel.cs" />
|
||||
<Compile Include="Models\TemplateQuery\SourceModel.cs" />
|
||||
<Compile Include="Models\TemplateQuery\TemplateQueryResult.cs" />
|
||||
<Compile Include="Models\TemplateQuery\SortExpression.cs" />
|
||||
<Compile Include="Models\TemplateQuery\Operator.cs" />
|
||||
<Compile Include="Models\TemplateQuery\OperatorTerm.cs" />
|
||||
<Compile Include="Models\TemplateQuery\QueryCondition.cs" />
|
||||
<Compile Include="Models\TemplateQuery\QueryModel.cs" />
|
||||
<Compile Include="Models\TemplateQuery\QueryResultModel.cs" />
|
||||
<Compile Include="Editors\TemplateQueryController.cs" />
|
||||
<Compile Include="Models\ContentEditing\ContentBaseSave.cs" />
|
||||
<Compile Include="Models\ContentEditing\MediaItemSave.cs" />
|
||||
<Compile Include="Models\ImageCropAnchor.cs" />
|
||||
<Compile Include="Models\ImageCropMode.cs" />
|
||||
<Compile Include="Install\InstallException.cs" />
|
||||
<Compile Include="Install\InstallStatusTracker.cs" />
|
||||
<Compile Include="Install\InstallSteps\DatabaseConfigureStep.cs" />
|
||||
@@ -745,12 +697,6 @@
|
||||
<Compile Include="Install\Controllers\InstallApiController.cs" />
|
||||
<Compile Include="Install\Controllers\InstallController.cs" />
|
||||
<Compile Include="Install\InstallAuthorizeAttribute.cs" />
|
||||
<Compile Include="Models\ContentEditing\ListViewAwareContentItemDisplayBase.cs" />
|
||||
<Compile Include="Models\ContentEditing\PropertyTypeValidation.cs" />
|
||||
<Compile Include="Models\ImageCropRatioMode.cs" />
|
||||
<Compile Include="Models\IContentModel.cs" />
|
||||
<Compile Include="Models\PartialViewMacroModelExtensions.cs" />
|
||||
<Compile Include="Models\PostRedirectModel.cs" />
|
||||
<Compile Include="Mvc\ActionExecutedEventArgs.cs" />
|
||||
<Compile Include="Mvc\AdminTokenAuthorizeAttribute.cs" />
|
||||
<Compile Include="Mvc\NotFoundHandler.cs" />
|
||||
@@ -760,7 +706,6 @@
|
||||
<Compile Include="Mvc\UmbracoVirtualNodeByIdRouteHandler.cs" />
|
||||
<Compile Include="PropertyEditors\TagsDataController.cs" />
|
||||
<Compile Include="PublishedCache\PublishedMember.cs" />
|
||||
<Compile Include="Models\ContentModelOfTContent.cs" />
|
||||
<Compile Include="Mvc\JsonNetResult.cs" />
|
||||
<Compile Include="Mvc\MinifyJavaScriptResultAttribute.cs" />
|
||||
<Compile Include="Mvc\EnsurePublishedContentRequestAttribute.cs" />
|
||||
@@ -770,13 +715,10 @@
|
||||
<Compile Include="Editors\MemberTypeController.cs" />
|
||||
<Compile Include="Editors\UpdateCheckController.cs" />
|
||||
<Compile Include="PasswordConfigurationExtensions.cs" />
|
||||
<Compile Include="Models\ChangingPasswordModel.cs" />
|
||||
<Compile Include="Models\ContentEditing\ModelWithNotifications.cs" />
|
||||
<Compile Include="Models\ContentEditing\StyleSheet.cs" />
|
||||
<Compile Include="Editors\StylesheetController.cs" />
|
||||
<Compile Include="Models\ContentEditing\AuditLog.cs" />
|
||||
<Compile Include="Models\ContentEditing\MoveOrCopy.cs" />
|
||||
<Compile Include="Models\ContentEditing\MacroParameter.cs" />
|
||||
<Compile Include="Models\ContentEditing\MemberDisplay.cs" />
|
||||
<Compile Include="Models\ContentEditing\MemberSave.cs" />
|
||||
<Compile Include="Models\ContentEditing\RichTextEditorCommand.cs" />
|
||||
@@ -787,8 +729,6 @@
|
||||
<Compile Include="Models\Mapping\MacroMapDefinition.cs" />
|
||||
<Compile Include="Models\Mapping\MemberMapDefinition.cs" />
|
||||
<Compile Include="Models\Mapping\TagMapDefinition.cs" />
|
||||
<Compile Include="Models\UpgradeCheckResponse.cs" />
|
||||
<Compile Include="Models\PasswordChangedModel.cs" />
|
||||
<Compile Include="PropertyEditors\ColorPickerConfigurationEditor.cs" />
|
||||
<Compile Include="PropertyEditors\EmailAddressPropertyEditor.cs" />
|
||||
<Compile Include="PropertyEditors\ImageCropperPropertyEditor.cs" />
|
||||
@@ -886,11 +826,9 @@
|
||||
<Compile Include="PropertyEditors\ValueConverters\MarkdownEditorValueConverter.cs" />
|
||||
<Compile Include="PropertyEditors\ValueConverters\TextStringValueConverter.cs" />
|
||||
<Compile Include="PublishedPropertyExtension.cs" />
|
||||
<Compile Include="Models\UmbracoProperty.cs" />
|
||||
<Compile Include="Mvc\MergeParentContextViewDataAttribute.cs" />
|
||||
<Compile Include="Mvc\ViewDataDictionaryExtensions.cs" />
|
||||
<Compile Include="Models\RegisterModel.cs" />
|
||||
<Compile Include="Models\LoginModel.cs" />
|
||||
<Compile Include="Editors\MediaTypeController.cs" />
|
||||
<Compile Include="Scheduling\IBackgroundTask.cs" />
|
||||
<Compile Include="Scheduling\KeepAlive.cs" />
|
||||
@@ -902,17 +840,8 @@
|
||||
<Compile Include="Editors\UmbracoAuthorizedJsonController.cs" />
|
||||
<Compile Include="HttpCookieExtensions.cs" />
|
||||
<Compile Include="Models\ContentEditing\ContentItemDisplayBase.cs" />
|
||||
<Compile Include="Models\ContentEditing\ContentSaveAction.cs" />
|
||||
<Compile Include="Models\ContentEditing\ContentTypeBasic.cs" />
|
||||
<Compile Include="Models\ContentEditing\IErrorModel.cs" />
|
||||
<Compile Include="Models\ContentEditing\IHaveUploadedFiles.cs" />
|
||||
<Compile Include="Models\ContentEditing\INotificationModel.cs" />
|
||||
<Compile Include="Models\ContentEditing\MediaItemDisplay.cs" />
|
||||
<Compile Include="Models\ContentEditing\MessagesExtensions.cs" />
|
||||
<Compile Include="Models\ContentEditing\Notification.cs" />
|
||||
<Compile Include="Models\ContentEditing\Section.cs" />
|
||||
<Compile Include="Models\ContentEditing\Tab.cs" />
|
||||
<Compile Include="Models\ContentEditing\TabbedContentItem.cs" />
|
||||
<Compile Include="Models\ContentEditing\UserBasic.cs" />
|
||||
<Compile Include="Models\ContentEditing\UserDetail.cs" />
|
||||
<Compile Include="FormDataCollectionExtensions.cs" />
|
||||
@@ -957,12 +886,9 @@
|
||||
<Compile Include="Trees\TreeRenderingEventArgs.cs" />
|
||||
<Compile Include="Trees\UrlHelperExtensions.cs" />
|
||||
<Compile Include="JavaScript\JsInitialization.cs" />
|
||||
<Compile Include="Models\ContentEditing\ContentItemBasic.cs" />
|
||||
<Compile Include="Models\ContentEditing\ContentItemDisplay.cs" />
|
||||
<Compile Include="Models\ContentEditing\ContentPropertyCollectionDto.cs" />
|
||||
<Compile Include="Models\ContentEditing\ContentItemSave.cs" />
|
||||
<Compile Include="Models\ContentEditing\ContentPropertyBasic.cs" />
|
||||
<Compile Include="Models\ContentEditing\ContentPropertyDisplay.cs" />
|
||||
<Compile Include="Models\ContentEditing\ContentPropertyDto.cs" />
|
||||
<Compile Include="HttpRequestExtensions.cs" />
|
||||
<Compile Include="HttpUrlHelperExtensions.cs" />
|
||||
@@ -972,7 +898,6 @@
|
||||
<Compile Include="Macros\PartialViewMacroController.cs" />
|
||||
<Compile Include="Macros\PartialViewMacroEngine.cs" />
|
||||
<Compile Include="Macros\PartialViewMacroPage.cs" />
|
||||
<Compile Include="Models\PartialViewMacroModel.cs" />
|
||||
<Compile Include="Models\PublishedContentBase.cs" />
|
||||
<Compile Include="Mvc\AreaRegistrationExtensions.cs" />
|
||||
<Compile Include="Mvc\QueryStringFilterAttribute.cs" />
|
||||
@@ -1073,7 +998,6 @@
|
||||
<Compile Include="Templates\TemplateRenderer.cs" />
|
||||
<Compile Include="Trees\PartialViewMacrosTreeController.cs" />
|
||||
<Compile Include="Trees\PartialViewsTreeController.cs" />
|
||||
<Compile Include="Models\ContentEditing\NotificationStyle.cs" />
|
||||
<Compile Include="UmbracoHelper.cs" />
|
||||
<Compile Include="Mvc\ViewContextExtensions.cs" />
|
||||
<Compile Include="Mvc\ViewDataContainerExtensions.cs" />
|
||||
@@ -1083,7 +1007,6 @@
|
||||
<Compile Include="Mvc\MasterControllerFactory.cs" />
|
||||
<Compile Include="Mvc\RenderActionInvoker.cs" />
|
||||
<Compile Include="Mvc\RenderControllerFactory.cs" />
|
||||
<Compile Include="Models\ContentModel.cs" />
|
||||
<Compile Include="Mvc\ContentModelBinder.cs" />
|
||||
<Compile Include="Mvc\RenderMvcController.cs" />
|
||||
<Compile Include="Mvc\RenderRouteHandler.cs" />
|
||||
|
||||
Reference in New Issue
Block a user