From ac769e656b122ff569c3f1534701b71e00fed586 Mon Sep 17 00:00:00 2001 From: crupest Date: Tue, 27 Oct 2020 19:21:35 +0800 Subject: Split front and back end. --- .../Authentication/AuthHandler.Designer.cs | 99 ------ Timeline/Resources/Authentication/AuthHandler.resx | 132 ------- .../ControllerAuthExtensions.Designer.cs | 81 ----- .../Controllers/ControllerAuthExtensions.resx | 126 ------- .../Controllers/TimelineController.Designer.cs | 81 ----- .../Resources/Controllers/TimelineController.resx | 126 ------- .../Controllers/TokenController.Designer.cs | 153 -------- .../Resources/Controllers/TokenController.resx | 150 -------- .../Controllers/UserAvatarController.Designer.cs | 144 -------- .../Controllers/UserAvatarController.resx | 147 -------- .../Controllers/UserController.Designer.cs | 117 ------ Timeline/Resources/Controllers/UserController.resx | 138 ------- Timeline/Resources/Entities.Designer.cs | 72 ---- Timeline/Resources/Entities.resx | 123 ------- Timeline/Resources/Filters.Designer.cs | 90 ----- Timeline/Resources/Filters.resx | 129 ------- .../Resources/Helper/DataCacheHelper.Designer.cs | 90 ----- Timeline/Resources/Helper/DataCacheHelper.resx | 129 ------- Timeline/Resources/Messages.Designer.cs | 396 --------------------- Timeline/Resources/Messages.resx | 231 ------------ Timeline/Resources/Models/Http/Common.Designer.cs | 99 ------ Timeline/Resources/Models/Http/Common.resx | 132 ------- .../Resources/Models/Http/Exception.Designer.cs | 81 ----- Timeline/Resources/Models/Http/Exception.resx | 126 ------- .../Models/Validation/NameValidator.Designer.cs | 99 ------ .../Resources/Models/Validation/NameValidator.resx | 132 ------- .../Validation/NicknameValidator.Designer.cs | 72 ---- .../Models/Validation/NicknameValidator.resx | 123 ------- .../Models/Validation/Validator.Designer.cs | 108 ------ .../Resources/Models/Validation/Validator.resx | 135 ------- .../Resources/Services/DataManager.Designer.cs | 72 ---- Timeline/Resources/Services/DataManager.resx | 123 ------- Timeline/Resources/Services/Exception.Designer.cs | 234 ------------ Timeline/Resources/Services/Exception.resx | 177 --------- Timeline/Resources/Services/Exceptions.Designer.cs | 189 ---------- Timeline/Resources/Services/Exceptions.resx | 142 -------- .../Resources/Services/TimelineService.Designer.cs | 144 -------- Timeline/Resources/Services/TimelineService.resx | 147 -------- .../Services/UserAvatarService.Designer.cs | 108 ------ Timeline/Resources/Services/UserAvatarService.resx | 135 ------- .../Resources/Services/UserService.Designer.cs | 162 --------- Timeline/Resources/Services/UserService.resx | 153 -------- .../Services/UserTokenService.Designer.cs | 72 ---- Timeline/Resources/Services/UserTokenService.resx | 123 ------- 44 files changed, 5842 deletions(-) delete mode 100644 Timeline/Resources/Authentication/AuthHandler.Designer.cs delete mode 100644 Timeline/Resources/Authentication/AuthHandler.resx delete mode 100644 Timeline/Resources/Controllers/ControllerAuthExtensions.Designer.cs delete mode 100644 Timeline/Resources/Controllers/ControllerAuthExtensions.resx delete mode 100644 Timeline/Resources/Controllers/TimelineController.Designer.cs delete mode 100644 Timeline/Resources/Controllers/TimelineController.resx delete mode 100644 Timeline/Resources/Controllers/TokenController.Designer.cs delete mode 100644 Timeline/Resources/Controllers/TokenController.resx delete mode 100644 Timeline/Resources/Controllers/UserAvatarController.Designer.cs delete mode 100644 Timeline/Resources/Controllers/UserAvatarController.resx delete mode 100644 Timeline/Resources/Controllers/UserController.Designer.cs delete mode 100644 Timeline/Resources/Controllers/UserController.resx delete mode 100644 Timeline/Resources/Entities.Designer.cs delete mode 100644 Timeline/Resources/Entities.resx delete mode 100644 Timeline/Resources/Filters.Designer.cs delete mode 100644 Timeline/Resources/Filters.resx delete mode 100644 Timeline/Resources/Helper/DataCacheHelper.Designer.cs delete mode 100644 Timeline/Resources/Helper/DataCacheHelper.resx delete mode 100644 Timeline/Resources/Messages.Designer.cs delete mode 100644 Timeline/Resources/Messages.resx delete mode 100644 Timeline/Resources/Models/Http/Common.Designer.cs delete mode 100644 Timeline/Resources/Models/Http/Common.resx delete mode 100644 Timeline/Resources/Models/Http/Exception.Designer.cs delete mode 100644 Timeline/Resources/Models/Http/Exception.resx delete mode 100644 Timeline/Resources/Models/Validation/NameValidator.Designer.cs delete mode 100644 Timeline/Resources/Models/Validation/NameValidator.resx delete mode 100644 Timeline/Resources/Models/Validation/NicknameValidator.Designer.cs delete mode 100644 Timeline/Resources/Models/Validation/NicknameValidator.resx delete mode 100644 Timeline/Resources/Models/Validation/Validator.Designer.cs delete mode 100644 Timeline/Resources/Models/Validation/Validator.resx delete mode 100644 Timeline/Resources/Services/DataManager.Designer.cs delete mode 100644 Timeline/Resources/Services/DataManager.resx delete mode 100644 Timeline/Resources/Services/Exception.Designer.cs delete mode 100644 Timeline/Resources/Services/Exception.resx delete mode 100644 Timeline/Resources/Services/Exceptions.Designer.cs delete mode 100644 Timeline/Resources/Services/Exceptions.resx delete mode 100644 Timeline/Resources/Services/TimelineService.Designer.cs delete mode 100644 Timeline/Resources/Services/TimelineService.resx delete mode 100644 Timeline/Resources/Services/UserAvatarService.Designer.cs delete mode 100644 Timeline/Resources/Services/UserAvatarService.resx delete mode 100644 Timeline/Resources/Services/UserService.Designer.cs delete mode 100644 Timeline/Resources/Services/UserService.resx delete mode 100644 Timeline/Resources/Services/UserTokenService.Designer.cs delete mode 100644 Timeline/Resources/Services/UserTokenService.resx (limited to 'Timeline/Resources') diff --git a/Timeline/Resources/Authentication/AuthHandler.Designer.cs b/Timeline/Resources/Authentication/AuthHandler.Designer.cs deleted file mode 100644 index fd4540ea..00000000 --- a/Timeline/Resources/Authentication/AuthHandler.Designer.cs +++ /dev/null @@ -1,99 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.42000 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace Timeline.Resources.Authentication { - using System; - - - /// - /// A strongly-typed resource class, for looking up localized strings, etc. - /// - // This class was auto-generated by the StronglyTypedResourceBuilder - // class via a tool like ResGen or Visual Studio. - // To add or remove a member, edit your .ResX file then rerun ResGen - // with the /str option, or rebuild your VS project. - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")] - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - internal class AuthHandler { - - private static global::System.Resources.ResourceManager resourceMan; - - private static global::System.Globalization.CultureInfo resourceCulture; - - [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal AuthHandler() { - } - - /// - /// Returns the cached ResourceManager instance used by this class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager { - get { - if (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Timeline.Resources.Authentication.AuthHandler", typeof(AuthHandler).Assembly); - resourceMan = temp; - } - return resourceMan; - } - } - - /// - /// Overrides the current thread's CurrentUICulture property for all - /// resource lookups using this strongly typed resource class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture { - get { - return resourceCulture; - } - set { - resourceCulture = value; - } - } - - /// - /// Looks up a localized string similar to Token is found in authorization header. Token is {0} .. - /// - internal static string LogTokenFoundInHeader { - get { - return ResourceManager.GetString("LogTokenFoundInHeader", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Token is found in query param with key "{0}". Token is {1} .. - /// - internal static string LogTokenFoundInQuery { - get { - return ResourceManager.GetString("LogTokenFoundInQuery", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to No jwt token is found.. - /// - internal static string LogTokenNotFound { - get { - return ResourceManager.GetString("LogTokenNotFound", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A jwt token validation failed.. - /// - internal static string LogTokenValidationFail { - get { - return ResourceManager.GetString("LogTokenValidationFail", resourceCulture); - } - } - } -} diff --git a/Timeline/Resources/Authentication/AuthHandler.resx b/Timeline/Resources/Authentication/AuthHandler.resx deleted file mode 100644 index 4cddc8ce..00000000 --- a/Timeline/Resources/Authentication/AuthHandler.resx +++ /dev/null @@ -1,132 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Token is found in authorization header. Token is {0} . - - - Token is found in query param with key "{0}". Token is {1} . - - - No jwt token is found. - - - A jwt token validation failed. - - \ No newline at end of file diff --git a/Timeline/Resources/Controllers/ControllerAuthExtensions.Designer.cs b/Timeline/Resources/Controllers/ControllerAuthExtensions.Designer.cs deleted file mode 100644 index 70a1d605..00000000 --- a/Timeline/Resources/Controllers/ControllerAuthExtensions.Designer.cs +++ /dev/null @@ -1,81 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.42000 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace Timeline.Resources.Controllers { - using System; - - - /// - /// A strongly-typed resource class, for looking up localized strings, etc. - /// - // This class was auto-generated by the StronglyTypedResourceBuilder - // class via a tool like ResGen or Visual Studio. - // To add or remove a member, edit your .ResX file then rerun ResGen - // with the /str option, or rebuild your VS project. - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")] - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - internal class ControllerAuthExtensions { - - private static global::System.Resources.ResourceManager resourceMan; - - private static global::System.Globalization.CultureInfo resourceCulture; - - [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal ControllerAuthExtensions() { - } - - /// - /// Returns the cached ResourceManager instance used by this class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager { - get { - if (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Timeline.Resources.Controllers.ControllerAuthExtensions", typeof(ControllerAuthExtensions).Assembly); - resourceMan = temp; - } - return resourceMan; - } - } - - /// - /// Overrides the current thread's CurrentUICulture property for all - /// resource lookups using this strongly typed resource class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture { - get { - return resourceCulture; - } - set { - resourceCulture = value; - } - } - - /// - /// Looks up a localized string similar to Failed to get user id because User has no NameIdentifier claim.. - /// - internal static string ExceptionNoUserIdentifierClaim { - get { - return ResourceManager.GetString("ExceptionNoUserIdentifierClaim", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Failed to get user id because NameIdentifier claim is not a number.. - /// - internal static string ExceptionUserIdentifierClaimBadFormat { - get { - return ResourceManager.GetString("ExceptionUserIdentifierClaimBadFormat", resourceCulture); - } - } - } -} diff --git a/Timeline/Resources/Controllers/ControllerAuthExtensions.resx b/Timeline/Resources/Controllers/ControllerAuthExtensions.resx deleted file mode 100644 index 03e6d95a..00000000 --- a/Timeline/Resources/Controllers/ControllerAuthExtensions.resx +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Failed to get user id because User has no NameIdentifier claim. - - - Failed to get user id because NameIdentifier claim is not a number. - - \ No newline at end of file diff --git a/Timeline/Resources/Controllers/TimelineController.Designer.cs b/Timeline/Resources/Controllers/TimelineController.Designer.cs deleted file mode 100644 index ae6414e6..00000000 --- a/Timeline/Resources/Controllers/TimelineController.Designer.cs +++ /dev/null @@ -1,81 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.42000 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace Timeline.Resources.Controllers { - using System; - - - /// - /// A strongly-typed resource class, for looking up localized strings, etc. - /// - // This class was auto-generated by the StronglyTypedResourceBuilder - // class via a tool like ResGen or Visual Studio. - // To add or remove a member, edit your .ResX file then rerun ResGen - // with the /str option, or rebuild your VS project. - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")] - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - internal class TimelineController { - - private static global::System.Resources.ResourceManager resourceMan; - - private static global::System.Globalization.CultureInfo resourceCulture; - - [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal TimelineController() { - } - - /// - /// Returns the cached ResourceManager instance used by this class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager { - get { - if (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Timeline.Resources.Controllers.TimelineController", typeof(TimelineController).Assembly); - resourceMan = temp; - } - return resourceMan; - } - } - - /// - /// Overrides the current thread's CurrentUICulture property for all - /// resource lookups using this strongly typed resource class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture { - get { - return resourceCulture; - } - set { - resourceCulture = value; - } - } - - /// - /// Looks up a localized string similar to An unknown timeline visibility value. Can't convert it.. - /// - internal static string ExceptionStringToVisibility { - get { - return ResourceManager.GetString("ExceptionStringToVisibility", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to An unknown TimelineMemberOperationUserException is thrown. Can't recognize its inner exception. It is rethrown.. - /// - internal static string LogUnknownTimelineMemberOperationUserException { - get { - return ResourceManager.GetString("LogUnknownTimelineMemberOperationUserException", resourceCulture); - } - } - } -} diff --git a/Timeline/Resources/Controllers/TimelineController.resx b/Timeline/Resources/Controllers/TimelineController.resx deleted file mode 100644 index 4cf3d6fb..00000000 --- a/Timeline/Resources/Controllers/TimelineController.resx +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - An unknown timeline visibility value. Can't convert it. - - - An unknown TimelineMemberOperationUserException is thrown. Can't recognize its inner exception. It is rethrown. - - \ No newline at end of file diff --git a/Timeline/Resources/Controllers/TokenController.Designer.cs b/Timeline/Resources/Controllers/TokenController.Designer.cs deleted file mode 100644 index a7c2864b..00000000 --- a/Timeline/Resources/Controllers/TokenController.Designer.cs +++ /dev/null @@ -1,153 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.42000 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace Timeline.Resources.Controllers { - using System; - - - /// - /// A strongly-typed resource class, for looking up localized strings, etc. - /// - // This class was auto-generated by the StronglyTypedResourceBuilder - // class via a tool like ResGen or Visual Studio. - // To add or remove a member, edit your .ResX file then rerun ResGen - // with the /str option, or rebuild your VS project. - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")] - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - internal class TokenController { - - private static global::System.Resources.ResourceManager resourceMan; - - private static global::System.Globalization.CultureInfo resourceCulture; - - [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal TokenController() { - } - - /// - /// Returns the cached ResourceManager instance used by this class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager { - get { - if (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Timeline.Resources.Controllers.TokenController", typeof(TokenController).Assembly); - resourceMan = temp; - } - return resourceMan; - } - } - - /// - /// Overrides the current thread's CurrentUICulture property for all - /// resource lookups using this strongly typed resource class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture { - get { - return resourceCulture; - } - set { - resourceCulture = value; - } - } - - /// - /// Looks up a localized string similar to The password is wrong.. - /// - internal static string LogBadPassword { - get { - return ResourceManager.GetString("LogBadPassword", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A user failed to create a token.. - /// - internal static string LogCreateFailure { - get { - return ResourceManager.GetString("LogCreateFailure", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A user succeeded to create a token.. - /// - internal static string LogCreateSuccess { - get { - return ResourceManager.GetString("LogCreateSuccess", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The user does not exist.. - /// - internal static string LogUserNotExist { - get { - return ResourceManager.GetString("LogUserNotExist", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The token is of bad format. It might not be created by the server.. - /// - internal static string LogVerifyBadFormat { - get { - return ResourceManager.GetString("LogVerifyBadFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The token is expired.. - /// - internal static string LogVerifyExpire { - get { - return ResourceManager.GetString("LogVerifyExpire", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A token failed to be verified.. - /// - internal static string LogVerifyFailure { - get { - return ResourceManager.GetString("LogVerifyFailure", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Token has an old version. User might have update some info.. - /// - internal static string LogVerifyOldVersion { - get { - return ResourceManager.GetString("LogVerifyOldVersion", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A token succeeded to be verified.. - /// - internal static string LogVerifySuccess { - get { - return ResourceManager.GetString("LogVerifySuccess", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to User does not exist. Administrator might have deleted this user.. - /// - internal static string LogVerifyUserNotExist { - get { - return ResourceManager.GetString("LogVerifyUserNotExist", resourceCulture); - } - } - } -} diff --git a/Timeline/Resources/Controllers/TokenController.resx b/Timeline/Resources/Controllers/TokenController.resx deleted file mode 100644 index 683d6cc9..00000000 --- a/Timeline/Resources/Controllers/TokenController.resx +++ /dev/null @@ -1,150 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - The password is wrong. - - - A user failed to create a token. - - - A user succeeded to create a token. - - - The user does not exist. - - - The token is of bad format. It might not be created by the server. - - - The token is expired. - - - A token failed to be verified. - - - Token has an old version. User might have update some info. - - - A token succeeded to be verified. - - - User does not exist. Administrator might have deleted this user. - - \ No newline at end of file diff --git a/Timeline/Resources/Controllers/UserAvatarController.Designer.cs b/Timeline/Resources/Controllers/UserAvatarController.Designer.cs deleted file mode 100644 index b0c35ff9..00000000 --- a/Timeline/Resources/Controllers/UserAvatarController.Designer.cs +++ /dev/null @@ -1,144 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.42000 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace Timeline.Resources.Controllers { - using System; - - - /// - /// A strongly-typed resource class, for looking up localized strings, etc. - /// - // This class was auto-generated by the StronglyTypedResourceBuilder - // class via a tool like ResGen or Visual Studio. - // To add or remove a member, edit your .ResX file then rerun ResGen - // with the /str option, or rebuild your VS project. - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")] - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - internal class UserAvatarController { - - private static global::System.Resources.ResourceManager resourceMan; - - private static global::System.Globalization.CultureInfo resourceCulture; - - [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal UserAvatarController() { - } - - /// - /// Returns the cached ResourceManager instance used by this class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager { - get { - if (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Timeline.Resources.Controllers.UserAvatarController", typeof(UserAvatarController).Assembly); - resourceMan = temp; - } - return resourceMan; - } - } - - /// - /// Overrides the current thread's CurrentUICulture property for all - /// resource lookups using this strongly typed resource class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture { - get { - return resourceCulture; - } - set { - resourceCulture = value; - } - } - - /// - /// Looks up a localized string similar to Unknown AvatarDataException.ErrorReason value.. - /// - internal static string ExceptionUnknownAvatarFormatError { - get { - return ResourceManager.GetString("ExceptionUnknownAvatarFormatError", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Attempt to delete a avatar of other user as a non-admin failed.. - /// - internal static string LogDeleteForbid { - get { - return ResourceManager.GetString("LogDeleteForbid", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Attempt to delete a avatar of a non-existent user failed.. - /// - internal static string LogDeleteNotExist { - get { - return ResourceManager.GetString("LogDeleteNotExist", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Succeed to delete a avatar of a user.. - /// - internal static string LogDeleteSuccess { - get { - return ResourceManager.GetString("LogDeleteSuccess", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Attempt to get a avatar of a non-existent user failed.. - /// - internal static string LogGetUserNotExist { - get { - return ResourceManager.GetString("LogGetUserNotExist", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Attempt to put a avatar of other user as a non-admin failed.. - /// - internal static string LogPutForbid { - get { - return ResourceManager.GetString("LogPutForbid", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Succeed to put a avatar of a user.. - /// - internal static string LogPutSuccess { - get { - return ResourceManager.GetString("LogPutSuccess", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Attempt to put a avatar of a bad format failed.. - /// - internal static string LogPutUserBadFormat { - get { - return ResourceManager.GetString("LogPutUserBadFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Attempt to put a avatar of a non-existent user failed.. - /// - internal static string LogPutUserNotExist { - get { - return ResourceManager.GetString("LogPutUserNotExist", resourceCulture); - } - } - } -} diff --git a/Timeline/Resources/Controllers/UserAvatarController.resx b/Timeline/Resources/Controllers/UserAvatarController.resx deleted file mode 100644 index 864d96c0..00000000 --- a/Timeline/Resources/Controllers/UserAvatarController.resx +++ /dev/null @@ -1,147 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Unknown AvatarDataException.ErrorReason value. - - - Attempt to delete a avatar of other user as a non-admin failed. - - - Attempt to delete a avatar of a non-existent user failed. - - - Succeed to delete a avatar of a user. - - - Attempt to get a avatar of a non-existent user failed. - - - Attempt to put a avatar of other user as a non-admin failed. - - - Succeed to put a avatar of a user. - - - Attempt to put a avatar of a bad format failed. - - - Attempt to put a avatar of a non-existent user failed. - - \ No newline at end of file diff --git a/Timeline/Resources/Controllers/UserController.Designer.cs b/Timeline/Resources/Controllers/UserController.Designer.cs deleted file mode 100644 index c8067614..00000000 --- a/Timeline/Resources/Controllers/UserController.Designer.cs +++ /dev/null @@ -1,117 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.42000 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace Timeline.Resources.Controllers { - using System; - - - /// - /// A strongly-typed resource class, for looking up localized strings, etc. - /// - // This class was auto-generated by the StronglyTypedResourceBuilder - // class via a tool like ResGen or Visual Studio. - // To add or remove a member, edit your .ResX file then rerun ResGen - // with the /str option, or rebuild your VS project. - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")] - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - internal class UserController { - - private static global::System.Resources.ResourceManager resourceMan; - - private static global::System.Globalization.CultureInfo resourceCulture; - - [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal UserController() { - } - - /// - /// Returns the cached ResourceManager instance used by this class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager { - get { - if (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Timeline.Resources.Controllers.UserController", typeof(UserController).Assembly); - resourceMan = temp; - } - return resourceMan; - } - } - - /// - /// Overrides the current thread's CurrentUICulture property for all - /// resource lookups using this strongly typed resource class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture { - get { - return resourceCulture; - } - set { - resourceCulture = value; - } - } - - /// - /// Looks up a localized string similar to Unknown PutResult.. - /// - internal static string ExceptionUnknownPutResult { - get { - return ResourceManager.GetString("ExceptionUnknownPutResult", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Attempt to change password with wrong old password failed.. - /// - internal static string LogChangePasswordBadPassword { - get { - return ResourceManager.GetString("LogChangePasswordBadPassword", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Attempt to change a user's username to a existent one failed.. - /// - internal static string LogChangeUsernameConflict { - get { - return ResourceManager.GetString("LogChangeUsernameConflict", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Attempt to change a username of a user that does not exist failed.. - /// - internal static string LogChangeUsernameNotExist { - get { - return ResourceManager.GetString("LogChangeUsernameNotExist", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Attempt to retrieve info of a user that does not exist failed.. - /// - internal static string LogGetUserNotExist { - get { - return ResourceManager.GetString("LogGetUserNotExist", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Attempt to patch a user that does not exist failed.. - /// - internal static string LogPatchUserNotExist { - get { - return ResourceManager.GetString("LogPatchUserNotExist", resourceCulture); - } - } - } -} diff --git a/Timeline/Resources/Controllers/UserController.resx b/Timeline/Resources/Controllers/UserController.resx deleted file mode 100644 index 0bdf4845..00000000 --- a/Timeline/Resources/Controllers/UserController.resx +++ /dev/null @@ -1,138 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Unknown PutResult. - - - Attempt to change password with wrong old password failed. - - - Attempt to change a user's username to a existent one failed. - - - Attempt to change a username of a user that does not exist failed. - - - Attempt to retrieve info of a user that does not exist failed. - - - Attempt to patch a user that does not exist failed. - - \ No newline at end of file diff --git a/Timeline/Resources/Entities.Designer.cs b/Timeline/Resources/Entities.Designer.cs deleted file mode 100644 index 5f286f23..00000000 --- a/Timeline/Resources/Entities.Designer.cs +++ /dev/null @@ -1,72 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.42000 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace Timeline.Resources { - using System; - - - /// - /// A strongly-typed resource class, for looking up localized strings, etc. - /// - // This class was auto-generated by the StronglyTypedResourceBuilder - // class via a tool like ResGen or Visual Studio. - // To add or remove a member, edit your .ResX file then rerun ResGen - // with the /str option, or rebuild your VS project. - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")] - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - internal class Entities { - - private static global::System.Resources.ResourceManager resourceMan; - - private static global::System.Globalization.CultureInfo resourceCulture; - - [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal Entities() { - } - - /// - /// Returns the cached ResourceManager instance used by this class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager { - get { - if (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Timeline.Resources.Entities", typeof(Entities).Assembly); - resourceMan = temp; - } - return resourceMan; - } - } - - /// - /// Overrides the current thread's CurrentUICulture property for all - /// resource lookups using this strongly typed resource class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture { - get { - return resourceCulture; - } - set { - resourceCulture = value; - } - } - - /// - /// Looks up a localized string similar to Only sqlite is supported.. - /// - internal static string ExceptionOnlySqliteSupported { - get { - return ResourceManager.GetString("ExceptionOnlySqliteSupported", resourceCulture); - } - } - } -} diff --git a/Timeline/Resources/Entities.resx b/Timeline/Resources/Entities.resx deleted file mode 100644 index 1538b533..00000000 --- a/Timeline/Resources/Entities.resx +++ /dev/null @@ -1,123 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Only sqlite is supported. - - \ No newline at end of file diff --git a/Timeline/Resources/Filters.Designer.cs b/Timeline/Resources/Filters.Designer.cs deleted file mode 100644 index dedfe498..00000000 --- a/Timeline/Resources/Filters.Designer.cs +++ /dev/null @@ -1,90 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.42000 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace Timeline.Resources { - using System; - - - /// - /// A strongly-typed resource class, for looking up localized strings, etc. - /// - // This class was auto-generated by the StronglyTypedResourceBuilder - // class via a tool like ResGen or Visual Studio. - // To add or remove a member, edit your .ResX file then rerun ResGen - // with the /str option, or rebuild your VS project. - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")] - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - internal class Filters { - - private static global::System.Resources.ResourceManager resourceMan; - - private static global::System.Globalization.CultureInfo resourceCulture; - - [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal Filters() { - } - - /// - /// Returns the cached ResourceManager instance used by this class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager { - get { - if (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Timeline.Resources.Filters", typeof(Filters).Assembly); - resourceMan = temp; - } - return resourceMan; - } - } - - /// - /// Overrides the current thread's CurrentUICulture property for all - /// resource lookups using this strongly typed resource class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture { - get { - return resourceCulture; - } - set { - resourceCulture = value; - } - } - - /// - /// Looks up a localized string similar to You apply a SelfOrAdminAttribute on an action, but there is no user. Try add AuthorizeAttribute.. - /// - internal static string LogSelfOrAdminNoUser { - get { - return ResourceManager.GetString("LogSelfOrAdminNoUser", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to You apply a SelfOrAdminAttribute on an action, but it does not have a model named username.. - /// - internal static string LogSelfOrAdminNoUsername { - get { - return ResourceManager.GetString("LogSelfOrAdminNoUsername", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to You apply a SelfOrAdminAttribute on an action, found a model named username, but it is not string.. - /// - internal static string LogSelfOrAdminUsernameNotString { - get { - return ResourceManager.GetString("LogSelfOrAdminUsernameNotString", resourceCulture); - } - } - } -} diff --git a/Timeline/Resources/Filters.resx b/Timeline/Resources/Filters.resx deleted file mode 100644 index 22620889..00000000 --- a/Timeline/Resources/Filters.resx +++ /dev/null @@ -1,129 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - You apply a SelfOrAdminAttribute on an action, but there is no user. Try add AuthorizeAttribute. - - - You apply a SelfOrAdminAttribute on an action, but it does not have a model named username. - - - You apply a SelfOrAdminAttribute on an action, found a model named username, but it is not string. - - \ No newline at end of file diff --git a/Timeline/Resources/Helper/DataCacheHelper.Designer.cs b/Timeline/Resources/Helper/DataCacheHelper.Designer.cs deleted file mode 100644 index acf56d13..00000000 --- a/Timeline/Resources/Helper/DataCacheHelper.Designer.cs +++ /dev/null @@ -1,90 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.42000 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace Timeline.Resources.Helper { - using System; - - - /// - /// A strongly-typed resource class, for looking up localized strings, etc. - /// - // This class was auto-generated by the StronglyTypedResourceBuilder - // class via a tool like ResGen or Visual Studio. - // To add or remove a member, edit your .ResX file then rerun ResGen - // with the /str option, or rebuild your VS project. - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")] - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - internal class DataCacheHelper { - - private static global::System.Resources.ResourceManager resourceMan; - - private static global::System.Globalization.CultureInfo resourceCulture; - - [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal DataCacheHelper() { - } - - /// - /// Returns the cached ResourceManager instance used by this class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager { - get { - if (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Timeline.Resources.Helper.DataCacheHelper", typeof(DataCacheHelper).Assembly); - resourceMan = temp; - } - return resourceMan; - } - } - - /// - /// Overrides the current thread's CurrentUICulture property for all - /// resource lookups using this strongly typed resource class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture { - get { - return resourceCulture; - } - set { - resourceCulture = value; - } - } - - /// - /// Looks up a localized string similar to Header If-None-Match is of bad format.. - /// - internal static string LogBadIfNoneMatch { - get { - return ResourceManager.GetString("LogBadIfNoneMatch", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Cache is invalid and data is returned.. - /// - internal static string LogResultData { - get { - return ResourceManager.GetString("LogResultData", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Cache is valid and 304 Not Modified is returned.. - /// - internal static string LogResultNotModified { - get { - return ResourceManager.GetString("LogResultNotModified", resourceCulture); - } - } - } -} diff --git a/Timeline/Resources/Helper/DataCacheHelper.resx b/Timeline/Resources/Helper/DataCacheHelper.resx deleted file mode 100644 index 515cfa9b..00000000 --- a/Timeline/Resources/Helper/DataCacheHelper.resx +++ /dev/null @@ -1,129 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Header If-None-Match is of bad format. - - - Cache is invalid and data is returned. - - - Cache is valid and 304 Not Modified is returned. - - \ No newline at end of file diff --git a/Timeline/Resources/Messages.Designer.cs b/Timeline/Resources/Messages.Designer.cs deleted file mode 100644 index bb654ce6..00000000 --- a/Timeline/Resources/Messages.Designer.cs +++ /dev/null @@ -1,396 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.42000 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace Timeline.Resources { - using System; - - - /// - /// A strongly-typed resource class, for looking up localized strings, etc. - /// - // This class was auto-generated by the StronglyTypedResourceBuilder - // class via a tool like ResGen or Visual Studio. - // To add or remove a member, edit your .ResX file then rerun ResGen - // with the /str option, or rebuild your VS project. - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")] - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - internal class Messages { - - private static global::System.Resources.ResourceManager resourceMan; - - private static global::System.Globalization.CultureInfo resourceCulture; - - [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal Messages() { - } - - /// - /// Returns the cached ResourceManager instance used by this class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager { - get { - if (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Timeline.Resources.Messages", typeof(Messages).Assembly); - resourceMan = temp; - } - return resourceMan; - } - } - - /// - /// Overrides the current thread's CurrentUICulture property for all - /// resource lookups using this strongly typed resource class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture { - get { - return resourceCulture; - } - set { - resourceCulture = value; - } - } - - /// - /// Looks up a localized string similar to Body is too big. It can't be bigger than {0}.. - /// - internal static string Common_Content_TooBig { - get { - return ResourceManager.GetString("Common_Content_TooBig", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Actual body length is bigger than it in header.. - /// - internal static string Common_Content_UnmatchedLength_Bigger { - get { - return ResourceManager.GetString("Common_Content_UnmatchedLength_Bigger", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Actual body length is smaller than it in header.. - /// - internal static string Common_Content_UnmatchedLength_Smaller { - get { - return ResourceManager.GetString("Common_Content_UnmatchedLength_Smaller", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to You have no permission to do the operation.. - /// - internal static string Common_Forbid { - get { - return ResourceManager.GetString("Common_Forbid", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to You are not the resource owner.. - /// - internal static string Common_Forbid_NotSelf { - get { - return ResourceManager.GetString("Common_Forbid_NotSelf", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Header Content-Length is missing or of bad format.. - /// - internal static string Common_Header_ContentLength_Missing { - get { - return ResourceManager.GetString("Common_Header_ContentLength_Missing", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Header Content-Length must not be 0.. - /// - internal static string Common_Header_ContentLength_Zero { - get { - return ResourceManager.GetString("Common_Header_ContentLength_Zero", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Header Content-Type is missing.. - /// - internal static string Common_Header_ContentType_Missing { - get { - return ResourceManager.GetString("Common_Header_ContentType_Missing", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Header If-Non-Match is of bad format.. - /// - internal static string Common_Header_IfNonMatch_BadFormat { - get { - return ResourceManager.GetString("Common_Header_IfNonMatch_BadFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Model is of bad format.. - /// - internal static string Common_InvalidModel { - get { - return ResourceManager.GetString("Common_InvalidModel", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The api endpoint you request is unknown. You might get the wrong api entry.. - /// - internal static string Common_UnknownEndpoint { - get { - return ResourceManager.GetString("Common_UnknownEndpoint", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Unknown type of post content.. - /// - internal static string TimelineController_ContentUnknownType { - get { - return ResourceManager.GetString("TimelineController_ContentUnknownType", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Data field is not a valid base64 string in image content.. - /// - internal static string TimelineController_ImageContentDataNotBase64 { - get { - return ResourceManager.GetString("TimelineController_ImageContentDataNotBase64", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Data field is not a valid image after base64 decoding in image content.. - /// - internal static string TimelineController_ImageContentDataNotImage { - get { - return ResourceManager.GetString("TimelineController_ImageContentDataNotImage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Data field is required for image content.. - /// - internal static string TimelineController_ImageContentDataRequired { - get { - return ResourceManager.GetString("TimelineController_ImageContentDataRequired", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The user to set as member does not exist.. - /// - internal static string TimelineController_MemberPut_NotExist { - get { - return ResourceManager.GetString("TimelineController_MemberPut_NotExist", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A timeline with given name already exists.. - /// - internal static string TimelineController_NameConflict { - get { - return ResourceManager.GetString("TimelineController_NameConflict", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The timeline with given name does not exist.. - /// - internal static string TimelineController_NotExist { - get { - return ResourceManager.GetString("TimelineController_NotExist", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The post of that type has no data.. - /// - internal static string TimelineController_PostNoData { - get { - return ResourceManager.GetString("TimelineController_PostNoData", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The post to operate on does not exist.. - /// - internal static string TimelineController_PostNotExist { - get { - return ResourceManager.GetString("TimelineController_PostNotExist", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The user specified by query param "relate" does not exist.. - /// - internal static string TimelineController_QueryRelateNotExist { - get { - return ResourceManager.GetString("TimelineController_QueryRelateNotExist", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to '{0}' is an unkown visibility in the query parameter 'visibility'. . - /// - internal static string TimelineController_QueryVisibilityUnknown { - get { - return ResourceManager.GetString("TimelineController_QueryVisibilityUnknown", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Text field is required for text content.. - /// - internal static string TimelineController_TextContentTextRequired { - get { - return ResourceManager.GetString("TimelineController_TextContentTextRequired", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Username or password is invalid.. - /// - internal static string TokenController_Create_BadCredential { - get { - return ResourceManager.GetString("TokenController_Create_BadCredential", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The token is of bad format. It might not be created by the server.. - /// - internal static string TokenController_Verify_BadFormat { - get { - return ResourceManager.GetString("TokenController_Verify_BadFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Token has an old version. User might have update some info.. - /// - internal static string TokenController_Verify_OldVersion { - get { - return ResourceManager.GetString("TokenController_Verify_OldVersion", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The token is expired.. - /// - internal static string TokenController_Verify_TimeExpired { - get { - return ResourceManager.GetString("TokenController_Verify_TimeExpired", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to User does not exist. Administrator might have deleted this user.. - /// - internal static string TokenController_Verify_UserNotExist { - get { - return ResourceManager.GetString("TokenController_Verify_UserNotExist", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Image is not a square.. - /// - internal static string UserAvatar_BadFormat_BadSize { - get { - return ResourceManager.GetString("UserAvatar_BadFormat_BadSize", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Image decode failed.. - /// - internal static string UserAvatar_BadFormat_CantDecode { - get { - return ResourceManager.GetString("UserAvatar_BadFormat_CantDecode", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Image format does not match the one in header.. - /// - internal static string UserAvatar_BadFormat_UnmatchedFormat { - get { - return ResourceManager.GetString("UserAvatar_BadFormat_UnmatchedFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The user to operate on does not exist.. - /// - internal static string UserCommon_NotExist { - get { - return ResourceManager.GetString("UserCommon_NotExist", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Old password is wrong.. - /// - internal static string UserController_ChangePassword_BadOldPassword { - get { - return ResourceManager.GetString("UserController_ChangePassword_BadOldPassword", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to You can't set permission unless you are administrator.. - /// - internal static string UserController_Patch_Forbid_Administrator { - get { - return ResourceManager.GetString("UserController_Patch_Forbid_Administrator", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to You can't set password unless you are administrator. If you want to change password, use /userop/changepassword .. - /// - internal static string UserController_Patch_Forbid_Password { - get { - return ResourceManager.GetString("UserController_Patch_Forbid_Password", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to You can't set username unless you are administrator.. - /// - internal static string UserController_Patch_Forbid_Username { - get { - return ResourceManager.GetString("UserController_Patch_Forbid_Username", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A user with given username already exists.. - /// - internal static string UserController_UsernameConflict { - get { - return ResourceManager.GetString("UserController_UsernameConflict", resourceCulture); - } - } - } -} diff --git a/Timeline/Resources/Messages.resx b/Timeline/Resources/Messages.resx deleted file mode 100644 index 2bbf494e..00000000 --- a/Timeline/Resources/Messages.resx +++ /dev/null @@ -1,231 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Body is too big. It can't be bigger than {0}. - - - Actual body length is bigger than it in header. - - - Actual body length is smaller than it in header. - - - You have no permission to do the operation. - - - You are not the resource owner. - - - Header Content-Length is missing or of bad format. - - - Header Content-Length must not be 0. - - - Header Content-Type is missing. - - - Header If-Non-Match is of bad format. - - - Model is of bad format. - - - The api endpoint you request is unknown. You might get the wrong api entry. - - - Unknown type of post content. - - - Data field is not a valid base64 string in image content. - - - Data field is not a valid image after base64 decoding in image content. - - - Data field is required for image content. - - - The user to set as member does not exist. - - - A timeline with given name already exists. - - - The timeline with given name does not exist. - - - The post of that type has no data. - - - The post to operate on does not exist. - - - The user specified by query param "relate" does not exist. - - - '{0}' is an unkown visibility in the query parameter 'visibility'. - - - Text field is required for text content. - - - Username or password is invalid. - - - The token is of bad format. It might not be created by the server. - - - Token has an old version. User might have update some info. - - - The token is expired. - - - User does not exist. Administrator might have deleted this user. - - - Image is not a square. - - - Image decode failed. - - - Image format does not match the one in header. - - - The user to operate on does not exist. - - - Old password is wrong. - - - You can't set permission unless you are administrator. - - - You can't set password unless you are administrator. If you want to change password, use /userop/changepassword . - - - You can't set username unless you are administrator. - - - A user with given username already exists. - - \ No newline at end of file diff --git a/Timeline/Resources/Models/Http/Common.Designer.cs b/Timeline/Resources/Models/Http/Common.Designer.cs deleted file mode 100644 index 5165463e..00000000 --- a/Timeline/Resources/Models/Http/Common.Designer.cs +++ /dev/null @@ -1,99 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.42000 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace Timeline.Resources.Models.Http { - using System; - - - /// - /// A strongly-typed resource class, for looking up localized strings, etc. - /// - // This class was auto-generated by the StronglyTypedResourceBuilder - // class via a tool like ResGen or Visual Studio. - // To add or remove a member, edit your .ResX file then rerun ResGen - // with the /str option, or rebuild your VS project. - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")] - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - internal class Common { - - private static global::System.Resources.ResourceManager resourceMan; - - private static global::System.Globalization.CultureInfo resourceCulture; - - [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal Common() { - } - - /// - /// Returns the cached ResourceManager instance used by this class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager { - get { - if (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Timeline.Resources.Models.Http.Common", typeof(Common).Assembly); - resourceMan = temp; - } - return resourceMan; - } - } - - /// - /// Overrides the current thread's CurrentUICulture property for all - /// resource lookups using this strongly typed resource class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture { - get { - return resourceCulture; - } - set { - resourceCulture = value; - } - } - - /// - /// Looks up a localized string similar to An existent item is deleted.. - /// - internal static string MessageDeleteDelete { - get { - return ResourceManager.GetString("MessageDeleteDelete", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The item does not exist, so nothing is changed.. - /// - internal static string MessageDeleteNotExist { - get { - return ResourceManager.GetString("MessageDeleteNotExist", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A new item is created.. - /// - internal static string MessagePutCreate { - get { - return ResourceManager.GetString("MessagePutCreate", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to An existent item is modified.. - /// - internal static string MessagePutModify { - get { - return ResourceManager.GetString("MessagePutModify", resourceCulture); - } - } - } -} diff --git a/Timeline/Resources/Models/Http/Common.resx b/Timeline/Resources/Models/Http/Common.resx deleted file mode 100644 index 85ec4d32..00000000 --- a/Timeline/Resources/Models/Http/Common.resx +++ /dev/null @@ -1,132 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - An existent item is deleted. - - - The item does not exist, so nothing is changed. - - - A new item is created. - - - An existent item is modified. - - \ No newline at end of file diff --git a/Timeline/Resources/Models/Http/Exception.Designer.cs b/Timeline/Resources/Models/Http/Exception.Designer.cs deleted file mode 100644 index 19f42793..00000000 --- a/Timeline/Resources/Models/Http/Exception.Designer.cs +++ /dev/null @@ -1,81 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.42000 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace Timeline.Resources.Models.Http { - using System; - - - /// - /// A strongly-typed resource class, for looking up localized strings, etc. - /// - // This class was auto-generated by the StronglyTypedResourceBuilder - // class via a tool like ResGen or Visual Studio. - // To add or remove a member, edit your .ResX file then rerun ResGen - // with the /str option, or rebuild your VS project. - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")] - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - internal class Exception { - - private static global::System.Resources.ResourceManager resourceMan; - - private static global::System.Globalization.CultureInfo resourceCulture; - - [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal Exception() { - } - - /// - /// Returns the cached ResourceManager instance used by this class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager { - get { - if (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Timeline.Resources.Models.Http.Exception", typeof(Exception).Assembly); - resourceMan = temp; - } - return resourceMan; - } - } - - /// - /// Overrides the current thread's CurrentUICulture property for all - /// resource lookups using this strongly typed resource class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture { - get { - return resourceCulture; - } - set { - resourceCulture = value; - } - } - - /// - /// Looks up a localized string similar to No action context currently, can't fill urls in value resolver.. - /// - internal static string ActionContextNull { - get { - return ResourceManager.GetString("ActionContextNull", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Unknown post content type.. - /// - internal static string UnknownPostContentType { - get { - return ResourceManager.GetString("UnknownPostContentType", resourceCulture); - } - } - } -} diff --git a/Timeline/Resources/Models/Http/Exception.resx b/Timeline/Resources/Models/Http/Exception.resx deleted file mode 100644 index 3f7bddb6..00000000 --- a/Timeline/Resources/Models/Http/Exception.resx +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - No action context currently, can't fill urls in value resolver. - - - Unknown post content type. - - \ No newline at end of file diff --git a/Timeline/Resources/Models/Validation/NameValidator.Designer.cs b/Timeline/Resources/Models/Validation/NameValidator.Designer.cs deleted file mode 100644 index 3050049e..00000000 --- a/Timeline/Resources/Models/Validation/NameValidator.Designer.cs +++ /dev/null @@ -1,99 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.42000 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace Timeline.Resources.Models.Validation { - using System; - - - /// - /// A strongly-typed resource class, for looking up localized strings, etc. - /// - // This class was auto-generated by the StronglyTypedResourceBuilder - // class via a tool like ResGen or Visual Studio. - // To add or remove a member, edit your .ResX file then rerun ResGen - // with the /str option, or rebuild your VS project. - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")] - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - internal class NameValidator { - - private static global::System.Resources.ResourceManager resourceMan; - - private static global::System.Globalization.CultureInfo resourceCulture; - - [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal NameValidator() { - } - - /// - /// Returns the cached ResourceManager instance used by this class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager { - get { - if (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Timeline.Resources.Models.Validation.NameValidator", typeof(NameValidator).Assembly); - resourceMan = temp; - } - return resourceMan; - } - } - - /// - /// Overrides the current thread's CurrentUICulture property for all - /// resource lookups using this strongly typed resource class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture { - get { - return resourceCulture; - } - set { - resourceCulture = value; - } - } - - /// - /// Looks up a localized string similar to An empty string is not allowed.. - /// - internal static string MessageEmptyString { - get { - return ResourceManager.GetString("MessageEmptyString", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Invalid character, only alphabet, digit, underscore and hyphen are allowed.. - /// - internal static string MessageInvalidChar { - get { - return ResourceManager.GetString("MessageInvalidChar", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Too long, more than 26 characters is not premitted.. - /// - internal static string MessageTooLong { - get { - return ResourceManager.GetString("MessageTooLong", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Name can't be of the same format of unique id.. - /// - internal static string MessageUnqiueId { - get { - return ResourceManager.GetString("MessageUnqiueId", resourceCulture); - } - } - } -} diff --git a/Timeline/Resources/Models/Validation/NameValidator.resx b/Timeline/Resources/Models/Validation/NameValidator.resx deleted file mode 100644 index 5e7e1745..00000000 --- a/Timeline/Resources/Models/Validation/NameValidator.resx +++ /dev/null @@ -1,132 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - An empty string is not allowed. - - - Invalid character, only alphabet, digit, underscore and hyphen are allowed. - - - Too long, more than 26 characters is not premitted. - - - Name can't be of the same format of unique id. - - \ No newline at end of file diff --git a/Timeline/Resources/Models/Validation/NicknameValidator.Designer.cs b/Timeline/Resources/Models/Validation/NicknameValidator.Designer.cs deleted file mode 100644 index 522f305a..00000000 --- a/Timeline/Resources/Models/Validation/NicknameValidator.Designer.cs +++ /dev/null @@ -1,72 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.42000 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace Timeline.Resources.Models.Validation { - using System; - - - /// - /// A strongly-typed resource class, for looking up localized strings, etc. - /// - // This class was auto-generated by the StronglyTypedResourceBuilder - // class via a tool like ResGen or Visual Studio. - // To add or remove a member, edit your .ResX file then rerun ResGen - // with the /str option, or rebuild your VS project. - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")] - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - internal class NicknameValidator { - - private static global::System.Resources.ResourceManager resourceMan; - - private static global::System.Globalization.CultureInfo resourceCulture; - - [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal NicknameValidator() { - } - - /// - /// Returns the cached ResourceManager instance used by this class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager { - get { - if (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Timeline.Resources.Models.Validation.NicknameValidator", typeof(NicknameValidator).Assembly); - resourceMan = temp; - } - return resourceMan; - } - } - - /// - /// Overrides the current thread's CurrentUICulture property for all - /// resource lookups using this strongly typed resource class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture { - get { - return resourceCulture; - } - set { - resourceCulture = value; - } - } - - /// - /// Looks up a localized string similar to Nickname is too long.. - /// - internal static string MessageTooLong { - get { - return ResourceManager.GetString("MessageTooLong", resourceCulture); - } - } - } -} diff --git a/Timeline/Resources/Models/Validation/NicknameValidator.resx b/Timeline/Resources/Models/Validation/NicknameValidator.resx deleted file mode 100644 index b191b505..00000000 --- a/Timeline/Resources/Models/Validation/NicknameValidator.resx +++ /dev/null @@ -1,123 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Nickname is too long. - - \ No newline at end of file diff --git a/Timeline/Resources/Models/Validation/Validator.Designer.cs b/Timeline/Resources/Models/Validation/Validator.Designer.cs deleted file mode 100644 index 74d4c169..00000000 --- a/Timeline/Resources/Models/Validation/Validator.Designer.cs +++ /dev/null @@ -1,108 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.42000 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace Timeline.Resources.Models.Validation { - using System; - - - /// - /// A strongly-typed resource class, for looking up localized strings, etc. - /// - // This class was auto-generated by the StronglyTypedResourceBuilder - // class via a tool like ResGen or Visual Studio. - // To add or remove a member, edit your .ResX file then rerun ResGen - // with the /str option, or rebuild your VS project. - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")] - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - internal class Validator { - - private static global::System.Resources.ResourceManager resourceMan; - - private static global::System.Globalization.CultureInfo resourceCulture; - - [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal Validator() { - } - - /// - /// Returns the cached ResourceManager instance used by this class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager { - get { - if (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Timeline.Resources.Models.Validation.Validator", typeof(Validator).Assembly); - resourceMan = temp; - } - return resourceMan; - } - } - - /// - /// Overrides the current thread's CurrentUICulture property for all - /// resource lookups using this strongly typed resource class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture { - get { - return resourceCulture; - } - set { - resourceCulture = value; - } - } - - /// - /// Looks up a localized string similar to Failed to create a validator instance from default constructor. See inner exception.. - /// - internal static string ValidateWithAttributeExceptionCreateFail { - get { - return ResourceManager.GetString("ValidateWithAttributeExceptionCreateFail", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Given type is not assignable to IValidator.. - /// - internal static string ValidateWithAttributeExceptionNotValidator { - get { - return ResourceManager.GetString("ValidateWithAttributeExceptionNotValidator", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Value is not of type {0}.. - /// - internal static string ValidatorMessageBadType { - get { - return ResourceManager.GetString("ValidatorMessageBadType", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Value can't be null.. - /// - internal static string ValidatorMessageNull { - get { - return ResourceManager.GetString("ValidatorMessageNull", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Validation succeeded.. - /// - internal static string ValidatorMessageSuccess { - get { - return ResourceManager.GetString("ValidatorMessageSuccess", resourceCulture); - } - } - } -} diff --git a/Timeline/Resources/Models/Validation/Validator.resx b/Timeline/Resources/Models/Validation/Validator.resx deleted file mode 100644 index 8317e3eb..00000000 --- a/Timeline/Resources/Models/Validation/Validator.resx +++ /dev/null @@ -1,135 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Failed to create a validator instance from default constructor. See inner exception. - - - Given type is not assignable to IValidator. - - - Value is not of type {0}. - - - Value can't be null. - - - Validation succeeded. - - \ No newline at end of file diff --git a/Timeline/Resources/Services/DataManager.Designer.cs b/Timeline/Resources/Services/DataManager.Designer.cs deleted file mode 100644 index 0872059a..00000000 --- a/Timeline/Resources/Services/DataManager.Designer.cs +++ /dev/null @@ -1,72 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.42000 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace Timeline.Resources.Services { - using System; - - - /// - /// A strongly-typed resource class, for looking up localized strings, etc. - /// - // This class was auto-generated by the StronglyTypedResourceBuilder - // class via a tool like ResGen or Visual Studio. - // To add or remove a member, edit your .ResX file then rerun ResGen - // with the /str option, or rebuild your VS project. - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")] - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - internal class DataManager { - - private static global::System.Resources.ResourceManager resourceMan; - - private static global::System.Globalization.CultureInfo resourceCulture; - - [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal DataManager() { - } - - /// - /// Returns the cached ResourceManager instance used by this class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager { - get { - if (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Timeline.Resources.Services.DataManager", typeof(DataManager).Assembly); - resourceMan = temp; - } - return resourceMan; - } - } - - /// - /// Overrides the current thread's CurrentUICulture property for all - /// resource lookups using this strongly typed resource class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture { - get { - return resourceCulture; - } - set { - resourceCulture = value; - } - } - - /// - /// Looks up a localized string similar to Entry with given tag does not exist.. - /// - internal static string ExceptionEntryNotExist { - get { - return ResourceManager.GetString("ExceptionEntryNotExist", resourceCulture); - } - } - } -} diff --git a/Timeline/Resources/Services/DataManager.resx b/Timeline/Resources/Services/DataManager.resx deleted file mode 100644 index 688e0e96..00000000 --- a/Timeline/Resources/Services/DataManager.resx +++ /dev/null @@ -1,123 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Entry with given tag does not exist. - - \ No newline at end of file diff --git a/Timeline/Resources/Services/Exception.Designer.cs b/Timeline/Resources/Services/Exception.Designer.cs deleted file mode 100644 index 21ca7b86..00000000 --- a/Timeline/Resources/Services/Exception.Designer.cs +++ /dev/null @@ -1,234 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.42000 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace Timeline.Resources.Services { - using System; - - - /// - /// A strongly-typed resource class, for looking up localized strings, etc. - /// - // This class was auto-generated by the StronglyTypedResourceBuilder - // class via a tool like ResGen or Visual Studio. - // To add or remove a member, edit your .ResX file then rerun ResGen - // with the /str option, or rebuild your VS project. - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")] - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - internal class Exception { - - private static global::System.Resources.ResourceManager resourceMan; - - private static global::System.Globalization.CultureInfo resourceCulture; - - [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal Exception() { - } - - /// - /// Returns the cached ResourceManager instance used by this class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager { - get { - if (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Timeline.Resources.Services.Exception", typeof(Exception).Assembly); - resourceMan = temp; - } - return resourceMan; - } - } - - /// - /// Overrides the current thread's CurrentUICulture property for all - /// resource lookups using this strongly typed resource class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture { - get { - return resourceCulture; - } - set { - resourceCulture = value; - } - } - - /// - /// Looks up a localized string similar to The password is wrong.. - /// - internal static string BadPasswordException { - get { - return ResourceManager.GetString("BadPasswordException", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The hashes password is of bad format. It might not be created by server.. - /// - internal static string HashedPasswordBadFromatException { - get { - return ResourceManager.GetString("HashedPasswordBadFromatException", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Not of valid base64 format. See inner exception.. - /// - internal static string HashedPasswordBadFromatExceptionNotBase64 { - get { - return ResourceManager.GetString("HashedPasswordBadFromatExceptionNotBase64", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Decoded hashed password is of length 0.. - /// - internal static string HashedPasswordBadFromatExceptionNotLength0 { - get { - return ResourceManager.GetString("HashedPasswordBadFromatExceptionNotLength0", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to See inner exception.. - /// - internal static string HashedPasswordBadFromatExceptionNotOthers { - get { - return ResourceManager.GetString("HashedPasswordBadFromatExceptionNotOthers", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Salt length < 128 bits.. - /// - internal static string HashedPasswordBadFromatExceptionNotSaltTooShort { - get { - return ResourceManager.GetString("HashedPasswordBadFromatExceptionNotSaltTooShort", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Subkey length < 128 bits.. - /// - internal static string HashedPasswordBadFromatExceptionNotSubkeyTooShort { - get { - return ResourceManager.GetString("HashedPasswordBadFromatExceptionNotSubkeyTooShort", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Unknown format marker.. - /// - internal static string HashedPasswordBadFromatExceptionNotUnknownMarker { - get { - return ResourceManager.GetString("HashedPasswordBadFromatExceptionNotUnknownMarker", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The token didn't pass verification because {0}.. - /// - internal static string JwtUserTokenBadFormatException { - get { - return ResourceManager.GetString("JwtUserTokenBadFormatException", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to id claim is not a number. - /// - internal static string JwtUserTokenBadFormatExceptionIdBadFormat { - get { - return ResourceManager.GetString("JwtUserTokenBadFormatExceptionIdBadFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to id claim does not exist. - /// - internal static string JwtUserTokenBadFormatExceptionIdMissing { - get { - return ResourceManager.GetString("JwtUserTokenBadFormatExceptionIdMissing", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to other error, see inner exception for information. - /// - internal static string JwtUserTokenBadFormatExceptionOthers { - get { - return ResourceManager.GetString("JwtUserTokenBadFormatExceptionOthers", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to unknown error. - /// - internal static string JwtUserTokenBadFormatExceptionUnknown { - get { - return ResourceManager.GetString("JwtUserTokenBadFormatExceptionUnknown", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to version claim is not a number.. - /// - internal static string JwtUserTokenBadFormatExceptionVersionBadFormat { - get { - return ResourceManager.GetString("JwtUserTokenBadFormatExceptionVersionBadFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to version claim does not exist.. - /// - internal static string JwtUserTokenBadFormatExceptionVersionMissing { - get { - return ResourceManager.GetString("JwtUserTokenBadFormatExceptionVersionMissing", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Password is of bad format.. - /// - internal static string PasswordBadFormatException { - get { - return ResourceManager.GetString("PasswordBadFormatException", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The token is of bad format, which means it may not be created by the server.. - /// - internal static string UserTokenBadFormatException { - get { - return ResourceManager.GetString("UserTokenBadFormatException", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The token is of bad version.. - /// - internal static string UserTokenBadVersionException { - get { - return ResourceManager.GetString("UserTokenBadVersionException", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The token is expired because its expiration time has passed.. - /// - internal static string UserTokenTimeExpireException { - get { - return ResourceManager.GetString("UserTokenTimeExpireException", resourceCulture); - } - } - } -} diff --git a/Timeline/Resources/Services/Exception.resx b/Timeline/Resources/Services/Exception.resx deleted file mode 100644 index c31ed7c7..00000000 --- a/Timeline/Resources/Services/Exception.resx +++ /dev/null @@ -1,177 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - The password is wrong. - - - The hashes password is of bad format. It might not be created by server. - - - Not of valid base64 format. See inner exception. - - - Decoded hashed password is of length 0. - - - See inner exception. - - - Salt length < 128 bits. - - - Subkey length < 128 bits. - - - Unknown format marker. - - - The token didn't pass verification because {0}. - - - id claim is not a number - - - id claim does not exist - - - other error, see inner exception for information - - - unknown error - - - version claim is not a number. - - - version claim does not exist. - - - Password is of bad format. - - - The token is of bad format, which means it may not be created by the server. - - - The token is of bad version. - - - The token is expired because its expiration time has passed. - - \ No newline at end of file diff --git a/Timeline/Resources/Services/Exceptions.Designer.cs b/Timeline/Resources/Services/Exceptions.Designer.cs deleted file mode 100644 index 1dbe11c9..00000000 --- a/Timeline/Resources/Services/Exceptions.Designer.cs +++ /dev/null @@ -1,189 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.42000 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace Timeline.Resources.Services { - using System; - - - /// - /// A strongly-typed resource class, for looking up localized strings, etc. - /// - // This class was auto-generated by the StronglyTypedResourceBuilder - // class via a tool like ResGen or Visual Studio. - // To add or remove a member, edit your .ResX file then rerun ResGen - // with the /str option, or rebuild your VS project. - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")] - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - internal class Exceptions { - - private static global::System.Resources.ResourceManager resourceMan; - - private static global::System.Globalization.CultureInfo resourceCulture; - - [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal Exceptions() { - } - - /// - /// Returns the cached ResourceManager instance used by this class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager { - get { - if (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Timeline.Resources.Services.Exceptions", typeof(Exceptions).Assembly); - resourceMan = temp; - } - return resourceMan; - } - } - - /// - /// Overrides the current thread's CurrentUICulture property for all - /// resource lookups using this strongly typed resource class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture { - get { - return resourceCulture; - } - set { - resourceCulture = value; - } - } - - /// - /// Looks up a localized string similar to A entity of type "{0}" already exists.. - /// - internal static string EntityAlreadyExistError { - get { - return ResourceManager.GetString("EntityAlreadyExistError", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The entity already exists.. - /// - internal static string EntityAlreadyExistErrorDefault { - get { - return ResourceManager.GetString("EntityAlreadyExistErrorDefault", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The required entity of type "{0}" does not exist.. - /// - internal static string EntityNotExistError { - get { - return ResourceManager.GetString("EntityNotExistError", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The required entity does not exist.. - /// - internal static string EntityNotExistErrorDefault { - get { - return ResourceManager.GetString("EntityNotExistErrorDefault", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Image is in valid because {0}.. - /// - internal static string ImageException { - get { - return ResourceManager.GetString("ImageException", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to image is not of required size. - /// - internal static string ImageExceptionBadSize { - get { - return ResourceManager.GetString("ImageExceptionBadSize", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to failed to decode image, see inner exception. - /// - internal static string ImageExceptionCantDecode { - get { - return ResourceManager.GetString("ImageExceptionCantDecode", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to unknown error. - /// - internal static string ImageExceptionUnknownError { - get { - return ResourceManager.GetString("ImageExceptionUnknownError", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to image's actual mime type is not the specified one. - /// - internal static string ImageExceptionUnmatchedFormat { - get { - return ResourceManager.GetString("ImageExceptionUnmatchedFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The timeline has no data.. - /// - internal static string TimelineNoDataException { - get { - return ResourceManager.GetString("TimelineNoDataException", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Request timeline name is "{0}". If this is a personal timeline whose name starts with '@', it means the user does not exist and inner exception should be a UserNotExistException.. - /// - internal static string TimelineNotExistException { - get { - return ResourceManager.GetString("TimelineNotExistException", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Request timeline name is "{0}". Request timeline post id is "{1}".. - /// - internal static string TimelinePostNotExistException { - get { - return ResourceManager.GetString("TimelinePostNotExistException", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Request timeline name is "{0}". Request timeline post id is "{1}". The post does not exist because it is deleted.. - /// - internal static string TimelinePostNotExistExceptionDeleted { - get { - return ResourceManager.GetString("TimelinePostNotExistExceptionDeleted", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Request username is "{0}". Request id is "{1}".. - /// - internal static string UserNotExistException { - get { - return ResourceManager.GetString("UserNotExistException", resourceCulture); - } - } - } -} diff --git a/Timeline/Resources/Services/Exceptions.resx b/Timeline/Resources/Services/Exceptions.resx deleted file mode 100644 index e9595caa..00000000 --- a/Timeline/Resources/Services/Exceptions.resx +++ /dev/null @@ -1,142 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 1.3 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.3500.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.3500.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - The required entity of type "{0}" does not exist. - - - The entity already exists. - - - A entity of type "{0}" already exists. - - - The required entity does not exist. - - - Request timeline name is "{0}". If this is a personal timeline whose name starts with '@', it means the user does not exist and inner exception should be a UserNotExistException. - - - Request timeline name is "{0}". Request timeline post id is "{1}". - - - Request username is "{0}". Request id is "{1}". - - - The timeline has no data. - - - Image is in valid because {0}. - - - image is not of required size - - - failed to decode image, see inner exception - - - unknown error - - - image's actual mime type is not the specified one - - - Request timeline name is "{0}". Request timeline post id is "{1}". The post does not exist because it is deleted. - - \ No newline at end of file diff --git a/Timeline/Resources/Services/TimelineService.Designer.cs b/Timeline/Resources/Services/TimelineService.Designer.cs deleted file mode 100644 index e16c1337..00000000 --- a/Timeline/Resources/Services/TimelineService.Designer.cs +++ /dev/null @@ -1,144 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.42000 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace Timeline.Resources.Services { - using System; - - - /// - /// A strongly-typed resource class, for looking up localized strings, etc. - /// - // This class was auto-generated by the StronglyTypedResourceBuilder - // class via a tool like ResGen or Visual Studio. - // To add or remove a member, edit your .ResX file then rerun ResGen - // with the /str option, or rebuild your VS project. - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")] - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - internal class TimelineService { - - private static global::System.Resources.ResourceManager resourceMan; - - private static global::System.Globalization.CultureInfo resourceCulture; - - [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal TimelineService() { - } - - /// - /// Returns the cached ResourceManager instance used by this class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager { - get { - if (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Timeline.Resources.Services.TimelineService", typeof(TimelineService).Assembly); - resourceMan = temp; - } - return resourceMan; - } - } - - /// - /// Overrides the current thread's CurrentUICulture property for all - /// resource lookups using this strongly typed resource class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture { - get { - return resourceCulture; - } - set { - resourceCulture = value; - } - } - - /// - /// Looks up a localized string similar to The number {0} username is invalid.. - /// - internal static string ExceptionChangeMemberUsernameBadFormat { - get { - return ResourceManager.GetString("ExceptionChangeMemberUsernameBadFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Unknown post content type "{0}" is saved in database.. - /// - internal static string ExceptionDatabaseUnknownContentType { - get { - return ResourceManager.GetString("ExceptionDatabaseUnknownContentType", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The owner username of personal timeline is of bad format.. - /// - internal static string ExceptionFindTimelineUsernameBadFormat { - get { - return ResourceManager.GetString("ExceptionFindTimelineUsernameBadFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The data entry of the tag of the image post does not exist.. - /// - internal static string ExceptionGetDataDataEntryNotExist { - get { - return ResourceManager.GetString("ExceptionGetDataDataEntryNotExist", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Can't get data of a non-image post.. - /// - internal static string ExceptionGetDataNonImagePost { - get { - return ResourceManager.GetString("ExceptionGetDataNonImagePost", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The post has been deleted because content of entity is null.. - /// - internal static string ExceptionPostDeleted { - get { - return ResourceManager.GetString("ExceptionPostDeleted", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The timeline name is of bad format.. - /// - internal static string ExceptionTimelineNameBadFormat { - get { - return ResourceManager.GetString("ExceptionTimelineNameBadFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The timeline with given name already exists.. - /// - internal static string ExceptionTimelineNameConflict { - get { - return ResourceManager.GetString("ExceptionTimelineNameConflict", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Image format type of the post does not exist in column "extra_content". Normally this couldn't be possible because it should be saved when post was created. However, we now re-detect the format and save it.. - /// - internal static string LogGetDataNoFormat { - get { - return ResourceManager.GetString("LogGetDataNoFormat", resourceCulture); - } - } - } -} diff --git a/Timeline/Resources/Services/TimelineService.resx b/Timeline/Resources/Services/TimelineService.resx deleted file mode 100644 index 9314f51b..00000000 --- a/Timeline/Resources/Services/TimelineService.resx +++ /dev/null @@ -1,147 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - The number {0} username is invalid. - - - Unknown post content type "{0}" is saved in database. - - - The owner username of personal timeline is of bad format. - - - The data entry of the tag of the image post does not exist. - - - Can't get data of a non-image post. - - - The timeline name is of bad format. - - - The timeline with given name already exists. - - - Image format type of the post does not exist in column "extra_content". Normally this couldn't be possible because it should be saved when post was created. However, we now re-detect the format and save it. - - - The post has been deleted because content of entity is null. - - \ No newline at end of file diff --git a/Timeline/Resources/Services/UserAvatarService.Designer.cs b/Timeline/Resources/Services/UserAvatarService.Designer.cs deleted file mode 100644 index c72d4215..00000000 --- a/Timeline/Resources/Services/UserAvatarService.Designer.cs +++ /dev/null @@ -1,108 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.42000 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace Timeline.Resources.Services { - using System; - - - /// - /// A strongly-typed resource class, for looking up localized strings, etc. - /// - // This class was auto-generated by the StronglyTypedResourceBuilder - // class via a tool like ResGen or Visual Studio. - // To add or remove a member, edit your .ResX file then rerun ResGen - // with the /str option, or rebuild your VS project. - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")] - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - internal class UserAvatarService { - - private static global::System.Resources.ResourceManager resourceMan; - - private static global::System.Globalization.CultureInfo resourceCulture; - - [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal UserAvatarService() { - } - - /// - /// Returns the cached ResourceManager instance used by this class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager { - get { - if (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Timeline.Resources.Services.UserAvatarService", typeof(UserAvatarService).Assembly); - resourceMan = temp; - } - return resourceMan; - } - } - - /// - /// Overrides the current thread's CurrentUICulture property for all - /// resource lookups using this strongly typed resource class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture { - get { - return resourceCulture; - } - set { - resourceCulture = value; - } - } - - /// - /// Looks up a localized string similar to Data of avatar is null.. - /// - internal static string ExceptionAvatarDataNull { - get { - return ResourceManager.GetString("ExceptionAvatarDataNull", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Type of avatar is null or empty.. - /// - internal static string ExceptionAvatarTypeNullOrEmpty { - get { - return ResourceManager.GetString("ExceptionAvatarTypeNullOrEmpty", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Database corupted! One of type and data of a avatar is null but the other is not.. - /// - internal static string ExceptionDatabaseCorruptedDataAndTypeNotSame { - get { - return ResourceManager.GetString("ExceptionDatabaseCorruptedDataAndTypeNotSame", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Created an entry in user_avatars.. - /// - internal static string LogCreateEntity { - get { - return ResourceManager.GetString("LogCreateEntity", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Updated an entry in user_avatars.. - /// - internal static string LogUpdateEntity { - get { - return ResourceManager.GetString("LogUpdateEntity", resourceCulture); - } - } - } -} diff --git a/Timeline/Resources/Services/UserAvatarService.resx b/Timeline/Resources/Services/UserAvatarService.resx deleted file mode 100644 index da9d7203..00000000 --- a/Timeline/Resources/Services/UserAvatarService.resx +++ /dev/null @@ -1,135 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Data of avatar is null. - - - Type of avatar is null or empty. - - - Database corupted! One of type and data of a avatar is null but the other is not. - - - Created an entry in user_avatars. - - - Updated an entry in user_avatars. - - \ No newline at end of file diff --git a/Timeline/Resources/Services/UserService.Designer.cs b/Timeline/Resources/Services/UserService.Designer.cs deleted file mode 100644 index cdf7f390..00000000 --- a/Timeline/Resources/Services/UserService.Designer.cs +++ /dev/null @@ -1,162 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.42000 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace Timeline.Resources.Services { - using System; - - - /// - /// A strongly-typed resource class, for looking up localized strings, etc. - /// - // This class was auto-generated by the StronglyTypedResourceBuilder - // class via a tool like ResGen or Visual Studio. - // To add or remove a member, edit your .ResX file then rerun ResGen - // with the /str option, or rebuild your VS project. - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")] - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - internal class UserService { - - private static global::System.Resources.ResourceManager resourceMan; - - private static global::System.Globalization.CultureInfo resourceCulture; - - [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal UserService() { - } - - /// - /// Returns the cached ResourceManager instance used by this class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager { - get { - if (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Timeline.Resources.Services.UserService", typeof(UserService).Assembly); - resourceMan = temp; - } - return resourceMan; - } - } - - /// - /// Overrides the current thread's CurrentUICulture property for all - /// resource lookups using this strongly typed resource class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture { - get { - return resourceCulture; - } - set { - resourceCulture = value; - } - } - - /// - /// Looks up a localized string similar to New username is of bad format.. - /// - internal static string ExceptionNewUsernameBadFormat { - get { - return ResourceManager.GetString("ExceptionNewUsernameBadFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Nickname is of bad format, because {}.. - /// - internal static string ExceptionNicknameBadFormat { - get { - return ResourceManager.GetString("ExceptionNicknameBadFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Old username is of bad format.. - /// - internal static string ExceptionOldUsernameBadFormat { - get { - return ResourceManager.GetString("ExceptionOldUsernameBadFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Password can't be empty.. - /// - internal static string ExceptionPasswordEmpty { - get { - return ResourceManager.GetString("ExceptionPasswordEmpty", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Password can't be null.. - /// - internal static string ExceptionPasswordNull { - get { - return ResourceManager.GetString("ExceptionPasswordNull", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Username is of bad format, because {}.. - /// - internal static string ExceptionUsernameBadFormat { - get { - return ResourceManager.GetString("ExceptionUsernameBadFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A user with given username already exists.. - /// - internal static string ExceptionUsernameConflict { - get { - return ResourceManager.GetString("ExceptionUsernameConflict", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Username can't be null.. - /// - internal static string ExceptionUsernameNull { - get { - return ResourceManager.GetString("ExceptionUsernameNull", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A new user entry is added to the database.. - /// - internal static string LogDatabaseCreate { - get { - return ResourceManager.GetString("LogDatabaseCreate", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A user entry is removed from the database.. - /// - internal static string LogDatabaseRemove { - get { - return ResourceManager.GetString("LogDatabaseRemove", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A user entry is updated to the database.. - /// - internal static string LogDatabaseUpdate { - get { - return ResourceManager.GetString("LogDatabaseUpdate", resourceCulture); - } - } - } -} diff --git a/Timeline/Resources/Services/UserService.resx b/Timeline/Resources/Services/UserService.resx deleted file mode 100644 index 09bd4abb..00000000 --- a/Timeline/Resources/Services/UserService.resx +++ /dev/null @@ -1,153 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - New username is of bad format. - - - Nickname is of bad format, because {}. - - - Old username is of bad format. - - - Password can't be empty. - - - Password can't be null. - - - Username is of bad format, because {}. - - - A user with given username already exists. - - - Username can't be null. - - - A new user entry is added to the database. - - - A user entry is removed from the database. - - - A user entry is updated to the database. - - \ No newline at end of file diff --git a/Timeline/Resources/Services/UserTokenService.Designer.cs b/Timeline/Resources/Services/UserTokenService.Designer.cs deleted file mode 100644 index 3c3c7e41..00000000 --- a/Timeline/Resources/Services/UserTokenService.Designer.cs +++ /dev/null @@ -1,72 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.42000 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace Timeline.Resources.Services { - using System; - - - /// - /// A strongly-typed resource class, for looking up localized strings, etc. - /// - // This class was auto-generated by the StronglyTypedResourceBuilder - // class via a tool like ResGen or Visual Studio. - // To add or remove a member, edit your .ResX file then rerun ResGen - // with the /str option, or rebuild your VS project. - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")] - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - internal class UserTokenService { - - private static global::System.Resources.ResourceManager resourceMan; - - private static global::System.Globalization.CultureInfo resourceCulture; - - [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal UserTokenService() { - } - - /// - /// Returns the cached ResourceManager instance used by this class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager { - get { - if (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Timeline.Resources.Services.UserTokenService", typeof(UserTokenService).Assembly); - resourceMan = temp; - } - return resourceMan; - } - } - - /// - /// Overrides the current thread's CurrentUICulture property for all - /// resource lookups using this strongly typed resource class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture { - get { - return resourceCulture; - } - set { - resourceCulture = value; - } - } - - /// - /// Looks up a localized string similar to Jwt token key is not set in database. Maybe you forget to migrate the database.. - /// - internal static string JwtKeyNotExist { - get { - return ResourceManager.GetString("JwtKeyNotExist", resourceCulture); - } - } - } -} diff --git a/Timeline/Resources/Services/UserTokenService.resx b/Timeline/Resources/Services/UserTokenService.resx deleted file mode 100644 index 1ce78427..00000000 --- a/Timeline/Resources/Services/UserTokenService.resx +++ /dev/null @@ -1,123 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Jwt token key is not set in database. Maybe you forget to migrate the database. - - \ No newline at end of file -- cgit v1.2.3