From 48a7056e154be248f38bb333ae232a4c333650a2 Mon Sep 17 00:00:00 2001 From: Somaraj N <17797942+somaraj@users.noreply.github.com> Date: Mon, 27 Oct 2025 00:59:58 +0530 Subject: [PATCH 01/34] Profile updation avatar, details, password --- .gitignore | 5 +- sql script/mssql/2_locale_resource.sql | 145 + .../Taskist.Core/Common/IWorkContext.cs | 2 + .../Domain/Masters/CustomField.cs | 27 +- .../Taskist.Core/Domain/Users/User.cs | 2 + .../WorkItems/BacklogCustomFieldValue.cs | 17 +- .../20251002161254_InitialModel.Designer.cs | 2485 ++++++++--------- .../Migrations/20251002161254_InitialModel.cs | 2117 +++++++------- .../20251026180556_AvatarVersion.Designer.cs | 1654 +++++++++++ .../20251026180556_AvatarVersion.cs | 29 + .../ApplicationContextModelSnapshot.cs | 3 + .../Files/FileStorageService.cs | 95 + .../Files/IFileStorageService.cs | 15 + .../Controllers/Users/ProfileController.cs | 182 ++ .../Taskist.Web/Helpers/Common/WebConstant.cs | 4 + .../Taskist.Web/Helpers/Common/WorkContext.cs | 184 +- .../Filters/HangfireAuthorizationFilter.cs | 51 +- .../Helpers/Mapping/AutoMapperProfile.cs | 88 +- .../Users/ChangePasswordValidator.cs | 39 + .../Users/ProfileDetailValidator.cs | 45 + .../WorkItems/BacklogTaskValidator.cs | 37 +- .../Models/Masters/CustomFieldModel.cs | 75 +- .../Models/Masters/CustomFieldRenderModel.cs | 21 +- .../Models/Masters/CustomFieldValueModel.cs | 13 +- .../Models/Masters/CustomFieldsViewModel.cs | 21 +- .../Models/Users/ChangePasswordModel.cs | 19 + .../Taskist.Web/Models/Users/ProfileModel.cs | 80 +- .../Taskist.Web/Taskist.Web.csproj | 11 + .../Taskist.Web/Views/Client/Create.cshtml | 3 +- .../Taskist.Web/Views/Client/Edit.cshtml | 3 +- .../Views/EmailAccount/Create.cshtml | 3 +- .../Views/EmailAccount/Edit.cshtml | 3 +- .../Views/EmailTemplate/Edit.cshtml | 3 +- .../Views/LocaleResource/Create.cshtml | 3 +- .../Views/LocaleResource/Edit.cshtml | 3 +- .../Taskist.Web/Views/Module/Create.cshtml | 3 +- .../Taskist.Web/Views/Module/Edit.cshtml | 3 +- .../Taskist.Web/Views/Profile/Edit.cshtml | 177 ++ .../Views/Profile/_ChangePasswordForm.cshtml | 37 + .../Views/Profile/_ProfileDetailForm.cshtml | 50 + .../Taskist.Web/Views/Reporter/Create.cshtml | 3 +- .../Taskist.Web/Views/Reporter/Edit.cshtml | 3 +- .../Taskist.Web/Views/Severity/Create.cshtml | 3 +- .../Taskist.Web/Views/Severity/Edit.cshtml | 3 +- .../Views/Shared/Sections/_Header.cshtml | 201 +- .../Taskist.Web/Views/Sprint/Create.cshtml | 3 +- .../Taskist.Web/Views/Sprint/Edit.cshtml | 3 +- .../Taskist.Web/Views/Status/Create.cshtml | 3 +- .../Taskist.Web/Views/Status/Edit.cshtml | 9 +- .../Taskist.Web/Views/SubModule/Create.cshtml | 3 +- .../Taskist.Web/Views/SubModule/Edit.cshtml | 3 +- .../Taskist.Web/Views/TaskType/Create.cshtml | 3 +- .../Taskist.Web/Views/TaskType/Edit.cshtml | 3 +- .../Taskist.Web/Views/User/Index.cshtml | 3 +- .../Taskist.Web/Views/UserRole/Create.cshtml | 3 +- .../Taskist.Web/Views/UserRole/Edit.cshtml | 23 +- .../Taskist.Web/wwwroot/css/site.css | 563 ++-- .../Taskist.Web/wwwroot/favicon.ico | Bin 5430 -> 0 bytes .../Taskist.Web/wwwroot/js/common.js | 35 +- .../Taskist.Web/wwwroot/js/partial.js | 80 +- .../wwwroot/lib/cropper/css/cropper.min.css | 9 + .../wwwroot/lib/cropper/js/cropper.min.js | 10 + 62 files changed, 5654 insertions(+), 3072 deletions(-) create mode 100644 src/Libraries/Taskist.Data/Migrations/20251026180556_AvatarVersion.Designer.cs create mode 100644 src/Libraries/Taskist.Data/Migrations/20251026180556_AvatarVersion.cs create mode 100644 src/Libraries/Taskist.Service/Files/FileStorageService.cs create mode 100644 src/Libraries/Taskist.Service/Files/IFileStorageService.cs create mode 100644 src/Presentation/Taskist.Web/Controllers/Users/ProfileController.cs create mode 100644 src/Presentation/Taskist.Web/Helpers/Validators/Users/ChangePasswordValidator.cs create mode 100644 src/Presentation/Taskist.Web/Helpers/Validators/Users/ProfileDetailValidator.cs create mode 100644 src/Presentation/Taskist.Web/Models/Users/ChangePasswordModel.cs create mode 100644 src/Presentation/Taskist.Web/Views/Profile/Edit.cshtml create mode 100644 src/Presentation/Taskist.Web/Views/Profile/_ChangePasswordForm.cshtml create mode 100644 src/Presentation/Taskist.Web/Views/Profile/_ProfileDetailForm.cshtml delete mode 100644 src/Presentation/Taskist.Web/wwwroot/favicon.ico create mode 100644 src/Presentation/Taskist.Web/wwwroot/lib/cropper/css/cropper.min.css create mode 100644 src/Presentation/Taskist.Web/wwwroot/lib/cropper/js/cropper.min.js diff --git a/.gitignore b/.gitignore index 38e05be..6ad9317 100644 --- a/.gitignore +++ b/.gitignore @@ -397,5 +397,6 @@ FodyWeavers.xsd # JetBrains Rider *.sln.iml /src/.cr -src/Presentation/Taskist.Web/App_Data/DataProtectionKeys/* -/src/Presentation/Taskist.Web/Logs \ No newline at end of file +/src/Presentation/Taskist.Web/App_Data/DataProtectionKeys/* +/src/Presentation/Taskist.Web/Logs +/src/Presentation/Taskist.Web/wwwroot/uploads \ No newline at end of file diff --git a/sql script/mssql/2_locale_resource.sql b/sql script/mssql/2_locale_resource.sql index d71f820..72750d3 100644 --- a/sql script/mssql/2_locale_resource.sql +++ b/sql script/mssql/2_locale_resource.sql @@ -2742,4 +2742,149 @@ BEGIN INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) VALUES(@LanguageId,'TaskTypePage.Title','Task Type') END + IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'ProfileModel.FirstName') + BEGIN + INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) + VALUES(@LanguageId,'ProfileModel.FirstName','First Name') + END + IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'ProfileModel.LastName') + BEGIN + INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) + VALUES(@LanguageId,'ProfileModel.LastName','Last Name') + END + IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'ProfileModel.Email') + BEGIN + INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) + VALUES(@LanguageId,'ProfileModel.Email','Email') + END + IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'ProfileModel.Gender') + BEGIN + INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) + VALUES(@LanguageId,'ProfileModel.Gender','Gender') + END + IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'ProfileModel.Language') + BEGIN + INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) + VALUES(@LanguageId,'ProfileModel.Language','Language') + END + IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'ProfilePage.Details') + BEGIN + INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) + VALUES(@LanguageId,'ProfilePage.Details','Details') + END + IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'ProfilePage.Password') + BEGIN + INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) + VALUES(@LanguageId,'ProfilePage.Password','Password') + END + IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'ChangePasswordModel.CurrentPassword.RequiredMsg') + BEGIN + INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) + VALUES(@LanguageId,'ChangePasswordModel.CurrentPassword.RequiredMsg','Enter current password') + END + IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'ChangePasswordModel.CurrentPassword.MaxLengthMsg') + BEGIN + INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) + VALUES(@LanguageId,'ChangePasswordModel.CurrentPassword.MaxLengthMsg','The length must be 100 characters or fewer') + END + IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'ChangePasswordModel.CurrentPassword.NotMatchMsg') + BEGIN + INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) + VALUES(@LanguageId,'ChangePasswordModel.CurrentPassword.NotMatchMsg','Current password provided is not valid!') + END + IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'ChangePasswordModel.NewPassword.RequiredMsg') + BEGIN + INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) + VALUES(@LanguageId,'ChangePasswordModel.NewPassword.RequiredMsg','New password is required') + END + IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'ChangePasswordModel.NewPassword.MaxLengthMsg') + BEGIN + INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) + VALUES(@LanguageId,'ChangePasswordModel.NewPassword.MaxLengthMsg','The length must be 100 characters or fewer') + END + IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'ChangePasswordModel.ConfirmPassword.RequiredMsg') + BEGIN + INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) + VALUES(@LanguageId,'ChangePasswordModel.ConfirmPassword.RequiredMsg','Confirm password is required') + END + IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'ChangePasswordModel.ConfirmPassword.MaxLengthMsg') + BEGIN + INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) + VALUES(@LanguageId,'ChangePasswordModel.ConfirmPassword.MaxLengthMsg','The length must be 100 characters or fewer') + END + IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'ChangePasswordModel.ConfirmPassword.NotMatchMsg') + BEGIN + INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) + VALUES(@LanguageId,'ChangePasswordModel.ConfirmPassword.NotMatchMsg','Passwords do not match') + END + IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'ProfileDetailModel.FirstName.RequiredMsg') + BEGIN + INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) + VALUES(@LanguageId,'ProfileDetailModel.FirstName.RequiredMsg','First name is required') + END + IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'ProfileDetailModel.FirstName.MaxLengthMsg') + BEGIN + INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) + VALUES(@LanguageId,'ProfileDetailModel.FirstName.MaxLengthMsg','The length must be 100 characters or fewer') + END + IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'ProfileDetailModel.LastName.RequiredMsg') + BEGIN + INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) + VALUES(@LanguageId,'ProfileDetailModel.LastName.RequiredMsg','Last name is required') + END + IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'ProfileDetailModel.LastName.MaxLengthMsg') + BEGIN + INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) + VALUES(@LanguageId,'ProfileDetailModel.LastName.MaxLengthMsg','The length must be 100 characters or fewer') + END + IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'ProfileDetailModel.Email.RequiredMsg') + BEGIN + INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) + VALUES(@LanguageId,'ProfileDetailModel.Email.RequiredMsg','Email is required') + END + IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'ProfileDetailModel.Email.MaxLengthMsg') + BEGIN + INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) + VALUES(@LanguageId,'ProfileDetailModel.Email.MaxLengthMsg','The length must be 250 characters or fewer') + END + IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'ProfileDetailModel.Email.InvalidMsg') + BEGIN + INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) + VALUES(@LanguageId,'ProfileDetailModel.Email.InvalidMsg','Invalid email address') + END + IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'ProfileDetailModel.Email.UniqueMsg') + BEGIN + INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) + VALUES(@LanguageId,'ProfileDetailModel.Email.UniqueMsg','Email already in use') + END + IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'ProfileDetailModel.Gender.RequiredMsg') + BEGIN + INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) + VALUES(@LanguageId,'ProfileDetailModel.Gender.RequiredMsg','Gender is required') + END + IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'ProfileDetailModel.Language.RequiredMsg') + BEGIN + INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) + VALUES(@LanguageId,'ProfileDetailModel.Language.RequiredMsg','Language is required') + END + IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'User.Profile') + BEGIN + INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) + VALUES(@LanguageId,'User.Profile','Profile') + END + IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'ProfilePage.SameImageMsg') + BEGIN + INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) + VALUES(@LanguageId,'ProfilePage.SameImageMsg','You selected the same image.') + END + IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'ProfilePage.SizeMsg') + BEGIN + INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) + VALUES(@LanguageId,'ProfilePage.SizeMsg','Image must be at least') + END + IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'ProfilePage.SuccessMsg') + BEGIN + INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) + VALUES(@LanguageId,'ProfilePage.SuccessMsg','Avatar uploaded successfully!') + END END \ No newline at end of file diff --git a/src/Libraries/Taskist.Core/Common/IWorkContext.cs b/src/Libraries/Taskist.Core/Common/IWorkContext.cs index d0fd8d9..12afbba 100644 --- a/src/Libraries/Taskist.Core/Common/IWorkContext.cs +++ b/src/Libraries/Taskist.Core/Common/IWorkContext.cs @@ -8,4 +8,6 @@ public interface IWorkContext Task GetCurrentUserAsync(); Task GetCurrentUserLanguageAsync(); + + Task SetCurrentUserAsync(User? user = null); } diff --git a/src/Libraries/Taskist.Core/Domain/Masters/CustomField.cs b/src/Libraries/Taskist.Core/Domain/Masters/CustomField.cs index cfc0595..1837a21 100644 --- a/src/Libraries/Taskist.Core/Domain/Masters/CustomField.cs +++ b/src/Libraries/Taskist.Core/Domain/Masters/CustomField.cs @@ -1,27 +1,26 @@ using Taskist.Core.Domain.Common; -namespace Taskist.Core.Domain.Masters +namespace Taskist.Core.Domain.Masters; + +public class CustomField : BaseEntity { - public class CustomField : BaseEntity - { - public int ProjectId { get; set; } + public int ProjectId { get; set; } - public string Label { get; set; } + public string Label { get; set; } - public string ResourceKey { get; set; } + public string ResourceKey { get; set; } - public int FieldType { get; set; } + public int FieldType { get; set; } - public string? Options { get; set; } + public string? Options { get; set; } - public bool Mandatory { get; set; } + public bool Mandatory { get; set; } - public int ColumnClass { get; set; } + public int ColumnClass { get; set; } - public int Placement { get; set; } + public int Placement { get; set; } - public int DisplayOrder { get; set; } + public int DisplayOrder { get; set; } - public virtual Project Project { get; set; } - } + public virtual Project Project { get; set; } } diff --git a/src/Libraries/Taskist.Core/Domain/Users/User.cs b/src/Libraries/Taskist.Core/Domain/Users/User.cs index 61249fd..a4163be 100644 --- a/src/Libraries/Taskist.Core/Domain/Users/User.cs +++ b/src/Libraries/Taskist.Core/Domain/Users/User.cs @@ -35,6 +35,8 @@ public User() public DateTime LastActivityDate { get; set; } + public int AvatarVersion { get; set; } + public bool Locked { get; set; } public int Status { get; set; } diff --git a/src/Libraries/Taskist.Core/Domain/WorkItems/BacklogCustomFieldValue.cs b/src/Libraries/Taskist.Core/Domain/WorkItems/BacklogCustomFieldValue.cs index 2b76a56..73fe160 100644 --- a/src/Libraries/Taskist.Core/Domain/WorkItems/BacklogCustomFieldValue.cs +++ b/src/Libraries/Taskist.Core/Domain/WorkItems/BacklogCustomFieldValue.cs @@ -1,18 +1,17 @@ using Taskist.Core.Domain.Common; using Taskist.Core.Domain.Masters; -namespace Taskist.Core.Domain.WorkItems +namespace Taskist.Core.Domain.WorkItems; + +public class BacklogCustomFieldValue : BaseEntity { - public class BacklogCustomFieldValue : BaseEntity - { - public int BacklogId { get; set; } + public int BacklogId { get; set; } - public int CustomFieldId { get; set; } + public int CustomFieldId { get; set; } - public string? Value { get; set; } + public string? Value { get; set; } - public virtual Backlog Backlog { get; set; } + public virtual Backlog Backlog { get; set; } - public virtual CustomField CustomField { get; set; } - } + public virtual CustomField CustomField { get; set; } } diff --git a/src/Libraries/Taskist.Data/Migrations/20251002161254_InitialModel.Designer.cs b/src/Libraries/Taskist.Data/Migrations/20251002161254_InitialModel.Designer.cs index ebe8b20..dc8865d 100644 --- a/src/Libraries/Taskist.Data/Migrations/20251002161254_InitialModel.Designer.cs +++ b/src/Libraries/Taskist.Data/Migrations/20251002161254_InitialModel.Designer.cs @@ -9,1643 +9,1642 @@ #nullable disable -namespace Taskist.Data.Migrations +namespace Taskist.Data.Migrations; + +[DbContext(typeof(ApplicationContext))] +[Migration("20251002161254_InitialModel")] +partial class InitialModel { - [DbContext(typeof(ApplicationContext))] - [Migration("20251002161254_InitialModel")] - partial class InitialModel + /// + protected override void BuildTargetModel(ModelBuilder modelBuilder) { - /// - protected override void BuildTargetModel(ModelBuilder modelBuilder) - { #pragma warning disable 612, 618 - modelBuilder - .HasAnnotation("ProductVersion", "8.0.0") - .HasAnnotation("Proxies:ChangeTracking", false) - .HasAnnotation("Proxies:CheckEquality", false) - .HasAnnotation("Proxies:LazyLoading", true) - .HasAnnotation("Relational:MaxIdentifierLength", 128); + modelBuilder + .HasAnnotation("ProductVersion", "8.0.0") + .HasAnnotation("Proxies:ChangeTracking", false) + .HasAnnotation("Proxies:CheckEquality", false) + .HasAnnotation("Proxies:LazyLoading", true) + .HasAnnotation("Relational:MaxIdentifierLength", 128); - SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder); + SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder); - modelBuilder.Entity("Taskist.Core.Domain.Localization.Language", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); + modelBuilder.Entity("Taskist.Core.Domain.Localization.Language", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("int"); - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - b.Property("Active") - .HasColumnType("bit"); + b.Property("Active") + .HasColumnType("bit"); - b.Property("DisplayName") - .IsRequired() - .HasMaxLength(750) - .HasColumnType("nvarchar(750)"); + b.Property("DisplayName") + .IsRequired() + .HasMaxLength(750) + .HasColumnType("nvarchar(750)"); - b.Property("DisplayOrder") - .HasColumnType("int"); + b.Property("DisplayOrder") + .HasColumnType("int"); - b.Property("LanguageCulture") - .IsRequired() - .HasMaxLength(10) - .HasColumnType("nvarchar(10)"); + b.Property("LanguageCulture") + .IsRequired() + .HasMaxLength(10) + .HasColumnType("nvarchar(10)"); - b.Property("Name") - .IsRequired() - .HasMaxLength(750) - .HasColumnType("nvarchar(750)"); + b.Property("Name") + .IsRequired() + .HasMaxLength(750) + .HasColumnType("nvarchar(750)"); - b.Property("Rtl") - .HasColumnType("bit"); + b.Property("Rtl") + .HasColumnType("bit"); - b.HasKey("Id"); + b.HasKey("Id"); - b.ToTable("Language", (string)null); - }); + b.ToTable("Language", (string)null); + }); - modelBuilder.Entity("Taskist.Core.Domain.Localization.LocaleResource", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); + modelBuilder.Entity("Taskist.Core.Domain.Localization.LocaleResource", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("int"); - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - b.Property("LanguageId") - .HasColumnType("int"); + b.Property("LanguageId") + .HasColumnType("int"); - b.Property("ResourceKey") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); + b.Property("ResourceKey") + .IsRequired() + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); - b.Property("ResourceValue") - .IsRequired() - .HasColumnType("nvarchar(max)"); + b.Property("ResourceValue") + .IsRequired() + .HasColumnType("nvarchar(max)"); - b.HasKey("Id"); + b.HasKey("Id"); - b.HasIndex("LanguageId"); + b.HasIndex("LanguageId"); - b.ToTable("LocaleResource", (string)null); - }); + b.ToTable("LocaleResource", (string)null); + }); - modelBuilder.Entity("Taskist.Core.Domain.Logging.ActivityLog", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); + modelBuilder.Entity("Taskist.Core.Domain.Logging.ActivityLog", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("int"); - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - b.Property("Comment") - .IsRequired() - .HasColumnType("nvarchar(max)"); + b.Property("Comment") + .IsRequired() + .HasColumnType("nvarchar(max)"); - b.Property("CreatedOnUtc") - .HasColumnType("datetime2"); + b.Property("CreatedOnUtc") + .HasColumnType("datetime2"); - b.Property("EntityId") - .HasColumnType("int"); + b.Property("EntityId") + .HasColumnType("int"); - b.Property("EntityName") - .IsRequired() - .HasMaxLength(500) - .HasColumnType("nvarchar(500)"); + b.Property("EntityName") + .IsRequired() + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); - b.Property("IpAddress") - .IsRequired() - .HasColumnType("nvarchar(max)"); + b.Property("IpAddress") + .IsRequired() + .HasColumnType("nvarchar(max)"); - b.Property("SystemName") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); + b.Property("SystemName") + .IsRequired() + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); - b.Property("UserId") - .HasColumnType("int"); + b.Property("UserId") + .HasColumnType("int"); - b.HasKey("Id"); + b.HasKey("Id"); - b.ToTable("ActivityLog", (string)null); - }); + b.ToTable("ActivityLog", (string)null); + }); - modelBuilder.Entity("Taskist.Core.Domain.Logging.Log", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); + modelBuilder.Entity("Taskist.Core.Domain.Logging.Log", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("int"); - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - b.Property("CreatedOnUtc") - .HasColumnType("datetime2"); + b.Property("CreatedOnUtc") + .HasColumnType("datetime2"); - b.Property("FullMessage") - .IsRequired() - .HasColumnType("nvarchar(max)"); + b.Property("FullMessage") + .IsRequired() + .HasColumnType("nvarchar(max)"); - b.Property("IpAddress") - .HasColumnType("nvarchar(max)"); + b.Property("IpAddress") + .HasColumnType("nvarchar(max)"); - b.Property("LogLevel") - .HasColumnType("int"); + b.Property("LogLevel") + .HasColumnType("int"); - b.Property("LogLevelId") - .HasColumnType("int"); + b.Property("LogLevelId") + .HasColumnType("int"); - b.Property("PageUrl") - .HasColumnType("nvarchar(max)"); + b.Property("PageUrl") + .HasColumnType("nvarchar(max)"); - b.Property("ReferrerUrl") - .HasColumnType("nvarchar(max)"); + b.Property("ReferrerUrl") + .HasColumnType("nvarchar(max)"); - b.Property("ShortMessage") - .IsRequired() - .HasColumnType("nvarchar(max)"); + b.Property("ShortMessage") + .IsRequired() + .HasColumnType("nvarchar(max)"); - b.Property("UserId") - .HasColumnType("int"); + b.Property("UserId") + .HasColumnType("int"); - b.HasKey("Id"); + b.HasKey("Id"); - b.ToTable("Log", (string)null); - }); + b.ToTable("Log", (string)null); + }); - modelBuilder.Entity("Taskist.Core.Domain.Masters.Client", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); + modelBuilder.Entity("Taskist.Core.Domain.Masters.Client", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("int"); - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - b.Property("Active") - .HasColumnType("bit"); + b.Property("Active") + .HasColumnType("bit"); - b.Property("ContactPerson") - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); + b.Property("ContactPerson") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); - b.Property("Deleted") - .HasColumnType("bit"); + b.Property("Deleted") + .HasColumnType("bit"); - b.Property("Description") - .HasMaxLength(250) - .HasColumnType("nvarchar(250)"); + b.Property("Description") + .HasMaxLength(250) + .HasColumnType("nvarchar(250)"); - b.Property("Email") - .HasMaxLength(250) - .HasColumnType("nvarchar(250)"); + b.Property("Email") + .HasMaxLength(250) + .HasColumnType("nvarchar(250)"); - b.Property("Name") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); + b.Property("Name") + .IsRequired() + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); - b.Property("PhoneNumber") - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); + b.Property("PhoneNumber") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); - b.Property("Website") - .HasMaxLength(750) - .HasColumnType("nvarchar(750)"); + b.Property("Website") + .HasMaxLength(750) + .HasColumnType("nvarchar(750)"); - b.HasKey("Id"); + b.HasKey("Id"); - b.ToTable("Client", (string)null); - }); + b.ToTable("Client", (string)null); + }); - modelBuilder.Entity("Taskist.Core.Domain.Masters.CustomField", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); + modelBuilder.Entity("Taskist.Core.Domain.Masters.CustomField", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("int"); - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - b.Property("ColumnClass") - .HasMaxLength(20) - .HasColumnType("int"); + b.Property("ColumnClass") + .HasMaxLength(20) + .HasColumnType("int"); - b.Property("DisplayOrder") - .HasColumnType("int"); + b.Property("DisplayOrder") + .HasColumnType("int"); - b.Property("FieldType") - .HasColumnType("int"); + b.Property("FieldType") + .HasColumnType("int"); - b.Property("Label") - .IsRequired() - .HasColumnType("nvarchar(max)"); + b.Property("Label") + .IsRequired() + .HasColumnType("nvarchar(max)"); - b.Property("Mandatory") - .HasColumnType("bit"); + b.Property("Mandatory") + .HasColumnType("bit"); - b.Property("Options") - .HasColumnType("nvarchar(max)"); + b.Property("Options") + .HasColumnType("nvarchar(max)"); - b.Property("Placement") - .HasColumnType("int"); + b.Property("Placement") + .HasColumnType("int"); - b.Property("ProjectId") - .HasColumnType("int"); + b.Property("ProjectId") + .HasColumnType("int"); - b.Property("ResourceKey") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); + b.Property("ResourceKey") + .IsRequired() + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); - b.HasKey("Id"); + b.HasKey("Id"); - b.HasIndex("ProjectId"); + b.HasIndex("ProjectId"); - b.ToTable("CustomField", (string)null); - }); + b.ToTable("CustomField", (string)null); + }); - modelBuilder.Entity("Taskist.Core.Domain.Masters.Document", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); + modelBuilder.Entity("Taskist.Core.Domain.Masters.Document", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("int"); - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - b.Property("ContentType") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)"); + b.Property("ContentType") + .IsRequired() + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); - b.Property("Extension") - .IsRequired() - .HasMaxLength(10) - .HasColumnType("nvarchar(10)"); + b.Property("Extension") + .IsRequired() + .HasMaxLength(10) + .HasColumnType("nvarchar(10)"); - b.Property("FileData") - .IsRequired() - .HasColumnType("varbinary(max)"); + b.Property("FileData") + .IsRequired() + .HasColumnType("varbinary(max)"); - b.Property("FileName") - .IsRequired() - .HasMaxLength(255) - .HasColumnType("nvarchar(255)"); + b.Property("FileName") + .IsRequired() + .HasMaxLength(255) + .HasColumnType("nvarchar(255)"); - b.Property("FileSize") - .HasColumnType("bigint"); + b.Property("FileSize") + .HasColumnType("bigint"); - b.HasKey("Id"); + b.HasKey("Id"); - b.ToTable("Document", (string)null); - }); + b.ToTable("Document", (string)null); + }); - modelBuilder.Entity("Taskist.Core.Domain.Masters.EmailAccount", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); + modelBuilder.Entity("Taskist.Core.Domain.Masters.EmailAccount", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("int"); - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - b.Property("Active") - .HasColumnType("bit"); + b.Property("Active") + .HasColumnType("bit"); - b.Property("Description") - .HasMaxLength(250) - .HasColumnType("nvarchar(250)"); + b.Property("Description") + .HasMaxLength(250) + .HasColumnType("nvarchar(250)"); - b.Property("EnableSsl") - .HasColumnType("bit"); + b.Property("EnableSsl") + .HasColumnType("bit"); - b.Property("FromEmail") - .IsRequired() - .HasColumnType("nvarchar(max)"); + b.Property("FromEmail") + .IsRequired() + .HasColumnType("nvarchar(max)"); - b.Property("FromName") - .IsRequired() - .HasColumnType("nvarchar(max)"); + b.Property("FromName") + .IsRequired() + .HasColumnType("nvarchar(max)"); - b.Property("Host") - .IsRequired() - .HasColumnType("nvarchar(max)"); + b.Property("Host") + .IsRequired() + .HasColumnType("nvarchar(max)"); - b.Property("Name") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); + b.Property("Name") + .IsRequired() + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); - b.Property("Password") - .IsRequired() - .HasColumnType("nvarchar(max)"); + b.Property("Password") + .IsRequired() + .HasColumnType("nvarchar(max)"); - b.Property("Port") - .HasColumnType("int"); + b.Property("Port") + .HasColumnType("int"); - b.Property("UserName") - .IsRequired() - .HasColumnType("nvarchar(max)"); + b.Property("UserName") + .IsRequired() + .HasColumnType("nvarchar(max)"); - b.HasKey("Id"); + b.HasKey("Id"); - b.ToTable("EmailAccount", (string)null); - }); + b.ToTable("EmailAccount", (string)null); + }); - modelBuilder.Entity("Taskist.Core.Domain.Masters.EmailTemplate", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); + modelBuilder.Entity("Taskist.Core.Domain.Masters.EmailTemplate", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("int"); - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - b.Property("Active") - .HasColumnType("bit"); + b.Property("Active") + .HasColumnType("bit"); - b.Property("EmailAccountId") - .HasColumnType("int"); + b.Property("EmailAccountId") + .HasColumnType("int"); - b.Property("EmailBody") - .IsRequired() - .HasColumnType("nvarchar(max)"); + b.Property("EmailBody") + .IsRequired() + .HasColumnType("nvarchar(max)"); - b.Property("EmailSubject") - .IsRequired() - .HasColumnType("nvarchar(max)"); + b.Property("EmailSubject") + .IsRequired() + .HasColumnType("nvarchar(max)"); - b.Property("Name") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); + b.Property("Name") + .IsRequired() + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); - b.HasKey("Id"); + b.HasKey("Id"); - b.HasIndex("EmailAccountId"); + b.HasIndex("EmailAccountId"); - b.ToTable("EmailTemplate", (string)null); - }); + b.ToTable("EmailTemplate", (string)null); + }); - modelBuilder.Entity("Taskist.Core.Domain.Masters.GenericAttribute", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); + modelBuilder.Entity("Taskist.Core.Domain.Masters.GenericAttribute", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("int"); - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - b.Property("CreatedOrUpdatedDate") - .HasColumnType("datetime2"); + b.Property("CreatedOrUpdatedDate") + .HasColumnType("datetime2"); - b.Property("EntityId") - .HasColumnType("int"); + b.Property("EntityId") + .HasColumnType("int"); - b.Property("Key") - .IsRequired() - .HasMaxLength(200) - .HasColumnType("nvarchar(200)"); + b.Property("Key") + .IsRequired() + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); - b.Property("KeyGroup") - .IsRequired() - .HasMaxLength(200) - .HasColumnType("nvarchar(200)"); + b.Property("KeyGroup") + .IsRequired() + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); - b.Property("Value") - .IsRequired() - .HasColumnType("nvarchar(max)"); + b.Property("Value") + .IsRequired() + .HasColumnType("nvarchar(max)"); - b.HasKey("Id"); + b.HasKey("Id"); - b.ToTable("GenericAttribute", (string)null); - }); + b.ToTable("GenericAttribute", (string)null); + }); - modelBuilder.Entity("Taskist.Core.Domain.Masters.Menu", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); + modelBuilder.Entity("Taskist.Core.Domain.Masters.Menu", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("int"); - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - b.Property("ActionName") - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); + b.Property("ActionName") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); - b.Property("Active") - .HasColumnType("bit"); + b.Property("Active") + .HasColumnType("bit"); - b.Property("Code") - .HasColumnType("int"); + b.Property("Code") + .HasColumnType("int"); - b.Property("ControllerName") - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); + b.Property("ControllerName") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); - b.Property("DisplayOrder") - .HasColumnType("int"); + b.Property("DisplayOrder") + .HasColumnType("int"); - b.Property("Icon") - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); + b.Property("Icon") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); - b.Property("Name") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)"); + b.Property("Name") + .IsRequired() + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); - b.Property("ParentCode") - .HasColumnType("int"); + b.Property("ParentCode") + .HasColumnType("int"); - b.Property("Permission") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); + b.Property("Permission") + .IsRequired() + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); - b.Property("SystemName") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); + b.Property("SystemName") + .IsRequired() + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); - b.HasKey("Id"); + b.HasKey("Id"); - b.ToTable("Menu", (string)null); - }); + b.ToTable("Menu", (string)null); + }); - modelBuilder.Entity("Taskist.Core.Domain.Masters.Module", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); + modelBuilder.Entity("Taskist.Core.Domain.Masters.Module", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("int"); - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - b.Property("Active") - .HasColumnType("bit"); + b.Property("Active") + .HasColumnType("bit"); - b.Property("Deleted") - .HasColumnType("bit"); + b.Property("Deleted") + .HasColumnType("bit"); - b.Property("Description") - .HasColumnType("nvarchar(max)"); + b.Property("Description") + .HasColumnType("nvarchar(max)"); - b.Property("Name") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); + b.Property("Name") + .IsRequired() + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); - b.Property("ProjectId") - .HasColumnType("int"); + b.Property("ProjectId") + .HasColumnType("int"); - b.HasKey("Id"); + b.HasKey("Id"); - b.HasIndex("ProjectId"); + b.HasIndex("ProjectId"); - b.ToTable("Module", (string)null); - }); + b.ToTable("Module", (string)null); + }); - modelBuilder.Entity("Taskist.Core.Domain.Masters.Project", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); + modelBuilder.Entity("Taskist.Core.Domain.Masters.Project", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("int"); - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - b.Property("Active") - .HasColumnType("bit"); + b.Property("Active") + .HasColumnType("bit"); - b.Property("ClientId") - .HasColumnType("int"); + b.Property("ClientId") + .HasColumnType("int"); - b.Property("Deleted") - .HasColumnType("bit"); + b.Property("Deleted") + .HasColumnType("bit"); - b.Property("Description") - .HasMaxLength(250) - .HasColumnType("nvarchar(250)"); + b.Property("Description") + .HasMaxLength(250) + .HasColumnType("nvarchar(250)"); - b.Property("EndDate") - .HasColumnType("date"); + b.Property("EndDate") + .HasColumnType("date"); - b.Property("Name") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); + b.Property("Name") + .IsRequired() + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); - b.Property("StartDate") - .HasColumnType("date"); + b.Property("StartDate") + .HasColumnType("date"); - b.HasKey("Id"); + b.HasKey("Id"); - b.HasIndex("ClientId"); + b.HasIndex("ClientId"); - b.ToTable("Project", (string)null); - }); + b.ToTable("Project", (string)null); + }); - modelBuilder.Entity("Taskist.Core.Domain.Masters.Reporter", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); + modelBuilder.Entity("Taskist.Core.Domain.Masters.Reporter", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("int"); - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - b.Property("Active") - .HasColumnType("bit"); + b.Property("Active") + .HasColumnType("bit"); - b.Property("Deleted") - .HasColumnType("bit"); + b.Property("Deleted") + .HasColumnType("bit"); - b.Property("Description") - .HasMaxLength(250) - .HasColumnType("nvarchar(250)"); + b.Property("Description") + .HasMaxLength(250) + .HasColumnType("nvarchar(250)"); - b.Property("Name") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); + b.Property("Name") + .IsRequired() + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); - b.Property("ProjectId") - .HasColumnType("int"); + b.Property("ProjectId") + .HasColumnType("int"); - b.HasKey("Id"); + b.HasKey("Id"); - b.HasIndex("ProjectId"); + b.HasIndex("ProjectId"); - b.ToTable("Reporter", (string)null); - }); + b.ToTable("Reporter", (string)null); + }); - modelBuilder.Entity("Taskist.Core.Domain.Masters.Setting", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); + modelBuilder.Entity("Taskist.Core.Domain.Masters.Setting", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("int"); - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - b.Property("Name") - .IsRequired() - .HasMaxLength(250) - .HasColumnType("nvarchar(250)"); + b.Property("Name") + .IsRequired() + .HasMaxLength(250) + .HasColumnType("nvarchar(250)"); - b.Property("Value") - .IsRequired() - .HasColumnType("nvarchar(max)"); + b.Property("Value") + .IsRequired() + .HasColumnType("nvarchar(max)"); - b.HasKey("Id"); + b.HasKey("Id"); - b.ToTable("Setting", (string)null); - }); + b.ToTable("Setting", (string)null); + }); - modelBuilder.Entity("Taskist.Core.Domain.Masters.Severity", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); + modelBuilder.Entity("Taskist.Core.Domain.Masters.Severity", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("int"); - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - b.Property("Active") - .HasColumnType("bit"); + b.Property("Active") + .HasColumnType("bit"); - b.Property("BackgroundColor") - .HasMaxLength(20) - .HasColumnType("nvarchar(20)"); + b.Property("BackgroundColor") + .HasMaxLength(20) + .HasColumnType("nvarchar(20)"); - b.Property("Deleted") - .HasColumnType("bit"); + b.Property("Deleted") + .HasColumnType("bit"); - b.Property("Description") - .HasMaxLength(250) - .HasColumnType("nvarchar(250)"); + b.Property("Description") + .HasMaxLength(250) + .HasColumnType("nvarchar(250)"); - b.Property("GroupId") - .HasColumnType("int"); + b.Property("GroupId") + .HasColumnType("int"); - b.Property("IconClass") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)"); + b.Property("IconClass") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); - b.Property("Name") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); + b.Property("Name") + .IsRequired() + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); - b.Property("TextColor") - .HasMaxLength(20) - .HasColumnType("nvarchar(20)"); + b.Property("TextColor") + .HasMaxLength(20) + .HasColumnType("nvarchar(20)"); - b.HasKey("Id"); + b.HasKey("Id"); - b.ToTable("Severity", (string)null); - }); + b.ToTable("Severity", (string)null); + }); - modelBuilder.Entity("Taskist.Core.Domain.Masters.Status", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); + modelBuilder.Entity("Taskist.Core.Domain.Masters.Status", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("int"); - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - b.Property("Active") - .HasColumnType("bit"); + b.Property("Active") + .HasColumnType("bit"); - b.Property("BackgroundColor") - .HasMaxLength(20) - .HasColumnType("nvarchar(20)"); + b.Property("BackgroundColor") + .HasMaxLength(20) + .HasColumnType("nvarchar(20)"); - b.Property("Deleted") - .HasColumnType("bit"); + b.Property("Deleted") + .HasColumnType("bit"); - b.Property("Description") - .HasMaxLength(250) - .HasColumnType("nvarchar(250)"); + b.Property("Description") + .HasMaxLength(250) + .HasColumnType("nvarchar(250)"); - b.Property("GroupId") - .HasColumnType("int"); + b.Property("GroupId") + .HasColumnType("int"); - b.Property("IconClass") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)"); + b.Property("IconClass") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); - b.Property("Name") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); + b.Property("Name") + .IsRequired() + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); - b.Property("SystemDefined") - .HasColumnType("bit"); + b.Property("SystemDefined") + .HasColumnType("bit"); - b.Property("TextColor") - .HasMaxLength(20) - .HasColumnType("nvarchar(20)"); + b.Property("TextColor") + .HasMaxLength(20) + .HasColumnType("nvarchar(20)"); - b.HasKey("Id"); + b.HasKey("Id"); - b.ToTable("Status", (string)null); - }); + b.ToTable("Status", (string)null); + }); - modelBuilder.Entity("Taskist.Core.Domain.Masters.SubModule", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); + modelBuilder.Entity("Taskist.Core.Domain.Masters.SubModule", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("int"); - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - b.Property("Active") - .HasColumnType("bit"); + b.Property("Active") + .HasColumnType("bit"); - b.Property("Deleted") - .HasColumnType("bit"); + b.Property("Deleted") + .HasColumnType("bit"); - b.Property("Description") - .HasMaxLength(250) - .HasColumnType("nvarchar(250)"); + b.Property("Description") + .HasMaxLength(250) + .HasColumnType("nvarchar(250)"); - b.Property("ModuleId") - .HasColumnType("int"); + b.Property("ModuleId") + .HasColumnType("int"); - b.Property("Name") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); + b.Property("Name") + .IsRequired() + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); - b.Property("OwnerId") - .HasColumnType("int"); + b.Property("OwnerId") + .HasColumnType("int"); - b.HasKey("Id"); + b.HasKey("Id"); - b.HasIndex("ModuleId"); + b.HasIndex("ModuleId"); - b.HasIndex("OwnerId"); + b.HasIndex("OwnerId"); - b.ToTable("SubModule", (string)null); - }); + b.ToTable("SubModule", (string)null); + }); - modelBuilder.Entity("Taskist.Core.Domain.Masters.TaskType", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); + modelBuilder.Entity("Taskist.Core.Domain.Masters.TaskType", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("int"); - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - b.Property("Active") - .HasColumnType("bit"); + b.Property("Active") + .HasColumnType("bit"); - b.Property("BackgroundColor") - .HasMaxLength(20) - .HasColumnType("nvarchar(20)"); + b.Property("BackgroundColor") + .HasMaxLength(20) + .HasColumnType("nvarchar(20)"); - b.Property("Deleted") - .HasColumnType("bit"); + b.Property("Deleted") + .HasColumnType("bit"); - b.Property("Description") - .HasMaxLength(250) - .HasColumnType("nvarchar(250)"); + b.Property("Description") + .HasMaxLength(250) + .HasColumnType("nvarchar(250)"); - b.Property("GroupId") - .HasColumnType("int"); + b.Property("GroupId") + .HasColumnType("int"); - b.Property("IconClass") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)"); + b.Property("IconClass") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); - b.Property("Name") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); + b.Property("Name") + .IsRequired() + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); - b.Property("TextColor") - .HasMaxLength(20) - .HasColumnType("nvarchar(20)"); + b.Property("TextColor") + .HasMaxLength(20) + .HasColumnType("nvarchar(20)"); - b.HasKey("Id"); + b.HasKey("Id"); - b.ToTable("TaskType", (string)null); - }); + b.ToTable("TaskType", (string)null); + }); - modelBuilder.Entity("Taskist.Core.Domain.Users.User", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); + modelBuilder.Entity("Taskist.Core.Domain.Users.User", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("int"); - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - b.Property("Code") - .HasColumnType("uniqueidentifier"); + b.Property("Code") + .HasColumnType("uniqueidentifier"); - b.Property("Deleted") - .HasColumnType("bit"); + b.Property("Deleted") + .HasColumnType("bit"); - b.Property("Email") - .IsRequired() - .HasMaxLength(150) - .HasColumnType("nvarchar(150)"); + b.Property("Email") + .IsRequired() + .HasMaxLength(150) + .HasColumnType("nvarchar(150)"); - b.Property("FailedLoginAttempts") - .HasColumnType("int"); + b.Property("FailedLoginAttempts") + .HasColumnType("int"); - b.Property("FirstName") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)"); + b.Property("FirstName") + .IsRequired() + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); - b.Property("GenderId") - .HasColumnType("int"); + b.Property("GenderId") + .HasColumnType("int"); - b.Property("LanguageId") - .HasColumnType("int"); + b.Property("LanguageId") + .HasColumnType("int"); - b.Property("LastActivityDate") - .HasColumnType("datetime2"); + b.Property("LastActivityDate") + .HasColumnType("datetime2"); - b.Property("LastIPAddress") - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); + b.Property("LastIPAddress") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); - b.Property("LastLoginDate") - .HasColumnType("datetime2"); + b.Property("LastLoginDate") + .HasColumnType("datetime2"); - b.Property("LastName") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)"); + b.Property("LastName") + .IsRequired() + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); - b.Property("Locked") - .HasColumnType("bit"); + b.Property("Locked") + .HasColumnType("bit"); - b.Property("Status") - .HasColumnType("int"); + b.Property("Status") + .HasColumnType("int"); - b.Property("SystemAccount") - .HasColumnType("bit"); + b.Property("SystemAccount") + .HasColumnType("bit"); - b.HasKey("Id"); + b.HasKey("Id"); - b.HasIndex("LanguageId"); + b.HasIndex("LanguageId"); - b.ToTable("User", (string)null); - }); + b.ToTable("User", (string)null); + }); - modelBuilder.Entity("Taskist.Core.Domain.Users.UserPassword", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); + modelBuilder.Entity("Taskist.Core.Domain.Users.UserPassword", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("int"); - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - b.Property("CreatedOn") - .HasColumnType("datetime2"); + b.Property("CreatedOn") + .HasColumnType("datetime2"); - b.Property("Password") - .IsRequired() - .HasColumnType("nvarchar(max)"); + b.Property("Password") + .IsRequired() + .HasColumnType("nvarchar(max)"); - b.Property("PasswordSalt") - .IsRequired() - .HasColumnType("nvarchar(max)"); + b.Property("PasswordSalt") + .IsRequired() + .HasColumnType("nvarchar(max)"); - b.Property("UserId") - .HasColumnType("int"); + b.Property("UserId") + .HasColumnType("int"); - b.HasKey("Id"); + b.HasKey("Id"); - b.HasIndex("UserId"); + b.HasIndex("UserId"); - b.ToTable("UserPassword", (string)null); - }); + b.ToTable("UserPassword", (string)null); + }); - modelBuilder.Entity("Taskist.Core.Domain.Users.UserProjectMap", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); + modelBuilder.Entity("Taskist.Core.Domain.Users.UserProjectMap", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("int"); - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - b.Property("CanClose") - .HasColumnType("bit"); + b.Property("CanClose") + .HasColumnType("bit"); - b.Property("CanComment") - .HasColumnType("bit"); + b.Property("CanComment") + .HasColumnType("bit"); - b.Property("CanDelete") - .HasColumnType("bit"); + b.Property("CanDelete") + .HasColumnType("bit"); - b.Property("CanEdit") - .HasColumnType("bit"); + b.Property("CanEdit") + .HasColumnType("bit"); - b.Property("CanEditOthersTask") - .HasColumnType("bit"); + b.Property("CanEditOthersTask") + .HasColumnType("bit"); - b.Property("CanReOpen") - .HasColumnType("bit"); + b.Property("CanReOpen") + .HasColumnType("bit"); - b.Property("CanReport") - .HasColumnType("bit"); + b.Property("CanReport") + .HasColumnType("bit"); - b.Property("CanViewOthersTask") - .HasColumnType("bit"); + b.Property("CanViewOthersTask") + .HasColumnType("bit"); - b.Property("ProjectId") - .HasColumnType("int"); + b.Property("ProjectId") + .HasColumnType("int"); - b.Property("UserId") - .HasColumnType("int"); + b.Property("UserId") + .HasColumnType("int"); - b.HasKey("Id"); + b.HasKey("Id"); - b.HasIndex("ProjectId"); + b.HasIndex("ProjectId"); - b.HasIndex("UserId"); + b.HasIndex("UserId"); - b.ToTable("UserProjectMap", (string)null); - }); + b.ToTable("UserProjectMap", (string)null); + }); - modelBuilder.Entity("Taskist.Core.Domain.Users.UserRole", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); + modelBuilder.Entity("Taskist.Core.Domain.Users.UserRole", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("int"); - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - b.Property("Active") - .HasColumnType("bit"); + b.Property("Active") + .HasColumnType("bit"); - b.Property("Description") - .HasMaxLength(250) - .HasColumnType("nvarchar(250)"); + b.Property("Description") + .HasMaxLength(250) + .HasColumnType("nvarchar(250)"); - b.Property("Name") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)"); + b.Property("Name") + .IsRequired() + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); - b.Property("SystemDefined") - .HasColumnType("bit"); + b.Property("SystemDefined") + .HasColumnType("bit"); - b.Property("SystemName") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)"); + b.Property("SystemName") + .IsRequired() + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); - b.HasKey("Id"); + b.HasKey("Id"); - b.ToTable("UserRole", (string)null); - }); + b.ToTable("UserRole", (string)null); + }); - modelBuilder.Entity("Taskist.Core.Domain.Users.UserRoleMap", b => - { - b.Property("UserId") - .HasColumnType("int"); + modelBuilder.Entity("Taskist.Core.Domain.Users.UserRoleMap", b => + { + b.Property("UserId") + .HasColumnType("int"); - b.Property("UserRoleId") - .HasColumnType("int"); + b.Property("UserRoleId") + .HasColumnType("int"); - b.HasKey("UserId", "UserRoleId"); + b.HasKey("UserId", "UserRoleId"); - b.HasIndex("UserRoleId"); + b.HasIndex("UserRoleId"); - b.ToTable("UserRoleMap", (string)null); - }); + b.ToTable("UserRoleMap", (string)null); + }); - modelBuilder.Entity("Taskist.Core.Domain.Users.UserRolePermission", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); + modelBuilder.Entity("Taskist.Core.Domain.Users.UserRolePermission", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("int"); - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - b.Property("Name") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); + b.Property("Name") + .IsRequired() + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); - b.Property("RoleGroup") - .IsRequired() - .HasMaxLength(255) - .HasColumnType("nvarchar(255)"); + b.Property("RoleGroup") + .IsRequired() + .HasMaxLength(255) + .HasColumnType("nvarchar(255)"); - b.Property("SystemDefined") - .HasColumnType("bit"); + b.Property("SystemDefined") + .HasColumnType("bit"); - b.Property("SystemName") - .IsRequired() - .HasMaxLength(255) - .HasColumnType("nvarchar(255)"); + b.Property("SystemName") + .IsRequired() + .HasMaxLength(255) + .HasColumnType("nvarchar(255)"); - b.HasKey("Id"); + b.HasKey("Id"); - b.ToTable("UserRolePermission", (string)null); - }); + b.ToTable("UserRolePermission", (string)null); + }); - modelBuilder.Entity("Taskist.Core.Domain.Users.UserRolePermissionMap", b => - { - b.Property("PermissionId") - .HasColumnType("int"); + modelBuilder.Entity("Taskist.Core.Domain.Users.UserRolePermissionMap", b => + { + b.Property("PermissionId") + .HasColumnType("int"); - b.Property("UserRoleId") - .HasColumnType("int"); + b.Property("UserRoleId") + .HasColumnType("int"); - b.HasKey("PermissionId", "UserRoleId"); + b.HasKey("PermissionId", "UserRoleId"); - b.HasIndex("UserRoleId"); + b.HasIndex("UserRoleId"); - b.ToTable("UserRolePermissionMap", (string)null); - }); + b.ToTable("UserRolePermissionMap", (string)null); + }); - modelBuilder.Entity("Taskist.Core.Domain.WorkItems.Backlog", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); + modelBuilder.Entity("Taskist.Core.Domain.WorkItems.Backlog", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("int"); - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - b.Property("AssigneeId") - .HasColumnType("int"); + b.Property("AssigneeId") + .HasColumnType("int"); - b.Property("Code") - .HasColumnType("uniqueidentifier"); + b.Property("Code") + .HasColumnType("uniqueidentifier"); - b.Property("CreatedById") - .HasColumnType("int"); + b.Property("CreatedById") + .HasColumnType("int"); - b.Property("CreatedOn") - .HasColumnType("datetime2"); + b.Property("CreatedOn") + .HasColumnType("datetime2"); - b.Property("Deleted") - .HasColumnType("bit"); + b.Property("Deleted") + .HasColumnType("bit"); - b.Property("Description") - .HasColumnType("nvarchar(max)"); + b.Property("Description") + .HasColumnType("nvarchar(max)"); - b.Property("DueDate") - .HasColumnType("date"); + b.Property("DueDate") + .HasColumnType("date"); - b.Property("ModifiedById") - .HasColumnType("int"); + b.Property("ModifiedById") + .HasColumnType("int"); - b.Property("ModifiedOn") - .HasColumnType("datetime2"); + b.Property("ModifiedOn") + .HasColumnType("datetime2"); - b.Property("ModuleId") - .HasColumnType("int"); + b.Property("ModuleId") + .HasColumnType("int"); - b.Property("ParentId") - .HasColumnType("int"); + b.Property("ParentId") + .HasColumnType("int"); - b.Property("ProjectId") - .HasColumnType("int"); + b.Property("ProjectId") + .HasColumnType("int"); - b.Property("ReporterId") - .HasColumnType("int"); + b.Property("ReporterId") + .HasColumnType("int"); - b.Property("SeverityId") - .HasColumnType("int"); + b.Property("SeverityId") + .HasColumnType("int"); - b.Property("SprintId") - .HasColumnType("int"); + b.Property("SprintId") + .HasColumnType("int"); - b.Property("StatusId") - .HasColumnType("int"); + b.Property("StatusId") + .HasColumnType("int"); - b.Property("SubModuleId") - .HasColumnType("int"); + b.Property("SubModuleId") + .HasColumnType("int"); - b.Property("SubTaskCount") - .HasColumnType("int"); + b.Property("SubTaskCount") + .HasColumnType("int"); - b.Property("TaskTypeId") - .HasColumnType("int"); + b.Property("TaskTypeId") + .HasColumnType("int"); - b.Property("Title") - .IsRequired() - .HasMaxLength(500) - .HasColumnType("nvarchar(500)"); + b.Property("Title") + .IsRequired() + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); - b.HasKey("Id"); + b.HasKey("Id"); - b.HasIndex("AssigneeId"); + b.HasIndex("AssigneeId"); - b.HasIndex("CreatedById"); + b.HasIndex("CreatedById"); - b.HasIndex("ModifiedById"); + b.HasIndex("ModifiedById"); - b.HasIndex("ModuleId"); + b.HasIndex("ModuleId"); - b.HasIndex("ParentId"); + b.HasIndex("ParentId"); - b.HasIndex("ProjectId"); + b.HasIndex("ProjectId"); - b.HasIndex("ReporterId"); + b.HasIndex("ReporterId"); - b.HasIndex("SeverityId"); + b.HasIndex("SeverityId"); - b.HasIndex("SprintId"); + b.HasIndex("SprintId"); - b.HasIndex("StatusId"); + b.HasIndex("StatusId"); - b.HasIndex("SubModuleId"); + b.HasIndex("SubModuleId"); - b.HasIndex("TaskTypeId"); + b.HasIndex("TaskTypeId"); - b.ToTable("Backlog", (string)null); - }); + b.ToTable("Backlog", (string)null); + }); - modelBuilder.Entity("Taskist.Core.Domain.WorkItems.BacklogComment", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); + modelBuilder.Entity("Taskist.Core.Domain.WorkItems.BacklogComment", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("int"); - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - b.Property("BacklogId") - .HasColumnType("int"); + b.Property("BacklogId") + .HasColumnType("int"); - b.Property("Comment") - .IsRequired() - .HasColumnType("nvarchar(max)"); + b.Property("Comment") + .IsRequired() + .HasColumnType("nvarchar(max)"); - b.Property("CreatedById") - .HasColumnType("int"); + b.Property("CreatedById") + .HasColumnType("int"); - b.Property("CreatedOn") - .HasColumnType("datetime2"); + b.Property("CreatedOn") + .HasColumnType("datetime2"); - b.Property("ModifiedById") - .HasColumnType("int"); + b.Property("ModifiedById") + .HasColumnType("int"); - b.Property("ModifiedOn") - .HasColumnType("datetime2"); + b.Property("ModifiedOn") + .HasColumnType("datetime2"); - b.Property("SystemComment") - .HasColumnType("bit"); + b.Property("SystemComment") + .HasColumnType("bit"); - b.HasKey("Id"); + b.HasKey("Id"); - b.HasIndex("BacklogId"); + b.HasIndex("BacklogId"); - b.HasIndex("CreatedById"); + b.HasIndex("CreatedById"); - b.HasIndex("ModifiedById"); + b.HasIndex("ModifiedById"); - b.ToTable("BacklogComment", (string)null); - }); + b.ToTable("BacklogComment", (string)null); + }); - modelBuilder.Entity("Taskist.Core.Domain.WorkItems.BacklogCustomFieldValue", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); + modelBuilder.Entity("Taskist.Core.Domain.WorkItems.BacklogCustomFieldValue", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("int"); - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - b.Property("BacklogId") - .HasColumnType("int"); + b.Property("BacklogId") + .HasColumnType("int"); - b.Property("CustomFieldId") - .HasColumnType("int"); + b.Property("CustomFieldId") + .HasColumnType("int"); - b.Property("Value") - .HasColumnType("nvarchar(max)"); + b.Property("Value") + .HasColumnType("nvarchar(max)"); - b.HasKey("Id"); + b.HasKey("Id"); - b.HasIndex("BacklogId"); + b.HasIndex("BacklogId"); - b.HasIndex("CustomFieldId"); + b.HasIndex("CustomFieldId"); - b.ToTable("BacklogCustomFieldValue", (string)null); - }); + b.ToTable("BacklogCustomFieldValue", (string)null); + }); - modelBuilder.Entity("Taskist.Core.Domain.WorkItems.BacklogDocument", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); + modelBuilder.Entity("Taskist.Core.Domain.WorkItems.BacklogDocument", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("int"); - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - b.Property("BacklogId") - .HasColumnType("int"); + b.Property("BacklogId") + .HasColumnType("int"); - b.Property("CreatedById") - .HasColumnType("int"); + b.Property("CreatedById") + .HasColumnType("int"); - b.Property("CreatedOn") - .HasColumnType("datetime2"); + b.Property("CreatedOn") + .HasColumnType("datetime2"); - b.Property("DocumentId") - .HasColumnType("int"); + b.Property("DocumentId") + .HasColumnType("int"); - b.HasKey("Id"); + b.HasKey("Id"); - b.HasIndex("BacklogId"); + b.HasIndex("BacklogId"); - b.HasIndex("CreatedById"); + b.HasIndex("CreatedById"); - b.HasIndex("DocumentId"); + b.HasIndex("DocumentId"); - b.ToTable("BacklogDocument", (string)null); - }); + b.ToTable("BacklogDocument", (string)null); + }); - modelBuilder.Entity("Taskist.Core.Domain.WorkItems.BacklogStatusLog", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); + modelBuilder.Entity("Taskist.Core.Domain.WorkItems.BacklogStatusLog", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("int"); - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - b.Property("BacklogId") - .HasColumnType("int"); + b.Property("BacklogId") + .HasColumnType("int"); - b.Property("CreatedById") - .HasColumnType("int"); + b.Property("CreatedById") + .HasColumnType("int"); - b.Property("CreatedOn") - .HasColumnType("datetime2"); + b.Property("CreatedOn") + .HasColumnType("datetime2"); - b.Property("StatusId") - .HasColumnType("int"); + b.Property("StatusId") + .HasColumnType("int"); - b.HasKey("Id"); + b.HasKey("Id"); - b.HasIndex("BacklogId"); + b.HasIndex("BacklogId"); - b.HasIndex("CreatedById"); + b.HasIndex("CreatedById"); - b.HasIndex("StatusId"); + b.HasIndex("StatusId"); - b.ToTable("BacklogStatusLog", (string)null); - }); + b.ToTable("BacklogStatusLog", (string)null); + }); - modelBuilder.Entity("Taskist.Core.Domain.WorkItems.Sprint", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); + modelBuilder.Entity("Taskist.Core.Domain.WorkItems.Sprint", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("int"); - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); - b.Property("Completed") - .HasColumnType("bit"); + b.Property("Completed") + .HasColumnType("bit"); - b.Property("Deleted") - .HasColumnType("bit"); + b.Property("Deleted") + .HasColumnType("bit"); - b.Property("Description") - .HasMaxLength(500) - .HasColumnType("nvarchar(500)"); + b.Property("Description") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); - b.Property("EndDate") - .HasColumnType("date"); + b.Property("EndDate") + .HasColumnType("date"); - b.Property("Name") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)"); + b.Property("Name") + .IsRequired() + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); - b.Property("ProjectId") - .HasColumnType("int"); + b.Property("ProjectId") + .HasColumnType("int"); - b.Property("StartDate") - .HasColumnType("date"); + b.Property("StartDate") + .HasColumnType("date"); - b.Property("Started") - .HasColumnType("bit"); + b.Property("Started") + .HasColumnType("bit"); - b.HasKey("Id"); + b.HasKey("Id"); - b.HasIndex("ProjectId"); + b.HasIndex("ProjectId"); - b.ToTable("Sprint", (string)null); - }); + b.ToTable("Sprint", (string)null); + }); - modelBuilder.Entity("Taskist.Core.Domain.Localization.LocaleResource", b => - { - b.HasOne("Taskist.Core.Domain.Localization.Language", "Language") - .WithMany() - .HasForeignKey("LanguageId") - .OnDelete(DeleteBehavior.NoAction) - .IsRequired(); + modelBuilder.Entity("Taskist.Core.Domain.Localization.LocaleResource", b => + { + b.HasOne("Taskist.Core.Domain.Localization.Language", "Language") + .WithMany() + .HasForeignKey("LanguageId") + .OnDelete(DeleteBehavior.NoAction) + .IsRequired(); - b.Navigation("Language"); - }); + b.Navigation("Language"); + }); - modelBuilder.Entity("Taskist.Core.Domain.Masters.CustomField", b => - { - b.HasOne("Taskist.Core.Domain.Masters.Project", "Project") - .WithMany() - .HasForeignKey("ProjectId") - .OnDelete(DeleteBehavior.NoAction) - .IsRequired(); + modelBuilder.Entity("Taskist.Core.Domain.Masters.CustomField", b => + { + b.HasOne("Taskist.Core.Domain.Masters.Project", "Project") + .WithMany() + .HasForeignKey("ProjectId") + .OnDelete(DeleteBehavior.NoAction) + .IsRequired(); - b.Navigation("Project"); - }); + b.Navigation("Project"); + }); - modelBuilder.Entity("Taskist.Core.Domain.Masters.EmailTemplate", b => - { - b.HasOne("Taskist.Core.Domain.Masters.EmailAccount", "EmailAccount") - .WithMany() - .HasForeignKey("EmailAccountId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("EmailAccount"); - }); - - modelBuilder.Entity("Taskist.Core.Domain.Masters.Module", b => - { - b.HasOne("Taskist.Core.Domain.Masters.Project", "Project") - .WithMany() - .HasForeignKey("ProjectId") - .OnDelete(DeleteBehavior.NoAction); - - b.Navigation("Project"); - }); - - modelBuilder.Entity("Taskist.Core.Domain.Masters.Project", b => - { - b.HasOne("Taskist.Core.Domain.Masters.Client", "Client") - .WithMany() - .HasForeignKey("ClientId") - .OnDelete(DeleteBehavior.NoAction) - .IsRequired(); - - b.Navigation("Client"); - }); - - modelBuilder.Entity("Taskist.Core.Domain.Masters.Reporter", b => - { - b.HasOne("Taskist.Core.Domain.Masters.Project", "Project") - .WithMany() - .HasForeignKey("ProjectId") - .OnDelete(DeleteBehavior.NoAction); - - b.Navigation("Project"); - }); - - modelBuilder.Entity("Taskist.Core.Domain.Masters.SubModule", b => - { - b.HasOne("Taskist.Core.Domain.Masters.Module", "Module") - .WithMany() - .HasForeignKey("ModuleId") - .OnDelete(DeleteBehavior.NoAction) - .IsRequired(); - - b.HasOne("Taskist.Core.Domain.Users.User", "Owner") - .WithMany() - .HasForeignKey("OwnerId") - .OnDelete(DeleteBehavior.NoAction); - - b.Navigation("Module"); - - b.Navigation("Owner"); - }); - - modelBuilder.Entity("Taskist.Core.Domain.Users.User", b => - { - b.HasOne("Taskist.Core.Domain.Localization.Language", "Language") - .WithMany() - .HasForeignKey("LanguageId") - .OnDelete(DeleteBehavior.NoAction) - .IsRequired(); - - b.Navigation("Language"); - }); - - modelBuilder.Entity("Taskist.Core.Domain.Users.UserPassword", b => - { - b.HasOne("Taskist.Core.Domain.Users.User", "User") - .WithMany() - .HasForeignKey("UserId") - .OnDelete(DeleteBehavior.NoAction) - .IsRequired(); - - b.Navigation("User"); - }); - - modelBuilder.Entity("Taskist.Core.Domain.Users.UserProjectMap", b => - { - b.HasOne("Taskist.Core.Domain.Masters.Project", "Project") - .WithMany() - .HasForeignKey("ProjectId") - .OnDelete(DeleteBehavior.NoAction) - .IsRequired(); - - b.HasOne("Taskist.Core.Domain.Users.User", "User") - .WithMany() - .HasForeignKey("UserId") - .OnDelete(DeleteBehavior.NoAction) - .IsRequired(); - - b.Navigation("Project"); - - b.Navigation("User"); - }); - - modelBuilder.Entity("Taskist.Core.Domain.Users.UserRoleMap", b => - { - b.HasOne("Taskist.Core.Domain.Users.User", "User") - .WithMany("UserRoleMaps") - .HasForeignKey("UserId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("Taskist.Core.Domain.Users.UserRole", "UserRole") - .WithMany() - .HasForeignKey("UserRoleId") - .OnDelete(DeleteBehavior.NoAction) - .IsRequired(); - - b.Navigation("User"); - - b.Navigation("UserRole"); - }); - - modelBuilder.Entity("Taskist.Core.Domain.Users.UserRolePermissionMap", b => - { - b.HasOne("Taskist.Core.Domain.Users.UserRolePermission", "Permission") - .WithMany("UserRolePermissionMaps") - .HasForeignKey("PermissionId") - .OnDelete(DeleteBehavior.NoAction) - .IsRequired(); - - b.HasOne("Taskist.Core.Domain.Users.UserRole", "UserRole") - .WithMany("UserRolePermissionMaps") - .HasForeignKey("UserRoleId") - .OnDelete(DeleteBehavior.NoAction) - .IsRequired(); - - b.Navigation("Permission"); - - b.Navigation("UserRole"); - }); - - modelBuilder.Entity("Taskist.Core.Domain.WorkItems.Backlog", b => - { - b.HasOne("Taskist.Core.Domain.Users.User", "Assignee") - .WithMany() - .HasForeignKey("AssigneeId") - .OnDelete(DeleteBehavior.NoAction); - - b.HasOne("Taskist.Core.Domain.Users.User", "CreatedBy") - .WithMany() - .HasForeignKey("CreatedById") - .OnDelete(DeleteBehavior.NoAction) - .IsRequired(); - - b.HasOne("Taskist.Core.Domain.Users.User", "ModifiedBy") - .WithMany() - .HasForeignKey("ModifiedById") - .OnDelete(DeleteBehavior.NoAction); - - b.HasOne("Taskist.Core.Domain.Masters.Module", "Module") - .WithMany() - .HasForeignKey("ModuleId") - .OnDelete(DeleteBehavior.NoAction); - - b.HasOne("Taskist.Core.Domain.WorkItems.Backlog", "Parent") - .WithMany() - .HasForeignKey("ParentId") - .OnDelete(DeleteBehavior.NoAction); - - b.HasOne("Taskist.Core.Domain.Masters.Project", "Project") - .WithMany() - .HasForeignKey("ProjectId") - .OnDelete(DeleteBehavior.NoAction) - .IsRequired(); - - b.HasOne("Taskist.Core.Domain.Masters.Reporter", "Reporter") - .WithMany() - .HasForeignKey("ReporterId") - .OnDelete(DeleteBehavior.NoAction); - - b.HasOne("Taskist.Core.Domain.Masters.Severity", "Severity") - .WithMany() - .HasForeignKey("SeverityId") - .OnDelete(DeleteBehavior.NoAction) - .IsRequired(); - - b.HasOne("Taskist.Core.Domain.WorkItems.Sprint", "Sprint") - .WithMany() - .HasForeignKey("SprintId") - .OnDelete(DeleteBehavior.NoAction); - - b.HasOne("Taskist.Core.Domain.Masters.Status", "Status") - .WithMany() - .HasForeignKey("StatusId") - .OnDelete(DeleteBehavior.NoAction) - .IsRequired(); - - b.HasOne("Taskist.Core.Domain.Masters.SubModule", "SubModule") - .WithMany() - .HasForeignKey("SubModuleId") - .OnDelete(DeleteBehavior.NoAction); - - b.HasOne("Taskist.Core.Domain.Masters.TaskType", "TaskType") - .WithMany() - .HasForeignKey("TaskTypeId") - .OnDelete(DeleteBehavior.NoAction) - .IsRequired(); - - b.Navigation("Assignee"); - - b.Navigation("CreatedBy"); - - b.Navigation("ModifiedBy"); - - b.Navigation("Module"); - - b.Navigation("Parent"); - - b.Navigation("Project"); - - b.Navigation("Reporter"); - - b.Navigation("Severity"); - - b.Navigation("Sprint"); - - b.Navigation("Status"); - - b.Navigation("SubModule"); - - b.Navigation("TaskType"); - }); - - modelBuilder.Entity("Taskist.Core.Domain.WorkItems.BacklogComment", b => - { - b.HasOne("Taskist.Core.Domain.WorkItems.Backlog", "Backlog") - .WithMany() - .HasForeignKey("BacklogId") - .OnDelete(DeleteBehavior.NoAction) - .IsRequired(); - - b.HasOne("Taskist.Core.Domain.Users.User", "CreatedBy") - .WithMany() - .HasForeignKey("CreatedById") - .OnDelete(DeleteBehavior.NoAction) - .IsRequired(); - - b.HasOne("Taskist.Core.Domain.Users.User", "ModifiedBy") - .WithMany() - .HasForeignKey("ModifiedById") - .OnDelete(DeleteBehavior.NoAction); - - b.Navigation("Backlog"); - - b.Navigation("CreatedBy"); - - b.Navigation("ModifiedBy"); - }); - - modelBuilder.Entity("Taskist.Core.Domain.WorkItems.BacklogCustomFieldValue", b => - { - b.HasOne("Taskist.Core.Domain.WorkItems.Backlog", "Backlog") - .WithMany() - .HasForeignKey("BacklogId") - .OnDelete(DeleteBehavior.NoAction) - .IsRequired(); - - b.HasOne("Taskist.Core.Domain.Masters.CustomField", "CustomField") - .WithMany() - .HasForeignKey("CustomFieldId") - .OnDelete(DeleteBehavior.NoAction) - .IsRequired(); - - b.Navigation("Backlog"); + modelBuilder.Entity("Taskist.Core.Domain.Masters.EmailTemplate", b => + { + b.HasOne("Taskist.Core.Domain.Masters.EmailAccount", "EmailAccount") + .WithMany() + .HasForeignKey("EmailAccountId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("EmailAccount"); + }); + + modelBuilder.Entity("Taskist.Core.Domain.Masters.Module", b => + { + b.HasOne("Taskist.Core.Domain.Masters.Project", "Project") + .WithMany() + .HasForeignKey("ProjectId") + .OnDelete(DeleteBehavior.NoAction); + + b.Navigation("Project"); + }); + + modelBuilder.Entity("Taskist.Core.Domain.Masters.Project", b => + { + b.HasOne("Taskist.Core.Domain.Masters.Client", "Client") + .WithMany() + .HasForeignKey("ClientId") + .OnDelete(DeleteBehavior.NoAction) + .IsRequired(); + + b.Navigation("Client"); + }); + + modelBuilder.Entity("Taskist.Core.Domain.Masters.Reporter", b => + { + b.HasOne("Taskist.Core.Domain.Masters.Project", "Project") + .WithMany() + .HasForeignKey("ProjectId") + .OnDelete(DeleteBehavior.NoAction); + + b.Navigation("Project"); + }); + + modelBuilder.Entity("Taskist.Core.Domain.Masters.SubModule", b => + { + b.HasOne("Taskist.Core.Domain.Masters.Module", "Module") + .WithMany() + .HasForeignKey("ModuleId") + .OnDelete(DeleteBehavior.NoAction) + .IsRequired(); + + b.HasOne("Taskist.Core.Domain.Users.User", "Owner") + .WithMany() + .HasForeignKey("OwnerId") + .OnDelete(DeleteBehavior.NoAction); + + b.Navigation("Module"); + + b.Navigation("Owner"); + }); + + modelBuilder.Entity("Taskist.Core.Domain.Users.User", b => + { + b.HasOne("Taskist.Core.Domain.Localization.Language", "Language") + .WithMany() + .HasForeignKey("LanguageId") + .OnDelete(DeleteBehavior.NoAction) + .IsRequired(); + + b.Navigation("Language"); + }); + + modelBuilder.Entity("Taskist.Core.Domain.Users.UserPassword", b => + { + b.HasOne("Taskist.Core.Domain.Users.User", "User") + .WithMany() + .HasForeignKey("UserId") + .OnDelete(DeleteBehavior.NoAction) + .IsRequired(); + + b.Navigation("User"); + }); + + modelBuilder.Entity("Taskist.Core.Domain.Users.UserProjectMap", b => + { + b.HasOne("Taskist.Core.Domain.Masters.Project", "Project") + .WithMany() + .HasForeignKey("ProjectId") + .OnDelete(DeleteBehavior.NoAction) + .IsRequired(); + + b.HasOne("Taskist.Core.Domain.Users.User", "User") + .WithMany() + .HasForeignKey("UserId") + .OnDelete(DeleteBehavior.NoAction) + .IsRequired(); + + b.Navigation("Project"); + + b.Navigation("User"); + }); + + modelBuilder.Entity("Taskist.Core.Domain.Users.UserRoleMap", b => + { + b.HasOne("Taskist.Core.Domain.Users.User", "User") + .WithMany("UserRoleMaps") + .HasForeignKey("UserId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Taskist.Core.Domain.Users.UserRole", "UserRole") + .WithMany() + .HasForeignKey("UserRoleId") + .OnDelete(DeleteBehavior.NoAction) + .IsRequired(); + + b.Navigation("User"); + + b.Navigation("UserRole"); + }); + + modelBuilder.Entity("Taskist.Core.Domain.Users.UserRolePermissionMap", b => + { + b.HasOne("Taskist.Core.Domain.Users.UserRolePermission", "Permission") + .WithMany("UserRolePermissionMaps") + .HasForeignKey("PermissionId") + .OnDelete(DeleteBehavior.NoAction) + .IsRequired(); + + b.HasOne("Taskist.Core.Domain.Users.UserRole", "UserRole") + .WithMany("UserRolePermissionMaps") + .HasForeignKey("UserRoleId") + .OnDelete(DeleteBehavior.NoAction) + .IsRequired(); + + b.Navigation("Permission"); + + b.Navigation("UserRole"); + }); + + modelBuilder.Entity("Taskist.Core.Domain.WorkItems.Backlog", b => + { + b.HasOne("Taskist.Core.Domain.Users.User", "Assignee") + .WithMany() + .HasForeignKey("AssigneeId") + .OnDelete(DeleteBehavior.NoAction); + + b.HasOne("Taskist.Core.Domain.Users.User", "CreatedBy") + .WithMany() + .HasForeignKey("CreatedById") + .OnDelete(DeleteBehavior.NoAction) + .IsRequired(); + + b.HasOne("Taskist.Core.Domain.Users.User", "ModifiedBy") + .WithMany() + .HasForeignKey("ModifiedById") + .OnDelete(DeleteBehavior.NoAction); + + b.HasOne("Taskist.Core.Domain.Masters.Module", "Module") + .WithMany() + .HasForeignKey("ModuleId") + .OnDelete(DeleteBehavior.NoAction); + + b.HasOne("Taskist.Core.Domain.WorkItems.Backlog", "Parent") + .WithMany() + .HasForeignKey("ParentId") + .OnDelete(DeleteBehavior.NoAction); + + b.HasOne("Taskist.Core.Domain.Masters.Project", "Project") + .WithMany() + .HasForeignKey("ProjectId") + .OnDelete(DeleteBehavior.NoAction) + .IsRequired(); + + b.HasOne("Taskist.Core.Domain.Masters.Reporter", "Reporter") + .WithMany() + .HasForeignKey("ReporterId") + .OnDelete(DeleteBehavior.NoAction); + + b.HasOne("Taskist.Core.Domain.Masters.Severity", "Severity") + .WithMany() + .HasForeignKey("SeverityId") + .OnDelete(DeleteBehavior.NoAction) + .IsRequired(); + + b.HasOne("Taskist.Core.Domain.WorkItems.Sprint", "Sprint") + .WithMany() + .HasForeignKey("SprintId") + .OnDelete(DeleteBehavior.NoAction); + + b.HasOne("Taskist.Core.Domain.Masters.Status", "Status") + .WithMany() + .HasForeignKey("StatusId") + .OnDelete(DeleteBehavior.NoAction) + .IsRequired(); + + b.HasOne("Taskist.Core.Domain.Masters.SubModule", "SubModule") + .WithMany() + .HasForeignKey("SubModuleId") + .OnDelete(DeleteBehavior.NoAction); + + b.HasOne("Taskist.Core.Domain.Masters.TaskType", "TaskType") + .WithMany() + .HasForeignKey("TaskTypeId") + .OnDelete(DeleteBehavior.NoAction) + .IsRequired(); + + b.Navigation("Assignee"); + + b.Navigation("CreatedBy"); + + b.Navigation("ModifiedBy"); + + b.Navigation("Module"); + + b.Navigation("Parent"); + + b.Navigation("Project"); + + b.Navigation("Reporter"); + + b.Navigation("Severity"); + + b.Navigation("Sprint"); + + b.Navigation("Status"); + + b.Navigation("SubModule"); + + b.Navigation("TaskType"); + }); + + modelBuilder.Entity("Taskist.Core.Domain.WorkItems.BacklogComment", b => + { + b.HasOne("Taskist.Core.Domain.WorkItems.Backlog", "Backlog") + .WithMany() + .HasForeignKey("BacklogId") + .OnDelete(DeleteBehavior.NoAction) + .IsRequired(); + + b.HasOne("Taskist.Core.Domain.Users.User", "CreatedBy") + .WithMany() + .HasForeignKey("CreatedById") + .OnDelete(DeleteBehavior.NoAction) + .IsRequired(); + + b.HasOne("Taskist.Core.Domain.Users.User", "ModifiedBy") + .WithMany() + .HasForeignKey("ModifiedById") + .OnDelete(DeleteBehavior.NoAction); + + b.Navigation("Backlog"); + + b.Navigation("CreatedBy"); + + b.Navigation("ModifiedBy"); + }); + + modelBuilder.Entity("Taskist.Core.Domain.WorkItems.BacklogCustomFieldValue", b => + { + b.HasOne("Taskist.Core.Domain.WorkItems.Backlog", "Backlog") + .WithMany() + .HasForeignKey("BacklogId") + .OnDelete(DeleteBehavior.NoAction) + .IsRequired(); + + b.HasOne("Taskist.Core.Domain.Masters.CustomField", "CustomField") + .WithMany() + .HasForeignKey("CustomFieldId") + .OnDelete(DeleteBehavior.NoAction) + .IsRequired(); + + b.Navigation("Backlog"); - b.Navigation("CustomField"); - }); + b.Navigation("CustomField"); + }); - modelBuilder.Entity("Taskist.Core.Domain.WorkItems.BacklogDocument", b => - { - b.HasOne("Taskist.Core.Domain.WorkItems.Backlog", "Backlog") - .WithMany() - .HasForeignKey("BacklogId") - .OnDelete(DeleteBehavior.NoAction) - .IsRequired(); + modelBuilder.Entity("Taskist.Core.Domain.WorkItems.BacklogDocument", b => + { + b.HasOne("Taskist.Core.Domain.WorkItems.Backlog", "Backlog") + .WithMany() + .HasForeignKey("BacklogId") + .OnDelete(DeleteBehavior.NoAction) + .IsRequired(); - b.HasOne("Taskist.Core.Domain.Users.User", "CreatedBy") - .WithMany() - .HasForeignKey("CreatedById") - .OnDelete(DeleteBehavior.NoAction) - .IsRequired(); + b.HasOne("Taskist.Core.Domain.Users.User", "CreatedBy") + .WithMany() + .HasForeignKey("CreatedById") + .OnDelete(DeleteBehavior.NoAction) + .IsRequired(); - b.HasOne("Taskist.Core.Domain.Masters.Document", "Document") - .WithMany() - .HasForeignKey("DocumentId") - .OnDelete(DeleteBehavior.NoAction) - .IsRequired(); + b.HasOne("Taskist.Core.Domain.Masters.Document", "Document") + .WithMany() + .HasForeignKey("DocumentId") + .OnDelete(DeleteBehavior.NoAction) + .IsRequired(); - b.Navigation("Backlog"); + b.Navigation("Backlog"); - b.Navigation("CreatedBy"); + b.Navigation("CreatedBy"); - b.Navigation("Document"); - }); + b.Navigation("Document"); + }); - modelBuilder.Entity("Taskist.Core.Domain.WorkItems.BacklogStatusLog", b => - { - b.HasOne("Taskist.Core.Domain.WorkItems.Backlog", "Backlog") - .WithMany() - .HasForeignKey("BacklogId") - .OnDelete(DeleteBehavior.NoAction) - .IsRequired(); + modelBuilder.Entity("Taskist.Core.Domain.WorkItems.BacklogStatusLog", b => + { + b.HasOne("Taskist.Core.Domain.WorkItems.Backlog", "Backlog") + .WithMany() + .HasForeignKey("BacklogId") + .OnDelete(DeleteBehavior.NoAction) + .IsRequired(); - b.HasOne("Taskist.Core.Domain.Users.User", "CreatedBy") - .WithMany() - .HasForeignKey("CreatedById") - .OnDelete(DeleteBehavior.NoAction) - .IsRequired(); - - b.HasOne("Taskist.Core.Domain.Masters.Status", "Status") - .WithMany() - .HasForeignKey("StatusId") - .OnDelete(DeleteBehavior.NoAction); - - b.Navigation("Backlog"); - - b.Navigation("CreatedBy"); - - b.Navigation("Status"); - }); - - modelBuilder.Entity("Taskist.Core.Domain.WorkItems.Sprint", b => - { - b.HasOne("Taskist.Core.Domain.Masters.Project", "Project") - .WithMany() - .HasForeignKey("ProjectId") - .OnDelete(DeleteBehavior.NoAction) - .IsRequired(); - - b.Navigation("Project"); - }); - - modelBuilder.Entity("Taskist.Core.Domain.Users.User", b => - { - b.Navigation("UserRoleMaps"); - }); - - modelBuilder.Entity("Taskist.Core.Domain.Users.UserRole", b => - { - b.Navigation("UserRolePermissionMaps"); - }); - - modelBuilder.Entity("Taskist.Core.Domain.Users.UserRolePermission", b => - { - b.Navigation("UserRolePermissionMaps"); - }); + b.HasOne("Taskist.Core.Domain.Users.User", "CreatedBy") + .WithMany() + .HasForeignKey("CreatedById") + .OnDelete(DeleteBehavior.NoAction) + .IsRequired(); + + b.HasOne("Taskist.Core.Domain.Masters.Status", "Status") + .WithMany() + .HasForeignKey("StatusId") + .OnDelete(DeleteBehavior.NoAction); + + b.Navigation("Backlog"); + + b.Navigation("CreatedBy"); + + b.Navigation("Status"); + }); + + modelBuilder.Entity("Taskist.Core.Domain.WorkItems.Sprint", b => + { + b.HasOne("Taskist.Core.Domain.Masters.Project", "Project") + .WithMany() + .HasForeignKey("ProjectId") + .OnDelete(DeleteBehavior.NoAction) + .IsRequired(); + + b.Navigation("Project"); + }); + + modelBuilder.Entity("Taskist.Core.Domain.Users.User", b => + { + b.Navigation("UserRoleMaps"); + }); + + modelBuilder.Entity("Taskist.Core.Domain.Users.UserRole", b => + { + b.Navigation("UserRolePermissionMaps"); + }); + + modelBuilder.Entity("Taskist.Core.Domain.Users.UserRolePermission", b => + { + b.Navigation("UserRolePermissionMaps"); + }); #pragma warning restore 612, 618 - } } } diff --git a/src/Libraries/Taskist.Data/Migrations/20251002161254_InitialModel.cs b/src/Libraries/Taskist.Data/Migrations/20251002161254_InitialModel.cs index 232efda..92e3ad3 100644 --- a/src/Libraries/Taskist.Data/Migrations/20251002161254_InitialModel.cs +++ b/src/Libraries/Taskist.Data/Migrations/20251002161254_InitialModel.cs @@ -3,1099 +3,1098 @@ #nullable disable -namespace Taskist.Data.Migrations +namespace Taskist.Data.Migrations; + +/// +public partial class InitialModel : Migration { /// - public partial class InitialModel : Migration + protected override void Up(MigrationBuilder migrationBuilder) { - /// - protected override void Up(MigrationBuilder migrationBuilder) - { - migrationBuilder.CreateTable( - name: "ActivityLog", - columns: table => new - { - Id = table.Column(type: "int", nullable: false) - .Annotation("SqlServer:Identity", "1, 1"), - SystemName = table.Column(type: "nvarchar(100)", maxLength: 100, nullable: false), - EntityId = table.Column(type: "int", nullable: true), - EntityName = table.Column(type: "nvarchar(500)", maxLength: 500, nullable: false), - UserId = table.Column(type: "int", nullable: false), - Comment = table.Column(type: "nvarchar(max)", nullable: false), - CreatedOnUtc = table.Column(type: "datetime2", nullable: false), - IpAddress = table.Column(type: "nvarchar(max)", nullable: false) - }, - constraints: table => - { - table.PrimaryKey("PK_ActivityLog", x => x.Id); - }); - - migrationBuilder.CreateTable( - name: "Client", - columns: table => new - { - Id = table.Column(type: "int", nullable: false) - .Annotation("SqlServer:Identity", "1, 1"), - Name = table.Column(type: "nvarchar(100)", maxLength: 100, nullable: false), - Description = table.Column(type: "nvarchar(250)", maxLength: 250, nullable: true), - ContactPerson = table.Column(type: "nvarchar(100)", maxLength: 100, nullable: true), - PhoneNumber = table.Column(type: "nvarchar(100)", maxLength: 100, nullable: true), - Email = table.Column(type: "nvarchar(250)", maxLength: 250, nullable: true), - Website = table.Column(type: "nvarchar(750)", maxLength: 750, nullable: true), - Active = table.Column(type: "bit", nullable: false), - Deleted = table.Column(type: "bit", nullable: false) - }, - constraints: table => - { - table.PrimaryKey("PK_Client", x => x.Id); - }); - - migrationBuilder.CreateTable( - name: "Document", - columns: table => new - { - Id = table.Column(type: "int", nullable: false) - .Annotation("SqlServer:Identity", "1, 1"), - FileName = table.Column(type: "nvarchar(255)", maxLength: 255, nullable: false), - FileData = table.Column(type: "varbinary(max)", nullable: false), - ContentType = table.Column(type: "nvarchar(50)", maxLength: 50, nullable: false), - FileSize = table.Column(type: "bigint", nullable: false), - Extension = table.Column(type: "nvarchar(10)", maxLength: 10, nullable: false) - }, - constraints: table => - { - table.PrimaryKey("PK_Document", x => x.Id); - }); - - migrationBuilder.CreateTable( - name: "EmailAccount", - columns: table => new - { - Id = table.Column(type: "int", nullable: false) - .Annotation("SqlServer:Identity", "1, 1"), - Name = table.Column(type: "nvarchar(100)", maxLength: 100, nullable: false), - Description = table.Column(type: "nvarchar(250)", maxLength: 250, nullable: true), - UserName = table.Column(type: "nvarchar(max)", nullable: false), - Host = table.Column(type: "nvarchar(max)", nullable: false), - Port = table.Column(type: "int", nullable: false), - Password = table.Column(type: "nvarchar(max)", nullable: false), - EnableSsl = table.Column(type: "bit", nullable: false), - FromEmail = table.Column(type: "nvarchar(max)", nullable: false), - FromName = table.Column(type: "nvarchar(max)", nullable: false), - Active = table.Column(type: "bit", nullable: false) - }, - constraints: table => - { - table.PrimaryKey("PK_EmailAccount", x => x.Id); - }); - - migrationBuilder.CreateTable( - name: "GenericAttribute", - columns: table => new - { - Id = table.Column(type: "int", nullable: false) - .Annotation("SqlServer:Identity", "1, 1"), - EntityId = table.Column(type: "int", nullable: false), - KeyGroup = table.Column(type: "nvarchar(200)", maxLength: 200, nullable: false), - Key = table.Column(type: "nvarchar(200)", maxLength: 200, nullable: false), - Value = table.Column(type: "nvarchar(max)", nullable: false), - CreatedOrUpdatedDate = table.Column(type: "datetime2", nullable: true) - }, - constraints: table => - { - table.PrimaryKey("PK_GenericAttribute", x => x.Id); - }); - - migrationBuilder.CreateTable( - name: "Language", - columns: table => new - { - Id = table.Column(type: "int", nullable: false) - .Annotation("SqlServer:Identity", "1, 1"), - Name = table.Column(type: "nvarchar(750)", maxLength: 750, nullable: false), - LanguageCulture = table.Column(type: "nvarchar(10)", maxLength: 10, nullable: false), - DisplayName = table.Column(type: "nvarchar(750)", maxLength: 750, nullable: false), - Rtl = table.Column(type: "bit", nullable: false), - DisplayOrder = table.Column(type: "int", nullable: false), - Active = table.Column(type: "bit", nullable: false) - }, - constraints: table => - { - table.PrimaryKey("PK_Language", x => x.Id); - }); - - migrationBuilder.CreateTable( - name: "Log", - columns: table => new - { - Id = table.Column(type: "int", nullable: false) - .Annotation("SqlServer:Identity", "1, 1"), - LogLevelId = table.Column(type: "int", nullable: false), - ShortMessage = table.Column(type: "nvarchar(max)", nullable: false), - FullMessage = table.Column(type: "nvarchar(max)", nullable: false), - IpAddress = table.Column(type: "nvarchar(max)", nullable: true), - UserId = table.Column(type: "int", nullable: true), - PageUrl = table.Column(type: "nvarchar(max)", nullable: true), - ReferrerUrl = table.Column(type: "nvarchar(max)", nullable: true), - CreatedOnUtc = table.Column(type: "datetime2", nullable: false), - LogLevel = table.Column(type: "int", nullable: false) - }, - constraints: table => - { - table.PrimaryKey("PK_Log", x => x.Id); - }); - - migrationBuilder.CreateTable( - name: "Menu", - columns: table => new - { - Id = table.Column(type: "int", nullable: false) - .Annotation("SqlServer:Identity", "1, 1"), - Name = table.Column(type: "nvarchar(50)", maxLength: 50, nullable: false), - SystemName = table.Column(type: "nvarchar(100)", maxLength: 100, nullable: false), - Code = table.Column(type: "int", nullable: false), - ActionName = table.Column(type: "nvarchar(100)", maxLength: 100, nullable: true), - ControllerName = table.Column(type: "nvarchar(100)", maxLength: 100, nullable: true), - ParentCode = table.Column(type: "int", nullable: true), - Icon = table.Column(type: "nvarchar(100)", maxLength: 100, nullable: true), - DisplayOrder = table.Column(type: "int", nullable: false), - Permission = table.Column(type: "nvarchar(100)", maxLength: 100, nullable: false), - Active = table.Column(type: "bit", nullable: false) - }, - constraints: table => - { - table.PrimaryKey("PK_Menu", x => x.Id); - }); - - migrationBuilder.CreateTable( - name: "Setting", - columns: table => new - { - Id = table.Column(type: "int", nullable: false) - .Annotation("SqlServer:Identity", "1, 1"), - Name = table.Column(type: "nvarchar(250)", maxLength: 250, nullable: false), - Value = table.Column(type: "nvarchar(max)", nullable: false) - }, - constraints: table => - { - table.PrimaryKey("PK_Setting", x => x.Id); - }); - - migrationBuilder.CreateTable( - name: "Severity", - columns: table => new - { - Id = table.Column(type: "int", nullable: false) - .Annotation("SqlServer:Identity", "1, 1"), - Name = table.Column(type: "nvarchar(100)", maxLength: 100, nullable: false), - Description = table.Column(type: "nvarchar(250)", maxLength: 250, nullable: true), - GroupId = table.Column(type: "int", nullable: false), - TextColor = table.Column(type: "nvarchar(20)", maxLength: 20, nullable: true), - BackgroundColor = table.Column(type: "nvarchar(20)", maxLength: 20, nullable: true), - IconClass = table.Column(type: "nvarchar(50)", maxLength: 50, nullable: true), - Active = table.Column(type: "bit", nullable: false), - Deleted = table.Column(type: "bit", nullable: false) - }, - constraints: table => - { - table.PrimaryKey("PK_Severity", x => x.Id); - }); - - migrationBuilder.CreateTable( - name: "Status", - columns: table => new - { - Id = table.Column(type: "int", nullable: false) - .Annotation("SqlServer:Identity", "1, 1"), - Name = table.Column(type: "nvarchar(100)", maxLength: 100, nullable: false), - Description = table.Column(type: "nvarchar(250)", maxLength: 250, nullable: true), - GroupId = table.Column(type: "int", nullable: false), - TextColor = table.Column(type: "nvarchar(20)", maxLength: 20, nullable: true), - BackgroundColor = table.Column(type: "nvarchar(20)", maxLength: 20, nullable: true), - IconClass = table.Column(type: "nvarchar(50)", maxLength: 50, nullable: true), - SystemDefined = table.Column(type: "bit", nullable: false), - Active = table.Column(type: "bit", nullable: false), - Deleted = table.Column(type: "bit", nullable: false) - }, - constraints: table => - { - table.PrimaryKey("PK_Status", x => x.Id); - }); - - migrationBuilder.CreateTable( - name: "TaskType", - columns: table => new - { - Id = table.Column(type: "int", nullable: false) - .Annotation("SqlServer:Identity", "1, 1"), - Name = table.Column(type: "nvarchar(100)", maxLength: 100, nullable: false), - Description = table.Column(type: "nvarchar(250)", maxLength: 250, nullable: true), - GroupId = table.Column(type: "int", nullable: false), - TextColor = table.Column(type: "nvarchar(20)", maxLength: 20, nullable: true), - BackgroundColor = table.Column(type: "nvarchar(20)", maxLength: 20, nullable: true), - IconClass = table.Column(type: "nvarchar(50)", maxLength: 50, nullable: true), - Active = table.Column(type: "bit", nullable: false), - Deleted = table.Column(type: "bit", nullable: false) - }, - constraints: table => - { - table.PrimaryKey("PK_TaskType", x => x.Id); - }); - - migrationBuilder.CreateTable( - name: "UserRole", - columns: table => new - { - Id = table.Column(type: "int", nullable: false) - .Annotation("SqlServer:Identity", "1, 1"), - Name = table.Column(type: "nvarchar(50)", maxLength: 50, nullable: false), - SystemName = table.Column(type: "nvarchar(50)", maxLength: 50, nullable: false), - Description = table.Column(type: "nvarchar(250)", maxLength: 250, nullable: true), - SystemDefined = table.Column(type: "bit", nullable: false), - Active = table.Column(type: "bit", nullable: false) - }, - constraints: table => - { - table.PrimaryKey("PK_UserRole", x => x.Id); - }); - - migrationBuilder.CreateTable( - name: "UserRolePermission", - columns: table => new - { - Id = table.Column(type: "int", nullable: false) - .Annotation("SqlServer:Identity", "1, 1"), - Name = table.Column(type: "nvarchar(100)", maxLength: 100, nullable: false), - SystemName = table.Column(type: "nvarchar(255)", maxLength: 255, nullable: false), - RoleGroup = table.Column(type: "nvarchar(255)", maxLength: 255, nullable: false), - SystemDefined = table.Column(type: "bit", nullable: false) - }, - constraints: table => - { - table.PrimaryKey("PK_UserRolePermission", x => x.Id); - }); - - migrationBuilder.CreateTable( - name: "Project", - columns: table => new - { - Id = table.Column(type: "int", nullable: false) - .Annotation("SqlServer:Identity", "1, 1"), - Name = table.Column(type: "nvarchar(100)", maxLength: 100, nullable: false), - Description = table.Column(type: "nvarchar(250)", maxLength: 250, nullable: true), - StartDate = table.Column(type: "date", nullable: true), - EndDate = table.Column(type: "date", nullable: true), - ClientId = table.Column(type: "int", nullable: false), - Active = table.Column(type: "bit", nullable: false), - Deleted = table.Column(type: "bit", nullable: false) - }, - constraints: table => - { - table.PrimaryKey("PK_Project", x => x.Id); - table.ForeignKey( - name: "FK_Project_Client_ClientId", - column: x => x.ClientId, - principalTable: "Client", - principalColumn: "Id"); - }); - - migrationBuilder.CreateTable( - name: "EmailTemplate", - columns: table => new - { - Id = table.Column(type: "int", nullable: false) - .Annotation("SqlServer:Identity", "1, 1"), - Name = table.Column(type: "nvarchar(100)", maxLength: 100, nullable: false), - EmailSubject = table.Column(type: "nvarchar(max)", nullable: false), - EmailBody = table.Column(type: "nvarchar(max)", nullable: false), - EmailAccountId = table.Column(type: "int", nullable: false), - Active = table.Column(type: "bit", nullable: false) - }, - constraints: table => - { - table.PrimaryKey("PK_EmailTemplate", x => x.Id); - table.ForeignKey( - name: "FK_EmailTemplate_EmailAccount_EmailAccountId", - column: x => x.EmailAccountId, - principalTable: "EmailAccount", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - }); - - migrationBuilder.CreateTable( - name: "LocaleResource", - columns: table => new - { - Id = table.Column(type: "int", nullable: false) - .Annotation("SqlServer:Identity", "1, 1"), - LanguageId = table.Column(type: "int", nullable: false), - ResourceKey = table.Column(type: "nvarchar(100)", maxLength: 100, nullable: false), - ResourceValue = table.Column(type: "nvarchar(max)", nullable: false) - }, - constraints: table => - { - table.PrimaryKey("PK_LocaleResource", x => x.Id); - table.ForeignKey( - name: "FK_LocaleResource_Language_LanguageId", - column: x => x.LanguageId, - principalTable: "Language", - principalColumn: "Id"); - }); - - migrationBuilder.CreateTable( - name: "User", - columns: table => new - { - Id = table.Column(type: "int", nullable: false) - .Annotation("SqlServer:Identity", "1, 1"), - Code = table.Column(type: "uniqueidentifier", nullable: false), - FirstName = table.Column(type: "nvarchar(50)", maxLength: 50, nullable: false), - LastName = table.Column(type: "nvarchar(50)", maxLength: 50, nullable: false), - Email = table.Column(type: "nvarchar(150)", maxLength: 150, nullable: false), - GenderId = table.Column(type: "int", nullable: false), - LanguageId = table.Column(type: "int", nullable: false), - SystemAccount = table.Column(type: "bit", nullable: false), - FailedLoginAttempts = table.Column(type: "int", nullable: false), - LastIPAddress = table.Column(type: "nvarchar(100)", maxLength: 100, nullable: true), - LastLoginDate = table.Column(type: "datetime2", nullable: true), - LastActivityDate = table.Column(type: "datetime2", nullable: false), - Locked = table.Column(type: "bit", nullable: false), - Status = table.Column(type: "int", nullable: false), - Deleted = table.Column(type: "bit", nullable: false) - }, - constraints: table => - { - table.PrimaryKey("PK_User", x => x.Id); - table.ForeignKey( - name: "FK_User_Language_LanguageId", - column: x => x.LanguageId, - principalTable: "Language", - principalColumn: "Id"); - }); - - migrationBuilder.CreateTable( - name: "UserRolePermissionMap", - columns: table => new - { - PermissionId = table.Column(type: "int", nullable: false), - UserRoleId = table.Column(type: "int", nullable: false) - }, - constraints: table => - { - table.PrimaryKey("PK_UserRolePermissionMap", x => new { x.PermissionId, x.UserRoleId }); - table.ForeignKey( - name: "FK_UserRolePermissionMap_UserRolePermission_PermissionId", - column: x => x.PermissionId, - principalTable: "UserRolePermission", - principalColumn: "Id"); - table.ForeignKey( - name: "FK_UserRolePermissionMap_UserRole_UserRoleId", - column: x => x.UserRoleId, - principalTable: "UserRole", - principalColumn: "Id"); - }); - - migrationBuilder.CreateTable( - name: "CustomField", - columns: table => new - { - Id = table.Column(type: "int", nullable: false) - .Annotation("SqlServer:Identity", "1, 1"), - ProjectId = table.Column(type: "int", nullable: false), - Label = table.Column(type: "nvarchar(max)", nullable: false), - ResourceKey = table.Column(type: "nvarchar(100)", maxLength: 100, nullable: false), - FieldType = table.Column(type: "int", nullable: false), - Options = table.Column(type: "nvarchar(max)", nullable: true), - Mandatory = table.Column(type: "bit", nullable: false), - ColumnClass = table.Column(type: "int", maxLength: 20, nullable: false), - Placement = table.Column(type: "int", nullable: false), - DisplayOrder = table.Column(type: "int", nullable: false) - }, - constraints: table => - { - table.PrimaryKey("PK_CustomField", x => x.Id); - table.ForeignKey( - name: "FK_CustomField_Project_ProjectId", - column: x => x.ProjectId, - principalTable: "Project", - principalColumn: "Id"); - }); - - migrationBuilder.CreateTable( - name: "Module", - columns: table => new - { - Id = table.Column(type: "int", nullable: false) - .Annotation("SqlServer:Identity", "1, 1"), - Name = table.Column(type: "nvarchar(100)", maxLength: 100, nullable: false), - Description = table.Column(type: "nvarchar(max)", nullable: true), - ProjectId = table.Column(type: "int", nullable: true), - Active = table.Column(type: "bit", nullable: false), - Deleted = table.Column(type: "bit", nullable: false) - }, - constraints: table => - { - table.PrimaryKey("PK_Module", x => x.Id); - table.ForeignKey( - name: "FK_Module_Project_ProjectId", - column: x => x.ProjectId, - principalTable: "Project", - principalColumn: "Id"); - }); - - migrationBuilder.CreateTable( - name: "Reporter", - columns: table => new - { - Id = table.Column(type: "int", nullable: false) - .Annotation("SqlServer:Identity", "1, 1"), - Name = table.Column(type: "nvarchar(100)", maxLength: 100, nullable: false), - Description = table.Column(type: "nvarchar(250)", maxLength: 250, nullable: true), - ProjectId = table.Column(type: "int", nullable: true), - Active = table.Column(type: "bit", nullable: false), - Deleted = table.Column(type: "bit", nullable: false) - }, - constraints: table => - { - table.PrimaryKey("PK_Reporter", x => x.Id); - table.ForeignKey( - name: "FK_Reporter_Project_ProjectId", - column: x => x.ProjectId, - principalTable: "Project", - principalColumn: "Id"); - }); - - migrationBuilder.CreateTable( - name: "Sprint", - columns: table => new - { - Id = table.Column(type: "int", nullable: false) - .Annotation("SqlServer:Identity", "1, 1"), - Name = table.Column(type: "nvarchar(100)", maxLength: 100, nullable: false), - Description = table.Column(type: "nvarchar(500)", maxLength: 500, nullable: true), - ProjectId = table.Column(type: "int", nullable: false), - StartDate = table.Column(type: "date", nullable: false), - EndDate = table.Column(type: "date", nullable: false), - Started = table.Column(type: "bit", nullable: false), - Completed = table.Column(type: "bit", nullable: false), - Deleted = table.Column(type: "bit", nullable: false) - }, - constraints: table => - { - table.PrimaryKey("PK_Sprint", x => x.Id); - table.ForeignKey( - name: "FK_Sprint_Project_ProjectId", - column: x => x.ProjectId, - principalTable: "Project", - principalColumn: "Id"); - }); - - migrationBuilder.CreateTable( - name: "UserPassword", - columns: table => new - { - Id = table.Column(type: "int", nullable: false) - .Annotation("SqlServer:Identity", "1, 1"), - UserId = table.Column(type: "int", nullable: false), - Password = table.Column(type: "nvarchar(max)", nullable: false), - PasswordSalt = table.Column(type: "nvarchar(max)", nullable: false), - CreatedOn = table.Column(type: "datetime2", nullable: false) - }, - constraints: table => - { - table.PrimaryKey("PK_UserPassword", x => x.Id); - table.ForeignKey( - name: "FK_UserPassword_User_UserId", - column: x => x.UserId, - principalTable: "User", - principalColumn: "Id"); - }); - - migrationBuilder.CreateTable( - name: "UserProjectMap", - columns: table => new - { - Id = table.Column(type: "int", nullable: false) - .Annotation("SqlServer:Identity", "1, 1"), - UserId = table.Column(type: "int", nullable: false), - ProjectId = table.Column(type: "int", nullable: false), - CanReport = table.Column(type: "bit", nullable: false), - CanEdit = table.Column(type: "bit", nullable: false), - CanClose = table.Column(type: "bit", nullable: false), - CanReOpen = table.Column(type: "bit", nullable: false), - CanComment = table.Column(type: "bit", nullable: false), - CanViewOthersTask = table.Column(type: "bit", nullable: false), - CanEditOthersTask = table.Column(type: "bit", nullable: false), - CanDelete = table.Column(type: "bit", nullable: false) - }, - constraints: table => - { - table.PrimaryKey("PK_UserProjectMap", x => x.Id); - table.ForeignKey( - name: "FK_UserProjectMap_Project_ProjectId", - column: x => x.ProjectId, - principalTable: "Project", - principalColumn: "Id"); - table.ForeignKey( - name: "FK_UserProjectMap_User_UserId", - column: x => x.UserId, - principalTable: "User", - principalColumn: "Id"); - }); - - migrationBuilder.CreateTable( - name: "UserRoleMap", - columns: table => new - { - UserId = table.Column(type: "int", nullable: false), - UserRoleId = table.Column(type: "int", nullable: false) - }, - constraints: table => - { - table.PrimaryKey("PK_UserRoleMap", x => new { x.UserId, x.UserRoleId }); - table.ForeignKey( - name: "FK_UserRoleMap_UserRole_UserRoleId", - column: x => x.UserRoleId, - principalTable: "UserRole", - principalColumn: "Id"); - table.ForeignKey( - name: "FK_UserRoleMap_User_UserId", - column: x => x.UserId, - principalTable: "User", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - }); - - migrationBuilder.CreateTable( - name: "SubModule", - columns: table => new - { - Id = table.Column(type: "int", nullable: false) - .Annotation("SqlServer:Identity", "1, 1"), - Name = table.Column(type: "nvarchar(100)", maxLength: 100, nullable: false), - Description = table.Column(type: "nvarchar(250)", maxLength: 250, nullable: true), - ModuleId = table.Column(type: "int", nullable: false), - OwnerId = table.Column(type: "int", nullable: true), - Active = table.Column(type: "bit", nullable: false), - Deleted = table.Column(type: "bit", nullable: false) - }, - constraints: table => - { - table.PrimaryKey("PK_SubModule", x => x.Id); - table.ForeignKey( - name: "FK_SubModule_Module_ModuleId", - column: x => x.ModuleId, - principalTable: "Module", - principalColumn: "Id"); - table.ForeignKey( - name: "FK_SubModule_User_OwnerId", - column: x => x.OwnerId, - principalTable: "User", - principalColumn: "Id"); - }); - - migrationBuilder.CreateTable( - name: "Backlog", - columns: table => new - { - Id = table.Column(type: "int", nullable: false) - .Annotation("SqlServer:Identity", "1, 1"), - Code = table.Column(type: "uniqueidentifier", nullable: false), - Title = table.Column(type: "nvarchar(500)", maxLength: 500, nullable: false), - Description = table.Column(type: "nvarchar(max)", nullable: true), - ParentId = table.Column(type: "int", nullable: true), - TaskTypeId = table.Column(type: "int", nullable: false), - SeverityId = table.Column(type: "int", nullable: false), - DueDate = table.Column(type: "date", nullable: true), - ProjectId = table.Column(type: "int", nullable: false), - ModuleId = table.Column(type: "int", nullable: true), - SubModuleId = table.Column(type: "int", nullable: true), - SprintId = table.Column(type: "int", nullable: true), - ReporterId = table.Column(type: "int", nullable: true), - AssigneeId = table.Column(type: "int", nullable: true), - SubTaskCount = table.Column(type: "int", nullable: false), - StatusId = table.Column(type: "int", nullable: false), - CreatedById = table.Column(type: "int", nullable: false), - CreatedOn = table.Column(type: "datetime2", nullable: false), - ModifiedById = table.Column(type: "int", nullable: true), - ModifiedOn = table.Column(type: "datetime2", nullable: true), - Deleted = table.Column(type: "bit", nullable: false) - }, - constraints: table => - { - table.PrimaryKey("PK_Backlog", x => x.Id); - table.ForeignKey( - name: "FK_Backlog_Backlog_ParentId", - column: x => x.ParentId, - principalTable: "Backlog", - principalColumn: "Id"); - table.ForeignKey( - name: "FK_Backlog_Module_ModuleId", - column: x => x.ModuleId, - principalTable: "Module", - principalColumn: "Id"); - table.ForeignKey( - name: "FK_Backlog_Project_ProjectId", - column: x => x.ProjectId, - principalTable: "Project", - principalColumn: "Id"); - table.ForeignKey( - name: "FK_Backlog_Reporter_ReporterId", - column: x => x.ReporterId, - principalTable: "Reporter", - principalColumn: "Id"); - table.ForeignKey( - name: "FK_Backlog_Severity_SeverityId", - column: x => x.SeverityId, - principalTable: "Severity", - principalColumn: "Id"); - table.ForeignKey( - name: "FK_Backlog_Sprint_SprintId", - column: x => x.SprintId, - principalTable: "Sprint", - principalColumn: "Id"); - table.ForeignKey( - name: "FK_Backlog_Status_StatusId", - column: x => x.StatusId, - principalTable: "Status", - principalColumn: "Id"); - table.ForeignKey( - name: "FK_Backlog_SubModule_SubModuleId", - column: x => x.SubModuleId, - principalTable: "SubModule", - principalColumn: "Id"); - table.ForeignKey( - name: "FK_Backlog_TaskType_TaskTypeId", - column: x => x.TaskTypeId, - principalTable: "TaskType", - principalColumn: "Id"); - table.ForeignKey( - name: "FK_Backlog_User_AssigneeId", - column: x => x.AssigneeId, - principalTable: "User", - principalColumn: "Id"); - table.ForeignKey( - name: "FK_Backlog_User_CreatedById", - column: x => x.CreatedById, - principalTable: "User", - principalColumn: "Id"); - table.ForeignKey( - name: "FK_Backlog_User_ModifiedById", - column: x => x.ModifiedById, - principalTable: "User", - principalColumn: "Id"); - }); - - migrationBuilder.CreateTable( - name: "BacklogComment", - columns: table => new - { - Id = table.Column(type: "int", nullable: false) - .Annotation("SqlServer:Identity", "1, 1"), - BacklogId = table.Column(type: "int", nullable: false), - Comment = table.Column(type: "nvarchar(max)", nullable: false), - CreatedById = table.Column(type: "int", nullable: false), - SystemComment = table.Column(type: "bit", nullable: false), - CreatedOn = table.Column(type: "datetime2", nullable: false), - ModifiedById = table.Column(type: "int", nullable: true), - ModifiedOn = table.Column(type: "datetime2", nullable: true) - }, - constraints: table => - { - table.PrimaryKey("PK_BacklogComment", x => x.Id); - table.ForeignKey( - name: "FK_BacklogComment_Backlog_BacklogId", - column: x => x.BacklogId, - principalTable: "Backlog", - principalColumn: "Id"); - table.ForeignKey( - name: "FK_BacklogComment_User_CreatedById", - column: x => x.CreatedById, - principalTable: "User", - principalColumn: "Id"); - table.ForeignKey( - name: "FK_BacklogComment_User_ModifiedById", - column: x => x.ModifiedById, - principalTable: "User", - principalColumn: "Id"); - }); - - migrationBuilder.CreateTable( - name: "BacklogCustomFieldValue", - columns: table => new - { - Id = table.Column(type: "int", nullable: false) - .Annotation("SqlServer:Identity", "1, 1"), - BacklogId = table.Column(type: "int", nullable: false), - CustomFieldId = table.Column(type: "int", nullable: false), - Value = table.Column(type: "nvarchar(max)", nullable: true) - }, - constraints: table => - { - table.PrimaryKey("PK_BacklogCustomFieldValue", x => x.Id); - table.ForeignKey( - name: "FK_BacklogCustomFieldValue_Backlog_BacklogId", - column: x => x.BacklogId, - principalTable: "Backlog", - principalColumn: "Id"); - table.ForeignKey( - name: "FK_BacklogCustomFieldValue_CustomField_CustomFieldId", - column: x => x.CustomFieldId, - principalTable: "CustomField", - principalColumn: "Id"); - }); - - migrationBuilder.CreateTable( - name: "BacklogDocument", - columns: table => new - { - Id = table.Column(type: "int", nullable: false) - .Annotation("SqlServer:Identity", "1, 1"), - BacklogId = table.Column(type: "int", nullable: false), - DocumentId = table.Column(type: "int", nullable: false), - CreatedById = table.Column(type: "int", nullable: false), - CreatedOn = table.Column(type: "datetime2", nullable: false) - }, - constraints: table => - { - table.PrimaryKey("PK_BacklogDocument", x => x.Id); - table.ForeignKey( - name: "FK_BacklogDocument_Backlog_BacklogId", - column: x => x.BacklogId, - principalTable: "Backlog", - principalColumn: "Id"); - table.ForeignKey( - name: "FK_BacklogDocument_Document_DocumentId", - column: x => x.DocumentId, - principalTable: "Document", - principalColumn: "Id"); - table.ForeignKey( - name: "FK_BacklogDocument_User_CreatedById", - column: x => x.CreatedById, - principalTable: "User", - principalColumn: "Id"); - }); - - migrationBuilder.CreateTable( - name: "BacklogStatusLog", - columns: table => new - { - Id = table.Column(type: "int", nullable: false) - .Annotation("SqlServer:Identity", "1, 1"), - BacklogId = table.Column(type: "int", nullable: false), - StatusId = table.Column(type: "int", nullable: false), - CreatedById = table.Column(type: "int", nullable: false), - CreatedOn = table.Column(type: "datetime2", nullable: false) - }, - constraints: table => - { - table.PrimaryKey("PK_BacklogStatusLog", x => x.Id); - table.ForeignKey( - name: "FK_BacklogStatusLog_Backlog_BacklogId", - column: x => x.BacklogId, - principalTable: "Backlog", - principalColumn: "Id"); - table.ForeignKey( - name: "FK_BacklogStatusLog_Status_StatusId", - column: x => x.StatusId, - principalTable: "Status", - principalColumn: "Id"); - table.ForeignKey( - name: "FK_BacklogStatusLog_User_CreatedById", - column: x => x.CreatedById, - principalTable: "User", - principalColumn: "Id"); - }); - - migrationBuilder.CreateIndex( - name: "IX_Backlog_AssigneeId", - table: "Backlog", - column: "AssigneeId"); - - migrationBuilder.CreateIndex( - name: "IX_Backlog_CreatedById", - table: "Backlog", - column: "CreatedById"); - - migrationBuilder.CreateIndex( - name: "IX_Backlog_ModifiedById", - table: "Backlog", - column: "ModifiedById"); - - migrationBuilder.CreateIndex( - name: "IX_Backlog_ModuleId", - table: "Backlog", - column: "ModuleId"); - - migrationBuilder.CreateIndex( - name: "IX_Backlog_ParentId", - table: "Backlog", - column: "ParentId"); - - migrationBuilder.CreateIndex( - name: "IX_Backlog_ProjectId", - table: "Backlog", - column: "ProjectId"); - - migrationBuilder.CreateIndex( - name: "IX_Backlog_ReporterId", - table: "Backlog", - column: "ReporterId"); - - migrationBuilder.CreateIndex( - name: "IX_Backlog_SeverityId", - table: "Backlog", - column: "SeverityId"); - - migrationBuilder.CreateIndex( - name: "IX_Backlog_SprintId", - table: "Backlog", - column: "SprintId"); - - migrationBuilder.CreateIndex( - name: "IX_Backlog_StatusId", - table: "Backlog", - column: "StatusId"); - - migrationBuilder.CreateIndex( - name: "IX_Backlog_SubModuleId", - table: "Backlog", - column: "SubModuleId"); - - migrationBuilder.CreateIndex( - name: "IX_Backlog_TaskTypeId", - table: "Backlog", - column: "TaskTypeId"); - - migrationBuilder.CreateIndex( - name: "IX_BacklogComment_BacklogId", - table: "BacklogComment", - column: "BacklogId"); - - migrationBuilder.CreateIndex( - name: "IX_BacklogComment_CreatedById", - table: "BacklogComment", - column: "CreatedById"); - - migrationBuilder.CreateIndex( - name: "IX_BacklogComment_ModifiedById", - table: "BacklogComment", - column: "ModifiedById"); - - migrationBuilder.CreateIndex( - name: "IX_BacklogCustomFieldValue_BacklogId", - table: "BacklogCustomFieldValue", - column: "BacklogId"); - - migrationBuilder.CreateIndex( - name: "IX_BacklogCustomFieldValue_CustomFieldId", - table: "BacklogCustomFieldValue", - column: "CustomFieldId"); - - migrationBuilder.CreateIndex( - name: "IX_BacklogDocument_BacklogId", - table: "BacklogDocument", - column: "BacklogId"); - - migrationBuilder.CreateIndex( - name: "IX_BacklogDocument_CreatedById", - table: "BacklogDocument", - column: "CreatedById"); - - migrationBuilder.CreateIndex( - name: "IX_BacklogDocument_DocumentId", - table: "BacklogDocument", - column: "DocumentId"); - - migrationBuilder.CreateIndex( - name: "IX_BacklogStatusLog_BacklogId", - table: "BacklogStatusLog", - column: "BacklogId"); - - migrationBuilder.CreateIndex( - name: "IX_BacklogStatusLog_CreatedById", - table: "BacklogStatusLog", - column: "CreatedById"); - - migrationBuilder.CreateIndex( - name: "IX_BacklogStatusLog_StatusId", - table: "BacklogStatusLog", - column: "StatusId"); - - migrationBuilder.CreateIndex( - name: "IX_CustomField_ProjectId", - table: "CustomField", - column: "ProjectId"); - - migrationBuilder.CreateIndex( - name: "IX_EmailTemplate_EmailAccountId", - table: "EmailTemplate", - column: "EmailAccountId"); - - migrationBuilder.CreateIndex( - name: "IX_LocaleResource_LanguageId", - table: "LocaleResource", - column: "LanguageId"); - - migrationBuilder.CreateIndex( - name: "IX_Module_ProjectId", - table: "Module", - column: "ProjectId"); - - migrationBuilder.CreateIndex( - name: "IX_Project_ClientId", - table: "Project", - column: "ClientId"); - - migrationBuilder.CreateIndex( - name: "IX_Reporter_ProjectId", - table: "Reporter", - column: "ProjectId"); - - migrationBuilder.CreateIndex( - name: "IX_Sprint_ProjectId", - table: "Sprint", - column: "ProjectId"); - - migrationBuilder.CreateIndex( - name: "IX_SubModule_ModuleId", - table: "SubModule", - column: "ModuleId"); - - migrationBuilder.CreateIndex( - name: "IX_SubModule_OwnerId", - table: "SubModule", - column: "OwnerId"); - - migrationBuilder.CreateIndex( - name: "IX_User_LanguageId", - table: "User", - column: "LanguageId"); - - migrationBuilder.CreateIndex( - name: "IX_UserPassword_UserId", - table: "UserPassword", - column: "UserId"); - - migrationBuilder.CreateIndex( - name: "IX_UserProjectMap_ProjectId", - table: "UserProjectMap", - column: "ProjectId"); - - migrationBuilder.CreateIndex( - name: "IX_UserProjectMap_UserId", - table: "UserProjectMap", - column: "UserId"); - - migrationBuilder.CreateIndex( - name: "IX_UserRoleMap_UserRoleId", - table: "UserRoleMap", - column: "UserRoleId"); - - migrationBuilder.CreateIndex( - name: "IX_UserRolePermissionMap_UserRoleId", - table: "UserRolePermissionMap", - column: "UserRoleId"); - } + migrationBuilder.CreateTable( + name: "ActivityLog", + columns: table => new + { + Id = table.Column(type: "int", nullable: false) + .Annotation("SqlServer:Identity", "1, 1"), + SystemName = table.Column(type: "nvarchar(100)", maxLength: 100, nullable: false), + EntityId = table.Column(type: "int", nullable: true), + EntityName = table.Column(type: "nvarchar(500)", maxLength: 500, nullable: false), + UserId = table.Column(type: "int", nullable: false), + Comment = table.Column(type: "nvarchar(max)", nullable: false), + CreatedOnUtc = table.Column(type: "datetime2", nullable: false), + IpAddress = table.Column(type: "nvarchar(max)", nullable: false) + }, + constraints: table => + { + table.PrimaryKey("PK_ActivityLog", x => x.Id); + }); + + migrationBuilder.CreateTable( + name: "Client", + columns: table => new + { + Id = table.Column(type: "int", nullable: false) + .Annotation("SqlServer:Identity", "1, 1"), + Name = table.Column(type: "nvarchar(100)", maxLength: 100, nullable: false), + Description = table.Column(type: "nvarchar(250)", maxLength: 250, nullable: true), + ContactPerson = table.Column(type: "nvarchar(100)", maxLength: 100, nullable: true), + PhoneNumber = table.Column(type: "nvarchar(100)", maxLength: 100, nullable: true), + Email = table.Column(type: "nvarchar(250)", maxLength: 250, nullable: true), + Website = table.Column(type: "nvarchar(750)", maxLength: 750, nullable: true), + Active = table.Column(type: "bit", nullable: false), + Deleted = table.Column(type: "bit", nullable: false) + }, + constraints: table => + { + table.PrimaryKey("PK_Client", x => x.Id); + }); + + migrationBuilder.CreateTable( + name: "Document", + columns: table => new + { + Id = table.Column(type: "int", nullable: false) + .Annotation("SqlServer:Identity", "1, 1"), + FileName = table.Column(type: "nvarchar(255)", maxLength: 255, nullable: false), + FileData = table.Column(type: "varbinary(max)", nullable: false), + ContentType = table.Column(type: "nvarchar(50)", maxLength: 50, nullable: false), + FileSize = table.Column(type: "bigint", nullable: false), + Extension = table.Column(type: "nvarchar(10)", maxLength: 10, nullable: false) + }, + constraints: table => + { + table.PrimaryKey("PK_Document", x => x.Id); + }); + + migrationBuilder.CreateTable( + name: "EmailAccount", + columns: table => new + { + Id = table.Column(type: "int", nullable: false) + .Annotation("SqlServer:Identity", "1, 1"), + Name = table.Column(type: "nvarchar(100)", maxLength: 100, nullable: false), + Description = table.Column(type: "nvarchar(250)", maxLength: 250, nullable: true), + UserName = table.Column(type: "nvarchar(max)", nullable: false), + Host = table.Column(type: "nvarchar(max)", nullable: false), + Port = table.Column(type: "int", nullable: false), + Password = table.Column(type: "nvarchar(max)", nullable: false), + EnableSsl = table.Column(type: "bit", nullable: false), + FromEmail = table.Column(type: "nvarchar(max)", nullable: false), + FromName = table.Column(type: "nvarchar(max)", nullable: false), + Active = table.Column(type: "bit", nullable: false) + }, + constraints: table => + { + table.PrimaryKey("PK_EmailAccount", x => x.Id); + }); + + migrationBuilder.CreateTable( + name: "GenericAttribute", + columns: table => new + { + Id = table.Column(type: "int", nullable: false) + .Annotation("SqlServer:Identity", "1, 1"), + EntityId = table.Column(type: "int", nullable: false), + KeyGroup = table.Column(type: "nvarchar(200)", maxLength: 200, nullable: false), + Key = table.Column(type: "nvarchar(200)", maxLength: 200, nullable: false), + Value = table.Column(type: "nvarchar(max)", nullable: false), + CreatedOrUpdatedDate = table.Column(type: "datetime2", nullable: true) + }, + constraints: table => + { + table.PrimaryKey("PK_GenericAttribute", x => x.Id); + }); + + migrationBuilder.CreateTable( + name: "Language", + columns: table => new + { + Id = table.Column(type: "int", nullable: false) + .Annotation("SqlServer:Identity", "1, 1"), + Name = table.Column(type: "nvarchar(750)", maxLength: 750, nullable: false), + LanguageCulture = table.Column(type: "nvarchar(10)", maxLength: 10, nullable: false), + DisplayName = table.Column(type: "nvarchar(750)", maxLength: 750, nullable: false), + Rtl = table.Column(type: "bit", nullable: false), + DisplayOrder = table.Column(type: "int", nullable: false), + Active = table.Column(type: "bit", nullable: false) + }, + constraints: table => + { + table.PrimaryKey("PK_Language", x => x.Id); + }); + + migrationBuilder.CreateTable( + name: "Log", + columns: table => new + { + Id = table.Column(type: "int", nullable: false) + .Annotation("SqlServer:Identity", "1, 1"), + LogLevelId = table.Column(type: "int", nullable: false), + ShortMessage = table.Column(type: "nvarchar(max)", nullable: false), + FullMessage = table.Column(type: "nvarchar(max)", nullable: false), + IpAddress = table.Column(type: "nvarchar(max)", nullable: true), + UserId = table.Column(type: "int", nullable: true), + PageUrl = table.Column(type: "nvarchar(max)", nullable: true), + ReferrerUrl = table.Column(type: "nvarchar(max)", nullable: true), + CreatedOnUtc = table.Column(type: "datetime2", nullable: false), + LogLevel = table.Column(type: "int", nullable: false) + }, + constraints: table => + { + table.PrimaryKey("PK_Log", x => x.Id); + }); + + migrationBuilder.CreateTable( + name: "Menu", + columns: table => new + { + Id = table.Column(type: "int", nullable: false) + .Annotation("SqlServer:Identity", "1, 1"), + Name = table.Column(type: "nvarchar(50)", maxLength: 50, nullable: false), + SystemName = table.Column(type: "nvarchar(100)", maxLength: 100, nullable: false), + Code = table.Column(type: "int", nullable: false), + ActionName = table.Column(type: "nvarchar(100)", maxLength: 100, nullable: true), + ControllerName = table.Column(type: "nvarchar(100)", maxLength: 100, nullable: true), + ParentCode = table.Column(type: "int", nullable: true), + Icon = table.Column(type: "nvarchar(100)", maxLength: 100, nullable: true), + DisplayOrder = table.Column(type: "int", nullable: false), + Permission = table.Column(type: "nvarchar(100)", maxLength: 100, nullable: false), + Active = table.Column(type: "bit", nullable: false) + }, + constraints: table => + { + table.PrimaryKey("PK_Menu", x => x.Id); + }); + + migrationBuilder.CreateTable( + name: "Setting", + columns: table => new + { + Id = table.Column(type: "int", nullable: false) + .Annotation("SqlServer:Identity", "1, 1"), + Name = table.Column(type: "nvarchar(250)", maxLength: 250, nullable: false), + Value = table.Column(type: "nvarchar(max)", nullable: false) + }, + constraints: table => + { + table.PrimaryKey("PK_Setting", x => x.Id); + }); + + migrationBuilder.CreateTable( + name: "Severity", + columns: table => new + { + Id = table.Column(type: "int", nullable: false) + .Annotation("SqlServer:Identity", "1, 1"), + Name = table.Column(type: "nvarchar(100)", maxLength: 100, nullable: false), + Description = table.Column(type: "nvarchar(250)", maxLength: 250, nullable: true), + GroupId = table.Column(type: "int", nullable: false), + TextColor = table.Column(type: "nvarchar(20)", maxLength: 20, nullable: true), + BackgroundColor = table.Column(type: "nvarchar(20)", maxLength: 20, nullable: true), + IconClass = table.Column(type: "nvarchar(50)", maxLength: 50, nullable: true), + Active = table.Column(type: "bit", nullable: false), + Deleted = table.Column(type: "bit", nullable: false) + }, + constraints: table => + { + table.PrimaryKey("PK_Severity", x => x.Id); + }); + + migrationBuilder.CreateTable( + name: "Status", + columns: table => new + { + Id = table.Column(type: "int", nullable: false) + .Annotation("SqlServer:Identity", "1, 1"), + Name = table.Column(type: "nvarchar(100)", maxLength: 100, nullable: false), + Description = table.Column(type: "nvarchar(250)", maxLength: 250, nullable: true), + GroupId = table.Column(type: "int", nullable: false), + TextColor = table.Column(type: "nvarchar(20)", maxLength: 20, nullable: true), + BackgroundColor = table.Column(type: "nvarchar(20)", maxLength: 20, nullable: true), + IconClass = table.Column(type: "nvarchar(50)", maxLength: 50, nullable: true), + SystemDefined = table.Column(type: "bit", nullable: false), + Active = table.Column(type: "bit", nullable: false), + Deleted = table.Column(type: "bit", nullable: false) + }, + constraints: table => + { + table.PrimaryKey("PK_Status", x => x.Id); + }); + + migrationBuilder.CreateTable( + name: "TaskType", + columns: table => new + { + Id = table.Column(type: "int", nullable: false) + .Annotation("SqlServer:Identity", "1, 1"), + Name = table.Column(type: "nvarchar(100)", maxLength: 100, nullable: false), + Description = table.Column(type: "nvarchar(250)", maxLength: 250, nullable: true), + GroupId = table.Column(type: "int", nullable: false), + TextColor = table.Column(type: "nvarchar(20)", maxLength: 20, nullable: true), + BackgroundColor = table.Column(type: "nvarchar(20)", maxLength: 20, nullable: true), + IconClass = table.Column(type: "nvarchar(50)", maxLength: 50, nullable: true), + Active = table.Column(type: "bit", nullable: false), + Deleted = table.Column(type: "bit", nullable: false) + }, + constraints: table => + { + table.PrimaryKey("PK_TaskType", x => x.Id); + }); + + migrationBuilder.CreateTable( + name: "UserRole", + columns: table => new + { + Id = table.Column(type: "int", nullable: false) + .Annotation("SqlServer:Identity", "1, 1"), + Name = table.Column(type: "nvarchar(50)", maxLength: 50, nullable: false), + SystemName = table.Column(type: "nvarchar(50)", maxLength: 50, nullable: false), + Description = table.Column(type: "nvarchar(250)", maxLength: 250, nullable: true), + SystemDefined = table.Column(type: "bit", nullable: false), + Active = table.Column(type: "bit", nullable: false) + }, + constraints: table => + { + table.PrimaryKey("PK_UserRole", x => x.Id); + }); + + migrationBuilder.CreateTable( + name: "UserRolePermission", + columns: table => new + { + Id = table.Column(type: "int", nullable: false) + .Annotation("SqlServer:Identity", "1, 1"), + Name = table.Column(type: "nvarchar(100)", maxLength: 100, nullable: false), + SystemName = table.Column(type: "nvarchar(255)", maxLength: 255, nullable: false), + RoleGroup = table.Column(type: "nvarchar(255)", maxLength: 255, nullable: false), + SystemDefined = table.Column(type: "bit", nullable: false) + }, + constraints: table => + { + table.PrimaryKey("PK_UserRolePermission", x => x.Id); + }); + + migrationBuilder.CreateTable( + name: "Project", + columns: table => new + { + Id = table.Column(type: "int", nullable: false) + .Annotation("SqlServer:Identity", "1, 1"), + Name = table.Column(type: "nvarchar(100)", maxLength: 100, nullable: false), + Description = table.Column(type: "nvarchar(250)", maxLength: 250, nullable: true), + StartDate = table.Column(type: "date", nullable: true), + EndDate = table.Column(type: "date", nullable: true), + ClientId = table.Column(type: "int", nullable: false), + Active = table.Column(type: "bit", nullable: false), + Deleted = table.Column(type: "bit", nullable: false) + }, + constraints: table => + { + table.PrimaryKey("PK_Project", x => x.Id); + table.ForeignKey( + name: "FK_Project_Client_ClientId", + column: x => x.ClientId, + principalTable: "Client", + principalColumn: "Id"); + }); + + migrationBuilder.CreateTable( + name: "EmailTemplate", + columns: table => new + { + Id = table.Column(type: "int", nullable: false) + .Annotation("SqlServer:Identity", "1, 1"), + Name = table.Column(type: "nvarchar(100)", maxLength: 100, nullable: false), + EmailSubject = table.Column(type: "nvarchar(max)", nullable: false), + EmailBody = table.Column(type: "nvarchar(max)", nullable: false), + EmailAccountId = table.Column(type: "int", nullable: false), + Active = table.Column(type: "bit", nullable: false) + }, + constraints: table => + { + table.PrimaryKey("PK_EmailTemplate", x => x.Id); + table.ForeignKey( + name: "FK_EmailTemplate_EmailAccount_EmailAccountId", + column: x => x.EmailAccountId, + principalTable: "EmailAccount", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + }); + + migrationBuilder.CreateTable( + name: "LocaleResource", + columns: table => new + { + Id = table.Column(type: "int", nullable: false) + .Annotation("SqlServer:Identity", "1, 1"), + LanguageId = table.Column(type: "int", nullable: false), + ResourceKey = table.Column(type: "nvarchar(100)", maxLength: 100, nullable: false), + ResourceValue = table.Column(type: "nvarchar(max)", nullable: false) + }, + constraints: table => + { + table.PrimaryKey("PK_LocaleResource", x => x.Id); + table.ForeignKey( + name: "FK_LocaleResource_Language_LanguageId", + column: x => x.LanguageId, + principalTable: "Language", + principalColumn: "Id"); + }); + + migrationBuilder.CreateTable( + name: "User", + columns: table => new + { + Id = table.Column(type: "int", nullable: false) + .Annotation("SqlServer:Identity", "1, 1"), + Code = table.Column(type: "uniqueidentifier", nullable: false), + FirstName = table.Column(type: "nvarchar(50)", maxLength: 50, nullable: false), + LastName = table.Column(type: "nvarchar(50)", maxLength: 50, nullable: false), + Email = table.Column(type: "nvarchar(150)", maxLength: 150, nullable: false), + GenderId = table.Column(type: "int", nullable: false), + LanguageId = table.Column(type: "int", nullable: false), + SystemAccount = table.Column(type: "bit", nullable: false), + FailedLoginAttempts = table.Column(type: "int", nullable: false), + LastIPAddress = table.Column(type: "nvarchar(100)", maxLength: 100, nullable: true), + LastLoginDate = table.Column(type: "datetime2", nullable: true), + LastActivityDate = table.Column(type: "datetime2", nullable: false), + Locked = table.Column(type: "bit", nullable: false), + Status = table.Column(type: "int", nullable: false), + Deleted = table.Column(type: "bit", nullable: false) + }, + constraints: table => + { + table.PrimaryKey("PK_User", x => x.Id); + table.ForeignKey( + name: "FK_User_Language_LanguageId", + column: x => x.LanguageId, + principalTable: "Language", + principalColumn: "Id"); + }); + + migrationBuilder.CreateTable( + name: "UserRolePermissionMap", + columns: table => new + { + PermissionId = table.Column(type: "int", nullable: false), + UserRoleId = table.Column(type: "int", nullable: false) + }, + constraints: table => + { + table.PrimaryKey("PK_UserRolePermissionMap", x => new { x.PermissionId, x.UserRoleId }); + table.ForeignKey( + name: "FK_UserRolePermissionMap_UserRolePermission_PermissionId", + column: x => x.PermissionId, + principalTable: "UserRolePermission", + principalColumn: "Id"); + table.ForeignKey( + name: "FK_UserRolePermissionMap_UserRole_UserRoleId", + column: x => x.UserRoleId, + principalTable: "UserRole", + principalColumn: "Id"); + }); + + migrationBuilder.CreateTable( + name: "CustomField", + columns: table => new + { + Id = table.Column(type: "int", nullable: false) + .Annotation("SqlServer:Identity", "1, 1"), + ProjectId = table.Column(type: "int", nullable: false), + Label = table.Column(type: "nvarchar(max)", nullable: false), + ResourceKey = table.Column(type: "nvarchar(100)", maxLength: 100, nullable: false), + FieldType = table.Column(type: "int", nullable: false), + Options = table.Column(type: "nvarchar(max)", nullable: true), + Mandatory = table.Column(type: "bit", nullable: false), + ColumnClass = table.Column(type: "int", maxLength: 20, nullable: false), + Placement = table.Column(type: "int", nullable: false), + DisplayOrder = table.Column(type: "int", nullable: false) + }, + constraints: table => + { + table.PrimaryKey("PK_CustomField", x => x.Id); + table.ForeignKey( + name: "FK_CustomField_Project_ProjectId", + column: x => x.ProjectId, + principalTable: "Project", + principalColumn: "Id"); + }); + + migrationBuilder.CreateTable( + name: "Module", + columns: table => new + { + Id = table.Column(type: "int", nullable: false) + .Annotation("SqlServer:Identity", "1, 1"), + Name = table.Column(type: "nvarchar(100)", maxLength: 100, nullable: false), + Description = table.Column(type: "nvarchar(max)", nullable: true), + ProjectId = table.Column(type: "int", nullable: true), + Active = table.Column(type: "bit", nullable: false), + Deleted = table.Column(type: "bit", nullable: false) + }, + constraints: table => + { + table.PrimaryKey("PK_Module", x => x.Id); + table.ForeignKey( + name: "FK_Module_Project_ProjectId", + column: x => x.ProjectId, + principalTable: "Project", + principalColumn: "Id"); + }); + + migrationBuilder.CreateTable( + name: "Reporter", + columns: table => new + { + Id = table.Column(type: "int", nullable: false) + .Annotation("SqlServer:Identity", "1, 1"), + Name = table.Column(type: "nvarchar(100)", maxLength: 100, nullable: false), + Description = table.Column(type: "nvarchar(250)", maxLength: 250, nullable: true), + ProjectId = table.Column(type: "int", nullable: true), + Active = table.Column(type: "bit", nullable: false), + Deleted = table.Column(type: "bit", nullable: false) + }, + constraints: table => + { + table.PrimaryKey("PK_Reporter", x => x.Id); + table.ForeignKey( + name: "FK_Reporter_Project_ProjectId", + column: x => x.ProjectId, + principalTable: "Project", + principalColumn: "Id"); + }); + + migrationBuilder.CreateTable( + name: "Sprint", + columns: table => new + { + Id = table.Column(type: "int", nullable: false) + .Annotation("SqlServer:Identity", "1, 1"), + Name = table.Column(type: "nvarchar(100)", maxLength: 100, nullable: false), + Description = table.Column(type: "nvarchar(500)", maxLength: 500, nullable: true), + ProjectId = table.Column(type: "int", nullable: false), + StartDate = table.Column(type: "date", nullable: false), + EndDate = table.Column(type: "date", nullable: false), + Started = table.Column(type: "bit", nullable: false), + Completed = table.Column(type: "bit", nullable: false), + Deleted = table.Column(type: "bit", nullable: false) + }, + constraints: table => + { + table.PrimaryKey("PK_Sprint", x => x.Id); + table.ForeignKey( + name: "FK_Sprint_Project_ProjectId", + column: x => x.ProjectId, + principalTable: "Project", + principalColumn: "Id"); + }); + + migrationBuilder.CreateTable( + name: "UserPassword", + columns: table => new + { + Id = table.Column(type: "int", nullable: false) + .Annotation("SqlServer:Identity", "1, 1"), + UserId = table.Column(type: "int", nullable: false), + Password = table.Column(type: "nvarchar(max)", nullable: false), + PasswordSalt = table.Column(type: "nvarchar(max)", nullable: false), + CreatedOn = table.Column(type: "datetime2", nullable: false) + }, + constraints: table => + { + table.PrimaryKey("PK_UserPassword", x => x.Id); + table.ForeignKey( + name: "FK_UserPassword_User_UserId", + column: x => x.UserId, + principalTable: "User", + principalColumn: "Id"); + }); + + migrationBuilder.CreateTable( + name: "UserProjectMap", + columns: table => new + { + Id = table.Column(type: "int", nullable: false) + .Annotation("SqlServer:Identity", "1, 1"), + UserId = table.Column(type: "int", nullable: false), + ProjectId = table.Column(type: "int", nullable: false), + CanReport = table.Column(type: "bit", nullable: false), + CanEdit = table.Column(type: "bit", nullable: false), + CanClose = table.Column(type: "bit", nullable: false), + CanReOpen = table.Column(type: "bit", nullable: false), + CanComment = table.Column(type: "bit", nullable: false), + CanViewOthersTask = table.Column(type: "bit", nullable: false), + CanEditOthersTask = table.Column(type: "bit", nullable: false), + CanDelete = table.Column(type: "bit", nullable: false) + }, + constraints: table => + { + table.PrimaryKey("PK_UserProjectMap", x => x.Id); + table.ForeignKey( + name: "FK_UserProjectMap_Project_ProjectId", + column: x => x.ProjectId, + principalTable: "Project", + principalColumn: "Id"); + table.ForeignKey( + name: "FK_UserProjectMap_User_UserId", + column: x => x.UserId, + principalTable: "User", + principalColumn: "Id"); + }); + + migrationBuilder.CreateTable( + name: "UserRoleMap", + columns: table => new + { + UserId = table.Column(type: "int", nullable: false), + UserRoleId = table.Column(type: "int", nullable: false) + }, + constraints: table => + { + table.PrimaryKey("PK_UserRoleMap", x => new { x.UserId, x.UserRoleId }); + table.ForeignKey( + name: "FK_UserRoleMap_UserRole_UserRoleId", + column: x => x.UserRoleId, + principalTable: "UserRole", + principalColumn: "Id"); + table.ForeignKey( + name: "FK_UserRoleMap_User_UserId", + column: x => x.UserId, + principalTable: "User", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + }); + + migrationBuilder.CreateTable( + name: "SubModule", + columns: table => new + { + Id = table.Column(type: "int", nullable: false) + .Annotation("SqlServer:Identity", "1, 1"), + Name = table.Column(type: "nvarchar(100)", maxLength: 100, nullable: false), + Description = table.Column(type: "nvarchar(250)", maxLength: 250, nullable: true), + ModuleId = table.Column(type: "int", nullable: false), + OwnerId = table.Column(type: "int", nullable: true), + Active = table.Column(type: "bit", nullable: false), + Deleted = table.Column(type: "bit", nullable: false) + }, + constraints: table => + { + table.PrimaryKey("PK_SubModule", x => x.Id); + table.ForeignKey( + name: "FK_SubModule_Module_ModuleId", + column: x => x.ModuleId, + principalTable: "Module", + principalColumn: "Id"); + table.ForeignKey( + name: "FK_SubModule_User_OwnerId", + column: x => x.OwnerId, + principalTable: "User", + principalColumn: "Id"); + }); + + migrationBuilder.CreateTable( + name: "Backlog", + columns: table => new + { + Id = table.Column(type: "int", nullable: false) + .Annotation("SqlServer:Identity", "1, 1"), + Code = table.Column(type: "uniqueidentifier", nullable: false), + Title = table.Column(type: "nvarchar(500)", maxLength: 500, nullable: false), + Description = table.Column(type: "nvarchar(max)", nullable: true), + ParentId = table.Column(type: "int", nullable: true), + TaskTypeId = table.Column(type: "int", nullable: false), + SeverityId = table.Column(type: "int", nullable: false), + DueDate = table.Column(type: "date", nullable: true), + ProjectId = table.Column(type: "int", nullable: false), + ModuleId = table.Column(type: "int", nullable: true), + SubModuleId = table.Column(type: "int", nullable: true), + SprintId = table.Column(type: "int", nullable: true), + ReporterId = table.Column(type: "int", nullable: true), + AssigneeId = table.Column(type: "int", nullable: true), + SubTaskCount = table.Column(type: "int", nullable: false), + StatusId = table.Column(type: "int", nullable: false), + CreatedById = table.Column(type: "int", nullable: false), + CreatedOn = table.Column(type: "datetime2", nullable: false), + ModifiedById = table.Column(type: "int", nullable: true), + ModifiedOn = table.Column(type: "datetime2", nullable: true), + Deleted = table.Column(type: "bit", nullable: false) + }, + constraints: table => + { + table.PrimaryKey("PK_Backlog", x => x.Id); + table.ForeignKey( + name: "FK_Backlog_Backlog_ParentId", + column: x => x.ParentId, + principalTable: "Backlog", + principalColumn: "Id"); + table.ForeignKey( + name: "FK_Backlog_Module_ModuleId", + column: x => x.ModuleId, + principalTable: "Module", + principalColumn: "Id"); + table.ForeignKey( + name: "FK_Backlog_Project_ProjectId", + column: x => x.ProjectId, + principalTable: "Project", + principalColumn: "Id"); + table.ForeignKey( + name: "FK_Backlog_Reporter_ReporterId", + column: x => x.ReporterId, + principalTable: "Reporter", + principalColumn: "Id"); + table.ForeignKey( + name: "FK_Backlog_Severity_SeverityId", + column: x => x.SeverityId, + principalTable: "Severity", + principalColumn: "Id"); + table.ForeignKey( + name: "FK_Backlog_Sprint_SprintId", + column: x => x.SprintId, + principalTable: "Sprint", + principalColumn: "Id"); + table.ForeignKey( + name: "FK_Backlog_Status_StatusId", + column: x => x.StatusId, + principalTable: "Status", + principalColumn: "Id"); + table.ForeignKey( + name: "FK_Backlog_SubModule_SubModuleId", + column: x => x.SubModuleId, + principalTable: "SubModule", + principalColumn: "Id"); + table.ForeignKey( + name: "FK_Backlog_TaskType_TaskTypeId", + column: x => x.TaskTypeId, + principalTable: "TaskType", + principalColumn: "Id"); + table.ForeignKey( + name: "FK_Backlog_User_AssigneeId", + column: x => x.AssigneeId, + principalTable: "User", + principalColumn: "Id"); + table.ForeignKey( + name: "FK_Backlog_User_CreatedById", + column: x => x.CreatedById, + principalTable: "User", + principalColumn: "Id"); + table.ForeignKey( + name: "FK_Backlog_User_ModifiedById", + column: x => x.ModifiedById, + principalTable: "User", + principalColumn: "Id"); + }); + + migrationBuilder.CreateTable( + name: "BacklogComment", + columns: table => new + { + Id = table.Column(type: "int", nullable: false) + .Annotation("SqlServer:Identity", "1, 1"), + BacklogId = table.Column(type: "int", nullable: false), + Comment = table.Column(type: "nvarchar(max)", nullable: false), + CreatedById = table.Column(type: "int", nullable: false), + SystemComment = table.Column(type: "bit", nullable: false), + CreatedOn = table.Column(type: "datetime2", nullable: false), + ModifiedById = table.Column(type: "int", nullable: true), + ModifiedOn = table.Column(type: "datetime2", nullable: true) + }, + constraints: table => + { + table.PrimaryKey("PK_BacklogComment", x => x.Id); + table.ForeignKey( + name: "FK_BacklogComment_Backlog_BacklogId", + column: x => x.BacklogId, + principalTable: "Backlog", + principalColumn: "Id"); + table.ForeignKey( + name: "FK_BacklogComment_User_CreatedById", + column: x => x.CreatedById, + principalTable: "User", + principalColumn: "Id"); + table.ForeignKey( + name: "FK_BacklogComment_User_ModifiedById", + column: x => x.ModifiedById, + principalTable: "User", + principalColumn: "Id"); + }); + + migrationBuilder.CreateTable( + name: "BacklogCustomFieldValue", + columns: table => new + { + Id = table.Column(type: "int", nullable: false) + .Annotation("SqlServer:Identity", "1, 1"), + BacklogId = table.Column(type: "int", nullable: false), + CustomFieldId = table.Column(type: "int", nullable: false), + Value = table.Column(type: "nvarchar(max)", nullable: true) + }, + constraints: table => + { + table.PrimaryKey("PK_BacklogCustomFieldValue", x => x.Id); + table.ForeignKey( + name: "FK_BacklogCustomFieldValue_Backlog_BacklogId", + column: x => x.BacklogId, + principalTable: "Backlog", + principalColumn: "Id"); + table.ForeignKey( + name: "FK_BacklogCustomFieldValue_CustomField_CustomFieldId", + column: x => x.CustomFieldId, + principalTable: "CustomField", + principalColumn: "Id"); + }); + + migrationBuilder.CreateTable( + name: "BacklogDocument", + columns: table => new + { + Id = table.Column(type: "int", nullable: false) + .Annotation("SqlServer:Identity", "1, 1"), + BacklogId = table.Column(type: "int", nullable: false), + DocumentId = table.Column(type: "int", nullable: false), + CreatedById = table.Column(type: "int", nullable: false), + CreatedOn = table.Column(type: "datetime2", nullable: false) + }, + constraints: table => + { + table.PrimaryKey("PK_BacklogDocument", x => x.Id); + table.ForeignKey( + name: "FK_BacklogDocument_Backlog_BacklogId", + column: x => x.BacklogId, + principalTable: "Backlog", + principalColumn: "Id"); + table.ForeignKey( + name: "FK_BacklogDocument_Document_DocumentId", + column: x => x.DocumentId, + principalTable: "Document", + principalColumn: "Id"); + table.ForeignKey( + name: "FK_BacklogDocument_User_CreatedById", + column: x => x.CreatedById, + principalTable: "User", + principalColumn: "Id"); + }); + + migrationBuilder.CreateTable( + name: "BacklogStatusLog", + columns: table => new + { + Id = table.Column(type: "int", nullable: false) + .Annotation("SqlServer:Identity", "1, 1"), + BacklogId = table.Column(type: "int", nullable: false), + StatusId = table.Column(type: "int", nullable: false), + CreatedById = table.Column(type: "int", nullable: false), + CreatedOn = table.Column(type: "datetime2", nullable: false) + }, + constraints: table => + { + table.PrimaryKey("PK_BacklogStatusLog", x => x.Id); + table.ForeignKey( + name: "FK_BacklogStatusLog_Backlog_BacklogId", + column: x => x.BacklogId, + principalTable: "Backlog", + principalColumn: "Id"); + table.ForeignKey( + name: "FK_BacklogStatusLog_Status_StatusId", + column: x => x.StatusId, + principalTable: "Status", + principalColumn: "Id"); + table.ForeignKey( + name: "FK_BacklogStatusLog_User_CreatedById", + column: x => x.CreatedById, + principalTable: "User", + principalColumn: "Id"); + }); + + migrationBuilder.CreateIndex( + name: "IX_Backlog_AssigneeId", + table: "Backlog", + column: "AssigneeId"); + + migrationBuilder.CreateIndex( + name: "IX_Backlog_CreatedById", + table: "Backlog", + column: "CreatedById"); + + migrationBuilder.CreateIndex( + name: "IX_Backlog_ModifiedById", + table: "Backlog", + column: "ModifiedById"); + + migrationBuilder.CreateIndex( + name: "IX_Backlog_ModuleId", + table: "Backlog", + column: "ModuleId"); + + migrationBuilder.CreateIndex( + name: "IX_Backlog_ParentId", + table: "Backlog", + column: "ParentId"); + + migrationBuilder.CreateIndex( + name: "IX_Backlog_ProjectId", + table: "Backlog", + column: "ProjectId"); + + migrationBuilder.CreateIndex( + name: "IX_Backlog_ReporterId", + table: "Backlog", + column: "ReporterId"); + + migrationBuilder.CreateIndex( + name: "IX_Backlog_SeverityId", + table: "Backlog", + column: "SeverityId"); + + migrationBuilder.CreateIndex( + name: "IX_Backlog_SprintId", + table: "Backlog", + column: "SprintId"); + + migrationBuilder.CreateIndex( + name: "IX_Backlog_StatusId", + table: "Backlog", + column: "StatusId"); + + migrationBuilder.CreateIndex( + name: "IX_Backlog_SubModuleId", + table: "Backlog", + column: "SubModuleId"); + + migrationBuilder.CreateIndex( + name: "IX_Backlog_TaskTypeId", + table: "Backlog", + column: "TaskTypeId"); + + migrationBuilder.CreateIndex( + name: "IX_BacklogComment_BacklogId", + table: "BacklogComment", + column: "BacklogId"); + + migrationBuilder.CreateIndex( + name: "IX_BacklogComment_CreatedById", + table: "BacklogComment", + column: "CreatedById"); + + migrationBuilder.CreateIndex( + name: "IX_BacklogComment_ModifiedById", + table: "BacklogComment", + column: "ModifiedById"); + + migrationBuilder.CreateIndex( + name: "IX_BacklogCustomFieldValue_BacklogId", + table: "BacklogCustomFieldValue", + column: "BacklogId"); + + migrationBuilder.CreateIndex( + name: "IX_BacklogCustomFieldValue_CustomFieldId", + table: "BacklogCustomFieldValue", + column: "CustomFieldId"); + + migrationBuilder.CreateIndex( + name: "IX_BacklogDocument_BacklogId", + table: "BacklogDocument", + column: "BacklogId"); + + migrationBuilder.CreateIndex( + name: "IX_BacklogDocument_CreatedById", + table: "BacklogDocument", + column: "CreatedById"); + + migrationBuilder.CreateIndex( + name: "IX_BacklogDocument_DocumentId", + table: "BacklogDocument", + column: "DocumentId"); + + migrationBuilder.CreateIndex( + name: "IX_BacklogStatusLog_BacklogId", + table: "BacklogStatusLog", + column: "BacklogId"); + + migrationBuilder.CreateIndex( + name: "IX_BacklogStatusLog_CreatedById", + table: "BacklogStatusLog", + column: "CreatedById"); + + migrationBuilder.CreateIndex( + name: "IX_BacklogStatusLog_StatusId", + table: "BacklogStatusLog", + column: "StatusId"); + + migrationBuilder.CreateIndex( + name: "IX_CustomField_ProjectId", + table: "CustomField", + column: "ProjectId"); + + migrationBuilder.CreateIndex( + name: "IX_EmailTemplate_EmailAccountId", + table: "EmailTemplate", + column: "EmailAccountId"); + + migrationBuilder.CreateIndex( + name: "IX_LocaleResource_LanguageId", + table: "LocaleResource", + column: "LanguageId"); + + migrationBuilder.CreateIndex( + name: "IX_Module_ProjectId", + table: "Module", + column: "ProjectId"); + + migrationBuilder.CreateIndex( + name: "IX_Project_ClientId", + table: "Project", + column: "ClientId"); + + migrationBuilder.CreateIndex( + name: "IX_Reporter_ProjectId", + table: "Reporter", + column: "ProjectId"); + + migrationBuilder.CreateIndex( + name: "IX_Sprint_ProjectId", + table: "Sprint", + column: "ProjectId"); + + migrationBuilder.CreateIndex( + name: "IX_SubModule_ModuleId", + table: "SubModule", + column: "ModuleId"); + + migrationBuilder.CreateIndex( + name: "IX_SubModule_OwnerId", + table: "SubModule", + column: "OwnerId"); + + migrationBuilder.CreateIndex( + name: "IX_User_LanguageId", + table: "User", + column: "LanguageId"); + + migrationBuilder.CreateIndex( + name: "IX_UserPassword_UserId", + table: "UserPassword", + column: "UserId"); + + migrationBuilder.CreateIndex( + name: "IX_UserProjectMap_ProjectId", + table: "UserProjectMap", + column: "ProjectId"); + + migrationBuilder.CreateIndex( + name: "IX_UserProjectMap_UserId", + table: "UserProjectMap", + column: "UserId"); + + migrationBuilder.CreateIndex( + name: "IX_UserRoleMap_UserRoleId", + table: "UserRoleMap", + column: "UserRoleId"); + + migrationBuilder.CreateIndex( + name: "IX_UserRolePermissionMap_UserRoleId", + table: "UserRolePermissionMap", + column: "UserRoleId"); + } - /// - protected override void Down(MigrationBuilder migrationBuilder) - { - migrationBuilder.DropTable( - name: "ActivityLog"); + /// + protected override void Down(MigrationBuilder migrationBuilder) + { + migrationBuilder.DropTable( + name: "ActivityLog"); - migrationBuilder.DropTable( - name: "BacklogComment"); + migrationBuilder.DropTable( + name: "BacklogComment"); - migrationBuilder.DropTable( - name: "BacklogCustomFieldValue"); + migrationBuilder.DropTable( + name: "BacklogCustomFieldValue"); - migrationBuilder.DropTable( - name: "BacklogDocument"); + migrationBuilder.DropTable( + name: "BacklogDocument"); - migrationBuilder.DropTable( - name: "BacklogStatusLog"); + migrationBuilder.DropTable( + name: "BacklogStatusLog"); - migrationBuilder.DropTable( - name: "EmailTemplate"); + migrationBuilder.DropTable( + name: "EmailTemplate"); - migrationBuilder.DropTable( - name: "GenericAttribute"); + migrationBuilder.DropTable( + name: "GenericAttribute"); - migrationBuilder.DropTable( - name: "LocaleResource"); + migrationBuilder.DropTable( + name: "LocaleResource"); - migrationBuilder.DropTable( - name: "Log"); + migrationBuilder.DropTable( + name: "Log"); - migrationBuilder.DropTable( - name: "Menu"); + migrationBuilder.DropTable( + name: "Menu"); - migrationBuilder.DropTable( - name: "Setting"); + migrationBuilder.DropTable( + name: "Setting"); - migrationBuilder.DropTable( - name: "UserPassword"); + migrationBuilder.DropTable( + name: "UserPassword"); - migrationBuilder.DropTable( - name: "UserProjectMap"); + migrationBuilder.DropTable( + name: "UserProjectMap"); - migrationBuilder.DropTable( - name: "UserRoleMap"); + migrationBuilder.DropTable( + name: "UserRoleMap"); - migrationBuilder.DropTable( - name: "UserRolePermissionMap"); + migrationBuilder.DropTable( + name: "UserRolePermissionMap"); - migrationBuilder.DropTable( - name: "CustomField"); + migrationBuilder.DropTable( + name: "CustomField"); - migrationBuilder.DropTable( - name: "Document"); + migrationBuilder.DropTable( + name: "Document"); - migrationBuilder.DropTable( - name: "Backlog"); + migrationBuilder.DropTable( + name: "Backlog"); - migrationBuilder.DropTable( - name: "EmailAccount"); + migrationBuilder.DropTable( + name: "EmailAccount"); - migrationBuilder.DropTable( - name: "UserRolePermission"); + migrationBuilder.DropTable( + name: "UserRolePermission"); - migrationBuilder.DropTable( - name: "UserRole"); + migrationBuilder.DropTable( + name: "UserRole"); - migrationBuilder.DropTable( - name: "Reporter"); + migrationBuilder.DropTable( + name: "Reporter"); - migrationBuilder.DropTable( - name: "Severity"); + migrationBuilder.DropTable( + name: "Severity"); - migrationBuilder.DropTable( - name: "Sprint"); + migrationBuilder.DropTable( + name: "Sprint"); - migrationBuilder.DropTable( - name: "Status"); + migrationBuilder.DropTable( + name: "Status"); - migrationBuilder.DropTable( - name: "SubModule"); + migrationBuilder.DropTable( + name: "SubModule"); - migrationBuilder.DropTable( - name: "TaskType"); + migrationBuilder.DropTable( + name: "TaskType"); - migrationBuilder.DropTable( - name: "Module"); + migrationBuilder.DropTable( + name: "Module"); - migrationBuilder.DropTable( - name: "User"); + migrationBuilder.DropTable( + name: "User"); - migrationBuilder.DropTable( - name: "Project"); + migrationBuilder.DropTable( + name: "Project"); - migrationBuilder.DropTable( - name: "Language"); + migrationBuilder.DropTable( + name: "Language"); - migrationBuilder.DropTable( - name: "Client"); - } + migrationBuilder.DropTable( + name: "Client"); } } diff --git a/src/Libraries/Taskist.Data/Migrations/20251026180556_AvatarVersion.Designer.cs b/src/Libraries/Taskist.Data/Migrations/20251026180556_AvatarVersion.Designer.cs new file mode 100644 index 0000000..535e074 --- /dev/null +++ b/src/Libraries/Taskist.Data/Migrations/20251026180556_AvatarVersion.Designer.cs @@ -0,0 +1,1654 @@ +// +using System; +using Microsoft.EntityFrameworkCore; +using Microsoft.EntityFrameworkCore.Infrastructure; +using Microsoft.EntityFrameworkCore.Metadata; +using Microsoft.EntityFrameworkCore.Migrations; +using Microsoft.EntityFrameworkCore.Storage.ValueConversion; +using Taskist.Data; + +#nullable disable + +namespace Taskist.Data.Migrations +{ + [DbContext(typeof(ApplicationContext))] + [Migration("20251026180556_AvatarVersion")] + partial class AvatarVersion + { + /// + protected override void BuildTargetModel(ModelBuilder modelBuilder) + { +#pragma warning disable 612, 618 + modelBuilder + .HasAnnotation("ProductVersion", "8.0.0") + .HasAnnotation("Proxies:ChangeTracking", false) + .HasAnnotation("Proxies:CheckEquality", false) + .HasAnnotation("Proxies:LazyLoading", true) + .HasAnnotation("Relational:MaxIdentifierLength", 128); + + SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder); + + modelBuilder.Entity("Taskist.Core.Domain.Localization.Language", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("int"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + + b.Property("Active") + .HasColumnType("bit"); + + b.Property("DisplayName") + .IsRequired() + .HasMaxLength(750) + .HasColumnType("nvarchar(750)"); + + b.Property("DisplayOrder") + .HasColumnType("int"); + + b.Property("LanguageCulture") + .IsRequired() + .HasMaxLength(10) + .HasColumnType("nvarchar(10)"); + + b.Property("Name") + .IsRequired() + .HasMaxLength(750) + .HasColumnType("nvarchar(750)"); + + b.Property("Rtl") + .HasColumnType("bit"); + + b.HasKey("Id"); + + b.ToTable("Language", (string)null); + }); + + modelBuilder.Entity("Taskist.Core.Domain.Localization.LocaleResource", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("int"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + + b.Property("LanguageId") + .HasColumnType("int"); + + b.Property("ResourceKey") + .IsRequired() + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("ResourceValue") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.HasKey("Id"); + + b.HasIndex("LanguageId"); + + b.ToTable("LocaleResource", (string)null); + }); + + modelBuilder.Entity("Taskist.Core.Domain.Logging.ActivityLog", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("int"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + + b.Property("Comment") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.Property("CreatedOnUtc") + .HasColumnType("datetime2"); + + b.Property("EntityId") + .HasColumnType("int"); + + b.Property("EntityName") + .IsRequired() + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("IpAddress") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.Property("SystemName") + .IsRequired() + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("UserId") + .HasColumnType("int"); + + b.HasKey("Id"); + + b.ToTable("ActivityLog", (string)null); + }); + + modelBuilder.Entity("Taskist.Core.Domain.Logging.Log", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("int"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + + b.Property("CreatedOnUtc") + .HasColumnType("datetime2"); + + b.Property("FullMessage") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.Property("IpAddress") + .HasColumnType("nvarchar(max)"); + + b.Property("LogLevel") + .HasColumnType("int"); + + b.Property("LogLevelId") + .HasColumnType("int"); + + b.Property("PageUrl") + .HasColumnType("nvarchar(max)"); + + b.Property("ReferrerUrl") + .HasColumnType("nvarchar(max)"); + + b.Property("ShortMessage") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.Property("UserId") + .HasColumnType("int"); + + b.HasKey("Id"); + + b.ToTable("Log", (string)null); + }); + + modelBuilder.Entity("Taskist.Core.Domain.Masters.Client", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("int"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + + b.Property("Active") + .HasColumnType("bit"); + + b.Property("ContactPerson") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("Deleted") + .HasColumnType("bit"); + + b.Property("Description") + .HasMaxLength(250) + .HasColumnType("nvarchar(250)"); + + b.Property("Email") + .HasMaxLength(250) + .HasColumnType("nvarchar(250)"); + + b.Property("Name") + .IsRequired() + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("PhoneNumber") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("Website") + .HasMaxLength(750) + .HasColumnType("nvarchar(750)"); + + b.HasKey("Id"); + + b.ToTable("Client", (string)null); + }); + + modelBuilder.Entity("Taskist.Core.Domain.Masters.CustomField", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("int"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + + b.Property("ColumnClass") + .HasMaxLength(20) + .HasColumnType("int"); + + b.Property("DisplayOrder") + .HasColumnType("int"); + + b.Property("FieldType") + .HasColumnType("int"); + + b.Property("Label") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.Property("Mandatory") + .HasColumnType("bit"); + + b.Property("Options") + .HasColumnType("nvarchar(max)"); + + b.Property("Placement") + .HasColumnType("int"); + + b.Property("ProjectId") + .HasColumnType("int"); + + b.Property("ResourceKey") + .IsRequired() + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.HasKey("Id"); + + b.HasIndex("ProjectId"); + + b.ToTable("CustomField", (string)null); + }); + + modelBuilder.Entity("Taskist.Core.Domain.Masters.Document", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("int"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + + b.Property("ContentType") + .IsRequired() + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("Extension") + .IsRequired() + .HasMaxLength(10) + .HasColumnType("nvarchar(10)"); + + b.Property("FileData") + .IsRequired() + .HasColumnType("varbinary(max)"); + + b.Property("FileName") + .IsRequired() + .HasMaxLength(255) + .HasColumnType("nvarchar(255)"); + + b.Property("FileSize") + .HasColumnType("bigint"); + + b.HasKey("Id"); + + b.ToTable("Document", (string)null); + }); + + modelBuilder.Entity("Taskist.Core.Domain.Masters.EmailAccount", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("int"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + + b.Property("Active") + .HasColumnType("bit"); + + b.Property("Description") + .HasMaxLength(250) + .HasColumnType("nvarchar(250)"); + + b.Property("EnableSsl") + .HasColumnType("bit"); + + b.Property("FromEmail") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.Property("FromName") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.Property("Host") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.Property("Name") + .IsRequired() + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("Password") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.Property("Port") + .HasColumnType("int"); + + b.Property("UserName") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.HasKey("Id"); + + b.ToTable("EmailAccount", (string)null); + }); + + modelBuilder.Entity("Taskist.Core.Domain.Masters.EmailTemplate", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("int"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + + b.Property("Active") + .HasColumnType("bit"); + + b.Property("EmailAccountId") + .HasColumnType("int"); + + b.Property("EmailBody") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.Property("EmailSubject") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.Property("Name") + .IsRequired() + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.HasKey("Id"); + + b.HasIndex("EmailAccountId"); + + b.ToTable("EmailTemplate", (string)null); + }); + + modelBuilder.Entity("Taskist.Core.Domain.Masters.GenericAttribute", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("int"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + + b.Property("CreatedOrUpdatedDate") + .HasColumnType("datetime2"); + + b.Property("EntityId") + .HasColumnType("int"); + + b.Property("Key") + .IsRequired() + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("KeyGroup") + .IsRequired() + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("Value") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.HasKey("Id"); + + b.ToTable("GenericAttribute", (string)null); + }); + + modelBuilder.Entity("Taskist.Core.Domain.Masters.Menu", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("int"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + + b.Property("ActionName") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("Active") + .HasColumnType("bit"); + + b.Property("Code") + .HasColumnType("int"); + + b.Property("ControllerName") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("DisplayOrder") + .HasColumnType("int"); + + b.Property("Icon") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("Name") + .IsRequired() + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("ParentCode") + .HasColumnType("int"); + + b.Property("Permission") + .IsRequired() + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("SystemName") + .IsRequired() + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.HasKey("Id"); + + b.ToTable("Menu", (string)null); + }); + + modelBuilder.Entity("Taskist.Core.Domain.Masters.Module", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("int"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + + b.Property("Active") + .HasColumnType("bit"); + + b.Property("Deleted") + .HasColumnType("bit"); + + b.Property("Description") + .HasColumnType("nvarchar(max)"); + + b.Property("Name") + .IsRequired() + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("ProjectId") + .HasColumnType("int"); + + b.HasKey("Id"); + + b.HasIndex("ProjectId"); + + b.ToTable("Module", (string)null); + }); + + modelBuilder.Entity("Taskist.Core.Domain.Masters.Project", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("int"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + + b.Property("Active") + .HasColumnType("bit"); + + b.Property("ClientId") + .HasColumnType("int"); + + b.Property("Deleted") + .HasColumnType("bit"); + + b.Property("Description") + .HasMaxLength(250) + .HasColumnType("nvarchar(250)"); + + b.Property("EndDate") + .HasColumnType("date"); + + b.Property("Name") + .IsRequired() + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("StartDate") + .HasColumnType("date"); + + b.HasKey("Id"); + + b.HasIndex("ClientId"); + + b.ToTable("Project", (string)null); + }); + + modelBuilder.Entity("Taskist.Core.Domain.Masters.Reporter", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("int"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + + b.Property("Active") + .HasColumnType("bit"); + + b.Property("Deleted") + .HasColumnType("bit"); + + b.Property("Description") + .HasMaxLength(250) + .HasColumnType("nvarchar(250)"); + + b.Property("Name") + .IsRequired() + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("ProjectId") + .HasColumnType("int"); + + b.HasKey("Id"); + + b.HasIndex("ProjectId"); + + b.ToTable("Reporter", (string)null); + }); + + modelBuilder.Entity("Taskist.Core.Domain.Masters.Setting", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("int"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + + b.Property("Name") + .IsRequired() + .HasMaxLength(250) + .HasColumnType("nvarchar(250)"); + + b.Property("Value") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.HasKey("Id"); + + b.ToTable("Setting", (string)null); + }); + + modelBuilder.Entity("Taskist.Core.Domain.Masters.Severity", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("int"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + + b.Property("Active") + .HasColumnType("bit"); + + b.Property("BackgroundColor") + .HasMaxLength(20) + .HasColumnType("nvarchar(20)"); + + b.Property("Deleted") + .HasColumnType("bit"); + + b.Property("Description") + .HasMaxLength(250) + .HasColumnType("nvarchar(250)"); + + b.Property("GroupId") + .HasColumnType("int"); + + b.Property("IconClass") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("Name") + .IsRequired() + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("TextColor") + .HasMaxLength(20) + .HasColumnType("nvarchar(20)"); + + b.HasKey("Id"); + + b.ToTable("Severity", (string)null); + }); + + modelBuilder.Entity("Taskist.Core.Domain.Masters.Status", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("int"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + + b.Property("Active") + .HasColumnType("bit"); + + b.Property("BackgroundColor") + .HasMaxLength(20) + .HasColumnType("nvarchar(20)"); + + b.Property("Deleted") + .HasColumnType("bit"); + + b.Property("Description") + .HasMaxLength(250) + .HasColumnType("nvarchar(250)"); + + b.Property("GroupId") + .HasColumnType("int"); + + b.Property("IconClass") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("Name") + .IsRequired() + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("SystemDefined") + .HasColumnType("bit"); + + b.Property("TextColor") + .HasMaxLength(20) + .HasColumnType("nvarchar(20)"); + + b.HasKey("Id"); + + b.ToTable("Status", (string)null); + }); + + modelBuilder.Entity("Taskist.Core.Domain.Masters.SubModule", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("int"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + + b.Property("Active") + .HasColumnType("bit"); + + b.Property("Deleted") + .HasColumnType("bit"); + + b.Property("Description") + .HasMaxLength(250) + .HasColumnType("nvarchar(250)"); + + b.Property("ModuleId") + .HasColumnType("int"); + + b.Property("Name") + .IsRequired() + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("OwnerId") + .HasColumnType("int"); + + b.HasKey("Id"); + + b.HasIndex("ModuleId"); + + b.HasIndex("OwnerId"); + + b.ToTable("SubModule", (string)null); + }); + + modelBuilder.Entity("Taskist.Core.Domain.Masters.TaskType", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("int"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + + b.Property("Active") + .HasColumnType("bit"); + + b.Property("BackgroundColor") + .HasMaxLength(20) + .HasColumnType("nvarchar(20)"); + + b.Property("Deleted") + .HasColumnType("bit"); + + b.Property("Description") + .HasMaxLength(250) + .HasColumnType("nvarchar(250)"); + + b.Property("GroupId") + .HasColumnType("int"); + + b.Property("IconClass") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("Name") + .IsRequired() + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("TextColor") + .HasMaxLength(20) + .HasColumnType("nvarchar(20)"); + + b.HasKey("Id"); + + b.ToTable("TaskType", (string)null); + }); + + modelBuilder.Entity("Taskist.Core.Domain.Users.User", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("int"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + + b.Property("AvatarVersion") + .HasColumnType("int"); + + b.Property("Code") + .HasColumnType("uniqueidentifier"); + + b.Property("Deleted") + .HasColumnType("bit"); + + b.Property("Email") + .IsRequired() + .HasMaxLength(150) + .HasColumnType("nvarchar(150)"); + + b.Property("FailedLoginAttempts") + .HasColumnType("int"); + + b.Property("FirstName") + .IsRequired() + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("GenderId") + .HasColumnType("int"); + + b.Property("LanguageId") + .HasColumnType("int"); + + b.Property("LastActivityDate") + .HasColumnType("datetime2"); + + b.Property("LastIPAddress") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("LastLoginDate") + .HasColumnType("datetime2"); + + b.Property("LastName") + .IsRequired() + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("Locked") + .HasColumnType("bit"); + + b.Property("Status") + .HasColumnType("int"); + + b.Property("SystemAccount") + .HasColumnType("bit"); + + b.HasKey("Id"); + + b.HasIndex("LanguageId"); + + b.ToTable("User", (string)null); + }); + + modelBuilder.Entity("Taskist.Core.Domain.Users.UserPassword", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("int"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + + b.Property("CreatedOn") + .HasColumnType("datetime2"); + + b.Property("Password") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.Property("PasswordSalt") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.Property("UserId") + .HasColumnType("int"); + + b.HasKey("Id"); + + b.HasIndex("UserId"); + + b.ToTable("UserPassword", (string)null); + }); + + modelBuilder.Entity("Taskist.Core.Domain.Users.UserProjectMap", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("int"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + + b.Property("CanClose") + .HasColumnType("bit"); + + b.Property("CanComment") + .HasColumnType("bit"); + + b.Property("CanDelete") + .HasColumnType("bit"); + + b.Property("CanEdit") + .HasColumnType("bit"); + + b.Property("CanEditOthersTask") + .HasColumnType("bit"); + + b.Property("CanReOpen") + .HasColumnType("bit"); + + b.Property("CanReport") + .HasColumnType("bit"); + + b.Property("CanViewOthersTask") + .HasColumnType("bit"); + + b.Property("ProjectId") + .HasColumnType("int"); + + b.Property("UserId") + .HasColumnType("int"); + + b.HasKey("Id"); + + b.HasIndex("ProjectId"); + + b.HasIndex("UserId"); + + b.ToTable("UserProjectMap", (string)null); + }); + + modelBuilder.Entity("Taskist.Core.Domain.Users.UserRole", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("int"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + + b.Property("Active") + .HasColumnType("bit"); + + b.Property("Description") + .HasMaxLength(250) + .HasColumnType("nvarchar(250)"); + + b.Property("Name") + .IsRequired() + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("SystemDefined") + .HasColumnType("bit"); + + b.Property("SystemName") + .IsRequired() + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.HasKey("Id"); + + b.ToTable("UserRole", (string)null); + }); + + modelBuilder.Entity("Taskist.Core.Domain.Users.UserRoleMap", b => + { + b.Property("UserId") + .HasColumnType("int"); + + b.Property("UserRoleId") + .HasColumnType("int"); + + b.HasKey("UserId", "UserRoleId"); + + b.HasIndex("UserRoleId"); + + b.ToTable("UserRoleMap", (string)null); + }); + + modelBuilder.Entity("Taskist.Core.Domain.Users.UserRolePermission", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("int"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + + b.Property("Name") + .IsRequired() + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("RoleGroup") + .IsRequired() + .HasMaxLength(255) + .HasColumnType("nvarchar(255)"); + + b.Property("SystemDefined") + .HasColumnType("bit"); + + b.Property("SystemName") + .IsRequired() + .HasMaxLength(255) + .HasColumnType("nvarchar(255)"); + + b.HasKey("Id"); + + b.ToTable("UserRolePermission", (string)null); + }); + + modelBuilder.Entity("Taskist.Core.Domain.Users.UserRolePermissionMap", b => + { + b.Property("PermissionId") + .HasColumnType("int"); + + b.Property("UserRoleId") + .HasColumnType("int"); + + b.HasKey("PermissionId", "UserRoleId"); + + b.HasIndex("UserRoleId"); + + b.ToTable("UserRolePermissionMap", (string)null); + }); + + modelBuilder.Entity("Taskist.Core.Domain.WorkItems.Backlog", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("int"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + + b.Property("AssigneeId") + .HasColumnType("int"); + + b.Property("Code") + .HasColumnType("uniqueidentifier"); + + b.Property("CreatedById") + .HasColumnType("int"); + + b.Property("CreatedOn") + .HasColumnType("datetime2"); + + b.Property("Deleted") + .HasColumnType("bit"); + + b.Property("Description") + .HasColumnType("nvarchar(max)"); + + b.Property("DueDate") + .HasColumnType("date"); + + b.Property("ModifiedById") + .HasColumnType("int"); + + b.Property("ModifiedOn") + .HasColumnType("datetime2"); + + b.Property("ModuleId") + .HasColumnType("int"); + + b.Property("ParentId") + .HasColumnType("int"); + + b.Property("ProjectId") + .HasColumnType("int"); + + b.Property("ReporterId") + .HasColumnType("int"); + + b.Property("SeverityId") + .HasColumnType("int"); + + b.Property("SprintId") + .HasColumnType("int"); + + b.Property("StatusId") + .HasColumnType("int"); + + b.Property("SubModuleId") + .HasColumnType("int"); + + b.Property("SubTaskCount") + .HasColumnType("int"); + + b.Property("TaskTypeId") + .HasColumnType("int"); + + b.Property("Title") + .IsRequired() + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.HasKey("Id"); + + b.HasIndex("AssigneeId"); + + b.HasIndex("CreatedById"); + + b.HasIndex("ModifiedById"); + + b.HasIndex("ModuleId"); + + b.HasIndex("ParentId"); + + b.HasIndex("ProjectId"); + + b.HasIndex("ReporterId"); + + b.HasIndex("SeverityId"); + + b.HasIndex("SprintId"); + + b.HasIndex("StatusId"); + + b.HasIndex("SubModuleId"); + + b.HasIndex("TaskTypeId"); + + b.ToTable("Backlog", (string)null); + }); + + modelBuilder.Entity("Taskist.Core.Domain.WorkItems.BacklogComment", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("int"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + + b.Property("BacklogId") + .HasColumnType("int"); + + b.Property("Comment") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.Property("CreatedById") + .HasColumnType("int"); + + b.Property("CreatedOn") + .HasColumnType("datetime2"); + + b.Property("ModifiedById") + .HasColumnType("int"); + + b.Property("ModifiedOn") + .HasColumnType("datetime2"); + + b.Property("SystemComment") + .HasColumnType("bit"); + + b.HasKey("Id"); + + b.HasIndex("BacklogId"); + + b.HasIndex("CreatedById"); + + b.HasIndex("ModifiedById"); + + b.ToTable("BacklogComment", (string)null); + }); + + modelBuilder.Entity("Taskist.Core.Domain.WorkItems.BacklogCustomFieldValue", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("int"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + + b.Property("BacklogId") + .HasColumnType("int"); + + b.Property("CustomFieldId") + .HasColumnType("int"); + + b.Property("Value") + .HasColumnType("nvarchar(max)"); + + b.HasKey("Id"); + + b.HasIndex("BacklogId"); + + b.HasIndex("CustomFieldId"); + + b.ToTable("BacklogCustomFieldValue", (string)null); + }); + + modelBuilder.Entity("Taskist.Core.Domain.WorkItems.BacklogDocument", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("int"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + + b.Property("BacklogId") + .HasColumnType("int"); + + b.Property("CreatedById") + .HasColumnType("int"); + + b.Property("CreatedOn") + .HasColumnType("datetime2"); + + b.Property("DocumentId") + .HasColumnType("int"); + + b.HasKey("Id"); + + b.HasIndex("BacklogId"); + + b.HasIndex("CreatedById"); + + b.HasIndex("DocumentId"); + + b.ToTable("BacklogDocument", (string)null); + }); + + modelBuilder.Entity("Taskist.Core.Domain.WorkItems.BacklogStatusLog", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("int"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + + b.Property("BacklogId") + .HasColumnType("int"); + + b.Property("CreatedById") + .HasColumnType("int"); + + b.Property("CreatedOn") + .HasColumnType("datetime2"); + + b.Property("StatusId") + .HasColumnType("int"); + + b.HasKey("Id"); + + b.HasIndex("BacklogId"); + + b.HasIndex("CreatedById"); + + b.HasIndex("StatusId"); + + b.ToTable("BacklogStatusLog", (string)null); + }); + + modelBuilder.Entity("Taskist.Core.Domain.WorkItems.Sprint", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("int"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + + b.Property("Completed") + .HasColumnType("bit"); + + b.Property("Deleted") + .HasColumnType("bit"); + + b.Property("Description") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("EndDate") + .HasColumnType("date"); + + b.Property("Name") + .IsRequired() + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("ProjectId") + .HasColumnType("int"); + + b.Property("StartDate") + .HasColumnType("date"); + + b.Property("Started") + .HasColumnType("bit"); + + b.HasKey("Id"); + + b.HasIndex("ProjectId"); + + b.ToTable("Sprint", (string)null); + }); + + modelBuilder.Entity("Taskist.Core.Domain.Localization.LocaleResource", b => + { + b.HasOne("Taskist.Core.Domain.Localization.Language", "Language") + .WithMany() + .HasForeignKey("LanguageId") + .OnDelete(DeleteBehavior.NoAction) + .IsRequired(); + + b.Navigation("Language"); + }); + + modelBuilder.Entity("Taskist.Core.Domain.Masters.CustomField", b => + { + b.HasOne("Taskist.Core.Domain.Masters.Project", "Project") + .WithMany() + .HasForeignKey("ProjectId") + .OnDelete(DeleteBehavior.NoAction) + .IsRequired(); + + b.Navigation("Project"); + }); + + modelBuilder.Entity("Taskist.Core.Domain.Masters.EmailTemplate", b => + { + b.HasOne("Taskist.Core.Domain.Masters.EmailAccount", "EmailAccount") + .WithMany() + .HasForeignKey("EmailAccountId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("EmailAccount"); + }); + + modelBuilder.Entity("Taskist.Core.Domain.Masters.Module", b => + { + b.HasOne("Taskist.Core.Domain.Masters.Project", "Project") + .WithMany() + .HasForeignKey("ProjectId") + .OnDelete(DeleteBehavior.NoAction); + + b.Navigation("Project"); + }); + + modelBuilder.Entity("Taskist.Core.Domain.Masters.Project", b => + { + b.HasOne("Taskist.Core.Domain.Masters.Client", "Client") + .WithMany() + .HasForeignKey("ClientId") + .OnDelete(DeleteBehavior.NoAction) + .IsRequired(); + + b.Navigation("Client"); + }); + + modelBuilder.Entity("Taskist.Core.Domain.Masters.Reporter", b => + { + b.HasOne("Taskist.Core.Domain.Masters.Project", "Project") + .WithMany() + .HasForeignKey("ProjectId") + .OnDelete(DeleteBehavior.NoAction); + + b.Navigation("Project"); + }); + + modelBuilder.Entity("Taskist.Core.Domain.Masters.SubModule", b => + { + b.HasOne("Taskist.Core.Domain.Masters.Module", "Module") + .WithMany() + .HasForeignKey("ModuleId") + .OnDelete(DeleteBehavior.NoAction) + .IsRequired(); + + b.HasOne("Taskist.Core.Domain.Users.User", "Owner") + .WithMany() + .HasForeignKey("OwnerId") + .OnDelete(DeleteBehavior.NoAction); + + b.Navigation("Module"); + + b.Navigation("Owner"); + }); + + modelBuilder.Entity("Taskist.Core.Domain.Users.User", b => + { + b.HasOne("Taskist.Core.Domain.Localization.Language", "Language") + .WithMany() + .HasForeignKey("LanguageId") + .OnDelete(DeleteBehavior.NoAction) + .IsRequired(); + + b.Navigation("Language"); + }); + + modelBuilder.Entity("Taskist.Core.Domain.Users.UserPassword", b => + { + b.HasOne("Taskist.Core.Domain.Users.User", "User") + .WithMany() + .HasForeignKey("UserId") + .OnDelete(DeleteBehavior.NoAction) + .IsRequired(); + + b.Navigation("User"); + }); + + modelBuilder.Entity("Taskist.Core.Domain.Users.UserProjectMap", b => + { + b.HasOne("Taskist.Core.Domain.Masters.Project", "Project") + .WithMany() + .HasForeignKey("ProjectId") + .OnDelete(DeleteBehavior.NoAction) + .IsRequired(); + + b.HasOne("Taskist.Core.Domain.Users.User", "User") + .WithMany() + .HasForeignKey("UserId") + .OnDelete(DeleteBehavior.NoAction) + .IsRequired(); + + b.Navigation("Project"); + + b.Navigation("User"); + }); + + modelBuilder.Entity("Taskist.Core.Domain.Users.UserRoleMap", b => + { + b.HasOne("Taskist.Core.Domain.Users.User", "User") + .WithMany("UserRoleMaps") + .HasForeignKey("UserId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Taskist.Core.Domain.Users.UserRole", "UserRole") + .WithMany() + .HasForeignKey("UserRoleId") + .OnDelete(DeleteBehavior.NoAction) + .IsRequired(); + + b.Navigation("User"); + + b.Navigation("UserRole"); + }); + + modelBuilder.Entity("Taskist.Core.Domain.Users.UserRolePermissionMap", b => + { + b.HasOne("Taskist.Core.Domain.Users.UserRolePermission", "Permission") + .WithMany("UserRolePermissionMaps") + .HasForeignKey("PermissionId") + .OnDelete(DeleteBehavior.NoAction) + .IsRequired(); + + b.HasOne("Taskist.Core.Domain.Users.UserRole", "UserRole") + .WithMany("UserRolePermissionMaps") + .HasForeignKey("UserRoleId") + .OnDelete(DeleteBehavior.NoAction) + .IsRequired(); + + b.Navigation("Permission"); + + b.Navigation("UserRole"); + }); + + modelBuilder.Entity("Taskist.Core.Domain.WorkItems.Backlog", b => + { + b.HasOne("Taskist.Core.Domain.Users.User", "Assignee") + .WithMany() + .HasForeignKey("AssigneeId") + .OnDelete(DeleteBehavior.NoAction); + + b.HasOne("Taskist.Core.Domain.Users.User", "CreatedBy") + .WithMany() + .HasForeignKey("CreatedById") + .OnDelete(DeleteBehavior.NoAction) + .IsRequired(); + + b.HasOne("Taskist.Core.Domain.Users.User", "ModifiedBy") + .WithMany() + .HasForeignKey("ModifiedById") + .OnDelete(DeleteBehavior.NoAction); + + b.HasOne("Taskist.Core.Domain.Masters.Module", "Module") + .WithMany() + .HasForeignKey("ModuleId") + .OnDelete(DeleteBehavior.NoAction); + + b.HasOne("Taskist.Core.Domain.WorkItems.Backlog", "Parent") + .WithMany() + .HasForeignKey("ParentId") + .OnDelete(DeleteBehavior.NoAction); + + b.HasOne("Taskist.Core.Domain.Masters.Project", "Project") + .WithMany() + .HasForeignKey("ProjectId") + .OnDelete(DeleteBehavior.NoAction) + .IsRequired(); + + b.HasOne("Taskist.Core.Domain.Masters.Reporter", "Reporter") + .WithMany() + .HasForeignKey("ReporterId") + .OnDelete(DeleteBehavior.NoAction); + + b.HasOne("Taskist.Core.Domain.Masters.Severity", "Severity") + .WithMany() + .HasForeignKey("SeverityId") + .OnDelete(DeleteBehavior.NoAction) + .IsRequired(); + + b.HasOne("Taskist.Core.Domain.WorkItems.Sprint", "Sprint") + .WithMany() + .HasForeignKey("SprintId") + .OnDelete(DeleteBehavior.NoAction); + + b.HasOne("Taskist.Core.Domain.Masters.Status", "Status") + .WithMany() + .HasForeignKey("StatusId") + .OnDelete(DeleteBehavior.NoAction) + .IsRequired(); + + b.HasOne("Taskist.Core.Domain.Masters.SubModule", "SubModule") + .WithMany() + .HasForeignKey("SubModuleId") + .OnDelete(DeleteBehavior.NoAction); + + b.HasOne("Taskist.Core.Domain.Masters.TaskType", "TaskType") + .WithMany() + .HasForeignKey("TaskTypeId") + .OnDelete(DeleteBehavior.NoAction) + .IsRequired(); + + b.Navigation("Assignee"); + + b.Navigation("CreatedBy"); + + b.Navigation("ModifiedBy"); + + b.Navigation("Module"); + + b.Navigation("Parent"); + + b.Navigation("Project"); + + b.Navigation("Reporter"); + + b.Navigation("Severity"); + + b.Navigation("Sprint"); + + b.Navigation("Status"); + + b.Navigation("SubModule"); + + b.Navigation("TaskType"); + }); + + modelBuilder.Entity("Taskist.Core.Domain.WorkItems.BacklogComment", b => + { + b.HasOne("Taskist.Core.Domain.WorkItems.Backlog", "Backlog") + .WithMany() + .HasForeignKey("BacklogId") + .OnDelete(DeleteBehavior.NoAction) + .IsRequired(); + + b.HasOne("Taskist.Core.Domain.Users.User", "CreatedBy") + .WithMany() + .HasForeignKey("CreatedById") + .OnDelete(DeleteBehavior.NoAction) + .IsRequired(); + + b.HasOne("Taskist.Core.Domain.Users.User", "ModifiedBy") + .WithMany() + .HasForeignKey("ModifiedById") + .OnDelete(DeleteBehavior.NoAction); + + b.Navigation("Backlog"); + + b.Navigation("CreatedBy"); + + b.Navigation("ModifiedBy"); + }); + + modelBuilder.Entity("Taskist.Core.Domain.WorkItems.BacklogCustomFieldValue", b => + { + b.HasOne("Taskist.Core.Domain.WorkItems.Backlog", "Backlog") + .WithMany() + .HasForeignKey("BacklogId") + .OnDelete(DeleteBehavior.NoAction) + .IsRequired(); + + b.HasOne("Taskist.Core.Domain.Masters.CustomField", "CustomField") + .WithMany() + .HasForeignKey("CustomFieldId") + .OnDelete(DeleteBehavior.NoAction) + .IsRequired(); + + b.Navigation("Backlog"); + + b.Navigation("CustomField"); + }); + + modelBuilder.Entity("Taskist.Core.Domain.WorkItems.BacklogDocument", b => + { + b.HasOne("Taskist.Core.Domain.WorkItems.Backlog", "Backlog") + .WithMany() + .HasForeignKey("BacklogId") + .OnDelete(DeleteBehavior.NoAction) + .IsRequired(); + + b.HasOne("Taskist.Core.Domain.Users.User", "CreatedBy") + .WithMany() + .HasForeignKey("CreatedById") + .OnDelete(DeleteBehavior.NoAction) + .IsRequired(); + + b.HasOne("Taskist.Core.Domain.Masters.Document", "Document") + .WithMany() + .HasForeignKey("DocumentId") + .OnDelete(DeleteBehavior.NoAction) + .IsRequired(); + + b.Navigation("Backlog"); + + b.Navigation("CreatedBy"); + + b.Navigation("Document"); + }); + + modelBuilder.Entity("Taskist.Core.Domain.WorkItems.BacklogStatusLog", b => + { + b.HasOne("Taskist.Core.Domain.WorkItems.Backlog", "Backlog") + .WithMany() + .HasForeignKey("BacklogId") + .OnDelete(DeleteBehavior.NoAction) + .IsRequired(); + + b.HasOne("Taskist.Core.Domain.Users.User", "CreatedBy") + .WithMany() + .HasForeignKey("CreatedById") + .OnDelete(DeleteBehavior.NoAction) + .IsRequired(); + + b.HasOne("Taskist.Core.Domain.Masters.Status", "Status") + .WithMany() + .HasForeignKey("StatusId") + .OnDelete(DeleteBehavior.NoAction); + + b.Navigation("Backlog"); + + b.Navigation("CreatedBy"); + + b.Navigation("Status"); + }); + + modelBuilder.Entity("Taskist.Core.Domain.WorkItems.Sprint", b => + { + b.HasOne("Taskist.Core.Domain.Masters.Project", "Project") + .WithMany() + .HasForeignKey("ProjectId") + .OnDelete(DeleteBehavior.NoAction) + .IsRequired(); + + b.Navigation("Project"); + }); + + modelBuilder.Entity("Taskist.Core.Domain.Users.User", b => + { + b.Navigation("UserRoleMaps"); + }); + + modelBuilder.Entity("Taskist.Core.Domain.Users.UserRole", b => + { + b.Navigation("UserRolePermissionMaps"); + }); + + modelBuilder.Entity("Taskist.Core.Domain.Users.UserRolePermission", b => + { + b.Navigation("UserRolePermissionMaps"); + }); +#pragma warning restore 612, 618 + } + } +} diff --git a/src/Libraries/Taskist.Data/Migrations/20251026180556_AvatarVersion.cs b/src/Libraries/Taskist.Data/Migrations/20251026180556_AvatarVersion.cs new file mode 100644 index 0000000..ec8249f --- /dev/null +++ b/src/Libraries/Taskist.Data/Migrations/20251026180556_AvatarVersion.cs @@ -0,0 +1,29 @@ +using Microsoft.EntityFrameworkCore.Migrations; + +#nullable disable + +namespace Taskist.Data.Migrations +{ + /// + public partial class AvatarVersion : Migration + { + /// + protected override void Up(MigrationBuilder migrationBuilder) + { + migrationBuilder.AddColumn( + name: "AvatarVersion", + table: "User", + type: "int", + nullable: false, + defaultValue: 0); + } + + /// + protected override void Down(MigrationBuilder migrationBuilder) + { + migrationBuilder.DropColumn( + name: "AvatarVersion", + table: "User"); + } + } +} diff --git a/src/Libraries/Taskist.Data/Migrations/ApplicationContextModelSnapshot.cs b/src/Libraries/Taskist.Data/Migrations/ApplicationContextModelSnapshot.cs index a8757d2..82df152 100644 --- a/src/Libraries/Taskist.Data/Migrations/ApplicationContextModelSnapshot.cs +++ b/src/Libraries/Taskist.Data/Migrations/ApplicationContextModelSnapshot.cs @@ -770,6 +770,9 @@ protected override void BuildModel(ModelBuilder modelBuilder) SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + b.Property("AvatarVersion") + .HasColumnType("int"); + b.Property("Code") .HasColumnType("uniqueidentifier"); diff --git a/src/Libraries/Taskist.Service/Files/FileStorageService.cs b/src/Libraries/Taskist.Service/Files/FileStorageService.cs new file mode 100644 index 0000000..bff2fa0 --- /dev/null +++ b/src/Libraries/Taskist.Service/Files/FileStorageService.cs @@ -0,0 +1,95 @@ +using Microsoft.AspNetCore.Hosting; +using Microsoft.AspNetCore.Http; +using Taskist.Core.Domain.Users; + +namespace Taskist.Service.Files; + +public class FileStorageService : IFileStorageService +{ + #region Fields + + protected readonly IWebHostEnvironment _env; + + #endregion + + #region Ctor + + public FileStorageService(IWebHostEnvironment env) + { + _env = env; + } + + #endregion + + #region Methods + + public async Task GetFileAsync(string fileName, string folder) + { + if (string.IsNullOrWhiteSpace(fileName) || string.IsNullOrWhiteSpace(folder)) + return null; + + string fullPath = Path.Combine(_env.WebRootPath, folder, fileName); + + if (!File.Exists(fullPath)) + return null; + + return await File.ReadAllBytesAsync(fullPath); + } + + public async Task<(byte[]? FileBytes, DateTime? LastModified)> GetAvatarFileAsync(User user) + { + var folder = "uploads\\avatars"; + var fileName = $"{user.Code}.png"; + + if (string.IsNullOrWhiteSpace(fileName) || string.IsNullOrWhiteSpace(folder)) + return (null, null); + + string fullPath = Path.Combine(_env.WebRootPath, folder, fileName); + + if (!File.Exists(fullPath)) + { + var defaultAvatar = "avatar.png"; + switch (user.GenderId) + { + case 1: + defaultAvatar = "avatar_male.png"; + break; + case 2: + defaultAvatar = "avatar_female.png"; + break; + } + fullPath = Path.Combine(_env.WebRootPath, "images", defaultAvatar); + } + + var bytes = await File.ReadAllBytesAsync(fullPath); + var lastModified = File.GetLastWriteTimeUtc(fullPath); + + return (bytes, lastModified); + } + + public async Task SaveFileAsync(IFormFile file, string folder, string? fileName = null) + { + var uploads = Path.Combine(_env.WebRootPath, folder); + Directory.CreateDirectory(uploads); + + fileName ??= $"{Guid.NewGuid()}{Path.GetExtension(file.FileName)}"; + + var filePath = Path.Combine(uploads, fileName); + + using var stream = new FileStream(filePath, FileMode.Create); + await file.CopyToAsync(stream); + + File.SetLastWriteTimeUtc(filePath, DateTime.UtcNow); + } + + public Task DeleteFileAsync(string fileName, string folder) + { + var filePath = Path.Combine(_env.WebRootPath, folder, fileName); + if (File.Exists(filePath)) + File.Delete(filePath); + + return Task.CompletedTask; + } + + #endregion +} diff --git a/src/Libraries/Taskist.Service/Files/IFileStorageService.cs b/src/Libraries/Taskist.Service/Files/IFileStorageService.cs new file mode 100644 index 0000000..0a54ce7 --- /dev/null +++ b/src/Libraries/Taskist.Service/Files/IFileStorageService.cs @@ -0,0 +1,15 @@ +using Microsoft.AspNetCore.Http; +using Taskist.Core.Domain.Users; + +namespace Taskist.Service.Files; + +public interface IFileStorageService +{ + Task GetFileAsync(string fileName, string folder); + + Task<(byte[]? FileBytes, DateTime? LastModified)> GetAvatarFileAsync(User user); + + Task SaveFileAsync(IFormFile file, string folder, string? fileName = null); + + Task DeleteFileAsync(string fileName, string folder); +} diff --git a/src/Presentation/Taskist.Web/Controllers/Users/ProfileController.cs b/src/Presentation/Taskist.Web/Controllers/Users/ProfileController.cs new file mode 100644 index 0000000..57e73c3 --- /dev/null +++ b/src/Presentation/Taskist.Web/Controllers/Users/ProfileController.cs @@ -0,0 +1,182 @@ +using AutoMapper; +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.Rendering; +using Taskist.Core.Common; +using Taskist.Service.Files; +using Taskist.Service.Localization; +using Taskist.Service.Logging; +using Taskist.Service.Security; +using Taskist.Service.Users; +using Taskist.Web.Controllers.Common; +using Taskist.Web.Helpers.Attributes; +using Taskist.Web.Helpers.Common; +using Taskist.Web.Helpers.Extensions; +using Taskist.Web.Models.Common; +using Taskist.Web.Models.Users; + +namespace Taskist.Web.Controllers.Users; + +public class ProfileController : BaseController +{ + #region Fields + + protected readonly IUserService _userService; + protected readonly IFileStorageService _fileStorageService; + protected readonly ILanguageService _languageService; + protected readonly IPermissionService _permissionService; + protected readonly ILocalizationService _localizationService; + protected readonly IUserActivityService _userActivityService; + protected readonly IWorkContext _workContext; + protected readonly IMapper _mapper; + + #endregion + + #region Ctor + + public ProfileController(IUserService userService, + IFileStorageService fileStorageService, + ILanguageService languageService, + IPermissionService permissionService, + ILocalizationService localizationService, + IUserActivityService userActivityService, + IWorkContext workContext, + IMapper mapper) + { + _userService = userService; + _fileStorageService = fileStorageService; + _languageService = languageService; + _permissionService = permissionService; + _localizationService = localizationService; + _userActivityService = userActivityService; + _workContext = workContext; + _mapper = mapper; + } + + #endregion + + #region Actions + + [CheckPermission(PermissionProvider.General.MANAGE_DASHBOARD)] + public async Task Edit() + { + var user = await _workContext.GetCurrentUserAsync(); + var model = new ProfileModel + { + Detail = _mapper.Map(user), + AvatarVersion = user.AvatarVersion, + DisplayName = user.Name + }; + + await InitModelAsync(model.Detail); + + return PartialView(model); + } + + [HttpPost] + [CheckPermission(PermissionProvider.General.MANAGE_DASHBOARD)] + public async Task Edit(ProfileDetailModel model) + { + if (ModelState.IsValid) + { + var entity = await _userService.GetByIdAsync(model.Id); + entity = _mapper.Map(model, entity); + + await _userService.UpdateAsync(entity); + + await _userActivityService.InsertAsync("Profile", string.Format(await _localizationService.GetResourceAsync("Log.RecordUpdated"), entity.Name), entity); + + return Json(new JsonResponseModel + { + Status = HttpStatusCodeEnum.Success, + Message = await _localizationService.GetResourceAsync("Message.UpdateSuccess") + }); + } + + return Json(new JsonResponseModel + { + Status = ModelState.IsValid ? HttpStatusCodeEnum.InternalServerError : HttpStatusCodeEnum.ValidationError, + Message = await _localizationService.GetResourceAsync("Error.Failed"), + Errors = ModelState.AllErrors() + }); + } + + [HttpPost] + [CheckPermission(PermissionProvider.General.MANAGE_DASHBOARD)] + public async Task ChangePassword(ChangePasswordModel model) + { + if (ModelState.IsValid) + { + var entity = await _workContext.GetCurrentUserAsync(); + await _userService.ResetPasswordAsync(entity.Id, model.NewPassword); + + await _userActivityService.InsertAsync("ChangePassword", string.Format(await _localizationService.GetResourceAsync("Log.RecordUpdated"), entity.Name), entity); + + return Json(new JsonResponseModel + { + Status = HttpStatusCodeEnum.Success, + Message = await _localizationService.GetResourceAsync("Message.UpdateSuccess") + }); + } + + return Json(new JsonResponseModel + { + Status = ModelState.IsValid ? HttpStatusCodeEnum.InternalServerError : HttpStatusCodeEnum.ValidationError, + Message = await _localizationService.GetResourceAsync("Error.Failed"), + Errors = ModelState.AllErrors() + }); + } + + [HttpGet] + [ResponseCache(Duration = 86400, Location = ResponseCacheLocation.Client)] + [CheckPermission(PermissionProvider.General.MANAGE_DASHBOARD)] + public async Task GetAvatar() + { + var user = await _workContext.GetCurrentUserAsync(); + var file = await _fileStorageService.GetAvatarFileAsync(user); + + return File(file.FileBytes, "image/png"); + } + + [HttpPost] + [CheckPermission(PermissionProvider.General.MANAGE_DASHBOARD)] + public async Task UploadAvatar(IFormFile avatar) + { + if (avatar == null || avatar.Length == 0) + return BadRequest("Avatar is required."); + + var user = await _workContext.GetCurrentUserAsync(); + if (user == null) return NotFound(); + + var fileName = $"{user.Code}.png"; + + await _fileStorageService.DeleteFileAsync(fileName, WebConstant.AvatarFolder); + await _fileStorageService.SaveFileAsync(avatar, WebConstant.AvatarFolder, fileName); + user.AvatarVersion += 1; + await _userService.UpdateAsync(user); + await _workContext.SetCurrentUserAsync(user); + + var version = user.AvatarVersion; + return Json(new { success = true, version }); + } + + #endregion + + #region Helper + + private async Task InitModelAsync(ProfileDetailModel model) + { + var languages = await _languageService.GetAllActiveAsync(); + + foreach (var item in languages) + { + model.AvailableLanguages.Add(new SelectListItem + { + Text = item.Name, + Value = item.Id.ToString(), + Selected = item.Id == model.LanguageId + }); + } + } + + #endregion +} \ No newline at end of file diff --git a/src/Presentation/Taskist.Web/Helpers/Common/WebConstant.cs b/src/Presentation/Taskist.Web/Helpers/Common/WebConstant.cs index 4890939..b29c208 100644 --- a/src/Presentation/Taskist.Web/Helpers/Common/WebConstant.cs +++ b/src/Presentation/Taskist.Web/Helpers/Common/WebConstant.cs @@ -10,5 +10,9 @@ public static class WebConstant public static int UserCookieExpires => 2; + public static string AvatarFolderDefault => "images"; + + public static string AvatarFolder => "uploads/avatars"; + #endregion } diff --git a/src/Presentation/Taskist.Web/Helpers/Common/WorkContext.cs b/src/Presentation/Taskist.Web/Helpers/Common/WorkContext.cs index 51fc70b..0c1ab3d 100644 --- a/src/Presentation/Taskist.Web/Helpers/Common/WorkContext.cs +++ b/src/Presentation/Taskist.Web/Helpers/Common/WorkContext.cs @@ -1,129 +1,129 @@ -using Taskist.Core.Common; -using Taskist.Core.Domain.Users; +using Microsoft.AspNetCore.Localization; +using Taskist.Core.Common; using Taskist.Core.Domain.Localization; +using Taskist.Core.Domain.Users; using Taskist.Service.Authentication; using Taskist.Service.Localization; -using Microsoft.AspNetCore.Localization; namespace Taskist.Web.Helpers.Common; - public class WorkContext : IWorkContext - { - #region Fields +public class WorkContext : IWorkContext +{ + #region Fields - protected readonly IAuthenticationService _authenticationService; - protected readonly IHttpContextAccessor _httpContextAccessor; - protected readonly ILanguageService _languageService; - protected User _cachedUser; - protected Language _cachedLanguage; + protected readonly IAuthenticationService _authenticationService; + protected readonly IHttpContextAccessor _httpContextAccessor; + protected readonly ILanguageService _languageService; + protected User _cachedUser; + protected Language _cachedLanguage; - #endregion Fields + #endregion Fields - #region Ctor + #region Ctor - public WorkContext(IAuthenticationService authenticationService, - IHttpContextAccessor httpContextAccessor, - ILanguageService languageService) - { - _authenticationService = authenticationService; - _httpContextAccessor = httpContextAccessor; - _languageService = languageService; - } + public WorkContext(IAuthenticationService authenticationService, + IHttpContextAccessor httpContextAccessor, + ILanguageService languageService) + { + _authenticationService = authenticationService; + _httpContextAccessor = httpContextAccessor; + _languageService = languageService; + } - #endregion Ctor + #endregion Ctor - #region Methods + #region Methods - public async Task GetCurrentUserAsync() - { - if (_cachedUser != null) - return _cachedUser; + public async Task GetCurrentUserAsync() + { + if (_cachedUser != null) + return _cachedUser; - await SetCurrentUserAsync(); + await SetCurrentUserAsync(); - return _cachedUser; - } + return _cachedUser; + } - public async Task SetCurrentUserAsync(User user = null) - { - if (user == null) - user = await _authenticationService.GetAuthenticatedUserAsync(); + public async Task SetCurrentUserAsync(User? user = null) + { + if (user == null) + user = await _authenticationService.GetAuthenticatedUserAsync(); - if (user != null && !user.Deleted && user.Status == (int)UserStatusEnum.Active) - { - SetUserCookie(user.Code); - _cachedUser = user; - } - } + if (user != null && !user.Deleted && user.Status == (int)UserStatusEnum.Active) + { + SetUserCookie(user.Code); + _cachedUser = user; + } + } - public virtual async Task GetCurrentUserLanguageAsync() - { - if (_cachedLanguage != null) - return _cachedLanguage; + public virtual async Task GetCurrentUserLanguageAsync() + { + if (_cachedLanguage != null) + return _cachedLanguage; - var user = await GetCurrentUserAsync(); + var user = await GetCurrentUserAsync(); - var currentLanguageId = user.LanguageId; - var allStoreLanguages = await _languageService.GetAllAsync(); + var currentLanguageId = user.LanguageId; + var allStoreLanguages = await _languageService.GetAllAsync(); - var detectedLanguage = allStoreLanguages.FirstOrDefault(language => language.Id == currentLanguageId); + var detectedLanguage = allStoreLanguages.FirstOrDefault(language => language.Id == currentLanguageId); - SetLanguageCookie(detectedLanguage); + SetLanguageCookie(detectedLanguage); - _cachedLanguage = detectedLanguage; + _cachedLanguage = detectedLanguage; - return _cachedLanguage; - } + return _cachedLanguage; + } - #endregion + #endregion - #region Helper + #region Helper - protected void SetUserCookie(Guid code) - { - if (_httpContextAccessor.HttpContext?.Response?.HasStarted ?? true) - return; + protected void SetUserCookie(Guid code) + { + if (_httpContextAccessor.HttpContext?.Response?.HasStarted ?? true) + return; - //delete current cookie value - var cookieName = WebConstant.UserCookie; - _httpContextAccessor.HttpContext.Response.Cookies.Delete(cookieName); + //delete current cookie value + var cookieName = WebConstant.UserCookie; + _httpContextAccessor.HttpContext.Response.Cookies.Delete(cookieName); - //get date of cookie expiration - var cookieExpires = WebConstant.UserCookieExpires; - var cookieExpiresDate = DateTime.Now.AddHours(cookieExpires); + //get date of cookie expiration + var cookieExpires = WebConstant.UserCookieExpires; + var cookieExpiresDate = DateTime.Now.AddHours(cookieExpires); - //if passed guid is empty set cookie as expired - if (code == Guid.Empty) - cookieExpiresDate = DateTime.Now.AddMonths(-1); + //if passed guid is empty set cookie as expired + if (code == Guid.Empty) + cookieExpiresDate = DateTime.Now.AddMonths(-1); - //set new cookie value - var options = new CookieOptions - { - HttpOnly = true, - Expires = cookieExpiresDate, - // Secure = _webHelper.IsCurrentConnectionSecured() - }; + //set new cookie value + var options = new CookieOptions + { + HttpOnly = true, + Expires = cookieExpiresDate, + // Secure = _webHelper.IsCurrentConnectionSecured() + }; - _httpContextAccessor.HttpContext.Response.Cookies.Append(cookieName, code.ToString(), options); - } + _httpContextAccessor.HttpContext.Response.Cookies.Append(cookieName, code.ToString(), options); + } - protected virtual void SetLanguageCookie(Language language) - { - if (_httpContextAccessor.HttpContext?.Response?.HasStarted ?? true) - return; + protected virtual void SetLanguageCookie(Language language) + { + if (_httpContextAccessor.HttpContext?.Response?.HasStarted ?? true) + return; - //delete current cookie value - var cookieName = WebConstant.CultureCookie; - _httpContextAccessor.HttpContext.Response.Cookies.Delete(cookieName); + //delete current cookie value + var cookieName = WebConstant.CultureCookie; + _httpContextAccessor.HttpContext.Response.Cookies.Delete(cookieName); - if (string.IsNullOrEmpty(language?.LanguageCulture)) - return; + if (string.IsNullOrEmpty(language?.LanguageCulture)) + return; - //set new cookie value - var value = CookieRequestCultureProvider.MakeCookieValue(new RequestCulture(language.LanguageCulture)); - var options = new CookieOptions { Expires = DateTimeOffset.UtcNow.AddYears(1) }; - _httpContextAccessor.HttpContext.Response.Cookies.Append(cookieName, value, options); - } + //set new cookie value + var value = CookieRequestCultureProvider.MakeCookieValue(new RequestCulture(language.LanguageCulture)); + var options = new CookieOptions { Expires = DateTimeOffset.UtcNow.AddYears(1) }; + _httpContextAccessor.HttpContext.Response.Cookies.Append(cookieName, value, options); + } - #endregion - } \ No newline at end of file + #endregion +} \ No newline at end of file diff --git a/src/Presentation/Taskist.Web/Helpers/Filters/HangfireAuthorizationFilter.cs b/src/Presentation/Taskist.Web/Helpers/Filters/HangfireAuthorizationFilter.cs index fbcdeff..1bbb1d4 100644 --- a/src/Presentation/Taskist.Web/Helpers/Filters/HangfireAuthorizationFilter.cs +++ b/src/Presentation/Taskist.Web/Helpers/Filters/HangfireAuthorizationFilter.cs @@ -1,42 +1,41 @@ using Taskist.Service.Authentication; using Hangfire.Dashboard; -namespace Taskist.Web.Helpers.Filters -{ - public class HangfireAuthorizationFilter : IDashboardAuthorizationFilter - { - #region Fields +namespace Taskist.Web.Helpers.Filters; - protected readonly IAuthenticationService _authenticationService; +public class HangfireAuthorizationFilter : IDashboardAuthorizationFilter +{ + #region Fields - #endregion + protected readonly IAuthenticationService _authenticationService; - #region Ctor + #endregion - public HangfireAuthorizationFilter(IAuthenticationService authenticationService) - { - _authenticationService = authenticationService; - } + #region Ctor - #endregion + public HangfireAuthorizationFilter(IAuthenticationService authenticationService) + { + _authenticationService = authenticationService; + } - #region Methods + #endregion - public bool Authorize(DashboardContext context) - { - var httpContext = context.GetHttpContext(); + #region Methods - var user = _authenticationService.GetAuthenticatedUserAsync().Result; - if (user.UserRoles.Any(x => x.SystemName == "SystemAdministrator")) - return true; + public bool Authorize(DashboardContext context) + { + var httpContext = context.GetHttpContext(); - httpContext.Response.StatusCode = StatusCodes.Status404NotFound; - httpContext.Response.ContentType = "text/html"; - httpContext.Response.WriteAsync("

404 - Page Not Found

You do not have access to the Hangfire dashboard.

"); + var user = _authenticationService.GetAuthenticatedUserAsync().Result; + if (user.UserRoles.Any(x => x.SystemName == "SystemAdministrator")) + return true; - return false; - } + httpContext.Response.StatusCode = StatusCodes.Status404NotFound; + httpContext.Response.ContentType = "text/html"; + httpContext.Response.WriteAsync("

404 - Page Not Found

You do not have access to the Hangfire dashboard.

"); - #endregion + return false; } + + #endregion } diff --git a/src/Presentation/Taskist.Web/Helpers/Mapping/AutoMapperProfile.cs b/src/Presentation/Taskist.Web/Helpers/Mapping/AutoMapperProfile.cs index f4b7b23..f3df26c 100644 --- a/src/Presentation/Taskist.Web/Helpers/Mapping/AutoMapperProfile.cs +++ b/src/Presentation/Taskist.Web/Helpers/Mapping/AutoMapperProfile.cs @@ -8,63 +8,63 @@ using Taskist.Web.Models.Users; using Taskist.Web.Models.WorkItems; -namespace Taskist.Web.Helpers.Mapping +namespace Taskist.Web.Helpers.Mapping; + +public class AutoMapperProfile : Profile { - public class AutoMapperProfile : Profile + public AutoMapperProfile() { - public AutoMapperProfile() - { - #region Masters + #region Masters - CreateMap().ReverseMap(); - CreateMap().ReverseMap(); - CreateMap().ReverseMap(); - CreateMap().ReverseMap(); - CreateMap().ReverseMap(); - CreateMap().ReverseMap(); - CreateMap().ReverseMap(); - CreateMap().ReverseMap(); - CreateMap().ReverseMap(); - CreateMap().ReverseMap(); - CreateMap().ReverseMap(); - CreateMap().ReverseMap(); - CreateMap().ReverseMap() - .ForMember(dest => dest.Project, act => act.Ignore()); - CreateMap().ReverseMap(); - CreateMap(); - CreateMap() - .ForMember(dest => dest.Module, act => act.Ignore()); + CreateMap().ReverseMap(); + CreateMap().ReverseMap(); + CreateMap().ReverseMap(); + CreateMap().ReverseMap(); + CreateMap().ReverseMap(); + CreateMap().ReverseMap(); + CreateMap().ReverseMap(); + CreateMap().ReverseMap(); + CreateMap().ReverseMap(); + CreateMap().ReverseMap(); + CreateMap().ReverseMap(); + CreateMap().ReverseMap(); + CreateMap().ReverseMap() + .ForMember(dest => dest.Project, act => act.Ignore()); + CreateMap().ReverseMap(); + CreateMap(); + CreateMap() + .ForMember(dest => dest.Module, act => act.Ignore()); - #endregion + #endregion - #region Localization + #region Localization - CreateMap().ReverseMap(); - CreateMap().ReverseMap(); + CreateMap().ReverseMap(); + CreateMap().ReverseMap(); - #endregion + #endregion - #region Users + #region Users - CreateMap().ReverseMap() - .ForMember(dest => dest.Code, act => act.Ignore()); - CreateMap().ReverseMap(); - CreateMap().ReverseMap(); - CreateMap().ReverseMap(); + CreateMap().ReverseMap() + .ForMember(dest => dest.Code, act => act.Ignore()); + CreateMap().ReverseMap(); + CreateMap().ReverseMap(); + CreateMap().ReverseMap(); + CreateMap().ReverseMap(); - #endregion + #endregion - #region Work Items + #region Work Items - CreateMap().ReverseMap() - .ForMember(dest => dest.Code, act => act.Ignore()) - .ForMember(dest => dest.AssigneeId, opt => opt.MapFrom(src => src.AssigneeId == -1 ? (int?)null : src.AssigneeId)); + CreateMap().ReverseMap() + .ForMember(dest => dest.Code, act => act.Ignore()) + .ForMember(dest => dest.AssigneeId, opt => opt.MapFrom(src => src.AssigneeId == -1 ? (int?)null : src.AssigneeId)); - CreateMap().ReverseMap(); - CreateMap(); - CreateMap().ReverseMap(); + CreateMap().ReverseMap(); + CreateMap(); + CreateMap().ReverseMap(); - #endregion - } + #endregion } } diff --git a/src/Presentation/Taskist.Web/Helpers/Validators/Users/ChangePasswordValidator.cs b/src/Presentation/Taskist.Web/Helpers/Validators/Users/ChangePasswordValidator.cs new file mode 100644 index 0000000..7136843 --- /dev/null +++ b/src/Presentation/Taskist.Web/Helpers/Validators/Users/ChangePasswordValidator.cs @@ -0,0 +1,39 @@ +using FluentValidation; +using Taskist.Core.Common; +using Taskist.Service.Localization; +using Taskist.Service.Security; +using Taskist.Service.Users; +using Taskist.Web.Helpers.Extensions; +using Taskist.Web.Models.Users; + +namespace Taskist.Web.Helpers.Validators.Users; + +public class ChangePasswordValidator : AbstractValidator +{ + public ChangePasswordValidator(IUserService userService, + IWorkContext workContext, + IEncryptionService encryptionService, + ILocalizationService localizationService) + { + RuleFor(r => r.CurrentPassword) + .NotEmpty().WithMessageAwait(localizationService.GetResourceAsync("ChangePasswordModel.CurrentPassword.RequiredMsg")) + .MaximumLength(250).WithMessageAwait(localizationService.GetResourceAsync("ChangePasswordModel.CurrentPassword.MaxLengthMsg")) + .MustAwait(async (x, context) => + { + var user = await workContext.GetCurrentUserAsync(); + var activePassword = await userService.GetCurrentPasswordAsync(user.Id); + + var enteredPassword = encryptionService.CreatePasswordHash(x.CurrentPassword, activePassword.PasswordSalt); + return activePassword.Password.Equals(enteredPassword); + }).WithMessageAwait(localizationService.GetResourceAsync("ChangePasswordModel.CurrentPassword.NotMatchMsg")); + + RuleFor(r => r.NewPassword) + .NotEmpty().WithMessageAwait(localizationService.GetResourceAsync("ChangePasswordModel.NewPassword.RequiredMsg")) + .MaximumLength(50).WithMessageAwait(localizationService.GetResourceAsync("ChangePasswordModel.NewPassword.MaxLengthMsg")); + + RuleFor(r => r.ConfirmPassword) + .NotEmpty().WithMessageAwait(localizationService.GetResourceAsync("ChangePasswordModel.ConfirmPassword.RequiredMsg")) + .MaximumLength(50).WithMessageAwait(localizationService.GetResourceAsync("ChangePasswordModel.ConfirmPassword.MaxLengthMsg")) + .Equal(x => x.NewPassword).WithMessageAwait(localizationService.GetResourceAsync("ChangePasswordModel.ConfirmPassword.NotMatchMsg")); + } +} \ No newline at end of file diff --git a/src/Presentation/Taskist.Web/Helpers/Validators/Users/ProfileDetailValidator.cs b/src/Presentation/Taskist.Web/Helpers/Validators/Users/ProfileDetailValidator.cs new file mode 100644 index 0000000..590efae --- /dev/null +++ b/src/Presentation/Taskist.Web/Helpers/Validators/Users/ProfileDetailValidator.cs @@ -0,0 +1,45 @@ +using FluentValidation; +using Taskist.Service.Localization; +using Taskist.Service.Users; +using Taskist.Web.Helpers.Extensions; +using Taskist.Web.Models.Users; + +namespace Taskist.Web.Helpers.Validators.Users; + +public class ProfileDetailValidator : AbstractValidator +{ + public ProfileDetailValidator(IUserService userService, + ILocalizationService localizationService) + { + RuleFor(r => r.FirstName) + .NotEmpty().WithMessageAwait(localizationService.GetResourceAsync("ProfileDetailModel.FirstName.RequiredMsg")) + .MaximumLength(50).WithMessageAwait(localizationService.GetResourceAsync("ProfileDetailModel.FirstName.MaxLengthMsg")); + + RuleFor(r => r.LastName) + .NotEmpty().WithMessageAwait(localizationService.GetResourceAsync("ProfileDetailModel.LastName.RequiredMsg")) + .MaximumLength(50).WithMessageAwait(localizationService.GetResourceAsync("ProfileDetailModel.LastName.MaxLengthMsg")); + + RuleFor(r => r.Email) + .NotEmpty().WithMessageAwait(localizationService.GetResourceAsync("ProfileDetailModel.Email.RequiredMsg")) + .MaximumLength(250).WithMessageAwait(localizationService.GetResourceAsync("ProfileDetailModel.Email.MaxLengthMsg")) + .EmailAddress().WithMessageAwait(localizationService.GetResourceAsync("ProfileDetailModel.Email.InvalidMsg")) + .MustAwait(async (x, context) => + { + if (x.Id > 0) + { + var editedEntity = await userService.GetByEmailAsync(x.Email); + return (editedEntity != null) && (editedEntity.Email == x.Email); + } + var entity = await userService.GetByEmailAsync(x.Email); + return entity == null; + }).WithMessageAwait(localizationService.GetResourceAsync("ProfileDetailModel.Email.UniqueMsg")); + + RuleFor(r => r.GenderId) + .NotEmpty().WithMessageAwait(localizationService.GetResourceAsync("ProfileDetailModel.Gender.RequiredMsg")) + .GreaterThan(0).WithMessageAwait(localizationService.GetResourceAsync("ProfileDetailModel.Gender.RequiredMsg")); + + RuleFor(r => r.LanguageId) + .NotEmpty().WithMessageAwait(localizationService.GetResourceAsync("ProfileDetailModel.Language.RequiredMsg")) + .GreaterThan(0).WithMessageAwait(localizationService.GetResourceAsync("ProfileDetailModel.Language.RequiredMsg")); + } +} \ No newline at end of file diff --git a/src/Presentation/Taskist.Web/Helpers/Validators/WorkItems/BacklogTaskValidator.cs b/src/Presentation/Taskist.Web/Helpers/Validators/WorkItems/BacklogTaskValidator.cs index 50ff6cb..6d42eaf 100644 --- a/src/Presentation/Taskist.Web/Helpers/Validators/WorkItems/BacklogTaskValidator.cs +++ b/src/Presentation/Taskist.Web/Helpers/Validators/WorkItems/BacklogTaskValidator.cs @@ -4,31 +4,30 @@ using Taskist.Web.Helpers.Extensions; using Taskist.Web.Models.WorkItems; -namespace Taskist.Web.Helpers.Validators.WorkItems +namespace Taskist.Web.Helpers.Validators.WorkItems; + +public class BacklogTaskValidator : AbstractValidator { - public class BacklogTaskValidator : AbstractValidator + public BacklogTaskValidator(IWorkContext workContext, + ILocalizationService localizationService) { - public BacklogTaskValidator(IWorkContext workContext, - ILocalizationService localizationService) - { - RuleFor(r => r.Title) - .NotEmpty().WithMessageAwait(localizationService.GetResourceAsync("BacklogTaskModel.Title.RequiredMsg")) - .MaximumLength(500).WithMessageAwait(localizationService.GetResourceAsync("BacklogTaskModel.Title.MaxLengthMsg")); + RuleFor(r => r.Title) + .NotEmpty().WithMessageAwait(localizationService.GetResourceAsync("BacklogTaskModel.Title.RequiredMsg")) + .MaximumLength(500).WithMessageAwait(localizationService.GetResourceAsync("BacklogTaskModel.Title.MaxLengthMsg")); - RuleFor(r => r.ModuleId) - .NotEmpty().WithMessageAwait(localizationService.GetResourceAsync("BacklogTaskModel.Module.RequiredMsg")); + RuleFor(r => r.ModuleId) + .NotEmpty().WithMessageAwait(localizationService.GetResourceAsync("BacklogTaskModel.Module.RequiredMsg")); - RuleFor(r => r.SubModuleId) - .NotEmpty().WithMessageAwait(localizationService.GetResourceAsync("BacklogTaskModel.SubModule.RequiredMsg")); + RuleFor(r => r.SubModuleId) + .NotEmpty().WithMessageAwait(localizationService.GetResourceAsync("BacklogTaskModel.SubModule.RequiredMsg")); - RuleFor(r => r.TaskTypeId) - .NotNull().WithMessageAwait(localizationService.GetResourceAsync("BacklogTaskModel.TaskType.RequiredMsg")); + RuleFor(r => r.TaskTypeId) + .NotNull().WithMessageAwait(localizationService.GetResourceAsync("BacklogTaskModel.TaskType.RequiredMsg")); - RuleFor(r => r.SeverityId) - .NotNull().WithMessageAwait(localizationService.GetResourceAsync("BacklogTaskModel.Severity.RequiredMsg")); + RuleFor(r => r.SeverityId) + .NotNull().WithMessageAwait(localizationService.GetResourceAsync("BacklogTaskModel.Severity.RequiredMsg")); - RuleFor(r => r.StatusId) - .NotNull().WithMessageAwait(localizationService.GetResourceAsync("BacklogTaskModel.Status.RequiredMsg")); - } + RuleFor(r => r.StatusId) + .NotNull().WithMessageAwait(localizationService.GetResourceAsync("BacklogTaskModel.Status.RequiredMsg")); } } \ No newline at end of file diff --git a/src/Presentation/Taskist.Web/Models/Masters/CustomFieldModel.cs b/src/Presentation/Taskist.Web/Models/Masters/CustomFieldModel.cs index f0081e1..ed3fdb8 100644 --- a/src/Presentation/Taskist.Web/Models/Masters/CustomFieldModel.cs +++ b/src/Presentation/Taskist.Web/Models/Masters/CustomFieldModel.cs @@ -2,63 +2,62 @@ using Taskist.Web.Helpers.Attributes; using Taskist.Web.Models.Common; -namespace Taskist.Web.Models.Masters +namespace Taskist.Web.Models.Masters; + +public class CustomFieldModel : BaseModel { - public class CustomFieldModel : BaseModel + public CustomFieldModel() { - public CustomFieldModel() + AvailableColumnClasses = []; + for (var i = 1; i <= 12; i++) { - AvailableColumnClasses = []; - for (var i = 1; i <= 12; i++) + AvailableColumnClasses.Add(new SelectListItem { - AvailableColumnClasses.Add(new SelectListItem - { - Value = i.ToString(), - Text = $"{i} column" - }); - } + Value = i.ToString(), + Text = $"{i} column" + }); } + } - [LocalizedDisplayName("CustomFieldModel.Label")] - public string Label { get; set; } + [LocalizedDisplayName("CustomFieldModel.Label")] + public string Label { get; set; } - [LocalizedDisplayName("CustomFieldModel.ResourceKey")] - public string ResourceKey { get; set; } + [LocalizedDisplayName("CustomFieldModel.ResourceKey")] + public string ResourceKey { get; set; } - [LocalizedDisplayName("CustomFieldModel.FieldType")] - public int FieldType { get; set; } + [LocalizedDisplayName("CustomFieldModel.FieldType")] + public int FieldType { get; set; } - [LocalizedDisplayName("CustomFieldModel.Options")] - public string? Options { get; set; } + [LocalizedDisplayName("CustomFieldModel.Options")] + public string? Options { get; set; } - [LocalizedDisplayName("CustomFieldModel.Mandatory")] - public bool Mandatory { get; set; } + [LocalizedDisplayName("CustomFieldModel.Mandatory")] + public bool Mandatory { get; set; } - [LocalizedDisplayName("CustomFieldModel.ColumnClass")] - public int ColumnClass { get; set; } + [LocalizedDisplayName("CustomFieldModel.ColumnClass")] + public int ColumnClass { get; set; } - [LocalizedDisplayName("CustomFieldModel.Placement")] - public int Placement { get; set; } + [LocalizedDisplayName("CustomFieldModel.Placement")] + public int Placement { get; set; } - public int ProjectId { get; set; } + public int ProjectId { get; set; } - public string ProjectName { get; set; } + public string ProjectName { get; set; } - public IList AvailableColumnClasses { get; set; } - } + public IList AvailableColumnClasses { get; set; } +} - public class CustomFieldGridModel : BaseModel - { - public string Label { get; set; } +public class CustomFieldGridModel : BaseModel +{ + public string Label { get; set; } - public string ResourceKey { get; set; } + public string ResourceKey { get; set; } - public string FieldType { get; set; } + public string FieldType { get; set; } - public bool Mandatory { get; set; } + public bool Mandatory { get; set; } - public string ColumnClass { get; set; } + public string ColumnClass { get; set; } - public string Placement { get; set; } - } + public string Placement { get; set; } } diff --git a/src/Presentation/Taskist.Web/Models/Masters/CustomFieldRenderModel.cs b/src/Presentation/Taskist.Web/Models/Masters/CustomFieldRenderModel.cs index 0923f4c..aa7053c 100644 --- a/src/Presentation/Taskist.Web/Models/Masters/CustomFieldRenderModel.cs +++ b/src/Presentation/Taskist.Web/Models/Masters/CustomFieldRenderModel.cs @@ -1,21 +1,20 @@ using Taskist.Web.Models.Common; -namespace Taskist.Web.Models.Masters +namespace Taskist.Web.Models.Masters; + +public class CustomFieldRenderModel : BaseModel { - public class CustomFieldRenderModel : BaseModel - { - public string Label { get; set; } + public string Label { get; set; } - public string ResourceKey { get; set; } + public string ResourceKey { get; set; } - public int FieldType { get; set; } + public int FieldType { get; set; } - public string? Options { get; set; } + public string? Options { get; set; } - public bool Mandatory { get; set; } + public bool Mandatory { get; set; } - public int ColumnClass { get; set; } + public int ColumnClass { get; set; } - public int Placement { get; set; } - } + public int Placement { get; set; } } diff --git a/src/Presentation/Taskist.Web/Models/Masters/CustomFieldValueModel.cs b/src/Presentation/Taskist.Web/Models/Masters/CustomFieldValueModel.cs index eb0056e..b26779c 100644 --- a/src/Presentation/Taskist.Web/Models/Masters/CustomFieldValueModel.cs +++ b/src/Presentation/Taskist.Web/Models/Masters/CustomFieldValueModel.cs @@ -1,11 +1,10 @@ -namespace Taskist.Web.Models.Masters +namespace Taskist.Web.Models.Masters; + +public class CustomFieldValueModel { - public class CustomFieldValueModel - { - public int BacklogTaskId { get; set; } + public int BacklogTaskId { get; set; } - public int CustomFieldId { get; set; } + public int CustomFieldId { get; set; } - public string Value { get; set; } - } + public string Value { get; set; } } diff --git a/src/Presentation/Taskist.Web/Models/Masters/CustomFieldsViewModel.cs b/src/Presentation/Taskist.Web/Models/Masters/CustomFieldsViewModel.cs index ed35def..f518ae5 100644 --- a/src/Presentation/Taskist.Web/Models/Masters/CustomFieldsViewModel.cs +++ b/src/Presentation/Taskist.Web/Models/Masters/CustomFieldsViewModel.cs @@ -1,17 +1,16 @@ -namespace Taskist.Web.Models.Masters +namespace Taskist.Web.Models.Masters; + +public class CustomFieldsViewModel { - public class CustomFieldsViewModel + public CustomFieldsViewModel() { - public CustomFieldsViewModel() - { - CustomFields = []; - Values = []; - } + CustomFields = []; + Values = []; + } - public int BacklogId { get; set; } + public int BacklogId { get; set; } - public List CustomFields { get; set; } + public List CustomFields { get; set; } - public List Values { get; set; } - } + public List Values { get; set; } } diff --git a/src/Presentation/Taskist.Web/Models/Users/ChangePasswordModel.cs b/src/Presentation/Taskist.Web/Models/Users/ChangePasswordModel.cs new file mode 100644 index 0000000..a016c75 --- /dev/null +++ b/src/Presentation/Taskist.Web/Models/Users/ChangePasswordModel.cs @@ -0,0 +1,19 @@ +using System.ComponentModel.DataAnnotations; +using Taskist.Web.Helpers.Attributes; + +namespace Taskist.Web.Models.Users; + +public class ChangePasswordModel +{ + [LocalizedDisplayName("ChangePasswordModel.CurrentPassword")] + [DataType(DataType.Password)] + public string CurrentPassword { get; set; } + + [LocalizedDisplayName("ChangePasswordModel.NewPassword")] + [DataType(DataType.Password)] + public string NewPassword { get; set; } + + [LocalizedDisplayName("ChangePasswordModel.ConfirmNewPassword")] + [DataType(DataType.Password)] + public string ConfirmPassword { get; set; } +} diff --git a/src/Presentation/Taskist.Web/Models/Users/ProfileModel.cs b/src/Presentation/Taskist.Web/Models/Users/ProfileModel.cs index 9729d92..cdfecd0 100644 --- a/src/Presentation/Taskist.Web/Models/Users/ProfileModel.cs +++ b/src/Presentation/Taskist.Web/Models/Users/ProfileModel.cs @@ -1,7 +1,6 @@ using Microsoft.AspNetCore.Mvc.Rendering; -using System; -using System.Collections.Generic; -using System.ComponentModel.DataAnnotations; +using Taskist.Web.Helpers.Attributes; +using Taskist.Web.Models.Common; namespace Taskist.Web.Models.Users; @@ -9,64 +8,47 @@ public class ProfileModel { public ProfileModel() { - AvailableGenders = new List { - new SelectListItem { Value = "1", Text = "Male" }, - new SelectListItem { Value = "2", Text = "Female" } - }; + Detail = new ProfileDetailModel(); + Password = new ChangePasswordModel(); } - [ScaffoldColumn(false)] - public int Id { get; set; } - - [Display(Name = "First Name")] - [Required(ErrorMessage = "First name is required")] - public string FirstName { get; set; } - - [Display(Name = "Last Name")] - [Required(ErrorMessage = "Last name is required")] - public string LastName { get; set; } - - [Display(Name = "Mobile Number")] - public string MobileNumber { get; set; } - - [Display(Name = "Email")] - public string Email { get; set; } - - [Display(Name = "Gender")] - public int? Gender { get; set; } + public ProfileDetailModel Detail { get; set; } - [Display(Name = "Date Of Birth")] - public DateTime? DateOfBirth { get; set; } + public ChangePasswordModel Password { get; set; } - [ScaffoldColumn(false)] - public string DateOfBirthString { get; set; } + public int AvatarVersion { get; set; } - [Display(Name = "Communication Address")] - public string Address { get; set; } + public string DisplayName { get; set; } +} - [Display(Name = "About Me")] - public string Introduction { get; set; } +public class ProfileDetailModel : BaseModel +{ + public ProfileDetailModel() + { + AvailableGenders = [ + new SelectListItem { Value = "1", Text = "Male" }, + new SelectListItem { Value = "2", Text = "Female" } + ]; - [Display(Name = "Facebook")] - [RegularExpression(@"((?:https?\:\/\/|\/.)(?:[-a-z0-9]+\.)*[-a-z0-9]+.*)", ErrorMessage = "Provide a valid url")] - public string FaceBookUrl { get; set; } + AvailableLanguages = []; + } - [Display(Name = "Twitter")] - [RegularExpression(@"((?:https?\:\/\/|\/.)(?:[-a-z0-9]+\.)*[-a-z0-9]+.*)", ErrorMessage = "Provide a valid url")] - public string TwitterUrl { get; set; } + [LocalizedDisplayName("ProfileModel.FirstName")] + public string FirstName { get; set; } - [Display(Name = "LinkedIn")] - [RegularExpression(@"((?:https?\:\/\/|\/.)(?:[-a-z0-9]+\.)*[-a-z0-9]+.*)", ErrorMessage = "Provide a valid url")] - public string LinkedInUrl { get; set; } + [LocalizedDisplayName("ProfileModel.LastName")] + public string LastName { get; set; } - [Display(Name = "Google Scholar")] - [RegularExpression(@"((?:https?\:\/\/|\/.)(?:[-a-z0-9]+\.)*[-a-z0-9]+.*)", ErrorMessage = "Provide a valid url")] - public string GoogleScholarUrl { get; set; } + [LocalizedDisplayName("ProfileModel.Email")] + public string Email { get; set; } - public string Name => $"{FirstName} {LastName}"; + [LocalizedDisplayName("ProfileModel.Gender")] + public int GenderId { get; set; } - public bool HasSocialMediaLinks => !string.IsNullOrEmpty(FaceBookUrl) || !string.IsNullOrEmpty(TwitterUrl) - || !string.IsNullOrEmpty(LinkedInUrl) || !string.IsNullOrEmpty(GoogleScholarUrl); + [LocalizedDisplayName("ProfileModel.Language")] + public int LanguageId { get; set; } public IList AvailableGenders { get; set; } + + public IList AvailableLanguages { get; set; } } \ No newline at end of file diff --git a/src/Presentation/Taskist.Web/Taskist.Web.csproj b/src/Presentation/Taskist.Web/Taskist.Web.csproj index 8eab2c8..3bf4de7 100644 --- a/src/Presentation/Taskist.Web/Taskist.Web.csproj +++ b/src/Presentation/Taskist.Web/Taskist.Web.csproj @@ -9,6 +9,17 @@ 1.0 + + + + + + + + + + + diff --git a/src/Presentation/Taskist.Web/Views/Client/Create.cshtml b/src/Presentation/Taskist.Web/Views/Client/Create.cshtml index 8d4bf74..ed66aa2 100644 --- a/src/Presentation/Taskist.Web/Views/Client/Create.cshtml +++ b/src/Presentation/Taskist.Web/Views/Client/Create.cshtml @@ -3,7 +3,8 @@ Layout = "~/Views/Shared/_LayoutPartial.cshtml"; } -
+ @await Html.PartialAsync("_Form", Model) \ No newline at end of file diff --git a/src/Presentation/Taskist.Web/Views/Client/Edit.cshtml b/src/Presentation/Taskist.Web/Views/Client/Edit.cshtml index dd8e477..70b5532 100644 --- a/src/Presentation/Taskist.Web/Views/Client/Edit.cshtml +++ b/src/Presentation/Taskist.Web/Views/Client/Edit.cshtml @@ -3,7 +3,8 @@ Layout = "~/Views/Shared/_LayoutPartial.cshtml"; } -
+ @await Html.PartialAsync("_Form", Model) \ No newline at end of file diff --git a/src/Presentation/Taskist.Web/Views/EmailAccount/Create.cshtml b/src/Presentation/Taskist.Web/Views/EmailAccount/Create.cshtml index 6b0c267..7bd56d1 100644 --- a/src/Presentation/Taskist.Web/Views/EmailAccount/Create.cshtml +++ b/src/Presentation/Taskist.Web/Views/EmailAccount/Create.cshtml @@ -3,7 +3,8 @@ Layout = "~/Views/Shared/_LayoutPartial.cshtml"; } -
+ @await Html.PartialAsync("_Form", Model) \ No newline at end of file diff --git a/src/Presentation/Taskist.Web/Views/EmailAccount/Edit.cshtml b/src/Presentation/Taskist.Web/Views/EmailAccount/Edit.cshtml index 24e3bcb..22ac63d 100644 --- a/src/Presentation/Taskist.Web/Views/EmailAccount/Edit.cshtml +++ b/src/Presentation/Taskist.Web/Views/EmailAccount/Edit.cshtml @@ -3,7 +3,8 @@ Layout = "~/Views/Shared/_LayoutPartial.cshtml"; } -
+ @await Html.PartialAsync("_Form", Model) \ No newline at end of file diff --git a/src/Presentation/Taskist.Web/Views/EmailTemplate/Edit.cshtml b/src/Presentation/Taskist.Web/Views/EmailTemplate/Edit.cshtml index 219bd66..4de60e0 100644 --- a/src/Presentation/Taskist.Web/Views/EmailTemplate/Edit.cshtml +++ b/src/Presentation/Taskist.Web/Views/EmailTemplate/Edit.cshtml @@ -3,7 +3,8 @@ Layout = "~/Views/Shared/_LayoutPartial.cshtml"; } -
+ @await Html.PartialAsync("_Form", Model) \ No newline at end of file diff --git a/src/Presentation/Taskist.Web/Views/LocaleResource/Create.cshtml b/src/Presentation/Taskist.Web/Views/LocaleResource/Create.cshtml index 5b0c356..2ab3549 100644 --- a/src/Presentation/Taskist.Web/Views/LocaleResource/Create.cshtml +++ b/src/Presentation/Taskist.Web/Views/LocaleResource/Create.cshtml @@ -3,7 +3,8 @@ Layout = "~/Views/Shared/_LayoutPartial.cshtml"; } -
+ @await Html.PartialAsync("_Form", Model) \ No newline at end of file diff --git a/src/Presentation/Taskist.Web/Views/LocaleResource/Edit.cshtml b/src/Presentation/Taskist.Web/Views/LocaleResource/Edit.cshtml index f463443..07953db 100644 --- a/src/Presentation/Taskist.Web/Views/LocaleResource/Edit.cshtml +++ b/src/Presentation/Taskist.Web/Views/LocaleResource/Edit.cshtml @@ -3,7 +3,8 @@ Layout = "~/Views/Shared/_LayoutPartial.cshtml"; } -
+ @await Html.PartialAsync("_Form", Model) \ No newline at end of file diff --git a/src/Presentation/Taskist.Web/Views/Module/Create.cshtml b/src/Presentation/Taskist.Web/Views/Module/Create.cshtml index b6f0ac4..706d90f 100644 --- a/src/Presentation/Taskist.Web/Views/Module/Create.cshtml +++ b/src/Presentation/Taskist.Web/Views/Module/Create.cshtml @@ -3,7 +3,8 @@ Layout = "~/Views/Shared/_LayoutPartial.cshtml"; } -
+ @await Html.PartialAsync("_Form", Model) \ No newline at end of file diff --git a/src/Presentation/Taskist.Web/Views/Module/Edit.cshtml b/src/Presentation/Taskist.Web/Views/Module/Edit.cshtml index 21c2dbb..ee62ebe 100644 --- a/src/Presentation/Taskist.Web/Views/Module/Edit.cshtml +++ b/src/Presentation/Taskist.Web/Views/Module/Edit.cshtml @@ -3,7 +3,8 @@ Layout = "~/Views/Shared/_LayoutPartial.cshtml"; } -
+ @await Html.PartialAsync("_Form", Model) \ No newline at end of file diff --git a/src/Presentation/Taskist.Web/Views/Profile/Edit.cshtml b/src/Presentation/Taskist.Web/Views/Profile/Edit.cshtml new file mode 100644 index 0000000..d698444 --- /dev/null +++ b/src/Presentation/Taskist.Web/Views/Profile/Edit.cshtml @@ -0,0 +1,177 @@ +@model ProfileModel + +@{ + Layout = "~/Views/Shared/_LayoutPartial.cshtml"; +} + + +
+
+ @Model.DisplayName +
+
+
+ + +
+
+
+ +
+
+ +
+
+ +
+
+ + + + + \ No newline at end of file diff --git a/src/Presentation/Taskist.Web/Views/Profile/_ChangePasswordForm.cshtml b/src/Presentation/Taskist.Web/Views/Profile/_ChangePasswordForm.cshtml new file mode 100644 index 0000000..2310bd9 --- /dev/null +++ b/src/Presentation/Taskist.Web/Views/Profile/_ChangePasswordForm.cshtml @@ -0,0 +1,37 @@ +@model ChangePasswordModel +
+
+
+
+ + + +
+
+
+
+
+
+ + + +
+
+
+
+ + + +
+
+
+
+ + +
+
\ No newline at end of file diff --git a/src/Presentation/Taskist.Web/Views/Profile/_ProfileDetailForm.cshtml b/src/Presentation/Taskist.Web/Views/Profile/_ProfileDetailForm.cshtml new file mode 100644 index 0000000..e61ec78 --- /dev/null +++ b/src/Presentation/Taskist.Web/Views/Profile/_ProfileDetailForm.cshtml @@ -0,0 +1,50 @@ +@model ProfileDetailModel +
+ +
+
+
+ + + +
+
+
+
+ + + +
+
+
+
+ + + +
+
+
+
+ + + +
+
+
+
+ + + +
+
+
+
+ + +
+
\ No newline at end of file diff --git a/src/Presentation/Taskist.Web/Views/Reporter/Create.cshtml b/src/Presentation/Taskist.Web/Views/Reporter/Create.cshtml index eff3f7a..bc88c45 100644 --- a/src/Presentation/Taskist.Web/Views/Reporter/Create.cshtml +++ b/src/Presentation/Taskist.Web/Views/Reporter/Create.cshtml @@ -3,7 +3,8 @@ Layout = "~/Views/Shared/_LayoutPartial.cshtml"; } -
+ @await Html.PartialAsync("_Form", Model) \ No newline at end of file diff --git a/src/Presentation/Taskist.Web/Views/Reporter/Edit.cshtml b/src/Presentation/Taskist.Web/Views/Reporter/Edit.cshtml index ba89721..592652e 100644 --- a/src/Presentation/Taskist.Web/Views/Reporter/Edit.cshtml +++ b/src/Presentation/Taskist.Web/Views/Reporter/Edit.cshtml @@ -3,7 +3,8 @@ Layout = "~/Views/Shared/_LayoutPartial.cshtml"; } -
+ @await Html.PartialAsync("_Form", Model) \ No newline at end of file diff --git a/src/Presentation/Taskist.Web/Views/Severity/Create.cshtml b/src/Presentation/Taskist.Web/Views/Severity/Create.cshtml index b60f821..b65a0d0 100644 --- a/src/Presentation/Taskist.Web/Views/Severity/Create.cshtml +++ b/src/Presentation/Taskist.Web/Views/Severity/Create.cshtml @@ -3,7 +3,8 @@ Layout = "~/Views/Shared/_LayoutPartial.cshtml"; } -
+ @await Html.PartialAsync("_Form", Model) \ No newline at end of file diff --git a/src/Presentation/Taskist.Web/Views/Severity/Edit.cshtml b/src/Presentation/Taskist.Web/Views/Severity/Edit.cshtml index a9655e6..a7913b6 100644 --- a/src/Presentation/Taskist.Web/Views/Severity/Edit.cshtml +++ b/src/Presentation/Taskist.Web/Views/Severity/Edit.cshtml @@ -3,7 +3,8 @@ Layout = "~/Views/Shared/_LayoutPartial.cshtml"; } -
+ @await Html.PartialAsync("_Form", Model) \ No newline at end of file diff --git a/src/Presentation/Taskist.Web/Views/Shared/Sections/_Header.cshtml b/src/Presentation/Taskist.Web/Views/Shared/Sections/_Header.cshtml index 7b5a593..179f81c 100644 --- a/src/Presentation/Taskist.Web/Views/Shared/Sections/_Header.cshtml +++ b/src/Presentation/Taskist.Web/Views/Shared/Sections/_Header.cshtml @@ -1,102 +1,109 @@ @{ - var user = await workContext.GetCurrentUserAsync(); - var avatar = "avatar_male.png"; + var user = await workContext.GetCurrentUserAsync(); }
-
- - - - -
-
- -
-
-
-
- \ No newline at end of file + \ No newline at end of file diff --git a/src/Presentation/Taskist.Web/Views/Sprint/Create.cshtml b/src/Presentation/Taskist.Web/Views/Sprint/Create.cshtml index 509abb7..6c07bfc 100644 --- a/src/Presentation/Taskist.Web/Views/Sprint/Create.cshtml +++ b/src/Presentation/Taskist.Web/Views/Sprint/Create.cshtml @@ -3,7 +3,8 @@ Layout = "~/Views/Shared/_LayoutPartial.cshtml"; } -
+ @await Html.PartialAsync("_Form", Model) \ No newline at end of file diff --git a/src/Presentation/Taskist.Web/Views/Sprint/Edit.cshtml b/src/Presentation/Taskist.Web/Views/Sprint/Edit.cshtml index 0b8f357..4c0a01b 100644 --- a/src/Presentation/Taskist.Web/Views/Sprint/Edit.cshtml +++ b/src/Presentation/Taskist.Web/Views/Sprint/Edit.cshtml @@ -3,7 +3,8 @@ Layout = "~/Views/Shared/_LayoutPartial.cshtml"; } -
+ @await Html.PartialAsync("_Form", Model) \ No newline at end of file diff --git a/src/Presentation/Taskist.Web/Views/Status/Create.cshtml b/src/Presentation/Taskist.Web/Views/Status/Create.cshtml index c906bdf..607134d 100644 --- a/src/Presentation/Taskist.Web/Views/Status/Create.cshtml +++ b/src/Presentation/Taskist.Web/Views/Status/Create.cshtml @@ -3,7 +3,8 @@ Layout = "~/Views/Shared/_LayoutPartial.cshtml"; } -
+ @await Html.PartialAsync("_Form", Model) \ No newline at end of file diff --git a/src/Presentation/Taskist.Web/Views/Status/Edit.cshtml b/src/Presentation/Taskist.Web/Views/Status/Edit.cshtml index a22f795..213cd9b 100644 --- a/src/Presentation/Taskist.Web/Views/Status/Edit.cshtml +++ b/src/Presentation/Taskist.Web/Views/Status/Edit.cshtml @@ -7,12 +7,13 @@
@Localize("StatusPage.SystemDefinedMsg")
} -
+ @await Html.PartialAsync("_Form", Model) @if (!Model.SystemDefined) -{ - -} + { + + } diff --git a/src/Presentation/Taskist.Web/Views/SubModule/Create.cshtml b/src/Presentation/Taskist.Web/Views/SubModule/Create.cshtml index fd01dd8..29a4296 100644 --- a/src/Presentation/Taskist.Web/Views/SubModule/Create.cshtml +++ b/src/Presentation/Taskist.Web/Views/SubModule/Create.cshtml @@ -3,7 +3,8 @@ Layout = "~/Views/Shared/_LayoutPartial.cshtml"; } - + @await Html.PartialAsync("_Form", Model) \ No newline at end of file diff --git a/src/Presentation/Taskist.Web/Views/SubModule/Edit.cshtml b/src/Presentation/Taskist.Web/Views/SubModule/Edit.cshtml index 94cd589..b95406c 100644 --- a/src/Presentation/Taskist.Web/Views/SubModule/Edit.cshtml +++ b/src/Presentation/Taskist.Web/Views/SubModule/Edit.cshtml @@ -3,7 +3,8 @@ Layout = "~/Views/Shared/_LayoutPartial.cshtml"; } -
+ @await Html.PartialAsync("_Form", Model) \ No newline at end of file diff --git a/src/Presentation/Taskist.Web/Views/TaskType/Create.cshtml b/src/Presentation/Taskist.Web/Views/TaskType/Create.cshtml index f6d8d12..a17026b 100644 --- a/src/Presentation/Taskist.Web/Views/TaskType/Create.cshtml +++ b/src/Presentation/Taskist.Web/Views/TaskType/Create.cshtml @@ -3,7 +3,8 @@ Layout = "~/Views/Shared/_LayoutPartial.cshtml"; } -
+ @await Html.PartialAsync("_Form", Model) \ No newline at end of file diff --git a/src/Presentation/Taskist.Web/Views/TaskType/Edit.cshtml b/src/Presentation/Taskist.Web/Views/TaskType/Edit.cshtml index 86ebfbc..9578d8d 100644 --- a/src/Presentation/Taskist.Web/Views/TaskType/Edit.cshtml +++ b/src/Presentation/Taskist.Web/Views/TaskType/Edit.cshtml @@ -3,7 +3,8 @@ Layout = "~/Views/Shared/_LayoutPartial.cshtml"; } -
+ @await Html.PartialAsync("_Form", Model) \ No newline at end of file diff --git a/src/Presentation/Taskist.Web/Views/User/Index.cshtml b/src/Presentation/Taskist.Web/Views/User/Index.cshtml index 32349f9..2023989 100644 --- a/src/Presentation/Taskist.Web/Views/User/Index.cshtml +++ b/src/Presentation/Taskist.Web/Views/User/Index.cshtml @@ -52,7 +52,6 @@ { new ColumnModel { Title = Localize("UserGrid.FirstName").Text, DataColumn = "FirstName" }, new ColumnModel { Title = Localize("UserGrid.LastName").Text, DataColumn = "LastName" }, - new ColumnModel { Title = Localize("UserGrid.Email").Text, DataColumn = "Email" }, - new ColumnModel { Title = Localize("UserGrid.MobileNumber").Text, DataColumn = "MobileNumber" } + new ColumnModel { Title = Localize("UserGrid.Email").Text, DataColumn = "Email" } } }) \ No newline at end of file diff --git a/src/Presentation/Taskist.Web/Views/UserRole/Create.cshtml b/src/Presentation/Taskist.Web/Views/UserRole/Create.cshtml index 5df8d81..5b574ca 100644 --- a/src/Presentation/Taskist.Web/Views/UserRole/Create.cshtml +++ b/src/Presentation/Taskist.Web/Views/UserRole/Create.cshtml @@ -3,7 +3,8 @@ Layout = "~/Views/Shared/_LayoutPartial.cshtml"; } -
+ @await Html.PartialAsync("_Form", Model) \ No newline at end of file diff --git a/src/Presentation/Taskist.Web/Views/UserRole/Edit.cshtml b/src/Presentation/Taskist.Web/Views/UserRole/Edit.cshtml index d5d31fb..5b5fb03 100644 --- a/src/Presentation/Taskist.Web/Views/UserRole/Edit.cshtml +++ b/src/Presentation/Taskist.Web/Views/UserRole/Edit.cshtml @@ -1,19 +1,20 @@ @model UserRoleModel @{ - Layout = "~/Views/Shared/_LayoutPartial.cshtml"; + Layout = "~/Views/Shared/_LayoutPartial.cshtml"; } @if (Model.SystemDefined) { -
@Localize("UserRoleModal.SystemRoleMsg")
+
@Localize("UserRoleModal.SystemRoleMsg")
} -
- @await Html.PartialAsync("_Form", Model) - @if (!Model.SystemDefined) - { - - } - + + @await Html.PartialAsync("_Form", Model) + @if (!Model.SystemDefined) + { + + } +
\ No newline at end of file diff --git a/src/Presentation/Taskist.Web/wwwroot/css/site.css b/src/Presentation/Taskist.Web/wwwroot/css/site.css index 6fc54a8..3fa0eaf 100644 --- a/src/Presentation/Taskist.Web/wwwroot/css/site.css +++ b/src/Presentation/Taskist.Web/wwwroot/css/site.css @@ -1,386 +1,409 @@ .bg-login { - background: url(../../images/login-bg.png) no-repeat center center fixed; - -webkit-background-size: cover; - -moz-background-size: cover; - -o-background-size: cover; - background-size: cover; + background: url(../../images/login-bg.png) no-repeat center center fixed; + -webkit-background-size: cover; + -moz-background-size: cover; + -o-background-size: cover; + background-size: cover; } @media (max-width: 768px) { - .dt-length { - display: none; - } + .dt-length { + display: none; + } } .nav-group.show .nav-group-toggle { - background-color: rgb(49 65 96) !important; + background-color: rgb(49 65 96) !important; } .simplebar-content { - display: flex; - flex-direction: column; - min-height: 100%; + display: flex; + flex-direction: column; + min-height: 100%; } .dataTable a { - text-decoration: none; + text-decoration: none; } - .dataTable a:hover { - color: #0c09f7 !important; - } +.dataTable a:hover { + color: #0c09f7 !important; +} .mandatory-symbol { - color: red; - font-size: 12px; + color: red; + font-size: 12px; } .subheader-title { - padding: var(--cui-header-toggler-padding-y) var(--cui-header-toggler-padding-x); - font-size: 1.25rem; - color: #4770dc; - background-color: var(--cui-header-toggler-bg); - border: 0; - border-radius: var(--cui-header-toggler-border-radius); + padding: var(--cui-header-toggler-padding-y) var(--cui-header-toggler-padding-x); + font-size: 1.25rem; + color: #4770dc; + background-color: var(--cui-header-toggler-bg); + border: 0; + border-radius: var(--cui-header-toggler-border-radius); } .offcanvas-header { - display: flex; - align-items: center; - justify-content: space-between; - padding: 1rem 1rem; + display: flex; + align-items: center; + justify-content: space-between; + padding: 1rem 1rem; } - .offcanvas-header .btn-close { - padding: .5rem .5rem; - margin-top: -.5rem; - margin-right: -.5rem; - margin-bottom: -.5rem; - } +.offcanvas-header .btn-close { + padding: 0.5rem 0.5rem; + margin-top: -0.5rem; + margin-right: -0.5rem; + margin-bottom: -0.5rem; +} .btn-close { - box-sizing: content-box; - width: 1em; - height: 1em; - padding: .25em .25em; - color: #000; - border: 0; - border-radius: .25rem; - opacity: .5; + box-sizing: content-box; + width: 1em; + height: 1em; + padding: 0.25em 0.25em; + color: #000; + border: 0; + border-radius: 0.25rem; + opacity: 0.5; } .validation-summary-errors { - background-color: #f5e9c4; - color: #f72828; - padding: 0.3rem; - border-radius: 6px; - text-align: center; - margin-bottom: 0.5rem; - font-size: 13px; + background-color: #f5e9c4; + color: #f72828; + padding: 0.3rem; + border-radius: 6px; + text-align: center; + margin-bottom: 0.5rem; + font-size: 13px; } - .validation-summary-errors ul { - padding: 0; - margin-bottom: 0; - } +.validation-summary-errors ul { + padding: 0; + margin-bottom: 0; +} - .validation-summary-errors ul li { - list-style: none !important; - } +.validation-summary-errors ul li { + list-style: none !important; +} .validation-errors ul { - margin-bottom: 0; - padding-left: 1.25rem; + margin-bottom: 0; + padding-left: 1.25rem; } - .validation-errors ul li { - list-style: disc !important; - } +.validation-errors ul li { + list-style: disc !important; +} .select2-container .select2-selection--single { - height: calc(2.3rem + 2px); - padding: 0.30rem 0.25rem; - border: 1px solid #ced4da; - border-radius: var(--cui-border-radius); - font-size: 1rem !important; - font-weight: 400; - line-height: 1.5; + height: calc(2.3rem + 2px); + padding: 0.3rem 0.25rem; + border: 1px solid #ced4da; + border-radius: var(--cui-border-radius); + font-size: 1rem !important; + font-weight: 400; + line-height: 1.5; } .select2-container--default .select2-selection--single .select2-selection__arrow { - height: 100%; - right: 0.75rem; + height: 100%; + right: 0.75rem; } .select2-container { - width: 100% !important; + width: 100% !important; } .select2-container--default .select2-selection--multiple { - min-height: 38px; - border: 1px solid #ced4da; - border-radius: 0.25rem; + min-height: 38px; + border: 1px solid #ced4da; + border-radius: 0.25rem; } - .select2-container--default .select2-selection--multiple .select2-selection__choice { - margin-top: 0.28rem !important; - background-color: #afc3f7 !important; - color: #495057; - border: 1px solid #ced4da; - border-radius: 0.2rem; - } +.select2-container--default .select2-selection--multiple .select2-selection__choice { + margin-top: 0.28rem !important; + background-color: #afc3f7 !important; + color: #495057; + border: 1px solid #ced4da; + border-radius: 0.2rem; +} .datepicker { - z-index: 1050 !important; + z-index: 1050 !important; } #canvas-3 { - width: 100%; - height: 300px; + width: 100%; + height: 300px; } .dropzone { - padding: 0; + padding: 0; } - .dropzone .dz-preview .dz-image, - .dropzone .dz-preview .dz-image .data-dz-thumbnail { - height: 100px; - width: 100px; - } +.dropzone .dz-preview .dz-image, +.dropzone .dz-preview .dz-image .data-dz-thumbnail { + height: 100px; + width: 100px; +} - .dropzone .dz-preview .dz-image img { - max-height: 100px; - max-width: 100px; - } +.dropzone .dz-preview .dz-image img { + max-height: 100px; + max-width: 100px; +} - .dropzone .dz-preview { - margin: 8px; - padding-bottom: 0 !important; - margin-bottom: 0px; - } +.dropzone .dz-preview { + margin: 8px; + padding-bottom: 0 !important; + margin-bottom: 0px; +} - .dropzone .dz-message { - } +.dropzone .dz-message { +} #dropzone-container { - border: 1px dashed #007bff; - color: #6c757d; + border: 1px dashed #007bff; + color: #6c757d; } .timeline { - display: flex; - flex-direction: column; - margin: 0; - padding: 0; + display: flex; + flex-direction: column; + margin: 0; + padding: 0; } .timeline-item { - position: relative; - padding: 10px 10px 10px 20px; - border-left: 2px solid #007bff; - margin: 0; -} - - .timeline-item:before { - content: ''; - position: absolute; - left: -6px; - top: 0; - width: 12px; - height: 12px; - background-color: #007bff; - border-radius: 50%; - } - - .timeline-item .time { - font-size: 0.8rem; - color: #6c757d; - margin: 0; - } - - .timeline-item .username { - font-size: 0.9rem; - font-weight: bold; - margin: 0; - } - - .timeline-item .details { - font-size: 0.9rem; - margin-top: 4px; - } + position: relative; + padding: 10px 10px 10px 20px; + border-left: 2px solid #007bff; + margin: 0; +} + +.timeline-item:before { + content: ""; + position: absolute; + left: -6px; + top: 0; + width: 12px; + height: 12px; + background-color: #007bff; + border-radius: 50%; +} + +.timeline-item .time { + font-size: 0.8rem; + color: #6c757d; + margin: 0; +} + +.timeline-item .username { + font-size: 0.9rem; + font-weight: bold; + margin: 0; +} + +.timeline-item .details { + font-size: 0.9rem; + margin-top: 4px; +} .backlog-history .tab-pane { - max-height: calc(100vh - 108px); - overflow-y: auto; + max-height: calc(100vh - 108px); + overflow-y: auto; } .comment-box-container { - position: sticky; - bottom: 0; - background-color: #ffffff; - padding: 0.6rem; - border-top: 1px solid #dee2e6; + position: sticky; + bottom: 0; + background-color: #ffffff; + padding: 0.6rem; + border-top: 1px solid #dee2e6; } .thumbnail-container { - display: flex; - overflow-x: auto; - white-space: nowrap; - padding: 0.5rem; - margin-bottom: 1rem; - gap: 1rem; - border: 1px dashed #dee2e6; + display: flex; + overflow-x: auto; + white-space: nowrap; + padding: 0.5rem; + margin-bottom: 1rem; + gap: 1rem; + border: 1px dashed #dee2e6; } - .thumbnail-container::-webkit-scrollbar { - height: 8px; - } +.thumbnail-container::-webkit-scrollbar { + height: 8px; +} - .thumbnail-container::-webkit-scrollbar-thumb { - background: #888; - border-radius: 4px; - } +.thumbnail-container::-webkit-scrollbar-thumb { + background: #888; + border-radius: 4px; +} - .thumbnail-container::-webkit-scrollbar-thumb:hover { - background: #555; - } +.thumbnail-container::-webkit-scrollbar-thumb:hover { + background: #555; +} .file-icon-delete { - text-align: center; - color: #8b8e90; - cursor: pointer; - font-size: 0.75rem; + text-align: center; + color: #8b8e90; + cursor: pointer; + font-size: 0.75rem; } - .file-icon-delete:hover { - color: #f72828; - } +.file-icon-delete:hover { + color: #f72828; +} .file-icon { - width: 70px; - height: 70px; - display: flex; - align-items: center; - justify-content: center; - font-size: 40px; - color: #fff; - border-radius: 8px; - text-align: center; - flex-shrink: 0; -} - - .file-icon a { - color: #fff; - text-decoration: none !important; - } - - .file-icon.pdf { - background-color: #e74c3c; - } - - .file-icon.doc { - background-color: #3498db; - } - - .file-icon.xls { - background-color: #2ecc71; - } - - .file-icon.img { - background-color: #f39c12; - } - - .file-icon.txt { - background-color: #95a5a6; - } - - .file-icon.other { - background-color: #8e44ad; - } + width: 70px; + height: 70px; + display: flex; + align-items: center; + justify-content: center; + font-size: 40px; + color: #fff; + border-radius: 8px; + text-align: center; + flex-shrink: 0; +} + +.file-icon a { + color: #fff; + text-decoration: none !important; +} + +.file-icon.pdf { + background-color: #e74c3c; +} + +.file-icon.doc { + background-color: #3498db; +} + +.file-icon.xls { + background-color: #2ecc71; +} + +.file-icon.img { + background-color: #f39c12; +} + +.file-icon.txt { + background-color: #95a5a6; +} + +.file-icon.other { + background-color: #8e44ad; +} .alert-info { - display: flex; - align-items: center; - justify-content: space-between; - padding: 10px 20px; + display: flex; + align-items: center; + justify-content: space-between; + padding: 10px 20px; } .avatar-card { - width: 40px; - height: 40px; - border-radius: 50%; - margin-right: 10px; + width: 40px; + height: 40px; + border-radius: 50%; + margin-right: 10px; } .greeting-container { - display: flex; - align-items: center; + display: flex; + align-items: center; } .greeting-text { - margin: 0; - font-weight: bold; + margin: 0; + font-weight: bold; } .sidebar-brand-full { - margin-left: 3rem; + margin-left: 3rem; } .text-line-container { - display: flex; - align-items: center; - text-align: center; - width: 100%; + display: flex; + align-items: center; + text-align: center; + width: 100%; } - .text-line-container::before, - .text-line-container::after { - content: ''; - flex: 1; - border-bottom: 1px dashed #6c757d; - /* Adjust color and thickness */ - margin: 0 10px; - } +.text-line-container::before, +.text-line-container::after { + content: ""; + flex: 1; + border-bottom: 1px dashed #6c757d; + margin: 0 10px; +} .text-line { - white-space: nowrap; + white-space: nowrap; } .card-count a { - text-decoration: none; - color: #fff; - cursor: pointer; + text-decoration: none; + color: #fff; + cursor: pointer; } .hr-text { - line-height: 1em; - position: relative; - outline: 0; - border: 0; - color: black; - text-align: center; - height: 1.5em; - opacity: 0.8; -} - - .hr-text:before { - content: ""; - background: linear-gradient(to right, transparent, #0062bf, transparent); - position: absolute; - left: 0; - top: 50%; - width: 100%; - height: 1px; - } - - .hr-text:after { - content: attr(data-content); - position: relative; - display: inline-block; - color: black; - padding: 0 0.5em; - line-height: 1.5em; - color: #818078; - background-color: #fcfcfa; - } + line-height: 1em; + position: relative; + outline: 0; + border: 0; + color: black; + text-align: center; + height: 1.5em; + opacity: 0.8; +} + +.hr-text:before { + content: ""; + background: linear-gradient(to right, transparent, #0062bf, transparent); + position: absolute; + left: 0; + top: 50%; + width: 100%; + height: 1px; +} + +.hr-text:after { + content: attr(data-content); + position: relative; + display: inline-block; + color: black; + padding: 0 0.5em; + line-height: 1.5em; + color: #818078; + background-color: #fcfcfa; +} + +.avatar-profile { + width: 80px; + height: 80px; + object-fit: cover; + border-radius: 50%; +} + +.crop-preview { + width: 128px; + height: 128px; + border-radius: 50%; + overflow: hidden; + border: 2px solid #dee2e6; + margin: 10px auto 0; +} + +#toast-container { + z-index: 2147483647 !important; +} + +#saveAvatar { + display: none; +} \ No newline at end of file diff --git a/src/Presentation/Taskist.Web/wwwroot/favicon.ico b/src/Presentation/Taskist.Web/wwwroot/favicon.ico deleted file mode 100644 index 63e859b476eff5055e0e557aaa151ca8223fbeef..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 5430 zcmc&&Yj2xp8Fqnv;>&(QB_ve7>^E#o2mu=cO~A%R>DU-_hfbSRv1t;m7zJ_AMrntN zy0+^f&8be>q&YYzH%(88lQ?#KwiCzaCO*ZEo%j&v;<}&Lj_stKTKK>#U3nin@AF>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iss: false, onContentReady: function () { + $('.jconfirm-buttons').remove(); if (callbackContentReady !== undefined) callbackContentReady(); } @@ -564,6 +557,28 @@ let AppJS = (function () { } return result; }, + initTrackableSections: function (sectionSelector = 'section', trackSelector = 'track', saveBtnSelector = 'savebtn') { + const sectionClass = '.' + sectionSelector; + const trackClass = '.' + trackSelector; + const saveBtnClass = '.' + saveBtnSelector; + + $(sectionClass).each(function () { + const section = $(this); + const elements = section.find(trackClass); + const saveBtn = section.find(saveBtnClass); + + saveBtn.prop('disabled', true); + + elements.each(function () { + $(this).data('originalValue', $(this).val()); + }); + + section.on('input change', trackClass, function () { + const isChanged = elements.toArray().some(el => $(el).val() !== $(el).data('originalValue')); + saveBtn.prop('disabled', !isChanged); + }); + }); + }, generateLink: function (row, curAction) { let url = curAction.Url; let btnClass = curAction.ButtonColor; diff --git a/src/Presentation/Taskist.Web/wwwroot/js/partial.js b/src/Presentation/Taskist.Web/wwwroot/js/partial.js index 05fb059..435813f 100644 --- a/src/Presentation/Taskist.Web/wwwroot/js/partial.js +++ b/src/Presentation/Taskist.Web/wwwroot/js/partial.js @@ -1,49 +1,63 @@ $(function () { - JSManager = AppJS.getInstance(); - JSManager.bindPartialViewEvent(); - JSManager.setMandatorySymbol(); - $('[data-bs-toggle="tooltip"]').tooltip(); + JSManager = AppJS.getInstance(); + JSManager.bindPartialViewEvent(); + JSManager.setMandatorySymbol(); + $('[data-bs-toggle="tooltip"]').tooltip(); }); function ajaxBegin() { - JSManager.blockUI("app-body"); + JSManager.blockUI("app-body"); } function ajaxComplete(response) { - JSManager.unblockUI("app-body"); + JSManager.unblockUI("app-body"); } function ajaxSuccess(response) { - if (response.status === 2000) { - debugger; - if (response.child_action) { - JSManager.reloadChildGrid(); + if (response.status === 2000) { + debugger; + if (response.child_action) { + JSManager.reloadChildGrid(); + } else { + JSManager.reloadGrid(); + } + JSManager.closeOffCanvas(); + if (JSManager.hasValue(response.message)) + JSManager.showSuccess(response.message); + } else if (response.status === 2001) { + let errContainer = $(".validation-errors"); + + if (errContainer.length) { + let errorHtml = ""; + + $.each(response.errors, function (index, item) { + errorHtml += "
  • " + item.Message + "
  • "; + }); + + errContainer.html( + '' + ); + } else { + let errorHtml = ""; + + $.each(response.errors, function (index, item) { + errorHtml += item.Message + "
    "; + }); + + JSManager.showError(errorHtml); + } + + } else if (response.status === 2002) { + JSManager.showError(response.message); } else { - JSManager.reloadGrid(); + JSManager.closeOffCanvas(); + JSManager.showAppError(response.message); } - JSManager.closeOffCanvas(); - if (JSManager.hasValue(response.message)) - JSManager.showSuccess(response.message); - } else if (response.status === 2001) { - let errorHtml = ""; - $.each(response.errors, function (index, item) { - errorHtml += "
  • " + item.Message + "
  • "; - }); - - $(".validation-errors").html( - '' - ); - } else if (response.status === 2002) { - JSManager.showError(response.message); - } else { - JSManager.closeOffCanvas(); - JSManager.showAppError(response.message); - } } function ajaxFailure(response) { - JSManager.closeOffCanvas(); - JSManager.showAppError(response.responseJSON.message); + JSManager.closeOffCanvas(); + JSManager.showAppError(response.responseJSON.message); } diff --git a/src/Presentation/Taskist.Web/wwwroot/lib/cropper/css/cropper.min.css b/src/Presentation/Taskist.Web/wwwroot/lib/cropper/css/cropper.min.css new file mode 100644 index 0000000..8e34d75 --- /dev/null +++ b/src/Presentation/Taskist.Web/wwwroot/lib/cropper/css/cropper.min.css @@ -0,0 +1,9 @@ +/*! + * Cropper.js v1.6.2 + * https://fengyuanchen.github.io/cropperjs + * + * Copyright 2015-present Chen Fengyuan + * Released under the MIT license + * + * Date: 2024-04-21T07:43:02.731Z + */.cropper-container{-webkit-touch-callout:none;direction:ltr;font-size:0;line-height:0;position:relative;-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.cropper-container img{backface-visibility:hidden;display:block;height:100%;image-orientation:0deg;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;width:100%}.cropper-canvas,.cropper-crop-box,.cropper-drag-box,.cropper-modal,.cropper-wrap-box{bottom:0;left:0;position:absolute;right:0;top:0}.cropper-canvas,.cropper-wrap-box{overflow:hidden}.cropper-drag-box{background-color:#fff;opacity:0}.cropper-modal{background-color:#000;opacity:.5}.cropper-view-box{display:block;height:100%;outline:1px solid #39f;outline-color:rgba(51,153,255,.75);overflow:hidden;width:100%}.cropper-dashed{border:0 dashed #eee;display:block;opacity:.5;position:absolute}.cropper-dashed.dashed-h{border-bottom-width:1px;border-top-width:1px;height:33.33333%;left:0;top:33.33333%;width:100%}.cropper-dashed.dashed-v{border-left-width:1px;border-right-width:1px;height:100%;left:33.33333%;top:0;width:33.33333%}.cropper-center{display:block;height:0;left:50%;opacity:.75;position:absolute;top:50%;width:0}.cropper-center:after,.cropper-center:before{background-color:#eee;content:" ";display:block;position:absolute}.cropper-center:before{height:1px;left:-3px;top:0;width:7px}.cropper-center:after{height:7px;left:0;top:-3px;width:1px}.cropper-face,.cropper-line,.cropper-point{display:block;height:100%;opacity:.1;position:absolute;width:100%}.cropper-face{background-color:#fff;left:0;top:0}.cropper-line{background-color:#39f}.cropper-line.line-e{cursor:ew-resize;right:-3px;top:0;width:5px}.cropper-line.line-n{cursor:ns-resize;height:5px;left:0;top:-3px}.cropper-line.line-w{cursor:ew-resize;left:-3px;top:0;width:5px}.cropper-line.line-s{bottom:-3px;cursor:ns-resize;height:5px;left:0}.cropper-point{background-color:#39f;height:5px;opacity:.75;width:5px}.cropper-point.point-e{cursor:ew-resize;margin-top:-3px;right:-3px;top:50%}.cropper-point.point-n{cursor:ns-resize;left:50%;margin-left:-3px;top:-3px}.cropper-point.point-w{cursor:ew-resize;left:-3px;margin-top:-3px;top:50%}.cropper-point.point-s{bottom:-3px;cursor:s-resize;left:50%;margin-left:-3px}.cropper-point.point-ne{cursor:nesw-resize;right:-3px;top:-3px}.cropper-point.point-nw{cursor:nwse-resize;left:-3px;top:-3px}.cropper-point.point-sw{bottom:-3px;cursor:nesw-resize;left:-3px}.cropper-point.point-se{bottom:-3px;cursor:nwse-resize;height:20px;opacity:1;right:-3px;width:20px}@media (min-width:768px){.cropper-point.point-se{height:15px;width:15px}}@media (min-width:992px){.cropper-point.point-se{height:10px;width:10px}}@media (min-width:1200px){.cropper-point.point-se{height:5px;opacity:.75;width:5px}}.cropper-point.point-se:before{background-color:#39f;bottom:-50%;content:" ";display:block;height:200%;opacity:0;position:absolute;right:-50%;width:200%}.cropper-invisible{opacity:0}.cropper-bg{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAAA3NCSVQICAjb4U/gAAAABlBMVEXMzMz////TjRV2AAAACXBIWXMAAArrAAAK6wGCiw1aAAAAHHRFWHRTb2Z0d2FyZQBBZG9iZSBGaXJld29ya3MgQ1M26LyyjAAAABFJREFUCJlj+M/AgBVhF/0PAH6/D/HkDxOGAAAAAElFTkSuQmCC")}.cropper-hide{display:block;height:0;position:absolute;width:0}.cropper-hidden{display:none!important}.cropper-move{cursor:move}.cropper-crop{cursor:crosshair}.cropper-disabled .cropper-drag-box,.cropper-disabled .cropper-face,.cropper-disabled .cropper-line,.cropper-disabled .cropper-point{cursor:not-allowed} \ No newline at end of file diff --git a/src/Presentation/Taskist.Web/wwwroot/lib/cropper/js/cropper.min.js b/src/Presentation/Taskist.Web/wwwroot/lib/cropper/js/cropper.min.js new file mode 100644 index 0000000..3102cb5 --- /dev/null +++ b/src/Presentation/Taskist.Web/wwwroot/lib/cropper/js/cropper.min.js @@ -0,0 +1,10 @@ +/*! + * Cropper.js v1.6.2 + * https://fengyuanchen.github.io/cropperjs + * + * Copyright 2015-present Chen Fengyuan + * Released under the MIT license + * + * Date: 2024-04-21T07:43:05.335Z + */ +!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).Cropper=e()}(this,function(){"use strict";function C(e,t){var i,a=Object.keys(e);return Object.getOwnPropertySymbols&&(i=Object.getOwnPropertySymbols(e),t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,i)),a}function S(a){for(var t=1;tt.length)&&(e=t.length);for(var i=0,a=new Array(e);it.width?3===i?o=t.height*e:h=t.width/e:3===i?h=t.width/e:o=t.height*e,{aspectRatio:e,naturalWidth:n,naturalHeight:a,width:o,height:h});this.canvasData=e,this.limited=1===i||2===i,this.limitCanvas(!0,!0),e.width=Math.min(Math.max(e.width,e.minWidth),e.maxWidth),e.height=Math.min(Math.max(e.height,e.minHeight),e.maxHeight),e.left=(t.width-e.width)/2,e.top=(t.height-e.height)/2,e.oldLeft=e.left,e.oldTop=e.top,this.initialCanvasData=g({},e)},limitCanvas:function(t,e){var i=this.options,a=this.containerData,n=this.canvasData,o=this.cropBoxData,h=i.viewMode,r=n.aspectRatio,s=this.cropped&&o;t&&(t=Number(i.minCanvasWidth)||0,i=Number(i.minCanvasHeight)||0,1=a.width&&(n.minLeft=Math.min(0,r),n.maxLeft=Math.max(0,r)),n.height>=a.height)&&(n.minTop=Math.min(0,t),n.maxTop=Math.max(0,t))):(n.minLeft=-n.width,n.minTop=-n.height,n.maxLeft=a.width,n.maxTop=a.height))},renderCanvas:function(t,e){var i,a,n,o,h=this.canvasData,r=this.imageData;e&&(e={width:r.naturalWidth*Math.abs(r.scaleX||1),height:r.naturalHeight*Math.abs(r.scaleY||1),degree:r.rotate||0},r=e.width,o=e.height,e=e.degree,i=90==(e=Math.abs(e)%180)?{width:o,height:r}:(a=e%90*Math.PI/180,i=Math.sin(a),n=r*(a=Math.cos(a))+o*i,r=r*i+o*a,90h.maxWidth||h.widthh.maxHeight||h.heighte.width?a.height=a.width/i:a.width=a.height*i),this.cropBoxData=a,this.limitCropBox(!0,!0),a.width=Math.min(Math.max(a.width,a.minWidth),a.maxWidth),a.height=Math.min(Math.max(a.height,a.minHeight),a.maxHeight),a.width=Math.max(a.minWidth,a.width*t),a.height=Math.max(a.minHeight,a.height*t),a.left=e.left+(e.width-a.width)/2,a.top=e.top+(e.height-a.height)/2,a.oldLeft=a.left,a.oldTop=a.top,this.initialCropBoxData=g({},a)},limitCropBox:function(t,e){var i,a,n=this.options,o=this.containerData,h=this.canvasData,r=this.cropBoxData,s=this.limited,c=n.aspectRatio;t&&(t=Number(n.minCropBoxWidth)||0,n=Number(n.minCropBoxHeight)||0,i=s?Math.min(o.width,h.width,h.width+h.left,o.width-h.left):o.width,a=s?Math.min(o.height,h.height,h.height+h.top,o.height-h.top):o.height,t=Math.min(t,o.width),n=Math.min(n,o.height),c&&(t&&n?ti.maxWidth||i.widthi.maxHeight||i.height=e.width&&i.height>=e.height?q:I),f(this.cropBox,g({width:i.width,height:i.height},x({translateX:i.left,translateY:i.top}))),this.cropped&&this.limited&&this.limitCanvas(!0,!0),this.disabled||this.output()},output:function(){this.preview(),y(this.element,tt,this.getData())}},i={initPreview:function(){var t=this.element,i=this.crossOrigin,e=this.options.preview,a=i?this.crossOriginUrl:this.url,n=t.alt||"The image to preview",o=document.createElement("img");i&&(o.crossOrigin=i),o.src=a,o.alt=n,this.viewBox.appendChild(o),this.viewBoxImage=o,e&&("string"==typeof(o=e)?o=t.ownerDocument.querySelectorAll(e):e.querySelector&&(o=[e]),z(this.previews=o,function(t){var e=document.createElement("img");w(t,m,{width:t.offsetWidth,height:t.offsetHeight,html:t.innerHTML}),i&&(e.crossOrigin=i),e.src=a,e.alt=n,e.style.cssText='display:block;width:100%;height:auto;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;image-orientation:0deg!important;"',t.innerHTML="",t.appendChild(e)}))},resetPreview:function(){z(this.previews,function(e){var i=Bt(e,m),i=(f(e,{width:i.width,height:i.height}),e.innerHTML=i.html,e),e=m;if(o(i[e]))try{delete i[e]}catch(t){i[e]=void 0}else if(i.dataset)try{delete i.dataset[e]}catch(t){i.dataset[e]=void 0}else i.removeAttribute("data-".concat(Dt(e)))})},preview:function(){var h=this.imageData,t=this.canvasData,e=this.cropBoxData,r=e.width,s=e.height,c=h.width,d=h.height,l=e.left-t.left-h.left,p=e.top-t.top-h.top;this.cropped&&!this.disabled&&(f(this.viewBoxImage,g({width:c,height:d},x(g({translateX:-l,translateY:-p},h)))),z(this.previews,function(t){var e=Bt(t,m),i=e.width,e=e.height,a=i,n=e,o=1;r&&(n=s*(o=i/r)),s&&eMath.abs(a-1)?i:a)&&(t.restore&&(o=this.getCanvasData(),h=this.getCropBoxData()),this.render(),t.restore)&&(this.setCanvasData(z(o,function(t,e){o[e]=t*n})),this.setCropBoxData(z(h,function(t,e){h[e]=t*n}))))},dblclick:function(){var t,e;this.disabled||this.options.dragMode===_||this.setDragMode((t=this.dragBox,e=Q,(t.classList?t.classList.contains(e):-1y&&(D.x=y-f);break;case k:p+D.xx&&(D.y=x-v)}}var i,a,o,n=this.options,h=this.canvasData,r=this.containerData,s=this.cropBoxData,c=this.pointers,d=this.action,l=n.aspectRatio,p=s.left,m=s.top,u=s.width,g=s.height,f=p+u,v=m+g,w=0,b=0,y=r.width,x=r.height,M=!0,C=(!l&&t.shiftKey&&(l=u&&g?u/g:1),this.limited&&(w=s.minLeft,b=s.minTop,y=w+Math.min(r.width,h.width,h.left+h.width),x=b+Math.min(r.height,h.height,h.top+h.height)),c[Object.keys(c)[0]]),D={x:C.endX-C.startX,y:C.endY-C.startY};switch(d){case I:p+=D.x,m+=D.y;break;case B:0<=D.x&&(y<=f||l&&(m<=b||x<=v))?M=!1:(e(B),(u+=D.x)<0&&(d=k,p-=u=-u),l&&(m+=(s.height-(g=u/l))/2));break;case T:D.y<=0&&(m<=b||l&&(p<=w||y<=f))?M=!1:(e(T),g-=D.y,m+=D.y,g<0&&(d=O,m-=g=-g),l&&(p+=(s.width-(u=g*l))/2));break;case k:D.x<=0&&(p<=w||l&&(m<=b||x<=v))?M=!1:(e(k),u-=D.x,p+=D.x,u<0&&(d=B,p-=u=-u),l&&(m+=(s.height-(g=u/l))/2));break;case O:0<=D.y&&(x<=v||l&&(p<=w||y<=f))?M=!1:(e(O),(g+=D.y)<0&&(d=T,m-=g=-g),l&&(p+=(s.width-(u=g*l))/2));break;case E:if(l){if(D.y<=0&&(m<=b||y<=f)){M=!1;break}e(T),g-=D.y,m+=D.y,u=g*l}else e(T),e(B),!(0<=D.x)||fMath.abs(o)&&(o=i)})}),o),t),M=!1;break;case U:D.x&&D.y?(i=Wt(this.cropper),p=C.startX-i.left,m=C.startY-i.top,u=s.minWidth,g=s.minHeight,0 or element.");this.element=t,this.options=g({},ut,u(e)&&e),this.cropped=!1,this.disabled=!1,this.pointers={},this.ready=!1,this.reloading=!1,this.replaced=!1,this.sized=!1,this.sizing=!1,this.init()}return t=n,i=[{key:"noConflict",value:function(){return window.Cropper=Pt,n}},{key:"setDefaults",value:function(t){g(ut,u(t)&&t)}}],(e=[{key:"init",value:function(){var t,e=this.element,i=e.tagName.toLowerCase();if(!e[c]){if(e[c]=this,"img"===i){if(this.isImg=!0,t=e.getAttribute("src")||"",!(this.originalUrl=t))return;t=e.src}else"canvas"===i&&window.HTMLCanvasElement&&(t=e.toDataURL());this.load(t)}}},{key:"load",value:function(t){var e,i,a,n,o,h,r=this;t&&(this.url=t,this.imageData={},e=this.element,(i=this.options).rotatable||i.scalable||(i.checkOrientation=!1),i.checkOrientation&&window.ArrayBuffer?lt.test(t)?pt.test(t)?this.read((h=(h=t).replace(Xt,""),a=atob(h),h=new ArrayBuffer(a.length),z(n=new Uint8Array(h),function(t,e){n[e]=a.charCodeAt(e)}),h)):this.clone():(o=new XMLHttpRequest,h=this.clone.bind(this),this.reloading=!0,(this.xhr=o).onabort=h,o.onerror=h,o.ontimeout=h,o.onprogress=function(){o.getResponseHeader("content-type")!==ct&&o.abort()},o.onload=function(){r.read(o.response)},o.onloadend=function(){r.reloading=!1,r.xhr=null},i.checkCrossOrigin&&Lt(t)&&e.crossOrigin&&(t=zt(t)),o.open("GET",t,!0),o.responseType="arraybuffer",o.withCredentials="use-credentials"===e.crossOrigin,o.send()):this.clone())}},{key:"read",value:function(t){var e=this.options,i=this.imageData,a=Rt(t),n=0,o=1,h=1;1
    ',o=(n=n.querySelector(".".concat(c,"-container"))).querySelector(".".concat(c,"-canvas")),h=n.querySelector(".".concat(c,"-drag-box")),s=(r=n.querySelector(".".concat(c,"-crop-box"))).querySelector(".".concat(c,"-face")),this.container=a,this.cropper=n,this.canvas=o,this.dragBox=h,this.cropBox=r,this.viewBox=n.querySelector(".".concat(c,"-view-box")),this.face=s,o.appendChild(i),v(t,L),a.insertBefore(n,t.nextSibling),X(i,Z),this.initPreview(),this.bind(),e.initialAspectRatio=Math.max(0,e.initialAspectRatio)||NaN,e.aspectRatio=Math.max(0,e.aspectRatio)||NaN,e.viewMode=Math.max(0,Math.min(3,Math.round(e.viewMode)))||0,v(r,L),e.guides||v(r.getElementsByClassName("".concat(c,"-dashed")),L),e.center||v(r.getElementsByClassName("".concat(c,"-center")),L),e.background&&v(n,"".concat(c,"-bg")),e.highlight||v(s,G),e.cropBoxMovable&&(v(s,V),w(s,d,I)),e.cropBoxResizable||(v(r.getElementsByClassName("".concat(c,"-line")),L),v(r.getElementsByClassName("".concat(c,"-point")),L)),this.render(),this.ready=!0,this.setDragMode(e.dragMode),e.autoCrop&&this.crop(),this.setData(e.data),l(e.ready)&&b(t,"ready",e.ready,{once:!0}),y(t,"ready"))}},{key:"unbuild",value:function(){var t;this.ready&&(this.ready=!1,this.unbind(),this.resetPreview(),(t=this.cropper.parentNode)&&t.removeChild(this.cropper),X(this.element,L))}},{key:"uncreate",value:function(){this.ready?(this.unbuild(),this.ready=!1,this.cropped=!1):this.sizing?(this.sizingImage.onload=null,this.sizing=!1,this.sized=!1):this.reloading?(this.xhr.onabort=null,this.xhr.abort()):this.image&&this.stop()}}])&&A(t.prototype,e),i&&A(t,i),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,e,i}();return g(It.prototype,t,i,e,St,jt,At),It}); \ No newline at end of file From b56cb4c9094e76f837f86cb34b621ace5fdb21a6 Mon Sep 17 00:00:00 2001 From: Somaraj N <17797942+somaraj@users.noreply.github.com> Date: Mon, 27 Oct 2025 11:18:07 +0530 Subject: [PATCH 02/34] Add Code of Conduct This document outlines the Contributor Covenant Code of Conduct, detailing our pledge, standards, enforcement responsibilities, and consequences for violations. --- CODE_OF_CONDUCT.md | 128 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 128 insertions(+) create mode 100644 CODE_OF_CONDUCT.md diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md new file mode 100644 index 0000000..211a96a --- /dev/null +++ b/CODE_OF_CONDUCT.md @@ -0,0 +1,128 @@ +# Contributor Covenant Code of Conduct + +## Our Pledge + +We as members, contributors, and leaders pledge to make participation in our +community a harassment-free experience for everyone, regardless of age, body +size, visible or invisible disability, ethnicity, sex characteristics, gender +identity and expression, level of experience, education, socio-economic status, +nationality, personal appearance, race, religion, or sexual identity +and orientation. + +We pledge to act and interact in ways that contribute to an open, welcoming, +diverse, inclusive, and healthy community. + +## Our Standards + +Examples of behavior that contributes to a positive environment for our +community include: + +* Demonstrating empathy and kindness toward other people +* Being respectful of differing opinions, viewpoints, and experiences +* Giving and gracefully accepting constructive feedback +* Accepting responsibility and apologizing to those affected by our mistakes, + and learning from the experience +* Focusing on what is best not just for us as individuals, but for the + overall community + +Examples of unacceptable behavior include: + +* The use of sexualized language or imagery, and sexual attention or + advances of any kind +* Trolling, insulting or derogatory comments, and personal or political attacks +* Public or private harassment +* Publishing others' private information, such as a physical or email + address, without their explicit permission +* Other conduct which could reasonably be considered inappropriate in a + professional setting + +## Enforcement Responsibilities + +Community leaders are responsible for clarifying and enforcing our standards of +acceptable behavior and will take appropriate and fair corrective action in +response to any behavior that they deem inappropriate, threatening, offensive, +or harmful. + +Community leaders have the right and responsibility to remove, edit, or reject +comments, commits, code, wiki edits, issues, and other contributions that are +not aligned to this Code of Conduct, and will communicate reasons for moderation +decisions when appropriate. + +## Scope + +This Code of Conduct applies within all community spaces, and also applies when +an individual is officially representing the community in public spaces. +Examples of representing our community include using an official e-mail address, +posting via an official social media account, or acting as an appointed +representative at an online or offline event. + +## Enforcement + +Instances of abusive, harassing, or otherwise unacceptable behavior may be +reported to the community leaders responsible for enforcement at +taskist@outlook.in. +All complaints will be reviewed and investigated promptly and fairly. + +All community leaders are obligated to respect the privacy and security of the +reporter of any incident. + +## Enforcement Guidelines + +Community leaders will follow these Community Impact Guidelines in determining +the consequences for any action they deem in violation of this Code of Conduct: + +### 1. Correction + +**Community Impact**: Use of inappropriate language or other behavior deemed +unprofessional or unwelcome in the community. + +**Consequence**: A private, written warning from community leaders, providing +clarity around the nature of the violation and an explanation of why the +behavior was inappropriate. A public apology may be requested. + +### 2. Warning + +**Community Impact**: A violation through a single incident or series +of actions. + +**Consequence**: A warning with consequences for continued behavior. No +interaction with the people involved, including unsolicited interaction with +those enforcing the Code of Conduct, for a specified period of time. This +includes avoiding interactions in community spaces as well as external channels +like social media. Violating these terms may lead to a temporary or +permanent ban. + +### 3. Temporary Ban + +**Community Impact**: A serious violation of community standards, including +sustained inappropriate behavior. + +**Consequence**: A temporary ban from any sort of interaction or public +communication with the community for a specified period of time. No public or +private interaction with the people involved, including unsolicited interaction +with those enforcing the Code of Conduct, is allowed during this period. +Violating these terms may lead to a permanent ban. + +### 4. Permanent Ban + +**Community Impact**: Demonstrating a pattern of violation of community +standards, including sustained inappropriate behavior, harassment of an +individual, or aggression toward or disparagement of classes of individuals. + +**Consequence**: A permanent ban from any sort of public interaction within +the community. + +## Attribution + +This Code of Conduct is adapted from the [Contributor Covenant][homepage], +version 2.0, available at +https://www.contributor-covenant.org/version/2/0/code_of_conduct.html. + +Community Impact Guidelines were inspired by [Mozilla's code of conduct +enforcement ladder](https://github.com/mozilla/diversity). + +[homepage]: https://www.contributor-covenant.org + +For answers to common questions about this code of conduct, see the FAQ at +https://www.contributor-covenant.org/faq. Translations are available at +https://www.contributor-covenant.org/translations. From dd0211e8bf2fb5cbd96cece0786cb4f1ae0987cf Mon Sep 17 00:00:00 2001 From: Somaraj N <17797942+somaraj@users.noreply.github.com> Date: Mon, 27 Oct 2025 17:32:04 +0530 Subject: [PATCH 03/34] Add Zulip discussion section to README Added a section for joining the discussion on Zulip, including channel purposes and links. --- README.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 6e7f57a..4335eee 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,22 @@ This system helps teams manage tasks, track bugs, handle change requests, and or ![Issues](https://img.shields.io/github/issues/taskist/taskist) ![Stars](https://img.shields.io/github/stars/taskist/taskist) +## 💬 Join the Discussion on Zulip + +Stay connected with the Taskist community on **[Zulip](https://taskist.zulipchat.com)** — our hub for collaboration, support, and ideas. + +[![Chat on Zulip](https://img.shields.io/badge/chat-on%20Zulip-3C7EBB?logo=zulip&logoColor=white)](https://taskist.zulipchat.com) + +| Channel | Purpose | Link | +|----------|----------|------| +| 📢 **General** | General discussions, announcements, and community updates. | [Join #general](https://taskist.zulipchat.com/#narrow/channel/539615-general) | +| 💻 **Development** | Development discussions, code reviews, and architecture planning. | [Join #dev](https://taskist.zulipchat.com/#narrow/channel/539614-dev) | +| 🛠️ **Support** | Get help setting up Taskist, report bugs, or troubleshoot issues. | [Join #support](https://taskist.zulipchat.com/#narrow/channel/539613-support) | + +📝 **Tip:** +You can join directly with your GitHub or email account — no setup required. +All discussions are public and searchable to help new contributors learn quickly. + ## 📑 Table of Contents 1. [✨ Features](#-features) @@ -220,4 +236,4 @@ Your support helps keep the project growing and maintained. - ☕ **Buy Me a Coffee** to support ongoing development

    Buy Me A Coffee -

    \ No newline at end of file +

    From e1aaa8f8d5253a2e6f1eeecff20f3b91087b7af1 Mon Sep 17 00:00:00 2001 From: Somaraj N <17797942+somaraj@users.noreply.github.com> Date: Wed, 29 Oct 2025 00:32:18 +0530 Subject: [PATCH 04/34] added monsteraps, zulip to sponsor --- README.md | 129 +++++++++++++++++++++----------------- assets/monsterasp.net.png | Bin 0 -> 7278 bytes assets/zulip-icon.png | Bin 0 -> 3237 bytes 3 files changed, 70 insertions(+), 59 deletions(-) create mode 100644 assets/monsterasp.net.png create mode 100644 assets/zulip-icon.png diff --git a/README.md b/README.md index 6e7f57a..80decd2 100644 --- a/README.md +++ b/README.md @@ -1,60 +1,58 @@ - # 📝 Task / CR / Bug Management System A web-based **Task, Change Request (CR), and Bug Management System** built with **ASP.NET Core MVC (.NET 8)**, using **MS SQL Server or MySQL** as the database. This system helps teams manage tasks, track bugs, handle change requests, and organize projects efficiently. - ![License](https://img.shields.io/github/license/taskist/taskist) ![Issues](https://img.shields.io/github/issues/taskist/taskist) -![Stars](https://img.shields.io/github/stars/taskist/taskist) +![Stars](https://img.shields.io/github/stars/taskist/taskist) ## 📑 Table of Contents -1. [✨ Features](#-features) -2. [🏛 Master Modules](#-master-modules) -3. [⚡ Transaction Modules](#-transaction-modules) -4. [🗂 Module Hierarchy](#-module-hierarchy) -5. [🛠 Technology Stack](#-technology-stack) -6. [🚀 Project Setup](#-project-setup) -7. [💾 Database Migrations](#-database-migrations) -8. [▶️ Running the Project](#-running-the-project) -9. [🐛 GitHub Issues & Contribution](#-github-issues--contribution) -10. [📄 License](#-license) +1. [✨ Features](#-features) +2. [🏛 Master Modules](#-master-modules) +3. [⚡ Transaction Modules](#-transaction-modules) +4. [🗂 Module Hierarchy](#-module-hierarchy) +5. [🛠 Technology Stack](#-technology-stack) +6. [🚀 Project Setup](#-project-setup) +7. [💾 Database Migrations](#-database-migrations) +8. [▶️ Running the Project](#-running-the-project) +9. [🐛 GitHub Issues & Contribution](#-github-issues--contribution) +10. [📄 License](#-license) ## ✨ Features -- 👤 User authentication and authorization with roles & permissions. -- 🏢 Client and project management. -- 🐞 Task, Change Request, and Bug tracking with status, severity, and reporter. -- 📆 Sprint and backlog management. -- 🧩 Modular system design with configurable menus and settings. -- 📊 Full audit and tracking for project activities. +- 👤 User authentication and authorization with roles & permissions. +- 🏢 Client and project management. +- 🐞 Task, Change Request, and Bug tracking with status, severity, and reporter. +- 📆 Sprint and backlog management. +- 🧩 Modular system design with configurable menus and settings. +- 📊 Full audit and tracking for project activities. ## 🏛 Master Modules -| Module | Description | -|----------------------|-------------| -| 👤 User | System users who can create or manage tasks. | +| Module | Description | +| --------------------------- | ------------------------------------------------------------------- | +| 👤 User | System users who can create or manage tasks. | | 🔑 User Roles & Permissions | Define roles (Admin, Manager, Developer, Tester) and access rights. | -| 🏢 Client | Organizations or clients associated with projects. | -| 📁 Project | Projects under a client. | -| 🧩 Module | Main functional modules of a project. | -| 🔹 SubModule | Sub-divisions under each module. | -| 📝 Reporter | Person reporting a task, bug, or CR. | -| ⚠️ Severity | Priority/impact of tasks/bugs (High, Medium, Low). | -| 🔄 Status | Current status of a task (Open, In Progress, Closed, etc.). | -| 🗂 TaskType | Type of work (Task, Bug, CR). | -| 📜 Menu | Configurable navigation menu items. | -| ⚙️ Setting | Application or system-wide settings. | +| 🏢 Client | Organizations or clients associated with projects. | +| 📁 Project | Projects under a client. | +| 🧩 Module | Main functional modules of a project. | +| 🔹 SubModule | Sub-divisions under each module. | +| 📝 Reporter | Person reporting a task, bug, or CR. | +| ⚠️ Severity | Priority/impact of tasks/bugs (High, Medium, Low). | +| 🔄 Status | Current status of a task (Open, In Progress, Closed, etc.). | +| 🗂 TaskType | Type of work (Task, Bug, CR). | +| 📜 Menu | Configurable navigation menu items. | +| ⚙️ Setting | Application or system-wide settings. | ## ⚡ Transaction Modules -| Module | Description | -|------------|-------------| +| Module | Description | +| ---------- | ------------------------------------ | | 📋 Backlog | Manage pending tasks, CRs, and bugs. | -| 🏃 Sprint | Plan, track, and close sprints. | +| 🏃 Sprint | Plan, track, and close sprints. | ## 🗂 Module Hierarchy @@ -82,11 +80,11 @@ Transaction Modules ## 🛠 Technology Stack -- **Backend:** ASP.NET Core MVC (.NET 8) -- **Frontend:** Razor Views, Bootstrap (optional) -- **Database:** MS SQL Server or MySQL -- **ORM:** Entity Framework Core -- **Version Control:** Git & GitHub +- **Backend:** ASP.NET Core MVC (.NET 8) +- **Frontend:** Razor Views, Bootstrap (optional) +- **Database:** MS SQL Server or MySQL +- **ORM:** Entity Framework Core +- **Version Control:** Git & GitHub ## 🚀 Project Setup @@ -97,7 +95,7 @@ git clone https://github.com/Taskist/taskist.git cd Taskist ``` -2. Open the solution in **Visual Studio 2022+** or VS Code. +2. Open the solution in **Visual Studio 2022+** or VS Code. 3. Restore NuGet packages: @@ -142,24 +140,24 @@ cd Presentation\Taskist.Web dotnet run ``` -- Open your browser and navigate to `https://localhost:5001` (or the port shown in console). +- Open your browser and navigate to `https://localhost:5001` (or the port shown in console). - Admin user can be seeded in the database using initial migration or `SeedData` class. ## 🐛 GitHub Issues & Contribution ### Raising an Issue -1. Go to the [Issues](https://github.com/Taskist/taskist/issues) tab. -2. Click **New Issue**. +1. Go to the [Issues](https://github.com/Taskist/taskist/issues) tab. +2. Click **New Issue**. 3. Provide: - - **Title** - - **Description** - - **Steps to reproduce** (for bugs) or expected feature description + - **Title** + - **Description** + - **Steps to reproduce** (for bugs) or expected feature description ### Contribution Rules -- 🍴 Fork the repository. -- 🌿 Create a feature branch: +- 🍴 Fork the repository. +- 🌿 Create a feature branch: ```powershell git checkout -b feature/YourFeatureName @@ -178,21 +176,22 @@ git commit -m "Description of your changes" git push origin feature/YourFeatureName ``` -- 🔀 Create a **Pull Request** to the `main` branch. +- 🔀 Create a **Pull Request** to the `main` branch. **Code Guidelines** -- Follow C# naming conventions. -- Keep methods short and modular. -- Use Entity Framework migrations for DB changes. +- Follow C# naming conventions. +- Keep methods short and modular. +- Use Entity Framework migrations for DB changes. ## 📄 License -This project is licensed under the **MIT License** – see the [LICENSE](LICENSE) file for details. +This project is licensed under the **MIT License** – see the [LICENSE](LICENSE) file for details. ## 💖 Open Source Sponsors & Partners We gratefully acknowledge the generous support of the following providers who offer free licenses or services to our open-source project: + @@ -206,18 +205,30 @@ We gratefully acknowledge the generous support of the following providers who of Atlassian Confluence + +
    + + MonsterASP.Net + + + + Atlassian Confluence + +
    ## 🌟 Support the Project -If you find **Taskist** helpful, please consider supporting it! ❤️ +If you find **Taskist** helpful, please consider supporting it! ❤️ Your support helps keep the project growing and maintained. + ### 🪙 Ways to Support -- ⭐ **Star this repository** on GitHub to show appreciation -- 🪙 **Share it** with other developers or teams -- ☕ **Buy Me a Coffee** to support ongoing development + +- ⭐ **Star this repository** on GitHub to show appreciation +- 🪙 **Share it** with other developers or teams +- ☕ **Buy Me a Coffee** to support ongoing development

    Buy Me A Coffee -

    \ No newline at end of file +

    diff --git a/assets/monsterasp.net.png b/assets/monsterasp.net.png new file mode 100644 index 0000000000000000000000000000000000000000..9341927e071d84e9b6da6d6513edd8f0ada23a49 GIT binary patch literal 7278 zcmZ{JWl$ST)HUvu7Aaa>TcDx1y9W)WSRuF;Xz}1s+#x`4Z7A-=-JxhG?i4RB!TET; z_x=0s%4Jf<=)xo(61ixT}gU~f4%I56okK`bmRKTrz6 zC545BqyePBWGEDh79Ujnd`KHb8}LzETN_Ub53ce&P?frLlx-#4?1_WTXL;PCXf>M` z3&ARX+%YJdyvyC`qm|QV)CIfQ3wP|@F-)fFRHCG2zn(1XE+I>7;&K|*NgxwnF6vy( z&5hrs6o!5skIMWJTK%tF{cl6`I+pn8H2-&Z{d2Q=oWv`422#qt7)l7?4^ak8P>Hi} z_V^r2wRUEe6KW8vMykq~wQj6c`gO%LA8V!jtC;y~Qnji^zJ;hT&)vR%ift5ywpkY+ z>1fB}jTEgaKTCadO*cmEq&PE4D)gv{cK_?4K7r4{RrQ(_K1q!b`nqmUW78ZdXdhNx z`IWR||B=c(sYb;u%mN?rdGM}}U5#s!y=1jI`))MImV%*u$!T^IPpu}LPjA@@6KeGZ z$IELA_|WFb9+Q1+_TD3Z-yV{u->Flp>)@az)s~d*0lSJ>mg(2PK1r>tSA8qB^vGOG z_@q4-9NQ(j6!kS=@BBEk7e`IQ?UMOy*9#9GMFHQ$c?d6!s+5oK{4?@>m&RgK!}ql zt;{mDJH%c2=u0ZF9celxck&%)nH?R=KtJcRg*R*0N@n{l`Z@T6x?Ht-TyqTrthJZp zacU1g+Z63+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j6gFy=-}PMCUwXqj0d@`x$)8M=ePy%Zzl*_%XkNB+s5ao{;pu&{G-=^=+1efk#CF z**8QeaczV10m{(No3sOyTo5PEJy1s38jK%km1^C_W4XaD`7%OHstl;GQD%Kf-hA(l zbkX8ePrKgp?2{0(Vk(k~<_D*F_fiOC(78h@IM8*(fb(I|?bK?arZ4SV1*!=+eP3bd zKzNXQ{gak3-;oWOfDJFSUmPtkVqA${Rhbs8--azQb@Xn6V8Hm=Yj|CMj9bMxQLYy-rEsrVVd40xb-YIdJT5s#B}hUThHA|UY0kFgDaz_ z;!4I%v_l4slRll(iu%#&qczsZ+$*t++Q#VGoNf99ab5{5(UhYQS)s*+K=ng3m%w6L zs`}XalOg0nJOLs-*z2gIBY zXG{iWwq3wi=&T5$Mn)3F(aJi*O#!ONlrVbm#{2Q0ifPk#lCK7$%axsIrHf|f9CWcM z4QRGJT5_Ta?*!&BqDR2PB1_hh)q#Dx-*zfz(1t=R7D`Gch#CQHA2VKwko@YFPnm(; zPp^)Mbv;)SYGFl3wHRuE?eEabt^V^p3*C%%5U0A-C&Q!S!sC+jaB=L`Df+d#o~+q z?{%NPLV|KkGtx{~LR^@IST}L0V}ittT;c^h6)Dh`?iz#MK{N>wm1TOgQ8q zKI6<)j5+a3|CwzV0LhT_e|u!g${Z;FYp~@$VGk1LM(iZVJbQ&GD9ZBcauqV*p#KM} Cia_cB literal 0 HcmV?d00001 diff --git a/assets/zulip-icon.png b/assets/zulip-icon.png new file mode 100644 index 0000000000000000000000000000000000000000..d38b5e804d57dfe31aafad04ed1c6147958aaeab GIT binary patch literal 3237 zcmV;W3|jMvP)>R`YsIO1318nX8j;&T> z)j1OC@K1G4b#CFVnEb06Uzu2olnJ$%#*@{^U!P$ZBWGBQP4(3vdHmz}vM{kXc|m-T zclY0XJmG9JgTppWtihDTTKx6z&)@@M^kb4-jra48`xo!L2sivRgG-(A)gi2IGD-q? zpBPz8cvpRoC;mZph{0nHv1wexPsGq-;;Y855^L~eLJf$)^Q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6@Hkk9oDQaE5N1FO?_Gy}cs>WPt$P-}3<$P7IL z^(82*-3*px{T2{8>O25s=DC0Vv=ncN_P(ctf}Y|ZDD2(`mSfjmfV}TTj{52<(%wRC z!BfnJ=pA%UHHFn1z%r~{&mg->|K_`6v^#1m{y04ADW)g5pr>ALT|Wk^)~DzH14PWC z@il!JctuY7d(dADkD&H|-&m3hMj1{~i2Xw0hkqFS_^-JYF^X8jDG|G&22gw9uYjBQ z6tD6YQAi7=i_d-M-(L9mn+bly%=F1islO0jMIC{!h*p_Ad1)anK^=wo*O0G}&gX*E ze0mGWv~y4W9fiLTp67RVmcD8FzxQg6r_gQP4og8fq26az-+it$xGQ7@x~k(NhArk1u&f*zyzeaI?I9K zR%8Z(814;XZFwM{fK&%DS?$e&2auWYVR+JywUr&4yj0XUm<>-LGZKx$J;6LOjSKCs zG?YhXg)rQY%#3(l;=vAY=j5fiWQ-fb?I<0<7_JZIlWy&nylj3SjNwL%S9$O=R-JQ~U&lei#l+F%Zup<;Lv zSqZV^aVST_JVDxE@=_Mc)vCL6f$NY}2}iZp!`XCkIGcdJ& zKPVedjzn@aEIv7*Oe2Ef;ZQcI&*0_{QWSU`Wjc{8?d?bwnaG6ogpl#)$8MJ+>;oehtvDphy^H*g`%+#1Q! z65$+p21(lfsX4-}QuC<@uf_rav@)*9EJx~m3++`P{H>nbN6$hgWS)ZB Date: Wed, 29 Oct 2025 00:35:35 +0530 Subject: [PATCH 05/34] Replace Confluence link with Zulip link zulip link and title updated --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 54b4af6..5a4f4b5 100644 --- a/README.md +++ b/README.md @@ -227,8 +227,8 @@ We gratefully acknowledge the generous support of the following providers who of - - Atlassian Confluence + + Zulip - Organized team chat app From 71a6b027a258d88922eb726ec749414cba521852 Mon Sep 17 00:00:00 2001 From: Somaraj N <17797942+somaraj@users.noreply.github.com> Date: Wed, 29 Oct 2025 00:49:23 +0530 Subject: [PATCH 06/34] Create CONTRIBUTING.md with contribution guidelines Added guidelines for contributing to the Taskist project. --- CONTRIBUTING.md | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 CONTRIBUTING.md diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 0000000..8eba4bb --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,29 @@ +# Contributing to Taskist + +We welcome and appreciate all contributions to the **Taskist** project! Whether you're fixing bugs, adding features, or helping the community, your efforts are vital to our success. + +## 💡 How to Contribute + +### Discuss Changes First + +**When contributing to this repository, please first discuss the change you wish to make via [issue](https://www.google.com/url?sa=E&source=gmail&q=https://github.com/Taskist/Taskist/issues), [Zulip](https://taskist.zulipchat.com/#narrow/channel/539614-dev) or [email](mailto:hello@taskist.org) with the owners of this repository before making a change.** This helps ensure that your work aligns with the project's direction and minimizes rework. + +### General Contribution Opportunities + +You are more than welcome to contribute to the success of Taskist by: + +* Helping out in the realization of the project's source code. + +* Participating in the forums or community discussions. + +* Spreading the word about Taskist! If you have a site, write about us or place a hyperlink! + +We are committed to nurturing the growth of the Taskist community! + +### More Information on Specific Contributions + +* Working with source code and contributions: [more info](https://taskist.org) + +* Sharing your plugins, themes, and language packs: [more info](https://taskist.org) + +* Contributing to the documentation: [more info](https://taskist.org) From 450493c06c7b1f1715d56e605a95b7a2245457ef Mon Sep 17 00:00:00 2001 From: Somaraj N <17797942+somaraj@users.noreply.github.com> Date: Thu, 30 Oct 2025 10:27:04 +0530 Subject: [PATCH 07/34] readme updated --- README.md | 12 ++++++------ assets/confluence.png | Bin 12964 -> 11771 bytes assets/monsterasp.net.png | Bin 7278 -> 13589 bytes assets/sentry.png | Bin 9032 -> 5066 bytes assets/zulip-icon.png | Bin 3237 -> 0 bytes assets/zulip.png | Bin 0 -> 6191 bytes 6 files changed, 6 insertions(+), 6 deletions(-) delete mode 100644 assets/zulip-icon.png create mode 100644 assets/zulip.png diff --git a/README.md b/README.md index 5a4f4b5..599a3ee 100644 --- a/README.md +++ b/README.md @@ -14,11 +14,11 @@ Stay connected with the Taskist community on **[Zulip](https://taskist.zulipchat [![Chat on Zulip](https://img.shields.io/badge/chat-on%20Zulip-3C7EBB?logo=zulip&logoColor=white)](https://taskist.zulipchat.com) -| Channel | Purpose | Link | -|----------|----------|------| -| 📢 **General** | General discussions, announcements, and community updates. | [Join #general](https://taskist.zulipchat.com/#narrow/channel/539615-general) | -| 💻 **Development** | Development discussions, code reviews, and architecture planning. | [Join #dev](https://taskist.zulipchat.com/#narrow/channel/539614-dev) | -| 🛠️ **Support** | Get help setting up Taskist, report bugs, or troubleshoot issues. | [Join #support](https://taskist.zulipchat.com/#narrow/channel/539613-support) | +| Channel | Purpose | Link | +| ------------------ | ----------------------------------------------------------------- | ----------------------------------------------------------------------------- | +| 📢 **General** | General discussions, announcements, and community updates. | [Join #general](https://taskist.zulipchat.com/#narrow/channel/539615-general) | +| 💻 **Development** | Development discussions, code reviews, and architecture planning. | [Join #dev](https://taskist.zulipchat.com/#narrow/channel/539614-dev) | +| 🛠️ **Support** | Get help setting up Taskist, report bugs, or troubleshoot issues. | [Join #support](https://taskist.zulipchat.com/#narrow/channel/539613-support) | 📝 **Tip:** You can join directly with your GitHub or email account — no setup required. @@ -228,7 +228,7 @@ We gratefully acknowledge the generous support of the following providers who of - Zulip - Organized team chat app + Zulip - Organized team chat app diff --git a/assets/confluence.png b/assets/confluence.png index 442fc439e043ab667659d50a6110890d329cc194..3ef0586e6727953ebdb18ba0701d1d48f04ae737 100644 GIT binary patch literal 11771 zcmZvCRZtyU7iQxG4esuCa0u@1?(XjH5Zo@o-JReN+=9Ei1$TlIbk6@Y^Dtetdsp>S z_v%&avmLFhD20rGj{pDwvW&F2DtLbZFFANf@O>EXNfis8 zR8=%K7&D2Qp6tt4*(kEYH7u2WGzkf4g3*E~sDy;zI4l)Lq!@%%xC64Hgs|eMnDN&? ze#LgnT~9|-A1y0_$2E7kO*3$P@JMOW>?)kWNR^_*XuDw}gTs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?1ANzS3?AGRK8zG`N-~Ar?lr)V6{;}HQB2=Pw z)K7-~txTa>w_WZAG}jRI5eL_*6y dLIqH=zXLeFWl#N?v+MXzmXS~tuN5^8{vX{jy2k(j diff --git a/assets/monsterasp.net.png b/assets/monsterasp.net.png index 9341927e071d84e9b6da6d6513edd8f0ada23a49..abda269b5af5aa8d15227616ca9a4b757c498905 100644 GIT binary patch literal 13589 zcma)?Q*h@^^ya_8#I|i`V%v5yv28n<*qRuVOeVH%O>En?^9%O<-)z;^R&8xnpMGvm zRaZafrqAh5l(M1}A{-tZ004+G(&DQB>DzxH2Lt}!zJ!C={-3})N$a=*06hBt1Q?K& zg989?O4edx%F0%bZjP>2j!q;pVqzptE{+z~cIE)!wU(=9sjha4CGfoUASxFb^h?fB z6%&R;RWv3DBZ-QR6c$A`lC)qIQ>718LIM*1Uw$M+e0)$WrV0Z>G~5dG0qLLkkiy95 zG0?7Wq3u%V^U>sI)3V@k<$Z3$G;}WvLYg$23P%t^nJ5wJPRPjM@a_SVa4;N&6MzEK zU`FctK@JAI1n~3Ill4M(17KeB@GwBHLUu0;LBtpGnP{dSSWqZfuUitg983@fAnX$_ zS_}wFf(7MfP^kg=kbu#+smVT|%m^4!2OiA>LAfuPzF>gvFH%gf{3L(`-8@npu;K$M zr!}J`0Bsfk!$NM52UuYQSY)&;q=DKNpmz!dz8-)<09aHa!)O6WU%==eIk^`Qnh9V? z-f8jQ(pRG#)BWdEW<7r!1&>6qE)1hHw3ZeV5zUkgHa!NXF}QJ-FjK#GChqrOcI2J= z2>{4X!u;>H_a9zUNYztQobk;_hKy%DP+w#wCi|a<(-ls_0I=&8F#E~C+<+Iv2Nh)h z`G@if(#iln-~Bnpq8?ee3CKTP)4F&1A8#ZI65Cc+4-XDjWCulcjmNb7KP~$Wd$m67 zUIX~wpC5O+_b7tD>jz6gzU=f*JjfRjOee#Jnrs{;NWHhff4vjVlMTw4v}w~}?5m(T z$BSph-hVG5ixN$y9ip83GTYl`06_?Da{#qAf?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C(78h@IM8*(fb(I|?bK?arZ4SV1*!=+eP3bd zKzNXQ{gak3-;oWOfDJFSUmPtkVqA${Rhbs8--azQb@Xn6V8Hm=Yj|CMj9bMxQLYy-rEsrVVd40xb-YIdJT5s#B}hUThHA|UY0kFgDaz_ z;!4I%v_l4slRll(iu%#&qczsZ+$*t++Q#VGoNf99ab5{5(UhYQS)s*+K=ng3m%w6L zs`}XalOg0nJOLs-*z2gIBY zXG{iWwq3wi=&T5$Mn)3F(aJi*O#!ONlrVbm#{2Q0ifPk#lCK7$%axsIrHf|f9CWcM z4QRGJT5_Ta?*!&BqDR2PB1_hh)q#Dx-*zfz(1t=R7D`Gch#CQHA2VKwko@YFPnm(; zPp^)Mbv;)SYGFl3wHRuE?eEabt^V^p3*C%%5U0A-C&Q!S!sC+jaB=L`Df+d#o~+q z?{%NPLV|KkGtx{~LR^@IST}L0V}ittT;c^h6)Dh`?iz#MK{N>wm1TOgQ8q zKI6<)j5+a3|CwzV0LhT_e|u!g${Z;FYp~@$VGk1LM(iZVJbQ&GD9ZBcauqV*p#KM} Cia_cB diff --git a/assets/sentry.png b/assets/sentry.png index 272f0a79fc6f8f6265988d961f33211320093e5b..f71ee3183cf488590bc8ae4a1e2af84f38eaabf3 100644 GIT binary patch literal 5066 zcmV;*6E*CKP)$-sabK_UTS zVwfNx5fDlXiejarqK?#}))!Q(^?}9OvD6mr`EEQndp7?$yXSH5J?Ccs8OI@a&z{|X z_uKv7=b&#aB147)h68!cfrAXt^Ll;Fz>9DtyBP~^Ru4uf&P z06iGr%u|K~iQ<3(dZL!g4AyWU7zc6#bR#VXTP^dH;XptRIQUWC12+I~>T-=^GoM|K;^PG~~u&I&k1Xn&G&$r_UNmb1UlTwLib(Scp0I z-cCI(JvTdxW8M;+13B8*!3Uh+Cp`q~SOERAy`NKQaTRUfwlmG;BaUcGC3lUcZWo?K z+n#=z%1am1r=K*7^uO%diDp>8w`=#q1h0%4y5WGpfoL>fmZh-(`m);fH2>}f#{dg% zx{4+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8HkYZdZ_B3iyX9q+>0rphVE7iU2P2v5*dvM50j={!h0CvV|8?` zr29{d72_ggl}V_u?z5&-S$SYs_bI8;v`eU?`?M((X+dXK0O*>ZBk3-o&Y2;?y88_J z_hjZ~Q(}UoyM#Kr1GsZ0WoMEe*N6T5iHX94>*OqpglcEzr$3KuGB_O0lT~_j;$vd) zn=MA8QC60OTF{OAB99#9k`iZ6k8YGBrvW_HtMt2E`F+Nn4kdSnjkdSnjkdSnjkkCK=KLEzl!k{k5#&Q4v N002ovPDHLkV1k*we literal 0 HcmV?d00001 From 4e0b4b77d9c84eac92a41dfafb7791a9f2377d52 Mon Sep 17 00:00:00 2001 From: Somaraj N <17797942+somaraj@users.noreply.github.com> Date: Wed, 5 Nov 2025 12:39:01 +0530 Subject: [PATCH 08/34] sql script for generating dummy data MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Disclaimer: This content was AI-generated for open-source and testing purposes. All names, organizations, and details are fictional. Provided “as is” without any warranty or liability. --- sql script/mssql/03_dummy_data.sql | 339 +++++++++++++++++++++++++++++ 1 file changed, 339 insertions(+) create mode 100644 sql script/mssql/03_dummy_data.sql diff --git a/sql script/mssql/03_dummy_data.sql b/sql script/mssql/03_dummy_data.sql new file mode 100644 index 0000000..db1c94c --- /dev/null +++ b/sql script/mssql/03_dummy_data.sql @@ -0,0 +1,339 @@ +/* ========================================================================================================== + DISCLAIMER + ---------------------------------------------------------------------------------------------------------- + This SQL script was **AI-generated** using OpenAI's GPT technology to create dummy seed data + for an open-source, public project. + + Important Notes: + + - All names, contact details, company titles, and URLs are **fictional** and used purely for demonstration. + - No real person, organization, or entity is represented or referenced. + - The script is provided **"AS IS"** without any warranty or guarantee of any kind, + including but not limited to correctness, completeness, or fitness for a particular purpose. + - Users are free to modify, redistribute, or use this script for educational, testing, or open-source purposes + in compliance with applicable laws and licenses. + - The author(s) and AI provider assume **no legal liability** for misuse or misrepresentation of the generated content. + + © 2025 — Taskist, https://taskist.org https://github.com/Taskist/taskist +========================================================================================================== */ + +-- Client +DECLARE @Client1 VARCHAR(100) = 'TechNova Solutions'; +DECLARE @Client2 VARCHAR(100) = 'CodeSphere Technologies'; +DECLARE @Client3 VARCHAR(100) = 'Orbit Systems'; +DECLARE @Client4 VARCHAR(100) = 'Edge Labs'; +DECLARE @Client5 VARCHAR(100) = 'Core Pvt Ltd'; + +IF NOT EXISTS (SELECT 1 FROM Client WHERE Name = @Client1) + INSERT INTO Client (Name, Description, ContactPerson, PhoneNumber, Email, Website, Active, Deleted) + VALUES (@Client1, 'Enterprise software provider', 'Rajesh Kumar', '0000000000', 'info@taskist.org', 'https://taskist.org', 1, 0); + +IF NOT EXISTS (SELECT 1 FROM Client WHERE Name = @Client2) + INSERT INTO Client (Name, Description, ContactPerson, PhoneNumber, Email, Website, Active, Deleted) + VALUES (@Client2, 'Custom web and mobile app development', 'Anita Patel', '0000000000', 'contact@taskist.org', 'https://taskist.org', 1, 0); + +IF NOT EXISTS (SELECT 1 FROM Client WHERE Name = @Client3) + INSERT INTO Client (Name, Description, ContactPerson, PhoneNumber, Email, Website, Active, Deleted) + VALUES (@Client3, 'Cloud infrastructure and DevOps solutions', 'Rahul Sharma', '0000000000', 'support@taskist.org', 'https://taskist.org', 1, 0); + +IF NOT EXISTS (SELECT 1 FROM Client WHERE Name = @Client4) + INSERT INTO Client (Name, Description, ContactPerson, PhoneNumber, Email, Website, Active, Deleted) + VALUES (@Client4, 'Creative agency specializing in UX/UI', 'Priya Menon', '0000000000', 'hello@taskist.org', 'https://taskist.org', 1, 0); + +IF NOT EXISTS (SELECT 1 FROM Client WHERE Name = @Client5) + INSERT INTO Client (Name, Description, ContactPerson, PhoneNumber, Email, Website, Active, Deleted) + VALUES (@Client5, 'AI-driven software solutions', 'Amit Verma', '0000000000', 'sales@taskist.org', 'https://taskist.org', 1, 0); + +-- Project (Each client gets one) +DECLARE @ClientId1 INT = (SELECT TOP 1 Id FROM Client WHERE Name = @Client1); +DECLARE @ClientId2 INT = (SELECT TOP 1 Id FROM Client WHERE Name = @Client2); +DECLARE @ClientId3 INT = (SELECT TOP 1 Id FROM Client WHERE Name = @Client3); +DECLARE @ClientId4 INT = (SELECT TOP 1 Id FROM Client WHERE Name = @Client4); +DECLARE @ClientId5 INT = (SELECT TOP 1 Id FROM Client WHERE Name = @Client5); + +IF NOT EXISTS (SELECT 1 FROM Project WHERE Name = 'Project Atlas') + INSERT INTO Project (Name, Description, StartDate, EndDate, ClientId, Active, Deleted) + VALUES ('Project Atlas', 'Enterprise workflow automation system', '2025-01-01', '2025-06-30', @ClientId1, 1, 0); + +IF NOT EXISTS (SELECT 1 FROM Project WHERE Name = 'Project Horizon') + INSERT INTO Project (Name, Description, StartDate, EndDate, ClientId, Active, Deleted) + VALUES ('Project Horizon', 'Mobile-first CRM platform', '2025-02-01', '2025-07-30', @ClientId2, 1, 0); + +IF NOT EXISTS (SELECT 1 FROM Project WHERE Name = 'Project Nimbus') + INSERT INTO Project (Name, Description, StartDate, EndDate, ClientId, Active, Deleted) + VALUES ('Project Nimbus', 'Cloud analytics and monitoring suite', '2025-03-01', '2025-08-30', @ClientId3, 1, 0); + +IF NOT EXISTS (SELECT 1 FROM Project WHERE Name = 'Project Vertex') + INSERT INTO Project (Name, Description, StartDate, EndDate, ClientId, Active, Deleted) + VALUES ('Project Vertex', 'Design collaboration and feedback tool', '2025-04-01', '2025-09-30', @ClientId4, 1, 0); + +IF NOT EXISTS (SELECT 1 FROM Project WHERE Name = 'Project Helix') + INSERT INTO Project (Name, Description, StartDate, EndDate, ClientId, Active, Deleted) + VALUES ('Project Helix', 'AI-powered customer insight platform', '2025-05-01', '2025-10-30', @ClientId5, 1, 0); +GO + +-- Module (5 per project) +DECLARE @Project TABLE (Id INT, Name NVARCHAR(255)); +INSERT INTO @Project (Id, Name) +SELECT Id, Name FROM Project WHERE Active = 1 AND Deleted = 0; + +DECLARE @ModuleNames TABLE (ModuleName NVARCHAR(255)); +INSERT INTO @ModuleNames (ModuleName) +VALUES ('Authentication Module'), ('Reporting Module'), ('User Management'), ('Notifications'), ('Integration Layer'); + +DECLARE @ProjId INT, @ProjName NVARCHAR(255), @ModName NVARCHAR(255); + +DECLARE proj_cursor CURSOR FOR SELECT Id, Name FROM @Project; +OPEN proj_cursor; +FETCH NEXT FROM proj_cursor INTO @ProjId, @ProjName; + +WHILE @@FETCH_STATUS = 0 +BEGIN + DECLARE mod_cursor CURSOR FOR SELECT ModuleName FROM @ModuleNames; + OPEN mod_cursor; + FETCH NEXT FROM mod_cursor INTO @ModName; + + WHILE @@FETCH_STATUS = 0 + BEGIN + IF NOT EXISTS (SELECT 1 FROM Module WHERE Name = @ModName AND ProjectId = @ProjId) + INSERT INTO Module (Name, Description, ProjectId, Active, Deleted) + VALUES (@ModName, CONCAT(@ModName, ' for ', @ProjName), @ProjId, 1, 0); + + FETCH NEXT FROM mod_cursor INTO @ModName; + END + + CLOSE mod_cursor; + DEALLOCATE mod_cursor; + + FETCH NEXT FROM proj_cursor INTO @ProjId, @ProjName; +END + +CLOSE proj_cursor; +DEALLOCATE proj_cursor; +GO + +-- SubModules (5 per module) +DECLARE @Module TABLE (Id INT, Name NVARCHAR(255)); +INSERT INTO @Module (Id, Name) +SELECT Id, Name FROM Module WHERE Active = 1 AND Deleted = 0; + +DECLARE @SubNames TABLE (SubName NVARCHAR(255)); +INSERT INTO @SubNames (SubName) +VALUES ('Setup'), ('Configuration'), ('API Endpoints'), ('UI Components'), ('Testing'); + +DECLARE @ModuleId INT, @ModuleName NVARCHAR(255), @SubName NVARCHAR(255); + +DECLARE mod_cursor2 CURSOR FOR SELECT Id, Name FROM @Module; +OPEN mod_cursor2; +FETCH NEXT FROM mod_cursor2 INTO @ModuleId, @ModuleName; + +WHILE @@FETCH_STATUS = 0 +BEGIN + DECLARE sub_cursor CURSOR FOR SELECT SubName FROM @SubNames; + OPEN sub_cursor; + FETCH NEXT FROM sub_cursor INTO @SubName; + + WHILE @@FETCH_STATUS = 0 + BEGIN + IF NOT EXISTS (SELECT 1 FROM SubModule WHERE Name = @SubName AND ModuleId = @ModuleId) + INSERT INTO SubModule (Name, Description, ModuleId, Active, Deleted) + VALUES (@SubName, CONCAT(@SubName, ' part of ', @ModuleName), @ModuleId, 1, 0); + + FETCH NEXT FROM sub_cursor INTO @SubName; + END + + CLOSE sub_cursor; + DEALLOCATE sub_cursor; + + FETCH NEXT FROM mod_cursor2 INTO @ModuleId, @ModuleName; +END + +CLOSE mod_cursor2; +DEALLOCATE mod_cursor2; +GO +-- Status +IF NOT EXISTS (SELECT 1 FROM Status WHERE Name = 'New') +INSERT INTO Status (Name, Description, TextColor, BackgroundColor, IconClass, GroupId, SystemDefined, Active, Deleted) +VALUES ('New', 'Issue has been reported but not yet reviewed or assigned.', '#FFFFFF', '#2196F3', 'fa-regular fa-file', 1, 1, 1, 0); + +IF NOT EXISTS (SELECT 1 FROM Status WHERE Name = 'Assigned') +INSERT INTO Status (Name, Description, TextColor, BackgroundColor, IconClass, GroupId, SystemDefined, Active, Deleted) +VALUES ('Assigned', 'Issue assigned to a developer or team for resolution.', '#FFFFFF', '#3F51B5', 'fa-solid fa-user-check', 2, 1, 1, 0); + +IF NOT EXISTS (SELECT 1 FROM Status WHERE Name = 'In Progress') +INSERT INTO Status (Name, Description, TextColor, BackgroundColor, IconClass, GroupId, SystemDefined, Active, Deleted) +VALUES ('In Progress', 'Work has started on resolving this issue.', '#FFFFFF', '#FFC107', 'fa-solid fa-spinner fa-spin', 2, 1, 1, 0); + +IF NOT EXISTS (SELECT 1 FROM Status WHERE Name = 'Resolved') +INSERT INTO Status (Name, Description, TextColor, BackgroundColor, IconClass, GroupId, SystemDefined, Active, Deleted) +VALUES ('Resolved', 'Developer has fixed the issue; pending verification.', '#FFFFFF', '#4CAF50', 'fa-solid fa-check', 5, 1, 1, 0); + +IF NOT EXISTS (SELECT 1 FROM Status WHERE Name = 'Reopened') +INSERT INTO Status (Name, Description, TextColor, BackgroundColor, IconClass, GroupId, SystemDefined, Active, Deleted) +VALUES ('Reopened', 'Issue was marked resolved but reoccurred or wasn’t fixed properly.', '#FFFFFF', '#FF5722', 'fa-solid fa-redo', 4, 1, 1, 0); + +IF NOT EXISTS (SELECT 1 FROM Status WHERE Name = 'Closed') +INSERT INTO Status (Name, Description, TextColor, BackgroundColor, IconClass, GroupId, SystemDefined, Active, Deleted) +VALUES ('Closed', 'Issue has been verified and marked as completed.', '#FFFFFF', '#009688', 'fa-solid fa-lock', 5, 1, 1, 0); + +IF NOT EXISTS (SELECT 1 FROM Status WHERE Name = 'Deferred') +INSERT INTO Status (Name, Description, TextColor, BackgroundColor, IconClass, GroupId, SystemDefined, Active, Deleted) +VALUES ('Deferred', 'Issue postponed for future releases.', '#FFFFFF', '#9E9E9E', 'fa-solid fa-clock', 3, 1, 1, 0); + +IF NOT EXISTS (SELECT 1 FROM Status WHERE Name = 'Duplicate') +INSERT INTO Status (Name, Description, TextColor, BackgroundColor, IconClass, GroupId, SystemDefined, Active, Deleted) +VALUES ('Duplicate', 'Issue is a duplicate of another ticket.', '#000000', '#E0E0E0', 'fa-solid fa-copy', 3, 1, 1, 0); + +IF NOT EXISTS (SELECT 1 FROM Status WHERE Name = 'Rejected') +INSERT INTO Status (Name, Description, TextColor, BackgroundColor, IconClass, GroupId, SystemDefined, Active, Deleted) +VALUES ('Rejected', 'Issue is invalid or won’t be fixed.', '#FFFFFF', '#9C27B0', 'fa-solid fa-ban', 3, 1, 1, 0); +GO +-- TaskType +IF NOT EXISTS (SELECT 1 FROM TaskType WHERE Name = 'To Do') +INSERT INTO TaskType (Name, Description, TextColor, BackgroundColor, IconClass, GroupId, Active, Deleted) +VALUES ('To Do', 'General work items or non-development tasks.', '#000000', '#2196F3', 'fa-regular fa-list-check', 1, 1, 0); + +IF NOT EXISTS (SELECT 1 FROM TaskType WHERE Name = 'Change Request') +INSERT INTO TaskType (Name, Description, TextColor, BackgroundColor, IconClass, GroupId, Active, Deleted) +VALUES ('Change Request', 'Feature modification or improvement request.', '#FFFFFF', '#009688', 'fa-solid fa-wrench', 2, 1, 0); + +IF NOT EXISTS (SELECT 1 FROM TaskType WHERE Name = 'Bug') +INSERT INTO TaskType (Name, Description, TextColor, BackgroundColor, IconClass, GroupId, Active, Deleted) +VALUES ('Bug', 'Defect in functionality or unexpected system behavior.', '#FFFFFF', '#F44336', 'fa-solid fa-bug', 3, 1, 0); +GO +-- Severity +IF NOT EXISTS (SELECT 1 FROM Severity WHERE Name = 'Trivial') +INSERT INTO Severity (Name, Description, TextColor, BackgroundColor, IconClass, GroupId, Active, Deleted) +VALUES ('Trivial', 'Very low impact or cosmetic issue, does not affect functionality.', '#000000', '#8BC34A', 'fa-regular fa-lightbulb', 1, 1, 0); + +IF NOT EXISTS (SELECT 1 FROM Severity WHERE Name = 'Minor') +INSERT INTO Severity (Name, Description, TextColor, BackgroundColor, IconClass, GroupId, Active, Deleted) +VALUES ('Minor', 'Low impact issue with minimal user disruption.', '#000000', '#FFEB3B', 'fa-regular fa-circle-exclamation', 1, 1, 0); + +IF NOT EXISTS (SELECT 1 FROM Severity WHERE Name = 'Major') +INSERT INTO Severity (Name, Description, TextColor, BackgroundColor, IconClass, GroupId, Active, Deleted) +VALUES ('Major', 'Significant issue affecting major functionality with a workaround available.', '#FFFFFF', '#FF9800', 'fa-solid fa-exclamation-triangle', 2, 1, 0); + +IF NOT EXISTS (SELECT 1 FROM Severity WHERE Name = 'Critical') +INSERT INTO Severity (Name, Description, TextColor, BackgroundColor, IconClass, GroupId, Active, Deleted) +VALUES ('Critical', 'Severe issue causing data loss or system instability requiring urgent fix.', '#FFFFFF', '#F44336', 'fa-solid fa-bug', 3, 1, 0); + +IF NOT EXISTS (SELECT 1 FROM Severity WHERE Name = 'Show Stopper') +INSERT INTO Severity (Name, Description, TextColor, BackgroundColor, IconClass, GroupId, Active, Deleted) +VALUES ('Show Stopper', 'Complete system or module failure blocking critical operations.', '#FFFFFF', '#B71C1C', 'fa-solid fa-skull-crossbones', 4, 1, 0); +GO + +-- Reporter +DECLARE @ProjectId INT; + +-------------------------------------------- +-- Project Atlas +-------------------------------------------- +SELECT @ProjectId = Id FROM Project WHERE Name = 'Project Atlas'; +IF @ProjectId IS NOT NULL +BEGIN + IF NOT EXISTS (SELECT 1 FROM Reporter WHERE Name = 'IT' AND ProjectId = @ProjectId) + INSERT INTO Reporter ([Name], [Description], [ProjectId], [Active], [Deleted]) + VALUES ('IT', 'Handles internal systems and project infrastructure', @ProjectId, 1, 0); + + IF NOT EXISTS (SELECT 1 FROM Reporter WHERE Name = 'QA' AND ProjectId = @ProjectId) + INSERT INTO Reporter VALUES ('QA', 'Responsible for testing modules and submodules', @ProjectId, 1, 0); + + IF NOT EXISTS (SELECT 1 FROM Reporter WHERE Name = 'DevOps' AND ProjectId = @ProjectId) + INSERT INTO Reporter VALUES ('DevOps', 'Manages CI/CD and deployment pipelines', @ProjectId, 1, 0); + + IF NOT EXISTS (SELECT 1 FROM Reporter WHERE Name = 'Support' AND ProjectId = @ProjectId) + INSERT INTO Reporter VALUES ('Support', 'Handles client-reported bugs and tickets', @ProjectId, 1, 0); + + IF NOT EXISTS (SELECT 1 FROM Reporter WHERE Name = 'Admin' AND ProjectId = @ProjectId) + INSERT INTO Reporter VALUES ('Admin', 'Manages user permissions and data policies', @ProjectId, 1, 0); +END; + +-------------------------------------------- +-- Project Horizon +-------------------------------------------- +SELECT @ProjectId = Id FROM Project WHERE Name = 'Project Horizon'; +IF @ProjectId IS NOT NULL +BEGIN + IF NOT EXISTS (SELECT 1 FROM Reporter WHERE Name = 'Accounts' AND ProjectId = @ProjectId) + INSERT INTO Reporter VALUES ('Accounts', 'Manages project billing and transactions', @ProjectId, 1, 0); + + IF NOT EXISTS (SELECT 1 FROM Reporter WHERE Name = 'Finance' AND ProjectId = @ProjectId) + INSERT INTO Reporter VALUES ('Finance', 'Tracks budgets and expenses', @ProjectId, 1, 0); + + IF NOT EXISTS (SELECT 1 FROM Reporter WHERE Name = 'HR' AND ProjectId = @ProjectId) + INSERT INTO Reporter VALUES ('HR', 'Handles staffing and project resources', @ProjectId, 1, 0); + + IF NOT EXISTS (SELECT 1 FROM Reporter WHERE Name = 'IT' AND ProjectId = @ProjectId) + INSERT INTO Reporter VALUES ('IT', 'Handles internal systems and infrastructure', @ProjectId, 1, 0); + + IF NOT EXISTS (SELECT 1 FROM Reporter WHERE Name = 'QA' AND ProjectId = @ProjectId) + INSERT INTO Reporter VALUES ('QA', 'Performs regression and integration testing', @ProjectId, 1, 0); +END; + +-------------------------------------------- +-- Project Nimbus +-------------------------------------------- +SELECT @ProjectId = Id FROM Project WHERE Name = 'Project Nimbus'; +IF @ProjectId IS NOT NULL +BEGIN + IF NOT EXISTS (SELECT 1 FROM Reporter WHERE Name = 'R&D' AND ProjectId = @ProjectId) + INSERT INTO Reporter VALUES ('R&D', 'Responsible for new feature prototyping', @ProjectId, 1, 0); + + IF NOT EXISTS (SELECT 1 FROM Reporter WHERE Name = 'Product' AND ProjectId = @ProjectId) + INSERT INTO Reporter VALUES ('Product', 'Manages product requirements and backlog', @ProjectId, 1, 0); + + IF NOT EXISTS (SELECT 1 FROM Reporter WHERE Name = 'Design' AND ProjectId = @ProjectId) + INSERT INTO Reporter VALUES ('Design', 'Creates and reviews UI/UX designs', @ProjectId, 1, 0); + + IF NOT EXISTS (SELECT 1 FROM Reporter WHERE Name = 'IT' AND ProjectId = @ProjectId) + INSERT INTO Reporter VALUES ('IT', 'Handles system configurations and builds', @ProjectId, 1, 0); + + IF NOT EXISTS (SELECT 1 FROM Reporter WHERE Name = 'QA' AND ProjectId = @ProjectId) + INSERT INTO Reporter VALUES ('QA', 'Performs test automation and release validation', @ProjectId, 1, 0); +END; + +-------------------------------------------- +-- Project Vertex +-------------------------------------------- +SELECT @ProjectId = Id FROM Project WHERE Name = 'Project Vertex'; +IF @ProjectId IS NOT NULL +BEGIN + IF NOT EXISTS (SELECT 1 FROM Reporter WHERE Name = 'Analytics' AND ProjectId = @ProjectId) + INSERT INTO Reporter VALUES ('Analytics', 'Collects and interprets usage metrics', @ProjectId, 1, 0); + + IF NOT EXISTS (SELECT 1 FROM Reporter WHERE Name = 'Security' AND ProjectId = @ProjectId) + INSERT INTO Reporter VALUES ('Security', 'Ensures app and data security compliance', @ProjectId, 1, 0); + + IF NOT EXISTS (SELECT 1 FROM Reporter WHERE Name = 'DevOps' AND ProjectId = @ProjectId) + INSERT INTO Reporter VALUES ('DevOps', 'Oversees release pipelines and infrastructure', @ProjectId, 1, 0); + + IF NOT EXISTS (SELECT 1 FROM Reporter WHERE Name = 'Support' AND ProjectId = @ProjectId) + INSERT INTO Reporter VALUES ('Support', 'Resolves reported user issues', @ProjectId, 1, 0); + + IF NOT EXISTS (SELECT 1 FROM Reporter WHERE Name = 'Finance' AND ProjectId = @ProjectId) + INSERT INTO Reporter VALUES ('Finance', 'Monitors financial operations', @ProjectId, 1, 0); +END; + +-------------------------------------------- +-- Project Helix +-------------------------------------------- +SELECT @ProjectId = Id FROM Project WHERE Name = 'Project Helix'; +IF @ProjectId IS NOT NULL +BEGIN + IF NOT EXISTS (SELECT 1 FROM Reporter WHERE Name = 'Operations' AND ProjectId = @ProjectId) + INSERT INTO Reporter VALUES ('Operations', 'Manages internal task assignments', @ProjectId, 1, 0); + + IF NOT EXISTS (SELECT 1 FROM Reporter WHERE Name = 'Support' AND ProjectId = @ProjectId) + INSERT INTO Reporter VALUES ('Support', 'Handles technical and client support', @ProjectId, 1, 0); + + IF NOT EXISTS (SELECT 1 FROM Reporter WHERE Name = 'Marketing' AND ProjectId = @ProjectId) + INSERT INTO Reporter VALUES ('Marketing', 'Manages campaigns and outreach', @ProjectId, 1, 0); + + IF NOT EXISTS (SELECT 1 FROM Reporter WHERE Name = 'QA' AND ProjectId = @ProjectId) + INSERT INTO Reporter VALUES ('QA', 'Ensures build and release quality', @ProjectId, 1, 0); + + IF NOT EXISTS (SELECT 1 FROM Reporter WHERE Name = 'Admin' AND ProjectId = @ProjectId) + INSERT INTO Reporter VALUES ('Admin', 'Controls permissions and workflow settings', @ProjectId, 1, 0); +END; +GO From 50314f46e78b36fd2f36f4d4a92718fbb66ad7f9 Mon Sep 17 00:00:00 2001 From: Somaraj N <17797942+somaraj@users.noreply.github.com> Date: Wed, 5 Nov 2025 12:46:45 +0530 Subject: [PATCH 09/34] Add live demo section --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 599a3ee..1f65012 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,11 @@ This system helps teams manage tasks, track bugs, handle change requests, and or ![Issues](https://img.shields.io/github/issues/taskist/taskist) ![Stars](https://img.shields.io/github/stars/taskist/taskist) +## 🚀 Live Demo + +Experience Taskist in action: 👉 [**demo.taskist.org**](https://demo.taskist.org) + + ## 💬 Join the Discussion on Zulip Stay connected with the Taskist community on **[Zulip](https://taskist.zulipchat.com)** — our hub for collaboration, support, and ideas. From 90330e002fffca802c9350aa6dd8cb497a8b534f Mon Sep 17 00:00:00 2001 From: Somaraj N <17797942+somaraj@users.noreply.github.com> Date: Fri, 7 Nov 2025 00:27:08 +0530 Subject: [PATCH 10/34] sqript file renamed to match naming convension, backlog additional text area removed --- .vscode/launch.json | 10 + .vscode/settings.json | 10 + .../{03_dummy_data.sql => 3_dummy_data.sql} | 678 +++++++++--------- .../Taskist.Web/Views/Backlog/_Form.cshtml | 76 +- 4 files changed, 370 insertions(+), 404 deletions(-) create mode 100644 .vscode/launch.json create mode 100644 .vscode/settings.json rename sql script/mssql/{03_dummy_data.sql => 3_dummy_data.sql} (98%) diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..039e970 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,10 @@ +{ + "configurations": [ + { + "name": "C#: Taskist.Web [Default Configuration]", + "type": "dotnet", + "request": "launch", + "projectPath": "${workspaceFolder}\\src\\Presentation\\Taskist.Web\\Taskist.Web.csproj" + } + ] +} \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..733280d --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,10 @@ +{ + "files.exclude": { + "**/bin": true, + "**/obj": true + }, + "search.exclude": { + "**/bin": true, + "**/obj": true + } +} diff --git a/sql script/mssql/03_dummy_data.sql b/sql script/mssql/3_dummy_data.sql similarity index 98% rename from sql script/mssql/03_dummy_data.sql rename to sql script/mssql/3_dummy_data.sql index db1c94c..af4fd90 100644 --- a/sql script/mssql/03_dummy_data.sql +++ b/sql script/mssql/3_dummy_data.sql @@ -1,339 +1,339 @@ -/* ========================================================================================================== - DISCLAIMER - ---------------------------------------------------------------------------------------------------------- - This SQL script was **AI-generated** using OpenAI's GPT technology to create dummy seed data - for an open-source, public project. - - Important Notes: - - - All names, contact details, company titles, and URLs are **fictional** and used purely for demonstration. - - No real person, organization, or entity is represented or referenced. - - The script is provided **"AS IS"** without any warranty or guarantee of any kind, - including but not limited to correctness, completeness, or fitness for a particular purpose. - - Users are free to modify, redistribute, or use this script for educational, testing, or open-source purposes - in compliance with applicable laws and licenses. - - The author(s) and AI provider assume **no legal liability** for misuse or misrepresentation of the generated content. - - © 2025 — Taskist, https://taskist.org https://github.com/Taskist/taskist -========================================================================================================== */ - --- Client -DECLARE @Client1 VARCHAR(100) = 'TechNova Solutions'; -DECLARE @Client2 VARCHAR(100) = 'CodeSphere Technologies'; -DECLARE @Client3 VARCHAR(100) = 'Orbit Systems'; -DECLARE @Client4 VARCHAR(100) = 'Edge Labs'; -DECLARE @Client5 VARCHAR(100) = 'Core Pvt Ltd'; - -IF NOT EXISTS (SELECT 1 FROM Client WHERE Name = @Client1) - INSERT INTO Client (Name, Description, ContactPerson, PhoneNumber, Email, Website, Active, Deleted) - VALUES (@Client1, 'Enterprise software provider', 'Rajesh Kumar', '0000000000', 'info@taskist.org', 'https://taskist.org', 1, 0); - -IF NOT EXISTS (SELECT 1 FROM Client WHERE Name = @Client2) - INSERT INTO Client (Name, Description, ContactPerson, PhoneNumber, Email, Website, Active, Deleted) - VALUES (@Client2, 'Custom web and mobile app development', 'Anita Patel', '0000000000', 'contact@taskist.org', 'https://taskist.org', 1, 0); - -IF NOT EXISTS (SELECT 1 FROM Client WHERE Name = @Client3) - INSERT INTO Client (Name, Description, ContactPerson, PhoneNumber, Email, Website, Active, Deleted) - VALUES (@Client3, 'Cloud infrastructure and DevOps solutions', 'Rahul Sharma', '0000000000', 'support@taskist.org', 'https://taskist.org', 1, 0); - -IF NOT EXISTS (SELECT 1 FROM Client WHERE Name = @Client4) - INSERT INTO Client (Name, Description, ContactPerson, PhoneNumber, Email, Website, Active, Deleted) - VALUES (@Client4, 'Creative agency specializing in UX/UI', 'Priya Menon', '0000000000', 'hello@taskist.org', 'https://taskist.org', 1, 0); - -IF NOT EXISTS (SELECT 1 FROM Client WHERE Name = @Client5) - INSERT INTO Client (Name, Description, ContactPerson, PhoneNumber, Email, Website, Active, Deleted) - VALUES (@Client5, 'AI-driven software solutions', 'Amit Verma', '0000000000', 'sales@taskist.org', 'https://taskist.org', 1, 0); - --- Project (Each client gets one) -DECLARE @ClientId1 INT = (SELECT TOP 1 Id FROM Client WHERE Name = @Client1); -DECLARE @ClientId2 INT = (SELECT TOP 1 Id FROM Client WHERE Name = @Client2); -DECLARE @ClientId3 INT = (SELECT TOP 1 Id FROM Client WHERE Name = @Client3); -DECLARE @ClientId4 INT = (SELECT TOP 1 Id FROM Client WHERE Name = @Client4); -DECLARE @ClientId5 INT = (SELECT TOP 1 Id FROM Client WHERE Name = @Client5); - -IF NOT EXISTS (SELECT 1 FROM Project WHERE Name = 'Project Atlas') - INSERT INTO Project (Name, Description, StartDate, EndDate, ClientId, Active, Deleted) - VALUES ('Project Atlas', 'Enterprise workflow automation system', '2025-01-01', '2025-06-30', @ClientId1, 1, 0); - -IF NOT EXISTS (SELECT 1 FROM Project WHERE Name = 'Project Horizon') - INSERT INTO Project (Name, Description, StartDate, EndDate, ClientId, Active, Deleted) - VALUES ('Project Horizon', 'Mobile-first CRM platform', '2025-02-01', '2025-07-30', @ClientId2, 1, 0); - -IF NOT EXISTS (SELECT 1 FROM Project WHERE Name = 'Project Nimbus') - INSERT INTO Project (Name, Description, StartDate, EndDate, ClientId, Active, Deleted) - VALUES ('Project Nimbus', 'Cloud analytics and monitoring suite', '2025-03-01', '2025-08-30', @ClientId3, 1, 0); - -IF NOT EXISTS (SELECT 1 FROM Project WHERE Name = 'Project Vertex') - INSERT INTO Project (Name, Description, StartDate, EndDate, ClientId, Active, Deleted) - VALUES ('Project Vertex', 'Design collaboration and feedback tool', '2025-04-01', '2025-09-30', @ClientId4, 1, 0); - -IF NOT EXISTS (SELECT 1 FROM Project WHERE Name = 'Project Helix') - INSERT INTO Project (Name, Description, StartDate, EndDate, ClientId, Active, Deleted) - VALUES ('Project Helix', 'AI-powered customer insight platform', '2025-05-01', '2025-10-30', @ClientId5, 1, 0); -GO - --- Module (5 per project) -DECLARE @Project TABLE (Id INT, Name NVARCHAR(255)); -INSERT INTO @Project (Id, Name) -SELECT Id, Name FROM Project WHERE Active = 1 AND Deleted = 0; - -DECLARE @ModuleNames TABLE (ModuleName NVARCHAR(255)); -INSERT INTO @ModuleNames (ModuleName) -VALUES ('Authentication Module'), ('Reporting Module'), ('User Management'), ('Notifications'), ('Integration Layer'); - -DECLARE @ProjId INT, @ProjName NVARCHAR(255), @ModName NVARCHAR(255); - -DECLARE proj_cursor CURSOR FOR SELECT Id, Name FROM @Project; -OPEN proj_cursor; -FETCH NEXT FROM proj_cursor INTO @ProjId, @ProjName; - -WHILE @@FETCH_STATUS = 0 -BEGIN - DECLARE mod_cursor CURSOR FOR SELECT ModuleName FROM @ModuleNames; - OPEN mod_cursor; - FETCH NEXT FROM mod_cursor INTO @ModName; - - WHILE @@FETCH_STATUS = 0 - BEGIN - IF NOT EXISTS (SELECT 1 FROM Module WHERE Name = @ModName AND ProjectId = @ProjId) - INSERT INTO Module (Name, Description, ProjectId, Active, Deleted) - VALUES (@ModName, CONCAT(@ModName, ' for ', @ProjName), @ProjId, 1, 0); - - FETCH NEXT FROM mod_cursor INTO @ModName; - END - - CLOSE mod_cursor; - DEALLOCATE mod_cursor; - - FETCH NEXT FROM proj_cursor INTO @ProjId, @ProjName; -END - -CLOSE proj_cursor; -DEALLOCATE proj_cursor; -GO - --- SubModules (5 per module) -DECLARE @Module TABLE (Id INT, Name NVARCHAR(255)); -INSERT INTO @Module (Id, Name) -SELECT Id, Name FROM Module WHERE Active = 1 AND Deleted = 0; - -DECLARE @SubNames TABLE (SubName NVARCHAR(255)); -INSERT INTO @SubNames (SubName) -VALUES ('Setup'), ('Configuration'), ('API Endpoints'), ('UI Components'), ('Testing'); - -DECLARE @ModuleId INT, @ModuleName NVARCHAR(255), @SubName NVARCHAR(255); - -DECLARE mod_cursor2 CURSOR FOR SELECT Id, Name FROM @Module; -OPEN mod_cursor2; -FETCH NEXT FROM mod_cursor2 INTO @ModuleId, @ModuleName; - -WHILE @@FETCH_STATUS = 0 -BEGIN - DECLARE sub_cursor CURSOR FOR SELECT SubName FROM @SubNames; - OPEN sub_cursor; - FETCH NEXT FROM sub_cursor INTO @SubName; - - WHILE @@FETCH_STATUS = 0 - BEGIN - IF NOT EXISTS (SELECT 1 FROM SubModule WHERE Name = @SubName AND ModuleId = @ModuleId) - INSERT INTO SubModule (Name, Description, ModuleId, Active, Deleted) - VALUES (@SubName, CONCAT(@SubName, ' part of ', @ModuleName), @ModuleId, 1, 0); - - FETCH NEXT FROM sub_cursor INTO @SubName; - END - - CLOSE sub_cursor; - DEALLOCATE sub_cursor; - - FETCH NEXT FROM mod_cursor2 INTO @ModuleId, @ModuleName; -END - -CLOSE mod_cursor2; -DEALLOCATE mod_cursor2; -GO --- Status -IF NOT EXISTS (SELECT 1 FROM Status WHERE Name = 'New') -INSERT INTO Status (Name, Description, TextColor, BackgroundColor, IconClass, GroupId, SystemDefined, Active, Deleted) -VALUES ('New', 'Issue has been reported but not yet reviewed or assigned.', '#FFFFFF', '#2196F3', 'fa-regular fa-file', 1, 1, 1, 0); - -IF NOT EXISTS (SELECT 1 FROM Status WHERE Name = 'Assigned') -INSERT INTO Status (Name, Description, TextColor, BackgroundColor, IconClass, GroupId, SystemDefined, Active, Deleted) -VALUES ('Assigned', 'Issue assigned to a developer or team for resolution.', '#FFFFFF', '#3F51B5', 'fa-solid fa-user-check', 2, 1, 1, 0); - -IF NOT EXISTS (SELECT 1 FROM Status WHERE Name = 'In Progress') -INSERT INTO Status (Name, Description, TextColor, BackgroundColor, IconClass, GroupId, SystemDefined, Active, Deleted) -VALUES ('In Progress', 'Work has started on resolving this issue.', '#FFFFFF', '#FFC107', 'fa-solid fa-spinner fa-spin', 2, 1, 1, 0); - -IF NOT EXISTS (SELECT 1 FROM Status WHERE Name = 'Resolved') -INSERT INTO Status (Name, Description, TextColor, BackgroundColor, IconClass, GroupId, SystemDefined, Active, Deleted) -VALUES ('Resolved', 'Developer has fixed the issue; pending verification.', '#FFFFFF', '#4CAF50', 'fa-solid fa-check', 5, 1, 1, 0); - -IF NOT EXISTS (SELECT 1 FROM Status WHERE Name = 'Reopened') -INSERT INTO Status (Name, Description, TextColor, BackgroundColor, IconClass, GroupId, SystemDefined, Active, Deleted) -VALUES ('Reopened', 'Issue was marked resolved but reoccurred or wasn’t fixed properly.', '#FFFFFF', '#FF5722', 'fa-solid fa-redo', 4, 1, 1, 0); - -IF NOT EXISTS (SELECT 1 FROM Status WHERE Name = 'Closed') -INSERT INTO Status (Name, Description, TextColor, BackgroundColor, IconClass, GroupId, SystemDefined, Active, Deleted) -VALUES ('Closed', 'Issue has been verified and marked as completed.', '#FFFFFF', '#009688', 'fa-solid fa-lock', 5, 1, 1, 0); - -IF NOT EXISTS (SELECT 1 FROM Status WHERE Name = 'Deferred') -INSERT INTO Status (Name, Description, TextColor, BackgroundColor, IconClass, GroupId, SystemDefined, Active, Deleted) -VALUES ('Deferred', 'Issue postponed for future releases.', '#FFFFFF', '#9E9E9E', 'fa-solid fa-clock', 3, 1, 1, 0); - -IF NOT EXISTS (SELECT 1 FROM Status WHERE Name = 'Duplicate') -INSERT INTO Status (Name, Description, TextColor, BackgroundColor, IconClass, GroupId, SystemDefined, Active, Deleted) -VALUES ('Duplicate', 'Issue is a duplicate of another ticket.', '#000000', '#E0E0E0', 'fa-solid fa-copy', 3, 1, 1, 0); - -IF NOT EXISTS (SELECT 1 FROM Status WHERE Name = 'Rejected') -INSERT INTO Status (Name, Description, TextColor, BackgroundColor, IconClass, GroupId, SystemDefined, Active, Deleted) -VALUES ('Rejected', 'Issue is invalid or won’t be fixed.', '#FFFFFF', '#9C27B0', 'fa-solid fa-ban', 3, 1, 1, 0); -GO --- TaskType -IF NOT EXISTS (SELECT 1 FROM TaskType WHERE Name = 'To Do') -INSERT INTO TaskType (Name, Description, TextColor, BackgroundColor, IconClass, GroupId, Active, Deleted) -VALUES ('To Do', 'General work items or non-development tasks.', '#000000', '#2196F3', 'fa-regular fa-list-check', 1, 1, 0); - -IF NOT EXISTS (SELECT 1 FROM TaskType WHERE Name = 'Change Request') -INSERT INTO TaskType (Name, Description, TextColor, BackgroundColor, IconClass, GroupId, Active, Deleted) -VALUES ('Change Request', 'Feature modification or improvement request.', '#FFFFFF', '#009688', 'fa-solid fa-wrench', 2, 1, 0); - -IF NOT EXISTS (SELECT 1 FROM TaskType WHERE Name = 'Bug') -INSERT INTO TaskType (Name, Description, TextColor, BackgroundColor, IconClass, GroupId, Active, Deleted) -VALUES ('Bug', 'Defect in functionality or unexpected system behavior.', '#FFFFFF', '#F44336', 'fa-solid fa-bug', 3, 1, 0); -GO --- Severity -IF NOT EXISTS (SELECT 1 FROM Severity WHERE Name = 'Trivial') -INSERT INTO Severity (Name, Description, TextColor, BackgroundColor, IconClass, GroupId, Active, Deleted) -VALUES ('Trivial', 'Very low impact or cosmetic issue, does not affect functionality.', '#000000', '#8BC34A', 'fa-regular fa-lightbulb', 1, 1, 0); - -IF NOT EXISTS (SELECT 1 FROM Severity WHERE Name = 'Minor') -INSERT INTO Severity (Name, Description, TextColor, BackgroundColor, IconClass, GroupId, Active, Deleted) -VALUES ('Minor', 'Low impact issue with minimal user disruption.', '#000000', '#FFEB3B', 'fa-regular fa-circle-exclamation', 1, 1, 0); - -IF NOT EXISTS (SELECT 1 FROM Severity WHERE Name = 'Major') -INSERT INTO Severity (Name, Description, TextColor, BackgroundColor, IconClass, GroupId, Active, Deleted) -VALUES ('Major', 'Significant issue affecting major functionality with a workaround available.', '#FFFFFF', '#FF9800', 'fa-solid fa-exclamation-triangle', 2, 1, 0); - -IF NOT EXISTS (SELECT 1 FROM Severity WHERE Name = 'Critical') -INSERT INTO Severity (Name, Description, TextColor, BackgroundColor, IconClass, GroupId, Active, Deleted) -VALUES ('Critical', 'Severe issue causing data loss or system instability requiring urgent fix.', '#FFFFFF', '#F44336', 'fa-solid fa-bug', 3, 1, 0); - -IF NOT EXISTS (SELECT 1 FROM Severity WHERE Name = 'Show Stopper') -INSERT INTO Severity (Name, Description, TextColor, BackgroundColor, IconClass, GroupId, Active, Deleted) -VALUES ('Show Stopper', 'Complete system or module failure blocking critical operations.', '#FFFFFF', '#B71C1C', 'fa-solid fa-skull-crossbones', 4, 1, 0); -GO - --- Reporter -DECLARE @ProjectId INT; - --------------------------------------------- --- Project Atlas --------------------------------------------- -SELECT @ProjectId = Id FROM Project WHERE Name = 'Project Atlas'; -IF @ProjectId IS NOT NULL -BEGIN - IF NOT EXISTS (SELECT 1 FROM Reporter WHERE Name = 'IT' AND ProjectId = @ProjectId) - INSERT INTO Reporter ([Name], [Description], [ProjectId], [Active], [Deleted]) - VALUES ('IT', 'Handles internal systems and project infrastructure', @ProjectId, 1, 0); - - IF NOT EXISTS (SELECT 1 FROM Reporter WHERE Name = 'QA' AND ProjectId = @ProjectId) - INSERT INTO Reporter VALUES ('QA', 'Responsible for testing modules and submodules', @ProjectId, 1, 0); - - IF NOT EXISTS (SELECT 1 FROM Reporter WHERE Name = 'DevOps' AND ProjectId = @ProjectId) - INSERT INTO Reporter VALUES ('DevOps', 'Manages CI/CD and deployment pipelines', @ProjectId, 1, 0); - - IF NOT EXISTS (SELECT 1 FROM Reporter WHERE Name = 'Support' AND ProjectId = @ProjectId) - INSERT INTO Reporter VALUES ('Support', 'Handles client-reported bugs and tickets', @ProjectId, 1, 0); - - IF NOT EXISTS (SELECT 1 FROM Reporter WHERE Name = 'Admin' AND ProjectId = @ProjectId) - INSERT INTO Reporter VALUES ('Admin', 'Manages user permissions and data policies', @ProjectId, 1, 0); -END; - --------------------------------------------- --- Project Horizon --------------------------------------------- -SELECT @ProjectId = Id FROM Project WHERE Name = 'Project Horizon'; -IF @ProjectId IS NOT NULL -BEGIN - IF NOT EXISTS (SELECT 1 FROM Reporter WHERE Name = 'Accounts' AND ProjectId = @ProjectId) - INSERT INTO Reporter VALUES ('Accounts', 'Manages project billing and transactions', @ProjectId, 1, 0); - - IF NOT EXISTS (SELECT 1 FROM Reporter WHERE Name = 'Finance' AND ProjectId = @ProjectId) - INSERT INTO Reporter VALUES ('Finance', 'Tracks budgets and expenses', @ProjectId, 1, 0); - - IF NOT EXISTS (SELECT 1 FROM Reporter WHERE Name = 'HR' AND ProjectId = @ProjectId) - INSERT INTO Reporter VALUES ('HR', 'Handles staffing and project resources', @ProjectId, 1, 0); - - IF NOT EXISTS (SELECT 1 FROM Reporter WHERE Name = 'IT' AND ProjectId = @ProjectId) - INSERT INTO Reporter VALUES ('IT', 'Handles internal systems and infrastructure', @ProjectId, 1, 0); - - IF NOT EXISTS (SELECT 1 FROM Reporter WHERE Name = 'QA' AND ProjectId = @ProjectId) - INSERT INTO Reporter VALUES ('QA', 'Performs regression and integration testing', @ProjectId, 1, 0); -END; - --------------------------------------------- --- Project Nimbus --------------------------------------------- -SELECT @ProjectId = Id FROM Project WHERE Name = 'Project Nimbus'; -IF @ProjectId IS NOT NULL -BEGIN - IF NOT EXISTS (SELECT 1 FROM Reporter WHERE Name = 'R&D' AND ProjectId = @ProjectId) - INSERT INTO Reporter VALUES ('R&D', 'Responsible for new feature prototyping', @ProjectId, 1, 0); - - IF NOT EXISTS (SELECT 1 FROM Reporter WHERE Name = 'Product' AND ProjectId = @ProjectId) - INSERT INTO Reporter VALUES ('Product', 'Manages product requirements and backlog', @ProjectId, 1, 0); - - IF NOT EXISTS (SELECT 1 FROM Reporter WHERE Name = 'Design' AND ProjectId = @ProjectId) - INSERT INTO Reporter VALUES ('Design', 'Creates and reviews UI/UX designs', @ProjectId, 1, 0); - - IF NOT EXISTS (SELECT 1 FROM Reporter WHERE Name = 'IT' AND ProjectId = @ProjectId) - INSERT INTO Reporter VALUES ('IT', 'Handles system configurations and builds', @ProjectId, 1, 0); - - IF NOT EXISTS (SELECT 1 FROM Reporter WHERE Name = 'QA' AND ProjectId = @ProjectId) - INSERT INTO Reporter VALUES ('QA', 'Performs test automation and release validation', @ProjectId, 1, 0); -END; - --------------------------------------------- --- Project Vertex --------------------------------------------- -SELECT @ProjectId = Id FROM Project WHERE Name = 'Project Vertex'; -IF @ProjectId IS NOT NULL -BEGIN - IF NOT EXISTS (SELECT 1 FROM Reporter WHERE Name = 'Analytics' AND ProjectId = @ProjectId) - INSERT INTO Reporter VALUES ('Analytics', 'Collects and interprets usage metrics', @ProjectId, 1, 0); - - IF NOT EXISTS (SELECT 1 FROM Reporter WHERE Name = 'Security' AND ProjectId = @ProjectId) - INSERT INTO Reporter VALUES ('Security', 'Ensures app and data security compliance', @ProjectId, 1, 0); - - IF NOT EXISTS (SELECT 1 FROM Reporter WHERE Name = 'DevOps' AND ProjectId = @ProjectId) - INSERT INTO Reporter VALUES ('DevOps', 'Oversees release pipelines and infrastructure', @ProjectId, 1, 0); - - IF NOT EXISTS (SELECT 1 FROM Reporter WHERE Name = 'Support' AND ProjectId = @ProjectId) - INSERT INTO Reporter VALUES ('Support', 'Resolves reported user issues', @ProjectId, 1, 0); - - IF NOT EXISTS (SELECT 1 FROM Reporter WHERE Name = 'Finance' AND ProjectId = @ProjectId) - INSERT INTO Reporter VALUES ('Finance', 'Monitors financial operations', @ProjectId, 1, 0); -END; - --------------------------------------------- --- Project Helix --------------------------------------------- -SELECT @ProjectId = Id FROM Project WHERE Name = 'Project Helix'; -IF @ProjectId IS NOT NULL -BEGIN - IF NOT EXISTS (SELECT 1 FROM Reporter WHERE Name = 'Operations' AND ProjectId = @ProjectId) - INSERT INTO Reporter VALUES ('Operations', 'Manages internal task assignments', @ProjectId, 1, 0); - - IF NOT EXISTS (SELECT 1 FROM Reporter WHERE Name = 'Support' AND ProjectId = @ProjectId) - INSERT INTO Reporter VALUES ('Support', 'Handles technical and client support', @ProjectId, 1, 0); - - IF NOT EXISTS (SELECT 1 FROM Reporter WHERE Name = 'Marketing' AND ProjectId = @ProjectId) - INSERT INTO Reporter VALUES ('Marketing', 'Manages campaigns and outreach', @ProjectId, 1, 0); - - IF NOT EXISTS (SELECT 1 FROM Reporter WHERE Name = 'QA' AND ProjectId = @ProjectId) - INSERT INTO Reporter VALUES ('QA', 'Ensures build and release quality', @ProjectId, 1, 0); - - IF NOT EXISTS (SELECT 1 FROM Reporter WHERE Name = 'Admin' AND ProjectId = @ProjectId) - INSERT INTO Reporter VALUES ('Admin', 'Controls permissions and workflow settings', @ProjectId, 1, 0); -END; -GO +/* ========================================================================================================== + DISCLAIMER + ---------------------------------------------------------------------------------------------------------- + This SQL script was **AI-generated** using OpenAI's GPT technology to create dummy seed data + for an open-source, public project. + + Important Notes: + + - All names, contact details, company titles, and URLs are **fictional** and used purely for demonstration. + - No real person, organization, or entity is represented or referenced. + - The script is provided **"AS IS"** without any warranty or guarantee of any kind, + including but not limited to correctness, completeness, or fitness for a particular purpose. + - Users are free to modify, redistribute, or use this script for educational, testing, or open-source purposes + in compliance with applicable laws and licenses. + - The author(s) and AI provider assume **no legal liability** for misuse or misrepresentation of the generated content. + + © 2025 — Taskist, https://taskist.org https://github.com/Taskist/taskist +========================================================================================================== */ + +-- Client +DECLARE @Client1 VARCHAR(100) = 'TechNova Solutions'; +DECLARE @Client2 VARCHAR(100) = 'CodeSphere Technologies'; +DECLARE @Client3 VARCHAR(100) = 'Orbit Systems'; +DECLARE @Client4 VARCHAR(100) = 'Edge Labs'; +DECLARE @Client5 VARCHAR(100) = 'Core Pvt Ltd'; + +IF NOT EXISTS (SELECT 1 FROM Client WHERE Name = @Client1) + INSERT INTO Client (Name, Description, ContactPerson, PhoneNumber, Email, Website, Active, Deleted) + VALUES (@Client1, 'Enterprise software provider', 'Rajesh Kumar', '0000000000', 'info@taskist.org', 'https://taskist.org', 1, 0); + +IF NOT EXISTS (SELECT 1 FROM Client WHERE Name = @Client2) + INSERT INTO Client (Name, Description, ContactPerson, PhoneNumber, Email, Website, Active, Deleted) + VALUES (@Client2, 'Custom web and mobile app development', 'Anita Patel', '0000000000', 'contact@taskist.org', 'https://taskist.org', 1, 0); + +IF NOT EXISTS (SELECT 1 FROM Client WHERE Name = @Client3) + INSERT INTO Client (Name, Description, ContactPerson, PhoneNumber, Email, Website, Active, Deleted) + VALUES (@Client3, 'Cloud infrastructure and DevOps solutions', 'Rahul Sharma', '0000000000', 'support@taskist.org', 'https://taskist.org', 1, 0); + +IF NOT EXISTS (SELECT 1 FROM Client WHERE Name = @Client4) + INSERT INTO Client (Name, Description, ContactPerson, PhoneNumber, Email, Website, Active, Deleted) + VALUES (@Client4, 'Creative agency specializing in UX/UI', 'Priya Menon', '0000000000', 'hello@taskist.org', 'https://taskist.org', 1, 0); + +IF NOT EXISTS (SELECT 1 FROM Client WHERE Name = @Client5) + INSERT INTO Client (Name, Description, ContactPerson, PhoneNumber, Email, Website, Active, Deleted) + VALUES (@Client5, 'AI-driven software solutions', 'Amit Verma', '0000000000', 'sales@taskist.org', 'https://taskist.org', 1, 0); + +-- Project (Each client gets one) +DECLARE @ClientId1 INT = (SELECT TOP 1 Id FROM Client WHERE Name = @Client1); +DECLARE @ClientId2 INT = (SELECT TOP 1 Id FROM Client WHERE Name = @Client2); +DECLARE @ClientId3 INT = (SELECT TOP 1 Id FROM Client WHERE Name = @Client3); +DECLARE @ClientId4 INT = (SELECT TOP 1 Id FROM Client WHERE Name = @Client4); +DECLARE @ClientId5 INT = (SELECT TOP 1 Id FROM Client WHERE Name = @Client5); + +IF NOT EXISTS (SELECT 1 FROM Project WHERE Name = 'Project Atlas') + INSERT INTO Project (Name, Description, StartDate, EndDate, ClientId, Active, Deleted) + VALUES ('Project Atlas', 'Enterprise workflow automation system', '2025-01-01', '2025-06-30', @ClientId1, 1, 0); + +IF NOT EXISTS (SELECT 1 FROM Project WHERE Name = 'Project Horizon') + INSERT INTO Project (Name, Description, StartDate, EndDate, ClientId, Active, Deleted) + VALUES ('Project Horizon', 'Mobile-first CRM platform', '2025-02-01', '2025-07-30', @ClientId2, 1, 0); + +IF NOT EXISTS (SELECT 1 FROM Project WHERE Name = 'Project Nimbus') + INSERT INTO Project (Name, Description, StartDate, EndDate, ClientId, Active, Deleted) + VALUES ('Project Nimbus', 'Cloud analytics and monitoring suite', '2025-03-01', '2025-08-30', @ClientId3, 1, 0); + +IF NOT EXISTS (SELECT 1 FROM Project WHERE Name = 'Project Vertex') + INSERT INTO Project (Name, Description, StartDate, EndDate, ClientId, Active, Deleted) + VALUES ('Project Vertex', 'Design collaboration and feedback tool', '2025-04-01', '2025-09-30', @ClientId4, 1, 0); + +IF NOT EXISTS (SELECT 1 FROM Project WHERE Name = 'Project Helix') + INSERT INTO Project (Name, Description, StartDate, EndDate, ClientId, Active, Deleted) + VALUES ('Project Helix', 'AI-powered customer insight platform', '2025-05-01', '2025-10-30', @ClientId5, 1, 0); +GO + +-- Module (5 per project) +DECLARE @Project TABLE (Id INT, Name NVARCHAR(255)); +INSERT INTO @Project (Id, Name) +SELECT Id, Name FROM Project WHERE Active = 1 AND Deleted = 0; + +DECLARE @ModuleNames TABLE (ModuleName NVARCHAR(255)); +INSERT INTO @ModuleNames (ModuleName) +VALUES ('Authentication Module'), ('Reporting Module'), ('User Management'), ('Notifications'), ('Integration Layer'); + +DECLARE @ProjId INT, @ProjName NVARCHAR(255), @ModName NVARCHAR(255); + +DECLARE proj_cursor CURSOR FOR SELECT Id, Name FROM @Project; +OPEN proj_cursor; +FETCH NEXT FROM proj_cursor INTO @ProjId, @ProjName; + +WHILE @@FETCH_STATUS = 0 +BEGIN + DECLARE mod_cursor CURSOR FOR SELECT ModuleName FROM @ModuleNames; + OPEN mod_cursor; + FETCH NEXT FROM mod_cursor INTO @ModName; + + WHILE @@FETCH_STATUS = 0 + BEGIN + IF NOT EXISTS (SELECT 1 FROM Module WHERE Name = @ModName AND ProjectId = @ProjId) + INSERT INTO Module (Name, Description, ProjectId, Active, Deleted) + VALUES (@ModName, CONCAT(@ModName, ' for ', @ProjName), @ProjId, 1, 0); + + FETCH NEXT FROM mod_cursor INTO @ModName; + END + + CLOSE mod_cursor; + DEALLOCATE mod_cursor; + + FETCH NEXT FROM proj_cursor INTO @ProjId, @ProjName; +END + +CLOSE proj_cursor; +DEALLOCATE proj_cursor; +GO + +-- SubModules (5 per module) +DECLARE @Module TABLE (Id INT, Name NVARCHAR(255)); +INSERT INTO @Module (Id, Name) +SELECT Id, Name FROM Module WHERE Active = 1 AND Deleted = 0; + +DECLARE @SubNames TABLE (SubName NVARCHAR(255)); +INSERT INTO @SubNames (SubName) +VALUES ('Setup'), ('Configuration'), ('API Endpoints'), ('UI Components'), ('Testing'); + +DECLARE @ModuleId INT, @ModuleName NVARCHAR(255), @SubName NVARCHAR(255); + +DECLARE mod_cursor2 CURSOR FOR SELECT Id, Name FROM @Module; +OPEN mod_cursor2; +FETCH NEXT FROM mod_cursor2 INTO @ModuleId, @ModuleName; + +WHILE @@FETCH_STATUS = 0 +BEGIN + DECLARE sub_cursor CURSOR FOR SELECT SubName FROM @SubNames; + OPEN sub_cursor; + FETCH NEXT FROM sub_cursor INTO @SubName; + + WHILE @@FETCH_STATUS = 0 + BEGIN + IF NOT EXISTS (SELECT 1 FROM SubModule WHERE Name = @SubName AND ModuleId = @ModuleId) + INSERT INTO SubModule (Name, Description, ModuleId, Active, Deleted) + VALUES (@SubName, CONCAT(@SubName, ' part of ', @ModuleName), @ModuleId, 1, 0); + + FETCH NEXT FROM sub_cursor INTO @SubName; + END + + CLOSE sub_cursor; + DEALLOCATE sub_cursor; + + FETCH NEXT FROM mod_cursor2 INTO @ModuleId, @ModuleName; +END + +CLOSE mod_cursor2; +DEALLOCATE mod_cursor2; +GO +-- Status +IF NOT EXISTS (SELECT 1 FROM Status WHERE Name = 'New') +INSERT INTO Status (Name, Description, TextColor, BackgroundColor, IconClass, GroupId, SystemDefined, Active, Deleted) +VALUES ('New', 'Issue has been reported but not yet reviewed or assigned.', '#FFFFFF', '#2196F3', 'fa-regular fa-file', 1, 1, 1, 0); + +IF NOT EXISTS (SELECT 1 FROM Status WHERE Name = 'Assigned') +INSERT INTO Status (Name, Description, TextColor, BackgroundColor, IconClass, GroupId, SystemDefined, Active, Deleted) +VALUES ('Assigned', 'Issue assigned to a developer or team for resolution.', '#FFFFFF', '#3F51B5', 'fa-solid fa-user-check', 2, 1, 1, 0); + +IF NOT EXISTS (SELECT 1 FROM Status WHERE Name = 'In Progress') +INSERT INTO Status (Name, Description, TextColor, BackgroundColor, IconClass, GroupId, SystemDefined, Active, Deleted) +VALUES ('In Progress', 'Work has started on resolving this issue.', '#FFFFFF', '#FFC107', 'fa-solid fa-spinner fa-spin', 2, 1, 1, 0); + +IF NOT EXISTS (SELECT 1 FROM Status WHERE Name = 'Resolved') +INSERT INTO Status (Name, Description, TextColor, BackgroundColor, IconClass, GroupId, SystemDefined, Active, Deleted) +VALUES ('Resolved', 'Developer has fixed the issue; pending verification.', '#FFFFFF', '#4CAF50', 'fa-solid fa-check', 5, 1, 1, 0); + +IF NOT EXISTS (SELECT 1 FROM Status WHERE Name = 'Reopened') +INSERT INTO Status (Name, Description, TextColor, BackgroundColor, IconClass, GroupId, SystemDefined, Active, Deleted) +VALUES ('Reopened', 'Issue was marked resolved but reoccurred or wasn’t fixed properly.', '#FFFFFF', '#FF5722', 'fa-solid fa-redo', 4, 1, 1, 0); + +IF NOT EXISTS (SELECT 1 FROM Status WHERE Name = 'Closed') +INSERT INTO Status (Name, Description, TextColor, BackgroundColor, IconClass, GroupId, SystemDefined, Active, Deleted) +VALUES ('Closed', 'Issue has been verified and marked as completed.', '#FFFFFF', '#009688', 'fa-solid fa-lock', 5, 1, 1, 0); + +IF NOT EXISTS (SELECT 1 FROM Status WHERE Name = 'Deferred') +INSERT INTO Status (Name, Description, TextColor, BackgroundColor, IconClass, GroupId, SystemDefined, Active, Deleted) +VALUES ('Deferred', 'Issue postponed for future releases.', '#FFFFFF', '#9E9E9E', 'fa-solid fa-clock', 3, 1, 1, 0); + +IF NOT EXISTS (SELECT 1 FROM Status WHERE Name = 'Duplicate') +INSERT INTO Status (Name, Description, TextColor, BackgroundColor, IconClass, GroupId, SystemDefined, Active, Deleted) +VALUES ('Duplicate', 'Issue is a duplicate of another ticket.', '#000000', '#E0E0E0', 'fa-solid fa-copy', 3, 1, 1, 0); + +IF NOT EXISTS (SELECT 1 FROM Status WHERE Name = 'Rejected') +INSERT INTO Status (Name, Description, TextColor, BackgroundColor, IconClass, GroupId, SystemDefined, Active, Deleted) +VALUES ('Rejected', 'Issue is invalid or won’t be fixed.', '#FFFFFF', '#9C27B0', 'fa-solid fa-ban', 3, 1, 1, 0); +GO +-- TaskType +IF NOT EXISTS (SELECT 1 FROM TaskType WHERE Name = 'To Do') +INSERT INTO TaskType (Name, Description, TextColor, BackgroundColor, IconClass, GroupId, Active, Deleted) +VALUES ('To Do', 'General work items or non-development tasks.', '#000000', '#2196F3', 'fa-regular fa-list-check', 1, 1, 0); + +IF NOT EXISTS (SELECT 1 FROM TaskType WHERE Name = 'Change Request') +INSERT INTO TaskType (Name, Description, TextColor, BackgroundColor, IconClass, GroupId, Active, Deleted) +VALUES ('Change Request', 'Feature modification or improvement request.', '#FFFFFF', '#009688', 'fa-solid fa-wrench', 2, 1, 0); + +IF NOT EXISTS (SELECT 1 FROM TaskType WHERE Name = 'Bug') +INSERT INTO TaskType (Name, Description, TextColor, BackgroundColor, IconClass, GroupId, Active, Deleted) +VALUES ('Bug', 'Defect in functionality or unexpected system behavior.', '#FFFFFF', '#F44336', 'fa-solid fa-bug', 3, 1, 0); +GO +-- Severity +IF NOT EXISTS (SELECT 1 FROM Severity WHERE Name = 'Trivial') +INSERT INTO Severity (Name, Description, TextColor, BackgroundColor, IconClass, GroupId, Active, Deleted) +VALUES ('Trivial', 'Very low impact or cosmetic issue, does not affect functionality.', '#000000', '#8BC34A', 'fa-regular fa-lightbulb', 1, 1, 0); + +IF NOT EXISTS (SELECT 1 FROM Severity WHERE Name = 'Minor') +INSERT INTO Severity (Name, Description, TextColor, BackgroundColor, IconClass, GroupId, Active, Deleted) +VALUES ('Minor', 'Low impact issue with minimal user disruption.', '#000000', '#FFEB3B', 'fa-regular fa-circle-exclamation', 1, 1, 0); + +IF NOT EXISTS (SELECT 1 FROM Severity WHERE Name = 'Major') +INSERT INTO Severity (Name, Description, TextColor, BackgroundColor, IconClass, GroupId, Active, Deleted) +VALUES ('Major', 'Significant issue affecting major functionality with a workaround available.', '#FFFFFF', '#FF9800', 'fa-solid fa-exclamation-triangle', 2, 1, 0); + +IF NOT EXISTS (SELECT 1 FROM Severity WHERE Name = 'Critical') +INSERT INTO Severity (Name, Description, TextColor, BackgroundColor, IconClass, GroupId, Active, Deleted) +VALUES ('Critical', 'Severe issue causing data loss or system instability requiring urgent fix.', '#FFFFFF', '#F44336', 'fa-solid fa-bug', 3, 1, 0); + +IF NOT EXISTS (SELECT 1 FROM Severity WHERE Name = 'Show Stopper') +INSERT INTO Severity (Name, Description, TextColor, BackgroundColor, IconClass, GroupId, Active, Deleted) +VALUES ('Show Stopper', 'Complete system or module failure blocking critical operations.', '#FFFFFF', '#B71C1C', 'fa-solid fa-skull-crossbones', 4, 1, 0); +GO + +-- Reporter +DECLARE @ProjectId INT; + +-------------------------------------------- +-- Project Atlas +-------------------------------------------- +SELECT @ProjectId = Id FROM Project WHERE Name = 'Project Atlas'; +IF @ProjectId IS NOT NULL +BEGIN + IF NOT EXISTS (SELECT 1 FROM Reporter WHERE Name = 'IT' AND ProjectId = @ProjectId) + INSERT INTO Reporter ([Name], [Description], [ProjectId], [Active], [Deleted]) + VALUES ('IT', 'Handles internal systems and project infrastructure', @ProjectId, 1, 0); + + IF NOT EXISTS (SELECT 1 FROM Reporter WHERE Name = 'QA' AND ProjectId = @ProjectId) + INSERT INTO Reporter VALUES ('QA', 'Responsible for testing modules and submodules', @ProjectId, 1, 0); + + IF NOT EXISTS (SELECT 1 FROM Reporter WHERE Name = 'DevOps' AND ProjectId = @ProjectId) + INSERT INTO Reporter VALUES ('DevOps', 'Manages CI/CD and deployment pipelines', @ProjectId, 1, 0); + + IF NOT EXISTS (SELECT 1 FROM Reporter WHERE Name = 'Support' AND ProjectId = @ProjectId) + INSERT INTO Reporter VALUES ('Support', 'Handles client-reported bugs and tickets', @ProjectId, 1, 0); + + IF NOT EXISTS (SELECT 1 FROM Reporter WHERE Name = 'Admin' AND ProjectId = @ProjectId) + INSERT INTO Reporter VALUES ('Admin', 'Manages user permissions and data policies', @ProjectId, 1, 0); +END; + +-------------------------------------------- +-- Project Horizon +-------------------------------------------- +SELECT @ProjectId = Id FROM Project WHERE Name = 'Project Horizon'; +IF @ProjectId IS NOT NULL +BEGIN + IF NOT EXISTS (SELECT 1 FROM Reporter WHERE Name = 'Accounts' AND ProjectId = @ProjectId) + INSERT INTO Reporter VALUES ('Accounts', 'Manages project billing and transactions', @ProjectId, 1, 0); + + IF NOT EXISTS (SELECT 1 FROM Reporter WHERE Name = 'Finance' AND ProjectId = @ProjectId) + INSERT INTO Reporter VALUES ('Finance', 'Tracks budgets and expenses', @ProjectId, 1, 0); + + IF NOT EXISTS (SELECT 1 FROM Reporter WHERE Name = 'HR' AND ProjectId = @ProjectId) + INSERT INTO Reporter VALUES ('HR', 'Handles staffing and project resources', @ProjectId, 1, 0); + + IF NOT EXISTS (SELECT 1 FROM Reporter WHERE Name = 'IT' AND ProjectId = @ProjectId) + INSERT INTO Reporter VALUES ('IT', 'Handles internal systems and infrastructure', @ProjectId, 1, 0); + + IF NOT EXISTS (SELECT 1 FROM Reporter WHERE Name = 'QA' AND ProjectId = @ProjectId) + INSERT INTO Reporter VALUES ('QA', 'Performs regression and integration testing', @ProjectId, 1, 0); +END; + +-------------------------------------------- +-- Project Nimbus +-------------------------------------------- +SELECT @ProjectId = Id FROM Project WHERE Name = 'Project Nimbus'; +IF @ProjectId IS NOT NULL +BEGIN + IF NOT EXISTS (SELECT 1 FROM Reporter WHERE Name = 'R&D' AND ProjectId = @ProjectId) + INSERT INTO Reporter VALUES ('R&D', 'Responsible for new feature prototyping', @ProjectId, 1, 0); + + IF NOT EXISTS (SELECT 1 FROM Reporter WHERE Name = 'Product' AND ProjectId = @ProjectId) + INSERT INTO Reporter VALUES ('Product', 'Manages product requirements and backlog', @ProjectId, 1, 0); + + IF NOT EXISTS (SELECT 1 FROM Reporter WHERE Name = 'Design' AND ProjectId = @ProjectId) + INSERT INTO Reporter VALUES ('Design', 'Creates and reviews UI/UX designs', @ProjectId, 1, 0); + + IF NOT EXISTS (SELECT 1 FROM Reporter WHERE Name = 'IT' AND ProjectId = @ProjectId) + INSERT INTO Reporter VALUES ('IT', 'Handles system configurations and builds', @ProjectId, 1, 0); + + IF NOT EXISTS (SELECT 1 FROM Reporter WHERE Name = 'QA' AND ProjectId = @ProjectId) + INSERT INTO Reporter VALUES ('QA', 'Performs test automation and release validation', @ProjectId, 1, 0); +END; + +-------------------------------------------- +-- Project Vertex +-------------------------------------------- +SELECT @ProjectId = Id FROM Project WHERE Name = 'Project Vertex'; +IF @ProjectId IS NOT NULL +BEGIN + IF NOT EXISTS (SELECT 1 FROM Reporter WHERE Name = 'Analytics' AND ProjectId = @ProjectId) + INSERT INTO Reporter VALUES ('Analytics', 'Collects and interprets usage metrics', @ProjectId, 1, 0); + + IF NOT EXISTS (SELECT 1 FROM Reporter WHERE Name = 'Security' AND ProjectId = @ProjectId) + INSERT INTO Reporter VALUES ('Security', 'Ensures app and data security compliance', @ProjectId, 1, 0); + + IF NOT EXISTS (SELECT 1 FROM Reporter WHERE Name = 'DevOps' AND ProjectId = @ProjectId) + INSERT INTO Reporter VALUES ('DevOps', 'Oversees release pipelines and infrastructure', @ProjectId, 1, 0); + + IF NOT EXISTS (SELECT 1 FROM Reporter WHERE Name = 'Support' AND ProjectId = @ProjectId) + INSERT INTO Reporter VALUES ('Support', 'Resolves reported user issues', @ProjectId, 1, 0); + + IF NOT EXISTS (SELECT 1 FROM Reporter WHERE Name = 'Finance' AND ProjectId = @ProjectId) + INSERT INTO Reporter VALUES ('Finance', 'Monitors financial operations', @ProjectId, 1, 0); +END; + +-------------------------------------------- +-- Project Helix +-------------------------------------------- +SELECT @ProjectId = Id FROM Project WHERE Name = 'Project Helix'; +IF @ProjectId IS NOT NULL +BEGIN + IF NOT EXISTS (SELECT 1 FROM Reporter WHERE Name = 'Operations' AND ProjectId = @ProjectId) + INSERT INTO Reporter VALUES ('Operations', 'Manages internal task assignments', @ProjectId, 1, 0); + + IF NOT EXISTS (SELECT 1 FROM Reporter WHERE Name = 'Support' AND ProjectId = @ProjectId) + INSERT INTO Reporter VALUES ('Support', 'Handles technical and client support', @ProjectId, 1, 0); + + IF NOT EXISTS (SELECT 1 FROM Reporter WHERE Name = 'Marketing' AND ProjectId = @ProjectId) + INSERT INTO Reporter VALUES ('Marketing', 'Manages campaigns and outreach', @ProjectId, 1, 0); + + IF NOT EXISTS (SELECT 1 FROM Reporter WHERE Name = 'QA' AND ProjectId = @ProjectId) + INSERT INTO Reporter VALUES ('QA', 'Ensures build and release quality', @ProjectId, 1, 0); + + IF NOT EXISTS (SELECT 1 FROM Reporter WHERE Name = 'Admin' AND ProjectId = @ProjectId) + INSERT INTO Reporter VALUES ('Admin', 'Controls permissions and workflow settings', @ProjectId, 1, 0); +END; +GO diff --git a/src/Presentation/Taskist.Web/Views/Backlog/_Form.cshtml b/src/Presentation/Taskist.Web/Views/Backlog/_Form.cshtml index fd4f242..28a6022 100644 --- a/src/Presentation/Taskist.Web/Views/Backlog/_Form.cshtml +++ b/src/Presentation/Taskist.Web/Views/Backlog/_Form.cshtml @@ -6,84 +6,30 @@ updateCssClassName = "ajax-update"; } } - +

    - +
    - -
    -
    -
    -
    -
    - - -
    -
    -
    - -
    -
    -
    -
    -
    -
    -
    - - -
    -
    -
    - -
    -
    -
    -
    -
    -
    -
    - - -
    -
    -
    - -
    -
    -
    +
    + + +
    +
    + +
    From 3699cced4bbacf5f0c2a962177f0f2bd4bdabcbc Mon Sep 17 00:00:00 2001 From: Somaraj N <17797942+somaraj@users.noreply.github.com> Date: Fri, 7 Nov 2025 00:43:28 +0530 Subject: [PATCH 11/34] page title updated --- .vscode/settings.json | 7 +++ .../Taskist.Web/Views/Account/Login.cshtml | 1 - .../Taskist.Web/Views/Shared/_Layout.cshtml | 2 +- .../Views/Shared/_Layout.cshtml.css | 48 ------------------- .../Views/Shared/_LayoutError.cshtml | 2 +- .../Views/Shared/_LayoutHome.cshtml | 2 +- .../Views/Shared/_LayoutLogin.cshtml | 2 +- .../Views/Shared/_Notifications.cshtml | 1 - .../Shared/_ValidationScriptsPartial.cshtml | 2 - 9 files changed, 11 insertions(+), 56 deletions(-) delete mode 100644 src/Presentation/Taskist.Web/Views/Shared/_Layout.cshtml.css delete mode 100644 src/Presentation/Taskist.Web/Views/Shared/_ValidationScriptsPartial.cshtml diff --git a/.vscode/settings.json b/.vscode/settings.json index 733280d..f5a2fe1 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,4 +1,11 @@ { + "explorer.compactFolders": false, + "workbench.tree.indent": 10, + "workbench.tree.renderIndentGuides": "always", + "workbench.colorCustomizations": { + "tree.indentGuidesStroke": "#bd1313", + "tree.inactiveIndentGuidesStroke": "#b3a3a3" + }, "files.exclude": { "**/bin": true, "**/obj": true diff --git a/src/Presentation/Taskist.Web/Views/Account/Login.cshtml b/src/Presentation/Taskist.Web/Views/Account/Login.cshtml index d349f63..678683a 100644 --- a/src/Presentation/Taskist.Web/Views/Account/Login.cshtml +++ b/src/Presentation/Taskist.Web/Views/Account/Login.cshtml @@ -12,7 +12,6 @@
    Taskist
    -
    diff --git a/src/Presentation/Taskist.Web/Views/Shared/_Layout.cshtml b/src/Presentation/Taskist.Web/Views/Shared/_Layout.cshtml index 76e161d..3624eb2 100644 --- a/src/Presentation/Taskist.Web/Views/Shared/_Layout.cshtml +++ b/src/Presentation/Taskist.Web/Views/Shared/_Layout.cshtml @@ -5,7 +5,7 @@ - @ViewData["Title"] - Backlog + @ViewData["Title"] - Taskist @await Html.PartialAsync("Sections/_Styles") @RenderSection("PageStyles", required: false) diff --git a/src/Presentation/Taskist.Web/Views/Shared/_Layout.cshtml.css b/src/Presentation/Taskist.Web/Views/Shared/_Layout.cshtml.css deleted file mode 100644 index c187c02..0000000 --- a/src/Presentation/Taskist.Web/Views/Shared/_Layout.cshtml.css +++ /dev/null @@ -1,48 +0,0 @@ -/* Please see documentation at https://learn.microsoft.com/aspnet/core/client-side/bundling-and-minification -for details on configuring this project to bundle and minify static web assets. */ - -a.navbar-brand { - white-space: normal; - text-align: center; - word-break: break-all; -} - -a { - color: #0077cc; -} - -.btn-primary { - color: #fff; - background-color: #1b6ec2; - border-color: #1861ac; -} - -.nav-pills .nav-link.active, .nav-pills .show > .nav-link { - color: #fff; - background-color: #1b6ec2; - border-color: #1861ac; -} - -.border-top { - border-top: 1px solid #e5e5e5; -} -.border-bottom { - border-bottom: 1px solid #e5e5e5; -} - -.box-shadow { - box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05); -} - -button.accept-policy { - font-size: 1rem; - line-height: inherit; -} - -.footer { - position: absolute; - bottom: 0; - width: 100%; - white-space: nowrap; - line-height: 60px; -} diff --git a/src/Presentation/Taskist.Web/Views/Shared/_LayoutError.cshtml b/src/Presentation/Taskist.Web/Views/Shared/_LayoutError.cshtml index b563894..9922950 100644 --- a/src/Presentation/Taskist.Web/Views/Shared/_LayoutError.cshtml +++ b/src/Presentation/Taskist.Web/Views/Shared/_LayoutError.cshtml @@ -4,7 +4,7 @@ - @ViewData["Title"] - Backlog + @ViewData["Title"] - Taskist @await Html.PartialAsync("Sections/_Styles") diff --git a/src/Presentation/Taskist.Web/Views/Shared/_LayoutHome.cshtml b/src/Presentation/Taskist.Web/Views/Shared/_LayoutHome.cshtml index 76e161d..3624eb2 100644 --- a/src/Presentation/Taskist.Web/Views/Shared/_LayoutHome.cshtml +++ b/src/Presentation/Taskist.Web/Views/Shared/_LayoutHome.cshtml @@ -5,7 +5,7 @@ - @ViewData["Title"] - Backlog + @ViewData["Title"] - Taskist @await Html.PartialAsync("Sections/_Styles") @RenderSection("PageStyles", required: false) diff --git a/src/Presentation/Taskist.Web/Views/Shared/_LayoutLogin.cshtml b/src/Presentation/Taskist.Web/Views/Shared/_LayoutLogin.cshtml index 0563376..8034ce8 100644 --- a/src/Presentation/Taskist.Web/Views/Shared/_LayoutLogin.cshtml +++ b/src/Presentation/Taskist.Web/Views/Shared/_LayoutLogin.cshtml @@ -5,7 +5,7 @@ - @ViewData["Title"] - Backlog + @ViewData["Title"] - Taskist @await Html.PartialAsync("Sections/_Styles") @await Html.PartialAsync("Sections/_ScriptsHeader") diff --git a/src/Presentation/Taskist.Web/Views/Shared/_Notifications.cshtml b/src/Presentation/Taskist.Web/Views/Shared/_Notifications.cshtml index bfedbda..22cd04f 100644 --- a/src/Presentation/Taskist.Web/Views/Shared/_Notifications.cshtml +++ b/src/Presentation/Taskist.Web/Views/Shared/_Notifications.cshtml @@ -1,7 +1,6 @@ @using Taskist.Service.Common @using Taskist.Service.Messages @using Newtonsoft.Json -@using Taskist.Web.Helpers.Razor @{ //Get messages from TempData var notes = TempData.ContainsKey(ServiceConstant.NotificationListKey) diff --git a/src/Presentation/Taskist.Web/Views/Shared/_ValidationScriptsPartial.cshtml b/src/Presentation/Taskist.Web/Views/Shared/_ValidationScriptsPartial.cshtml deleted file mode 100644 index 5a16d80..0000000 --- a/src/Presentation/Taskist.Web/Views/Shared/_ValidationScriptsPartial.cshtml +++ /dev/null @@ -1,2 +0,0 @@ - - From a8685b9a872272e9fc255bf0f52bed0352c16a1b Mon Sep 17 00:00:00 2001 From: Somaraj N <17797942+somaraj@users.noreply.github.com> Date: Fri, 7 Nov 2025 01:00:51 +0530 Subject: [PATCH 12/34] gitbook added to sponsors section --- README.md | 5 +++++ assets/gitbook.png | Bin 0 -> 9331 bytes 2 files changed, 5 insertions(+) create mode 100644 assets/gitbook.png diff --git a/README.md b/README.md index 1f65012..872322e 100644 --- a/README.md +++ b/README.md @@ -236,6 +236,11 @@ We gratefully acknowledge the generous support of the following providers who of Zulip - Organized team chat app + + + Create and publish beautiful documentation + + diff --git a/assets/gitbook.png b/assets/gitbook.png new file mode 100644 index 0000000000000000000000000000000000000000..93acc39e52b67e5c191f118b0bdc5bfc3f5df62c GIT binary patch literal 9331 zcmaKxbxa;#u=f{faVhTdLyJ4b-HH`=cXxLv?oiyNxVyW%ySqNP6?>oi=bPNzWY11= zax&R7+019=JK?|NB#_|o-~j+Yl9Civ1lxb$B@GJ+elOu5wSf(sy`+W{03e|M&w>Eb zGjRX_Ufx1PX8am8I${WMGuEMl@Gs{*?}VyQ6Ex1FHjfuY?42EhP$a(e(3 zw%(Z3>75J$c=qMxrTwo5rVD^@pGSZNdSo+tm*TAkxHxMZ6)Ut3($h4cYsk-V<4iQlES9N;4pwRNEc-2^GL&G31CCn zxtjoh+;~jzZSUUQr;w|rrZ{4nkoD-#y1#z@XK1+paX4LWF9-m;&c3rBbd2?Q{ybm( zZ9eiTK+xv82)Qm#k*0Mhf{j4#>6+S|{r|*9EHAEgb@lMzVCCn4u$IA?n$L$>pI(pJ zyY-7N@7vSEPS+lJ0E|VBQx}=v>@}@ zqx>^~&F-b{2!MkY8i7SOAYBWCFpN+qi-E;X3w|c;m4rr%BqtdS!%+B7I-XsUSusMH zL`9PDmd_EAD^y#&EuLotU5yRl6HuqXw}99v(ptia_gg$4VaC{*IXxCDH)F=J z0go?=Bky>o+#F>smS1F;spkX-hIPQ2iD9T;xb_DfT%yrEvgoUa#4pOSNPGo!}Mz=6Rr!*#={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-CB$47a8b+p> znN_E}o?it_YfFo{EfcuMxO+s9l$6QewaJ~uIx3PwessnlfP@x^0ErfEbX{Jaf8LNq z^W9mgR&(!xI6k7oNey=M3{u*=yz{ymWyMzeH(fHdYEVg@6`Wy!9s8DCX;RX>-G%R0 z06n`hleg;vKhCaSU5m;GjE2MlvTyVL`%!co}XS4Hfq5F zfjz=-;XbeTPbX*g@3tDM;E~3>h?kdyt*@_`n8{tSJZoxNF!b^0__&>VH?oBZ^e4(` s4A9F418?zv3_AYzS;(i+b2kJ4+IL;jnG5{@Pjvt(F*(sHVg11W2agdjlK=n! literal 0 HcmV?d00001 From cd8da5d0371e6d00878a2f1c67193fdf530b3a46 Mon Sep 17 00:00:00 2001 From: Somaraj N <17797942+somaraj@users.noreply.github.com> Date: Sat, 8 Nov 2025 12:54:51 +0530 Subject: [PATCH 13/34] added missing language resource value, removed unused properties --- sql script/mssql/2_locale_resource.sql | 295 +++++++++++++----- .../Models/WorkItems/BacklogModel.cs | 6 - 2 files changed, 225 insertions(+), 76 deletions(-) diff --git a/sql script/mssql/2_locale_resource.sql b/sql script/mssql/2_locale_resource.sql index 72750d3..fa86694 100644 --- a/sql script/mssql/2_locale_resource.sql +++ b/sql script/mssql/2_locale_resource.sql @@ -270,7 +270,7 @@ BEGIN IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'BacklogModel.Title.MaxLengthMsg') BEGIN INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) - VALUES(@LanguageId,'BacklogModel.Title.MaxLengthMsg','The length of title must be 500 characters or fewer') + VALUES(@LanguageId,'BacklogModel.Title.MaxLengthMsg','The length of title must be {MaxLength} characters or fewer') END IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'BacklogModel.Title.RequiredMsg') BEGIN @@ -340,7 +340,7 @@ BEGIN IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'ChangePasswordModel.ConfirmNewPassword.MaxLengthMsg') BEGIN INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) - VALUES(@LanguageId,'ChangePasswordModel.ConfirmNewPassword.MaxLengthMsg','The length of confirm password must be 100 characters or fewer') + VALUES(@LanguageId,'ChangePasswordModel.ConfirmNewPassword.MaxLengthMsg','The length of confirm password must be {MaxLength} characters or fewer') END IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'ChangePasswordModel.ConfirmNewPassword.NotMatch') BEGIN @@ -360,7 +360,7 @@ BEGIN IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'ChangePasswordModel.CurrentPassword.MaxLengthMsg') BEGIN INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) - VALUES(@LanguageId,'ChangePasswordModel.CurrentPassword.MaxLengthMsg','The length of current password must be 100 characters or fewer') + VALUES(@LanguageId,'ChangePasswordModel.CurrentPassword.MaxLengthMsg','The length of current password must be {MaxLength} characters or fewer') END IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'ChangePasswordModel.CurrentPassword.RequiredMsg') BEGIN @@ -380,7 +380,7 @@ BEGIN IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'ChangePasswordModel.NewPassword.MaxLengthMsg') BEGIN INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) - VALUES(@LanguageId,'ChangePasswordModel.NewPassword.MaxLengthMsg','The length of new password must be 100 characters or fewer') + VALUES(@LanguageId,'ChangePasswordModel.NewPassword.MaxLengthMsg','The length of new password must be {MaxLength} characters or fewer') END IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'ChangePasswordModel.NewPassword.RequiredMsg') BEGIN @@ -430,7 +430,7 @@ BEGIN IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'ClientModel.ContactPerson.MaxLengthMsg') BEGIN INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) - VALUES(@LanguageId,'ClientModel.ContactPerson.MaxLengthMsg','The length of contact person must be 100 characters or fewer') + VALUES(@LanguageId,'ClientModel.ContactPerson.MaxLengthMsg','The length of contact person must be {MaxLength} characters or fewer') END IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'ClientModel.Description') BEGIN @@ -440,7 +440,7 @@ BEGIN IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'ClientModel.Description.MaxLengthMsg') BEGIN INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) - VALUES(@LanguageId,'ClientModel.Description.MaxLengthMsg','The length of description must be 250 characters or fewer') + VALUES(@LanguageId,'ClientModel.Description.MaxLengthMsg','The length of description must be {MaxLength} characters or fewer') END IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'ClientModel.Email') BEGIN @@ -455,7 +455,7 @@ BEGIN IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'ClientModel.Email.MaxLengthMsg') BEGIN INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) - VALUES(@LanguageId,'ClientModel.Email.MaxLengthMsg','The length of email must be 250 characters or fewer') + VALUES(@LanguageId,'ClientModel.Email.MaxLengthMsg','The length of email must be {MaxLength} characters or fewer') END IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'ClientModel.Name') BEGIN @@ -465,7 +465,7 @@ BEGIN IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'ClientModel.Name.MaxLengthMsg') BEGIN INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) - VALUES(@LanguageId,'ClientModel.Name.MaxLengthMsg','The length of name must be 100 characters or fewer') + VALUES(@LanguageId,'ClientModel.Name.MaxLengthMsg','The length of name must be {MaxLength} characters or fewer') END IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'ClientModel.Name.RequiredMsg') BEGIN @@ -485,7 +485,7 @@ BEGIN IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'ClientModel.PhoneNumber.MaxLengthMsg') BEGIN INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) - VALUES(@LanguageId,'ClientModel.PhoneNumber.MaxLengthMsg','The length of phone no must be 100 characters or fewer') + VALUES(@LanguageId,'ClientModel.PhoneNumber.MaxLengthMsg','The length of phone no must be {MaxLength} characters or fewer') END IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'ClientModel.WebSite') BEGIN @@ -495,7 +495,7 @@ BEGIN IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'ClientModel.WebSite.MaxLengthMsg') BEGIN INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) - VALUES(@LanguageId,'ClientModel.WebSite.MaxLengthMsg','The length of website must be 750 characters or fewer') + VALUES(@LanguageId,'ClientModel.WebSite.MaxLengthMsg','The length of website must be {MaxLength} characters or fewer') END IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'ClientPage.Title') BEGIN @@ -510,7 +510,7 @@ BEGIN IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'CompanyModel.ContactPerson.MaxLengthMsg') BEGIN INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) - VALUES(@LanguageId,'CompanyModel.ContactPerson.MaxLengthMsg','The length of contact person must be 100 characters or fewer') + VALUES(@LanguageId,'CompanyModel.ContactPerson.MaxLengthMsg','The length of contact person must be {MaxLength} characters or fewer') END IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'CompanyModel.ContactPerson.RequiredMsg') BEGIN @@ -535,7 +535,7 @@ BEGIN IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'CompanyModel.Email.MaxLengthMsg') BEGIN INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) - VALUES(@LanguageId,'CompanyModel.Email.MaxLengthMsg','The length of email must be 250 characters or fewer') + VALUES(@LanguageId,'CompanyModel.Email.MaxLengthMsg','The length of email must be {MaxLength} characters or fewer') END IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'CompanyModel.Language') BEGIN @@ -555,7 +555,7 @@ BEGIN IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'CompanyModel.PhoneNumber.MaxLengthMsg') BEGIN INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) - VALUES(@LanguageId,'CompanyModel.PhoneNumber.MaxLengthMsg','The length of phone number must be 20 characters or fewer') + VALUES(@LanguageId,'CompanyModel.PhoneNumber.MaxLengthMsg','The length of phone number must be {MaxLength} characters or fewer') END IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'CompanyModel.PhoneNumber.RequiredMsg') BEGIN @@ -570,7 +570,7 @@ BEGIN IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'CompanyModel.RegisteredName.MaxLengthMsg') BEGIN INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) - VALUES(@LanguageId,'CompanyModel.RegisteredName.MaxLengthMsg','The length of registered name must be 750 characters or fewer') + VALUES(@LanguageId,'CompanyModel.RegisteredName.MaxLengthMsg','The length of registered name must be {MaxLength} characters or fewer') END IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'CompanyModel.RegisteredName.RequiredMsg') BEGIN @@ -595,7 +595,7 @@ BEGIN IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'CompanyModel.TradeName.MaxLengthMsg') BEGIN INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) - VALUES(@LanguageId,'CompanyModel.TradeName.MaxLengthMsg','The length of trade name must be 750 characters or fewer') + VALUES(@LanguageId,'CompanyModel.TradeName.MaxLengthMsg','The length of trade name must be {MaxLength} characters or fewer') END IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'CompanyModel.TradeName.RequiredMsg') BEGIN @@ -675,7 +675,7 @@ BEGIN IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'CurrencyModel.CurrencyCode.MaxLengthMsg') BEGIN INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) - VALUES(@LanguageId,'CurrencyModel.CurrencyCode.MaxLengthMsg','The length of Code must be 10 characters or fewer') + VALUES(@LanguageId,'CurrencyModel.CurrencyCode.MaxLengthMsg','The length of Code must be {MaxLength} characters or fewer') END IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'CurrencyModel.CurrencyCode.RequiredMsg') BEGIN @@ -710,7 +710,7 @@ BEGIN IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'CurrencyModel.Description.MaxLengthMsg') BEGIN INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) - VALUES(@LanguageId,'CurrencyModel.Description.MaxLengthMsg','The length of description must be 250 characters or fewer') + VALUES(@LanguageId,'CurrencyModel.Description.MaxLengthMsg','The length of description must be {MaxLength} characters or fewer') END IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'CurrencyModel.DisplayOrder') BEGIN @@ -730,7 +730,7 @@ BEGIN IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'CurrencyModel.Name.MaxLengthMsg') BEGIN INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) - VALUES(@LanguageId,'CurrencyModel.Name.MaxLengthMsg','The length of Name must be 100 characters or fewer') + VALUES(@LanguageId,'CurrencyModel.Name.MaxLengthMsg','The length of Name must be {MaxLength} characters or fewer') END IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'CurrencyModel.Name.RequiredMsg') BEGIN @@ -810,7 +810,7 @@ BEGIN IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'CustomFieldModel.Label.MaxLengthMsg') BEGIN INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) - VALUES(@LanguageId,'CustomFieldModel.Label.MaxLengthMsg','The length of label must be 100 characters or fewer') + VALUES(@LanguageId,'CustomFieldModel.Label.MaxLengthMsg','The length of label must be {MaxLength} characters or fewer') END IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'CustomFieldModel.Label.RequiredMsg') BEGIN @@ -910,7 +910,7 @@ BEGIN IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'EmailAccountModel.Description.MaxLengthMsg') BEGIN INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) - VALUES(@LanguageId,'EmailAccountModel.Description.MaxLengthMsg','The length of description must be 250 characters or fewer') + VALUES(@LanguageId,'EmailAccountModel.Description.MaxLengthMsg','The length of description must be {MaxLength} characters or fewer') END IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'EmailAccountModel.EmailAccount') BEGIN @@ -945,7 +945,7 @@ BEGIN IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'EmailAccountModel.FromEmail.MaxLengthMsg') BEGIN INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) - VALUES(@LanguageId,'EmailAccountModel.FromEmail.MaxLengthMsg','The length of from email must be 250 characters or fewer') + VALUES(@LanguageId,'EmailAccountModel.FromEmail.MaxLengthMsg','The length of from email must be {MaxLength} characters or fewer') END IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'EmailAccountModel.FromEmail.RequiredMsg') BEGIN @@ -960,7 +960,7 @@ BEGIN IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'EmailAccountModel.FromName.MaxLengthMsg') BEGIN INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) - VALUES(@LanguageId,'EmailAccountModel.FromName.MaxLengthMsg','The length of from name must be 250 characters or fewer') + VALUES(@LanguageId,'EmailAccountModel.FromName.MaxLengthMsg','The length of from name must be {MaxLength} characters or fewer') END IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'EmailAccountModel.FromName.RequiredMsg') BEGIN @@ -985,7 +985,7 @@ BEGIN IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'EmailAccountModel.Name.MaxLengthMsg') BEGIN INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) - VALUES(@LanguageId,'EmailAccountModel.Name.MaxLengthMsg','The length of Name must be 100 characters or fewer') + VALUES(@LanguageId,'EmailAccountModel.Name.MaxLengthMsg','The length of Name must be {MaxLength} characters or fewer') END IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'EmailAccountModel.Name.RequiredMsg') BEGIN @@ -1005,7 +1005,7 @@ BEGIN IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'EmailAccountModel.Password.MaxLengthMsg') BEGIN INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) - VALUES(@LanguageId,'EmailAccountModel.Password.MaxLengthMsg','The length of password must be 250 characters or fewer') + VALUES(@LanguageId,'EmailAccountModel.Password.MaxLengthMsg','The length of password must be {MaxLength} characters or fewer') END IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'EmailAccountModel.Password.RequiredMsg') BEGIN @@ -1040,7 +1040,7 @@ BEGIN IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'EmailAccountModel.UserName.MaxLengthMsg') BEGIN INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) - VALUES(@LanguageId,'EmailAccountModel.UserName.MaxLengthMsg','The length of user name must be 250 characters or fewer') + VALUES(@LanguageId,'EmailAccountModel.UserName.MaxLengthMsg','The length of user name must be {MaxLength} characters or fewer') END IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'EmailAccountModel.UserName.RequiredMsg') BEGIN @@ -1110,7 +1110,7 @@ BEGIN IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'EmailTemplateModel.EmailSubject.MaxLengthMsg') BEGIN INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) - VALUES(@LanguageId,'EmailTemplateModel.EmailSubject.MaxLengthMsg','The length of email subject must be 250 characters or fewer') + VALUES(@LanguageId,'EmailTemplateModel.EmailSubject.MaxLengthMsg','The length of email subject must be {MaxLength} characters or fewer') END IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'EmailTemplateModel.EmailSubject.RequiredMsg') BEGIN @@ -1125,7 +1125,7 @@ BEGIN IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'EmailTemplateModel.Name.MaxLengthMsg') BEGIN INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) - VALUES(@LanguageId,'EmailTemplateModel.Name.MaxLengthMsg','The length of Name must be 100 characters or fewer') + VALUES(@LanguageId,'EmailTemplateModel.Name.MaxLengthMsg','The length of Name must be {MaxLength} characters or fewer') END IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'EmailTemplateModel.Name.RequiredMsg') BEGIN @@ -1215,7 +1215,7 @@ BEGIN IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'UserModel.FirstName.MaxLengthMsg') BEGIN INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) - VALUES(@LanguageId,'UserModel.FirstName.MaxLengthMsg','The length of first name must be 50 characters or fewer') + VALUES(@LanguageId,'UserModel.FirstName.MaxLengthMsg','The length of first name must be {MaxLength} characters or fewer') END IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'UserModel.FirstName.RequiredMsg') BEGIN @@ -1240,7 +1240,7 @@ BEGIN IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'UserModel.LastName.MaxLengthMsg') BEGIN INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) - VALUES(@LanguageId,'UserModel.LastName.MaxLengthMsg','The length of last name must be 50 characters or fewer') + VALUES(@LanguageId,'UserModel.LastName.MaxLengthMsg','The length of last name must be {MaxLength} characters or fewer') END IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'UserModel.LastName.RequiredMsg') BEGIN @@ -1370,7 +1370,7 @@ BEGIN IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'UserRoleModel.Description.MaxLengthMsg') BEGIN INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) - VALUES(@LanguageId,'UserRoleModel.Description.MaxLengthMsg','The length of description must be 250 characters or fewer') + VALUES(@LanguageId,'UserRoleModel.Description.MaxLengthMsg','The length of description must be {MaxLength} characters or fewer') END IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'UserRoleModel.Name') BEGIN @@ -1380,7 +1380,7 @@ BEGIN IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'UserRoleModel.Name.MaxLengthMsg') BEGIN INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) - VALUES(@LanguageId,'UserRoleModel.Name.MaxLengthMsg','The length of name must be 250 characters or fewer') + VALUES(@LanguageId,'UserRoleModel.Name.MaxLengthMsg','The length of name must be {MaxLength} characters or fewer') END IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'UserRoleModel.Name.RequiredMsg') BEGIN @@ -1400,7 +1400,7 @@ BEGIN IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'UserRoleModel.SystemName.MaxLengthMsg') BEGIN INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) - VALUES(@LanguageId,'UserRoleModel.SystemName.MaxLengthMsg','The length of system name must be 250 characters or fewer') + VALUES(@LanguageId,'UserRoleModel.SystemName.MaxLengthMsg','The length of system name must be {MaxLength} characters or fewer') END IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'UserRoleModel.SystemName.RequiredMsg') BEGIN @@ -1595,7 +1595,7 @@ BEGIN IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'LanguageModel.LanguageCulture.MaxLengthMsg') BEGIN INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) - VALUES(@LanguageId,'LanguageModel.LanguageCulture.MaxLengthMsg','The length of Culture must be 10 characters or fewer') + VALUES(@LanguageId,'LanguageModel.LanguageCulture.MaxLengthMsg','The length of Culture must be {MaxLength} characters or fewer') END IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'LanguageModel.LanguageCulture.RequiredMsg') BEGIN @@ -1615,7 +1615,7 @@ BEGIN IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'LanguageModel.Name.MaxLengthMsg') BEGIN INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) - VALUES(@LanguageId,'LanguageModel.Name.MaxLengthMsg','The length of Name must be 100 characters or fewer') + VALUES(@LanguageId,'LanguageModel.Name.MaxLengthMsg','The length of Name must be {MaxLength} characters or fewer') END IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'LanguageModel.Name.RequiredMsg') BEGIN @@ -1670,7 +1670,7 @@ BEGIN IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'LocaleResourceModel.ResourceKey.MaxLengthMsg') BEGIN INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) - VALUES(@LanguageId,'LocaleResourceModel.ResourceKey.MaxLengthMsg','The length of Resource Key must be 150 characters or fewer') + VALUES(@LanguageId,'LocaleResourceModel.ResourceKey.MaxLengthMsg','The length of Resource Key must be {MaxLength} characters or fewer') END IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'LocaleResourceModel.ResourceKey.RequiredMsg') BEGIN @@ -1690,7 +1690,7 @@ BEGIN IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'LocaleResourceModel.ResourceValue.MaxLengthMsg') BEGIN INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) - VALUES(@LanguageId,'LocaleResourceModel.ResourceValue.MaxLengthMsg','The length of Resource Value must be 100 characters or fewer') + VALUES(@LanguageId,'LocaleResourceModel.ResourceValue.MaxLengthMsg','The length of Resource Value must be {MaxLength} characters or fewer') END IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'LocaleResourceModel.ResourceValue.RequiredMsg') BEGIN @@ -1785,7 +1785,7 @@ BEGIN IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'ModuleModel.Description.MaxLengthMsg') BEGIN INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) - VALUES(@LanguageId,'ModuleModel.Description.MaxLengthMsg','The length of description must be 250 characters or fewer') + VALUES(@LanguageId,'ModuleModel.Description.MaxLengthMsg','The length of description must be {MaxLength} characters or fewer') END IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'ModuleModel.Name') BEGIN @@ -1795,7 +1795,7 @@ BEGIN IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'ModuleModel.Name.MaxLengthMsg') BEGIN INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) - VALUES(@LanguageId,'ModuleModel.Name.MaxLengthMsg','The length of name must be 100 characters or fewer') + VALUES(@LanguageId,'ModuleModel.Name.MaxLengthMsg','The length of name must be {MaxLength} characters or fewer') END IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'ModuleModel.Name.RequiredMsg') BEGIN @@ -1960,7 +1960,7 @@ BEGIN IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'ProjectModel.Description.MaxLengthMsg') BEGIN INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) - VALUES(@LanguageId,'ProjectModel.Description.MaxLengthMsg','The length of description must be 250 characters or fewer') + VALUES(@LanguageId,'ProjectModel.Description.MaxLengthMsg','The length of description must be {MaxLength} characters or fewer') END IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'ProjectModel.EndDate') BEGIN @@ -1980,7 +1980,7 @@ BEGIN IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'ProjectModel.Name.MaxLengthMsg') BEGIN INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) - VALUES(@LanguageId,'ProjectModel.Name.MaxLengthMsg','The length of name must be 100 characters or fewer') + VALUES(@LanguageId,'ProjectModel.Name.MaxLengthMsg','The length of name must be {MaxLength} characters or fewer') END IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'ProjectModel.Name.RequiredMsg') BEGIN @@ -2090,7 +2090,7 @@ BEGIN IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'SprintModel.Description.MaxLengthMsg') BEGIN INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) - VALUES(@LanguageId,'SprintModel.Description.MaxLengthMsg','The length of description must be 250 characters or fewer') + VALUES(@LanguageId,'SprintModel.Description.MaxLengthMsg','The length of description must be {MaxLength} characters or fewer') END IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'SprintModel.Name') BEGIN @@ -2150,7 +2150,7 @@ BEGIN IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'SprintModel.Version.MaxLengthMsg') BEGIN INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) - VALUES(@LanguageId,'SprintModel.Version.MaxLengthMsg','The length of version must be 50 characters or fewer') + VALUES(@LanguageId,'SprintModel.Version.MaxLengthMsg','The length of version must be {MaxLength} characters or fewer') END IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'SprintModel.Version.RequiredMsg') BEGIN @@ -2190,7 +2190,7 @@ BEGIN IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'ReporterModel.Description.MaxLengthMsg') BEGIN INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) - VALUES(@LanguageId,'ReporterModel.Description.MaxLengthMsg','The length of description must be 250 characters or fewer') + VALUES(@LanguageId,'ReporterModel.Description.MaxLengthMsg','The length of description must be {MaxLength} characters or fewer') END IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'ReporterModel.Name') BEGIN @@ -2200,7 +2200,7 @@ BEGIN IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'ReporterModel.Name.MaxLengthMsg') BEGIN INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) - VALUES(@LanguageId,'ReporterModel.Name.MaxLengthMsg','The length of name must be 100 characters or fewer') + VALUES(@LanguageId,'ReporterModel.Name.MaxLengthMsg','The length of name must be {MaxLength} characters or fewer') END IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'ReporterModel.Name.RequiredMsg') BEGIN @@ -2255,7 +2255,7 @@ BEGIN IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'SettingModel.Description.MaxLengthMsg') BEGIN INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) - VALUES(@LanguageId,'SettingModel.Description.MaxLengthMsg','The length of description must be 250 characters or fewer') + VALUES(@LanguageId,'SettingModel.Description.MaxLengthMsg','The length of description must be {MaxLength} characters or fewer') END IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'SettingModel.Name') BEGIN @@ -2265,7 +2265,7 @@ BEGIN IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'SettingModel.Name.MaxLengthMsg') BEGIN INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) - VALUES(@LanguageId,'SettingModel.Name.MaxLengthMsg','The length of name must be 100 characters or fewer') + VALUES(@LanguageId,'SettingModel.Name.MaxLengthMsg','The length of name must be {MaxLength} characters or fewer') END IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'SettingModel.Value') BEGIN @@ -2275,7 +2275,7 @@ BEGIN IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'SettingModel.Value.MaxLengthMsg') BEGIN INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) - VALUES(@LanguageId,'SettingModel.Value.MaxLengthMsg','The length of value must be 250 characters or fewer') + VALUES(@LanguageId,'SettingModel.Value.MaxLengthMsg','The length of value must be {MaxLength} characters or fewer') END IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'SeverityGrid.Active') BEGIN @@ -2325,7 +2325,7 @@ BEGIN IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'SeverityModel.BackgroundColor.MaxLengthMsg') BEGIN INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) - VALUES(@LanguageId,'SeverityModel.BackgroundColor.MaxLengthMsg','The length of background color must be 20 characters or fewer') + VALUES(@LanguageId,'SeverityModel.BackgroundColor.MaxLengthMsg','The length of background color must be {MaxLength} characters or fewer') END IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'SeverityModel.Description') BEGIN @@ -2335,7 +2335,7 @@ BEGIN IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'SeverityModel.Description.MaxLengthMsg') BEGIN INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) - VALUES(@LanguageId,'SeverityModel.Description.MaxLengthMsg','The length of description must be 250 characters or fewer') + VALUES(@LanguageId,'SeverityModel.Description.MaxLengthMsg','The length of description must be {MaxLength} characters or fewer') END IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'SeverityModel.Group') BEGIN @@ -2355,7 +2355,7 @@ BEGIN IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'SeverityModel.IconClass.MaxLengthMsg') BEGIN INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) - VALUES(@LanguageId,'SeverityModel.IconClass.MaxLengthMsg','The length of icon class must be 50 characters or fewer') + VALUES(@LanguageId,'SeverityModel.IconClass.MaxLengthMsg','The length of icon class must be {MaxLength} characters or fewer') END IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'SeverityModel.Name') BEGIN @@ -2365,7 +2365,7 @@ BEGIN IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'SeverityModel.Name.MaxLengthMsg') BEGIN INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) - VALUES(@LanguageId,'SeverityModel.Name.MaxLengthMsg','The length of name must be 100 characters or fewer') + VALUES(@LanguageId,'SeverityModel.Name.MaxLengthMsg','The length of name must be {MaxLength} characters or fewer') END IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'SeverityModel.Name.RequiredMsg') BEGIN @@ -2385,7 +2385,7 @@ BEGIN IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'SeverityModel.TextColor.MaxLengthMsg') BEGIN INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) - VALUES(@LanguageId,'SeverityModel.TextColor.MaxLengthMsg','The length of text color must be 20 characters or fewer') + VALUES(@LanguageId,'SeverityModel.TextColor.MaxLengthMsg','The length of text color must be {MaxLength} characters or fewer') END IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'SeverityPage.Title') BEGIN @@ -2445,7 +2445,7 @@ BEGIN IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'StatusModel.BackgroundColor.MaxLengthMsg') BEGIN INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) - VALUES(@LanguageId,'StatusModel.BackgroundColor.MaxLengthMsg','The length of background color must be 20 characters or fewer') + VALUES(@LanguageId,'StatusModel.BackgroundColor.MaxLengthMsg','The length of background color must be {MaxLength} characters or fewer') END IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'StatusModel.Description') BEGIN @@ -2455,7 +2455,7 @@ BEGIN IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'StatusModel.Description.MaxLengthMsg') BEGIN INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) - VALUES(@LanguageId,'StatusModel.Description.MaxLengthMsg','The length of description must be 250 characters or fewer') + VALUES(@LanguageId,'StatusModel.Description.MaxLengthMsg','The length of description must be {MaxLength} characters or fewer') END IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'StatusModel.ExternalUse') BEGIN @@ -2480,7 +2480,7 @@ BEGIN IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'StatusModel.IconClass.MaxLengthMsg') BEGIN INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) - VALUES(@LanguageId,'StatusModel.IconClass.MaxLengthMsg','The length of icon class must be 50 characters or fewer') + VALUES(@LanguageId,'StatusModel.IconClass.MaxLengthMsg','The length of icon class must be {MaxLength} characters or fewer') END IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'StatusModel.Name') BEGIN @@ -2490,7 +2490,7 @@ BEGIN IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'StatusModel.Name.MaxLengthMsg') BEGIN INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) - VALUES(@LanguageId,'StatusModel.Name.MaxLengthMsg','The length of name must be 100 characters or fewer') + VALUES(@LanguageId,'StatusModel.Name.MaxLengthMsg','The length of name must be {MaxLength} characters or fewer') END IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'StatusModel.Name.RequiredMsg') BEGIN @@ -2550,7 +2550,7 @@ BEGIN IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'StatusModel.TextColor.MaxLengthMsg') BEGIN INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) - VALUES(@LanguageId,'StatusModel.TextColor.MaxLengthMsg','The length of text color must be 20 characters or fewer') + VALUES(@LanguageId,'StatusModel.TextColor.MaxLengthMsg','The length of text color must be {MaxLength} characters or fewer') END IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'StatusPage.SystemDefinedMsg') BEGIN @@ -2590,7 +2590,7 @@ BEGIN IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'SubModuleModel.Description.MaxLengthMsg') BEGIN INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) - VALUES(@LanguageId,'SubModuleModel.Description.MaxLengthMsg','The length of description must be 250 characters or fewer') + VALUES(@LanguageId,'SubModuleModel.Description.MaxLengthMsg','The length of description must be {MaxLength} characters or fewer') END IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'SubModuleModel.Module') BEGIN @@ -2605,7 +2605,7 @@ BEGIN IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'SubModuleModel.Name.MaxLengthMsg') BEGIN INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) - VALUES(@LanguageId,'SubModuleModel.Name.MaxLengthMsg','The length of name must be 100 characters or fewer') + VALUES(@LanguageId,'SubModuleModel.Name.MaxLengthMsg','The length of name must be {MaxLength} characters or fewer') END IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'SubModuleModel.Name.RequiredMsg') BEGIN @@ -2675,7 +2675,7 @@ BEGIN IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'TaskTypeModel.BackgroundColor.MaxLengthMsg') BEGIN INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) - VALUES(@LanguageId,'TaskTypeModel.BackgroundColor.MaxLengthMsg','The length of background color must be 20 characters or fewer') + VALUES(@LanguageId,'TaskTypeModel.BackgroundColor.MaxLengthMsg','The length of background color must be {MaxLength} characters or fewer') END IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'TaskTypeModel.Description') BEGIN @@ -2685,7 +2685,7 @@ BEGIN IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'TaskTypeModel.Description.MaxLengthMsg') BEGIN INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) - VALUES(@LanguageId,'TaskTypeModel.Description.MaxLengthMsg','The length of description must be 250 characters or fewer') + VALUES(@LanguageId,'TaskTypeModel.Description.MaxLengthMsg','The length of description must be {MaxLength} characters or fewer') END IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'TaskTypeModel.Group') BEGIN @@ -2705,7 +2705,7 @@ BEGIN IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'TaskTypeModel.IconClass.MaxLengthMsg') BEGIN INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) - VALUES(@LanguageId,'TaskTypeModel.IconClass.MaxLengthMsg','The length of icon class must be 50 characters or fewer') + VALUES(@LanguageId,'TaskTypeModel.IconClass.MaxLengthMsg','The length of icon class must be {MaxLength} characters or fewer') END IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'TaskTypeModel.Name') BEGIN @@ -2715,7 +2715,7 @@ BEGIN IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'TaskTypeModel.Name.MaxLengthMsg') BEGIN INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) - VALUES(@LanguageId,'TaskTypeModel.Name.MaxLengthMsg','The length of name must be 100 characters or fewer') + VALUES(@LanguageId,'TaskTypeModel.Name.MaxLengthMsg','The length of name must be {MaxLength} characters or fewer') END IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'TaskTypeModel.Name.RequiredMsg') BEGIN @@ -2735,7 +2735,7 @@ BEGIN IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'TaskTypeModel.TextColor.MaxLengthMsg') BEGIN INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) - VALUES(@LanguageId,'TaskTypeModel.TextColor.MaxLengthMsg','The length of text color must be 20 characters or fewer') + VALUES(@LanguageId,'TaskTypeModel.TextColor.MaxLengthMsg','The length of text color must be {MaxLength} characters or fewer') END IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'TaskTypePage.Title') BEGIN @@ -2785,7 +2785,7 @@ BEGIN IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'ChangePasswordModel.CurrentPassword.MaxLengthMsg') BEGIN INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) - VALUES(@LanguageId,'ChangePasswordModel.CurrentPassword.MaxLengthMsg','The length must be 100 characters or fewer') + VALUES(@LanguageId,'ChangePasswordModel.CurrentPassword.MaxLengthMsg','The length must be {MaxLength} characters or fewer') END IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'ChangePasswordModel.CurrentPassword.NotMatchMsg') BEGIN @@ -2800,7 +2800,7 @@ BEGIN IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'ChangePasswordModel.NewPassword.MaxLengthMsg') BEGIN INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) - VALUES(@LanguageId,'ChangePasswordModel.NewPassword.MaxLengthMsg','The length must be 100 characters or fewer') + VALUES(@LanguageId,'ChangePasswordModel.NewPassword.MaxLengthMsg','The length must be {MaxLength} characters or fewer') END IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'ChangePasswordModel.ConfirmPassword.RequiredMsg') BEGIN @@ -2810,7 +2810,7 @@ BEGIN IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'ChangePasswordModel.ConfirmPassword.MaxLengthMsg') BEGIN INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) - VALUES(@LanguageId,'ChangePasswordModel.ConfirmPassword.MaxLengthMsg','The length must be 100 characters or fewer') + VALUES(@LanguageId,'ChangePasswordModel.ConfirmPassword.MaxLengthMsg','The length must be {MaxLength} characters or fewer') END IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'ChangePasswordModel.ConfirmPassword.NotMatchMsg') BEGIN @@ -2825,7 +2825,7 @@ BEGIN IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'ProfileDetailModel.FirstName.MaxLengthMsg') BEGIN INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) - VALUES(@LanguageId,'ProfileDetailModel.FirstName.MaxLengthMsg','The length must be 100 characters or fewer') + VALUES(@LanguageId,'ProfileDetailModel.FirstName.MaxLengthMsg','The length must be {MaxLength} characters or fewer') END IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'ProfileDetailModel.LastName.RequiredMsg') BEGIN @@ -2835,7 +2835,7 @@ BEGIN IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'ProfileDetailModel.LastName.MaxLengthMsg') BEGIN INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) - VALUES(@LanguageId,'ProfileDetailModel.LastName.MaxLengthMsg','The length must be 100 characters or fewer') + VALUES(@LanguageId,'ProfileDetailModel.LastName.MaxLengthMsg','The length must be {MaxLength} characters or fewer') END IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'ProfileDetailModel.Email.RequiredMsg') BEGIN @@ -2845,7 +2845,7 @@ BEGIN IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'ProfileDetailModel.Email.MaxLengthMsg') BEGIN INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) - VALUES(@LanguageId,'ProfileDetailModel.Email.MaxLengthMsg','The length must be 250 characters or fewer') + VALUES(@LanguageId,'ProfileDetailModel.Email.MaxLengthMsg','The length must be {MaxLength} characters or fewer') END IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'ProfileDetailModel.Email.InvalidMsg') BEGIN @@ -2886,5 +2886,160 @@ BEGIN BEGIN INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) VALUES(@LanguageId,'ProfilePage.SuccessMsg','Avatar uploaded successfully!') + END + IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'BacklogTaskModel.Module.RequiredMsg') + BEGIN + INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) + VALUES(@LanguageId,'BacklogTaskModel.Module.RequiredMsg','Module is required') + END + IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'BacklogTaskModel.Severity.RequiredMsg') + BEGIN + INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) + VALUES(@LanguageId,'BacklogTaskModel.Severity.RequiredMsg','Severity is required') + END + IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'BacklogTaskModel.Status.RequiredMsg') + BEGIN + INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) + VALUES(@LanguageId,'BacklogTaskModel.Status.RequiredMsg','Status is required') + END + IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'BacklogTaskModel.SubModule.RequiredMsg') + BEGIN + INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) + VALUES(@LanguageId,'BacklogTaskModel.SubModule.RequiredMsg','Sub module is required') + END + IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'BacklogTaskModel.TaskType.RequiredMsg') + BEGIN + INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) + VALUES(@LanguageId,'BacklogTaskModel.TaskType.RequiredMsg','Task type is required') + END + IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'BacklogTaskModel.Title.RequiredMsg') + BEGIN + INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) + VALUES(@LanguageId,'BacklogTaskModel.Title.RequiredMsg','Title is required') + END + IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'BacklogTaskModel.Title.MaxLengthMsg') + BEGIN + INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) + VALUES(@LanguageId,'BacklogTaskModel.Title.MaxLengthMsg','The length must be {MaxLength} characters or fewer') + END + IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'EmailAccountModel.EmailBody') + BEGIN + INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) + VALUES(@LanguageId,'EmailAccountModel.EmailBody','Email Body') + END + IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'EmailAccountModel.Host.MaxLengthMsg') + BEGIN + INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) + VALUES(@LanguageId,'EmailAccountModel.Host.MaxLengthMsg','The length must be {MaxLength} characters or fewer') + END + IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'Error.UnableToCreateTask') + BEGIN + INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) + VALUES(@LanguageId,'Error.UnableToCreateTask','Unable to create the task. Please try again.') + END + IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'Error.UnableToRegisterUser') + BEGIN + INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) + VALUES(@LanguageId,'Error.UnableToRegisterUser','Unable to register user. Please try again.') + END + IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'Error.UnableToUpdateUser') + BEGIN + INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) + VALUES(@LanguageId,'Error.UnableToUpdateUser','Unable to update user details. Please try again.') + END + IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'ResetPasswordModel.Password.RequiredMsg') + BEGIN + INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) + VALUES(@LanguageId,'ResetPasswordModel.Password.RequiredMsg','Password is required') + END + IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'ResetPasswordModel.Password.MaxLengthMsg') + BEGIN + INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) + VALUES(@LanguageId,'ResetPasswordModel.Password.MaxLengthMsg','The length must be {MaxLength} characters or fewer') + END + IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'UserModel.Email.MaxLengthMsg') + BEGIN + INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) + VALUES(@LanguageId,'UserModel.Email.MaxLengthMsg','The length must be {MaxLength} characters or fewer') + END + IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'UserModel.Language.RequiredMsg') + BEGIN + INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) + VALUES(@LanguageId,'UserModel.Language.RequiredMsg','Language is required') + END + IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'UserRoleModel.SystemDefined') + BEGIN + INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) + VALUES(@LanguageId,'UserRoleModel.SystemDefined','System Defined') + END + IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'UserRolePermissionModel.Name') + BEGIN + INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) + VALUES(@LanguageId,'UserRolePermissionModel.Name','Name') + END + IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'UserRolePermissionModel.RoleGroup') + BEGIN + INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) + VALUES(@LanguageId,'UserRolePermissionModel.RoleGroup','Role Group') + END + IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'UserRolePermissionModel.SystemName') + BEGIN + INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) + VALUES(@LanguageId,'UserRolePermissionModel.SystemName','System Name') + END + IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'UserRolePermissionModel.SystemPermission') + BEGIN + INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) + VALUES(@LanguageId,'UserRolePermissionModel.SystemPermission','System Permission') + END + IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'SprintGrid.StartDate') + BEGIN + INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) + VALUES(@LanguageId,'SprintGrid.StartDate','Start Date') + END + IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'SprintGrid.EndDate') + BEGIN + INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) + VALUES(@LanguageId,'SprintGrid.EndDate','End Date') + END + IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'SprintGrid.Started') + BEGIN + INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) + VALUES(@LanguageId,'SprintGrid.Started','Started') + END + IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'SprintModel.EndDate') + BEGIN + INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) + VALUES(@LanguageId,'SprintModel.EndDate','End Date') + END + IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'SprintModel.EndDate.RequiredMsg') + BEGIN + INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) + VALUES(@LanguageId,'SprintModel.EndDate.RequiredMsg','End date is required') + END + IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'SprintModel.Name.MaxLengthMsg') + BEGIN + INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) + VALUES(@LanguageId,'SprintModel.Name.MaxLengthMsg','The length must be {MaxLength} characters or fewer') + END + IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'Log.PasswordReset') + BEGIN + INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) + VALUES(@LanguageId,'Log.PasswordReset','Record reset -> {0}') + END + IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'SprintModel.StartDate.UniqueMsg') + BEGIN + INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) + VALUES(@LanguageId,'SprintModel.StartDate.UniqueMsg','Start date overlaps with another sprint’s schedule') + END + IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'SprintModel.EndDate.UniqueMsg') + BEGIN + INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) + VALUES(@LanguageId,'SprintModel.EndDate.UniqueMsg','End date overlaps with another sprint’s schedule') + END + IF NOT EXISTS (SELECT 1 FROM [LocaleResource] WHERE [ResourceKey] = 'Admin.AccessDenied.Description') + BEGIN + INSERT INTO [LocaleResource] ([LanguageId],[ResourceKey],[ResourceValue]) + VALUES(@LanguageId,'Admin.AccessDenied.Description','You don’t have permission to access the admin area.') END END \ No newline at end of file diff --git a/src/Presentation/Taskist.Web/Models/WorkItems/BacklogModel.cs b/src/Presentation/Taskist.Web/Models/WorkItems/BacklogModel.cs index 4ddeda6..0216835 100644 --- a/src/Presentation/Taskist.Web/Models/WorkItems/BacklogModel.cs +++ b/src/Presentation/Taskist.Web/Models/WorkItems/BacklogModel.cs @@ -29,12 +29,6 @@ public BacklogModel() [LocalizedDisplayName("BacklogTask.Description")] public string? Description { get; set; } - [LocalizedDisplayName("BacklogTask.DeveloperNotes")] - public string? DeveloperNotes { get; set; } - - [LocalizedDisplayName("BacklogTask.QualityNotes")] - public string? QualityNotes { get; set; } - [LocalizedDisplayName("BacklogTask.Parent")] public int? ParentId { get; set; } From 12392f55b76123517cc4fc8b55b5e91dcd445021 Mon Sep 17 00:00:00 2001 From: Somaraj N <17797942+somaraj@users.noreply.github.com> Date: Sun, 9 Nov 2025 12:58:17 +0530 Subject: [PATCH 14/34] Add documentation section to README Added a documentation section with a link to the Taskist Documentation Site. --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 872322e..507e8c3 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,12 @@ This system helps teams manage tasks, track bugs, handle change requests, and or Experience Taskist in action: 👉 [**demo.taskist.org**](https://demo.taskist.org) +## 📚 Documentation + +Looking for detailed setup guides, module explanations, and screenshots? +Check out the complete **Taskist Documentation Site** below 👇 + +🔗 **Visit:** 👉 [**docs.taskist.org**](https://docs.taskist.org) ## 💬 Join the Discussion on Zulip From e1481e4683b5fae53884708bd6211d2d6ea67941 Mon Sep 17 00:00:00 2001 From: Somaraj N <17797942+somaraj@users.noreply.github.com> Date: Sun, 9 Nov 2025 15:13:47 +0530 Subject: [PATCH 15/34] Updated base page model --- .../Controllers/Masters/EmailTemplateController.cs | 2 +- .../Taskist.Web/Models/Common/BaseModel.cs | 7 ------- .../Taskist.Web/Models/Common/BasePageModel.cs | 11 +++-------- .../Taskist.Web/Models/Common/PageModel.cs | 10 ---------- .../Taskist.Web/Models/Localization/LanguageModel.cs | 2 +- .../Models/Localization/LocaleResourceModel.cs | 2 +- .../Taskist.Web/Models/Masters/ClientModel.cs | 2 +- .../Taskist.Web/Models/Masters/CustomFieldModel.cs | 4 ++-- .../Models/Masters/CustomFieldRenderModel.cs | 2 +- .../Taskist.Web/Models/Masters/EmailAccountModel.cs | 2 +- .../Taskist.Web/Models/Masters/EmailTemplateModel.cs | 2 +- .../Models/Masters/EmailTemplateResetModel.cs | 8 ++++++++ .../Taskist.Web/Models/Masters/ModuleModel.cs | 2 +- .../Taskist.Web/Models/Masters/ProjectModel.cs | 6 +++--- .../Taskist.Web/Models/Masters/ReporterModel.cs | 2 +- .../Taskist.Web/Models/Masters/SeverityModel.cs | 2 +- .../Taskist.Web/Models/Masters/StatusModel.cs | 2 +- .../Taskist.Web/Models/Masters/SubModuleModel.cs | 2 +- .../Taskist.Web/Models/Masters/TaskTypeModel.cs | 2 +- .../Taskist.Web/Models/Users/ProfileModel.cs | 2 +- .../Taskist.Web/Models/Users/ResetPasswordModel.cs | 2 +- .../Taskist.Web/Models/Users/UserModel.cs | 2 +- .../Taskist.Web/Models/Users/UserProjectModel.cs | 4 ++-- .../Taskist.Web/Models/Users/UserRoleModel.cs | 2 +- .../Models/Users/UserRolePermissionModel.cs | 2 +- .../Models/WorkItems/BacklogCommentModel.cs | 2 +- .../Models/WorkItems/BacklogDocumentModel.cs | 2 +- .../Models/WorkItems/BacklogExportModel.cs | 2 +- .../Taskist.Web/Models/WorkItems/BacklogModel.cs | 4 ++-- .../Taskist.Web/Models/WorkItems/SprintModel.cs | 2 +- .../Taskist.Web/Views/EmailTemplate/Reset.cshtml | 2 +- src/Presentation/Taskist.Web/appsettings.json | 4 ++-- 32 files changed, 45 insertions(+), 59 deletions(-) delete mode 100644 src/Presentation/Taskist.Web/Models/Common/BaseModel.cs delete mode 100644 src/Presentation/Taskist.Web/Models/Common/PageModel.cs create mode 100644 src/Presentation/Taskist.Web/Models/Masters/EmailTemplateResetModel.cs diff --git a/src/Presentation/Taskist.Web/Controllers/Masters/EmailTemplateController.cs b/src/Presentation/Taskist.Web/Controllers/Masters/EmailTemplateController.cs index 35fed96..94ac2b6 100644 --- a/src/Presentation/Taskist.Web/Controllers/Masters/EmailTemplateController.cs +++ b/src/Presentation/Taskist.Web/Controllers/Masters/EmailTemplateController.cs @@ -106,7 +106,7 @@ public async Task Edit(EmailTemplateModel model) [CheckPermission(PermissionProvider.Configuration.MANAGE_EMAIL_TEMPLATE)] public async Task Reset() { - var model = new PageModel + var model = new EmailTemplateResetModel { Valid = true }; diff --git a/src/Presentation/Taskist.Web/Models/Common/BaseModel.cs b/src/Presentation/Taskist.Web/Models/Common/BaseModel.cs deleted file mode 100644 index 939d5c1..0000000 --- a/src/Presentation/Taskist.Web/Models/Common/BaseModel.cs +++ /dev/null @@ -1,7 +0,0 @@ - -namespace Taskist.Web.Models.Common; - -public class BaseModel -{ - public virtual int Id { get; set; } -} \ No newline at end of file diff --git a/src/Presentation/Taskist.Web/Models/Common/BasePageModel.cs b/src/Presentation/Taskist.Web/Models/Common/BasePageModel.cs index 023738f..a5b2871 100644 --- a/src/Presentation/Taskist.Web/Models/Common/BasePageModel.cs +++ b/src/Presentation/Taskist.Web/Models/Common/BasePageModel.cs @@ -1,16 +1,11 @@ + namespace Taskist.Web.Models.Common; public class BasePageModel { - public BasePageModel() - { - BreadCrumb = new List(); - AccessDenied = false; - } + public int Id { get; set; } public string PageTitle { get; set; } - public List BreadCrumb { get; set; } - - public bool AccessDenied { get; set; } + public List BreadCrumb { get; set; } = []; } \ No newline at end of file diff --git a/src/Presentation/Taskist.Web/Models/Common/PageModel.cs b/src/Presentation/Taskist.Web/Models/Common/PageModel.cs deleted file mode 100644 index 2d6befe..0000000 --- a/src/Presentation/Taskist.Web/Models/Common/PageModel.cs +++ /dev/null @@ -1,10 +0,0 @@ -namespace Taskist.Web.Models.Common; - -public class PageModel -{ - public int ReferenceId { get; set; } - - public string Message { get; set; } - - public bool Valid { get; set; } -} diff --git a/src/Presentation/Taskist.Web/Models/Localization/LanguageModel.cs b/src/Presentation/Taskist.Web/Models/Localization/LanguageModel.cs index ec4d149..6a56ade 100644 --- a/src/Presentation/Taskist.Web/Models/Localization/LanguageModel.cs +++ b/src/Presentation/Taskist.Web/Models/Localization/LanguageModel.cs @@ -3,7 +3,7 @@ namespace Taskist.Web.Models.Localization; -public class LanguageModel : BaseModel +public class LanguageModel : BasePageModel { public LanguageModel() { diff --git a/src/Presentation/Taskist.Web/Models/Localization/LocaleResourceModel.cs b/src/Presentation/Taskist.Web/Models/Localization/LocaleResourceModel.cs index 1195f41..2d99562 100644 --- a/src/Presentation/Taskist.Web/Models/Localization/LocaleResourceModel.cs +++ b/src/Presentation/Taskist.Web/Models/Localization/LocaleResourceModel.cs @@ -3,7 +3,7 @@ namespace Taskist.Web.Models.Localization; -public class LocaleResourceModel : BaseModel +public class LocaleResourceModel : BasePageModel { public int LanguageId { get; set; } diff --git a/src/Presentation/Taskist.Web/Models/Masters/ClientModel.cs b/src/Presentation/Taskist.Web/Models/Masters/ClientModel.cs index 3f32e87..4b6a4dc 100644 --- a/src/Presentation/Taskist.Web/Models/Masters/ClientModel.cs +++ b/src/Presentation/Taskist.Web/Models/Masters/ClientModel.cs @@ -3,7 +3,7 @@ namespace Taskist.Web.Models.Masters; -public class ClientModel : BaseModel +public class ClientModel : BasePageModel { [LocalizedDisplayName("ClientModel.Name")] public string Name { get; set; } diff --git a/src/Presentation/Taskist.Web/Models/Masters/CustomFieldModel.cs b/src/Presentation/Taskist.Web/Models/Masters/CustomFieldModel.cs index ed3fdb8..55ec872 100644 --- a/src/Presentation/Taskist.Web/Models/Masters/CustomFieldModel.cs +++ b/src/Presentation/Taskist.Web/Models/Masters/CustomFieldModel.cs @@ -4,7 +4,7 @@ namespace Taskist.Web.Models.Masters; -public class CustomFieldModel : BaseModel +public class CustomFieldModel : BasePageModel { public CustomFieldModel() { @@ -47,7 +47,7 @@ public CustomFieldModel() public IList AvailableColumnClasses { get; set; } } -public class CustomFieldGridModel : BaseModel +public class CustomFieldGridModel : BasePageModel { public string Label { get; set; } diff --git a/src/Presentation/Taskist.Web/Models/Masters/CustomFieldRenderModel.cs b/src/Presentation/Taskist.Web/Models/Masters/CustomFieldRenderModel.cs index aa7053c..c6dff98 100644 --- a/src/Presentation/Taskist.Web/Models/Masters/CustomFieldRenderModel.cs +++ b/src/Presentation/Taskist.Web/Models/Masters/CustomFieldRenderModel.cs @@ -2,7 +2,7 @@ namespace Taskist.Web.Models.Masters; -public class CustomFieldRenderModel : BaseModel +public class CustomFieldRenderModel : BasePageModel { public string Label { get; set; } diff --git a/src/Presentation/Taskist.Web/Models/Masters/EmailAccountModel.cs b/src/Presentation/Taskist.Web/Models/Masters/EmailAccountModel.cs index 488b2ad..07b7f6f 100644 --- a/src/Presentation/Taskist.Web/Models/Masters/EmailAccountModel.cs +++ b/src/Presentation/Taskist.Web/Models/Masters/EmailAccountModel.cs @@ -4,7 +4,7 @@ namespace Taskist.Web.Models.Masters; -public class EmailAccountModel : BaseModel +public class EmailAccountModel : BasePageModel { public EmailAccountModel() { diff --git a/src/Presentation/Taskist.Web/Models/Masters/EmailTemplateModel.cs b/src/Presentation/Taskist.Web/Models/Masters/EmailTemplateModel.cs index 809c27d..e39c7a3 100644 --- a/src/Presentation/Taskist.Web/Models/Masters/EmailTemplateModel.cs +++ b/src/Presentation/Taskist.Web/Models/Masters/EmailTemplateModel.cs @@ -4,7 +4,7 @@ namespace Taskist.Web.Models.Masters; -public class EmailTemplateModel : BaseModel +public class EmailTemplateModel : BasePageModel { public EmailTemplateModel() { diff --git a/src/Presentation/Taskist.Web/Models/Masters/EmailTemplateResetModel.cs b/src/Presentation/Taskist.Web/Models/Masters/EmailTemplateResetModel.cs new file mode 100644 index 0000000..967bbfb --- /dev/null +++ b/src/Presentation/Taskist.Web/Models/Masters/EmailTemplateResetModel.cs @@ -0,0 +1,8 @@ +namespace Taskist.Web.Models.Masters; + +public class EmailTemplateResetModel +{ + public bool Valid { get; set; } + + public string Message { get; set; } +} \ No newline at end of file diff --git a/src/Presentation/Taskist.Web/Models/Masters/ModuleModel.cs b/src/Presentation/Taskist.Web/Models/Masters/ModuleModel.cs index 6a6f0d1..28f188e 100644 --- a/src/Presentation/Taskist.Web/Models/Masters/ModuleModel.cs +++ b/src/Presentation/Taskist.Web/Models/Masters/ModuleModel.cs @@ -4,7 +4,7 @@ namespace Taskist.Web.Models.Masters; -public class ModuleModel : BaseModel +public class ModuleModel : BasePageModel { public ModuleModel() { diff --git a/src/Presentation/Taskist.Web/Models/Masters/ProjectModel.cs b/src/Presentation/Taskist.Web/Models/Masters/ProjectModel.cs index f1ad29f..c6ba3e6 100644 --- a/src/Presentation/Taskist.Web/Models/Masters/ProjectModel.cs +++ b/src/Presentation/Taskist.Web/Models/Masters/ProjectModel.cs @@ -5,7 +5,7 @@ namespace Taskist.Web.Models.Masters; -public class ProjectModel : BaseModel +public class ProjectModel : BasePageModel { public ProjectModel() { @@ -35,7 +35,7 @@ public ProjectModel() public IList AvailableClients { get; set; } } -public class ProjectGridModel : BaseModel +public class ProjectGridModel : BasePageModel { public string Name { get; set; } @@ -50,7 +50,7 @@ public class ProjectGridModel : BaseModel public bool Active { get; set; } } -public class ProjectSelectorModel : BaseModel +public class ProjectSelectorModel : BasePageModel { public string Name { get; set; } diff --git a/src/Presentation/Taskist.Web/Models/Masters/ReporterModel.cs b/src/Presentation/Taskist.Web/Models/Masters/ReporterModel.cs index 89e4874..837132d 100644 --- a/src/Presentation/Taskist.Web/Models/Masters/ReporterModel.cs +++ b/src/Presentation/Taskist.Web/Models/Masters/ReporterModel.cs @@ -4,7 +4,7 @@ namespace Taskist.Web.Models.Masters; -public class ReporterModel : BaseModel +public class ReporterModel : BasePageModel { public ReporterModel() { diff --git a/src/Presentation/Taskist.Web/Models/Masters/SeverityModel.cs b/src/Presentation/Taskist.Web/Models/Masters/SeverityModel.cs index 51bd9fd..8c19458 100644 --- a/src/Presentation/Taskist.Web/Models/Masters/SeverityModel.cs +++ b/src/Presentation/Taskist.Web/Models/Masters/SeverityModel.cs @@ -3,7 +3,7 @@ namespace Taskist.Web.Models.Masters; -public class SeverityModel : BaseModel +public class SeverityModel : BasePageModel { [LocalizedDisplayName("SeverityModel.Name")] public string Name { get; set; } diff --git a/src/Presentation/Taskist.Web/Models/Masters/StatusModel.cs b/src/Presentation/Taskist.Web/Models/Masters/StatusModel.cs index 51462c7..0d6e080 100644 --- a/src/Presentation/Taskist.Web/Models/Masters/StatusModel.cs +++ b/src/Presentation/Taskist.Web/Models/Masters/StatusModel.cs @@ -3,7 +3,7 @@ namespace Taskist.Web.Models.Masters; -public class StatusModel : BaseModel +public class StatusModel : BasePageModel { [LocalizedDisplayName("StatusModel.Name")] public string Name { get; set; } diff --git a/src/Presentation/Taskist.Web/Models/Masters/SubModuleModel.cs b/src/Presentation/Taskist.Web/Models/Masters/SubModuleModel.cs index 50ab552..ce2467b 100644 --- a/src/Presentation/Taskist.Web/Models/Masters/SubModuleModel.cs +++ b/src/Presentation/Taskist.Web/Models/Masters/SubModuleModel.cs @@ -4,7 +4,7 @@ namespace Taskist.Web.Models.Masters; -public class SubModuleModel : BaseModel +public class SubModuleModel : BasePageModel { public SubModuleModel() { diff --git a/src/Presentation/Taskist.Web/Models/Masters/TaskTypeModel.cs b/src/Presentation/Taskist.Web/Models/Masters/TaskTypeModel.cs index b8943ec..1abe1cf 100644 --- a/src/Presentation/Taskist.Web/Models/Masters/TaskTypeModel.cs +++ b/src/Presentation/Taskist.Web/Models/Masters/TaskTypeModel.cs @@ -3,7 +3,7 @@ namespace Taskist.Web.Models.Masters; -public class TaskTypeModel : BaseModel +public class TaskTypeModel : BasePageModel { [LocalizedDisplayName("TaskTypeModel.Name")] public string Name { get; set; } diff --git a/src/Presentation/Taskist.Web/Models/Users/ProfileModel.cs b/src/Presentation/Taskist.Web/Models/Users/ProfileModel.cs index cdfecd0..3e0bdfc 100644 --- a/src/Presentation/Taskist.Web/Models/Users/ProfileModel.cs +++ b/src/Presentation/Taskist.Web/Models/Users/ProfileModel.cs @@ -21,7 +21,7 @@ public ProfileModel() public string DisplayName { get; set; } } -public class ProfileDetailModel : BaseModel +public class ProfileDetailModel : BasePageModel { public ProfileDetailModel() { diff --git a/src/Presentation/Taskist.Web/Models/Users/ResetPasswordModel.cs b/src/Presentation/Taskist.Web/Models/Users/ResetPasswordModel.cs index 41408bf..dbfd155 100644 --- a/src/Presentation/Taskist.Web/Models/Users/ResetPasswordModel.cs +++ b/src/Presentation/Taskist.Web/Models/Users/ResetPasswordModel.cs @@ -4,7 +4,7 @@ namespace Taskist.Web.Models.Users; -public class ResetPasswordModel : BaseModel +public class ResetPasswordModel : BasePageModel { [LocalizedDisplayName("ResetPasswordModel.Password")] [DataType(DataType.Password)] diff --git a/src/Presentation/Taskist.Web/Models/Users/UserModel.cs b/src/Presentation/Taskist.Web/Models/Users/UserModel.cs index 060a833..be78fd8 100644 --- a/src/Presentation/Taskist.Web/Models/Users/UserModel.cs +++ b/src/Presentation/Taskist.Web/Models/Users/UserModel.cs @@ -5,7 +5,7 @@ namespace Taskist.Web.Models.Users; -public class UserModel : BaseModel +public class UserModel : BasePageModel { public UserModel() { diff --git a/src/Presentation/Taskist.Web/Models/Users/UserProjectModel.cs b/src/Presentation/Taskist.Web/Models/Users/UserProjectModel.cs index 49bc739..1f7dc88 100644 --- a/src/Presentation/Taskist.Web/Models/Users/UserProjectModel.cs +++ b/src/Presentation/Taskist.Web/Models/Users/UserProjectModel.cs @@ -4,7 +4,7 @@ namespace Taskist.Web.Models.Users; -public class UserProjectModel : BaseModel +public class UserProjectModel : BasePageModel { public UserProjectModel() { @@ -42,7 +42,7 @@ public UserProjectModel() public IList AvailableUsers { get; set; } } -public class UserProjectGridModel : BaseModel +public class UserProjectGridModel : BasePageModel { public string UserName { get; set; } diff --git a/src/Presentation/Taskist.Web/Models/Users/UserRoleModel.cs b/src/Presentation/Taskist.Web/Models/Users/UserRoleModel.cs index 8ff341e..f06ca39 100644 --- a/src/Presentation/Taskist.Web/Models/Users/UserRoleModel.cs +++ b/src/Presentation/Taskist.Web/Models/Users/UserRoleModel.cs @@ -3,7 +3,7 @@ namespace Taskist.Web.Models.Users; -public class UserRoleModel : BaseModel +public class UserRoleModel : BasePageModel { [LocalizedDisplayName("UserRoleModel.Name")] public string Name { get; set; } diff --git a/src/Presentation/Taskist.Web/Models/Users/UserRolePermissionModel.cs b/src/Presentation/Taskist.Web/Models/Users/UserRolePermissionModel.cs index 33e9aa9..5d406a1 100644 --- a/src/Presentation/Taskist.Web/Models/Users/UserRolePermissionModel.cs +++ b/src/Presentation/Taskist.Web/Models/Users/UserRolePermissionModel.cs @@ -3,7 +3,7 @@ namespace Taskist.Web.Models.Users; -public class UserRolePermissionModel : BaseModel +public class UserRolePermissionModel : BasePageModel { [LocalizedDisplayName("UserRolePermissionModel.Name")] public string Name { get; set; } diff --git a/src/Presentation/Taskist.Web/Models/WorkItems/BacklogCommentModel.cs b/src/Presentation/Taskist.Web/Models/WorkItems/BacklogCommentModel.cs index 98679e1..e1b4970 100644 --- a/src/Presentation/Taskist.Web/Models/WorkItems/BacklogCommentModel.cs +++ b/src/Presentation/Taskist.Web/Models/WorkItems/BacklogCommentModel.cs @@ -2,7 +2,7 @@ namespace Taskist.Web.Models.WorkItems; -public class BacklogCommentModel : BaseModel +public class BacklogCommentModel : BasePageModel { public BacklogCommentModel() { diff --git a/src/Presentation/Taskist.Web/Models/WorkItems/BacklogDocumentModel.cs b/src/Presentation/Taskist.Web/Models/WorkItems/BacklogDocumentModel.cs index 94394cc..f51405b 100644 --- a/src/Presentation/Taskist.Web/Models/WorkItems/BacklogDocumentModel.cs +++ b/src/Presentation/Taskist.Web/Models/WorkItems/BacklogDocumentModel.cs @@ -2,7 +2,7 @@ namespace Taskist.Web.Models.WorkItems; -public class BacklogDocumentGridModel : BaseModel +public class BacklogDocumentGridModel : BasePageModel { public string Name { get; set; } diff --git a/src/Presentation/Taskist.Web/Models/WorkItems/BacklogExportModel.cs b/src/Presentation/Taskist.Web/Models/WorkItems/BacklogExportModel.cs index d696b3d..f4f6006 100644 --- a/src/Presentation/Taskist.Web/Models/WorkItems/BacklogExportModel.cs +++ b/src/Presentation/Taskist.Web/Models/WorkItems/BacklogExportModel.cs @@ -1,7 +1,7 @@ using Taskist.Web.Models.Common; namespace Taskist.Web.Models.WorkItems; -public class BacklogExportModel : BaseModel +public class BacklogExportModel : BasePageModel { public string Title { get; set; } diff --git a/src/Presentation/Taskist.Web/Models/WorkItems/BacklogModel.cs b/src/Presentation/Taskist.Web/Models/WorkItems/BacklogModel.cs index 0216835..23a702d 100644 --- a/src/Presentation/Taskist.Web/Models/WorkItems/BacklogModel.cs +++ b/src/Presentation/Taskist.Web/Models/WorkItems/BacklogModel.cs @@ -6,7 +6,7 @@ namespace Taskist.Web.Models.WorkItems; -public class BacklogModel : BaseModel +public class BacklogModel : BasePageModel { public BacklogModel() { @@ -93,7 +93,7 @@ public BacklogModel() public IList AvailableStatus { get; set; } } -public class BacklogItemGridModel : BaseModel +public class BacklogItemGridModel : BasePageModel { public string Title { get; set; } diff --git a/src/Presentation/Taskist.Web/Models/WorkItems/SprintModel.cs b/src/Presentation/Taskist.Web/Models/WorkItems/SprintModel.cs index 390cd19..30c1dfb 100644 --- a/src/Presentation/Taskist.Web/Models/WorkItems/SprintModel.cs +++ b/src/Presentation/Taskist.Web/Models/WorkItems/SprintModel.cs @@ -5,7 +5,7 @@ namespace Taskist.Web.Models.WorkItems; -public class SprintModel : BaseModel +public class SprintModel : BasePageModel { public SprintModel() { diff --git a/src/Presentation/Taskist.Web/Views/EmailTemplate/Reset.cshtml b/src/Presentation/Taskist.Web/Views/EmailTemplate/Reset.cshtml index ec0edc1..8db8741 100644 --- a/src/Presentation/Taskist.Web/Views/EmailTemplate/Reset.cshtml +++ b/src/Presentation/Taskist.Web/Views/EmailTemplate/Reset.cshtml @@ -1,4 +1,4 @@ -@model PageModel +@model EmailTemplateResetModel @{ Layout = "~/Views/Shared/_LayoutPartial.cshtml"; } diff --git a/src/Presentation/Taskist.Web/appsettings.json b/src/Presentation/Taskist.Web/appsettings.json index 2b51bce..6806c85 100644 --- a/src/Presentation/Taskist.Web/appsettings.json +++ b/src/Presentation/Taskist.Web/appsettings.json @@ -14,8 +14,8 @@ "AppConfig": { "DefaultEmailAccount": { "Name": "Taskist", - "Email": "noreply@taskist.in", - "Host": "taskist.in", + "Email": "noreply@taskist.org", + "Host": "taskist.org", "Port": 465, "Username": "XX", "Password": "XX", From eeb23a1005c6dabe0b60b4158a39c935acf8189c Mon Sep 17 00:00:00 2001 From: Vaishali-Dhokchawle Date: Fri, 21 Nov 2025 19:22:06 +0300 Subject: [PATCH 16/34] Bug- New Backlog item cannot be created --- .../Taskist.Web/Helpers/Mapping/AutoMapperProfile.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Presentation/Taskist.Web/Helpers/Mapping/AutoMapperProfile.cs b/src/Presentation/Taskist.Web/Helpers/Mapping/AutoMapperProfile.cs index f3df26c..5a3690e 100644 --- a/src/Presentation/Taskist.Web/Helpers/Mapping/AutoMapperProfile.cs +++ b/src/Presentation/Taskist.Web/Helpers/Mapping/AutoMapperProfile.cs @@ -59,7 +59,9 @@ public AutoMapperProfile() CreateMap().ReverseMap() .ForMember(dest => dest.Code, act => act.Ignore()) - .ForMember(dest => dest.AssigneeId, opt => opt.MapFrom(src => src.AssigneeId == -1 ? (int?)null : src.AssigneeId)); + .ForMember(dest => dest.AssigneeId, opt => opt.MapFrom(src => src.AssigneeId == -1 ? (int?)null : src.AssigneeId)) + .ForMember(dest => dest.SprintId, opt => opt.MapFrom(src => src.SprintId == -1 ? (int?)null : src.SprintId)) + .ForMember(dest => dest.ReporterId, opt => opt.MapFrom(src => src.ReporterId == -1 ? (int?)null : src.ReporterId)); CreateMap().ReverseMap(); CreateMap(); From 1be57b662c7f57a92f24d27352703297a60bb2bb Mon Sep 17 00:00:00 2001 From: Somaraj N <17797942+somaraj@users.noreply.github.com> Date: Wed, 3 Dec 2025 19:24:24 +0530 Subject: [PATCH 17/34] Update project title for clarity and simplicity --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 507e8c3..32a63a7 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# 📝 Task / CR / Bug Management System +# 📝 Open-Source Task & Bug Tracking - Designed for Simplicity. A web-based **Task, Change Request (CR), and Bug Management System** built with **ASP.NET Core MVC (.NET 8)**, using **MS SQL Server or MySQL** as the database. From c5b92a761b2087733f9e67d9f94fb13b446e6383 Mon Sep 17 00:00:00 2001 From: Somaraj <17797942+somaraj@users.noreply.github.com> Date: Wed, 10 Dec 2025 22:34:17 +0530 Subject: [PATCH 18/34] provision to change project from backlog page --- .../Masters/IProjectService.cs | 4 ++- .../Taskist.Service/Masters/ProjectService.cs | 19 ++++++++++---- .../Controllers/Masters/ModuleController.cs | 14 ++++++++++ .../WorkItems/BacklogController.cs | 26 +++++++++++++++---- .../Models/WorkItems/BacklogModel.cs | 3 +++ .../Views/Backlog/_FormStatus.cshtml | 14 ++++++++++ 6 files changed, 69 insertions(+), 11 deletions(-) diff --git a/src/Libraries/Taskist.Service/Masters/IProjectService.cs b/src/Libraries/Taskist.Service/Masters/IProjectService.cs index b176f05..3d9cf20 100644 --- a/src/Libraries/Taskist.Service/Masters/IProjectService.cs +++ b/src/Libraries/Taskist.Service/Masters/IProjectService.cs @@ -1,6 +1,6 @@ using Taskist.Core.Common; -using Taskist.Core.Domain.Users; using Taskist.Core.Domain.Masters; +using Taskist.Core.Domain.Users; namespace Taskist.Service.Masters; @@ -19,6 +19,8 @@ Task> GetPagedListAsync(string search = "", int pageIndex = Task GetMappingForUserAsync(int projectId, int userId); + Task> GetAllAccessibleAsync(int userId); + Task InsertAsync(Project entity); Task InsertAsync(IList entities); diff --git a/src/Libraries/Taskist.Service/Masters/ProjectService.cs b/src/Libraries/Taskist.Service/Masters/ProjectService.cs index 6afcbf8..27beda0 100644 --- a/src/Libraries/Taskist.Service/Masters/ProjectService.cs +++ b/src/Libraries/Taskist.Service/Masters/ProjectService.cs @@ -1,10 +1,10 @@ -using Taskist.Core.Common; -using Taskist.Core.Domain.Users; -using Taskist.Core.Domain.Masters; -using Taskist.Data.Repository; -using Microsoft.EntityFrameworkCore; +using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.DynamicLinq; using System.Linq.Dynamic.Core; +using Taskist.Core.Common; +using Taskist.Core.Domain.Masters; +using Taskist.Core.Domain.Users; +using Taskist.Data.Repository; namespace Taskist.Service.Masters; @@ -76,6 +76,15 @@ public async Task GetMappingForUserAsync(int projectId, int user .FirstOrDefaultAsync(); } + public async Task> GetAllAccessibleAsync(int userId) + { + var query = from c in _projectMemberMapRepository.Table + where !c.Project.Deleted && c.Project.Active && c.UserId == userId && c.CanReport + select c.Project; + + return await query.ToListAsync(); + } + public async Task InsertAsync(Project entity) { if (entity == null) diff --git a/src/Presentation/Taskist.Web/Controllers/Masters/ModuleController.cs b/src/Presentation/Taskist.Web/Controllers/Masters/ModuleController.cs index dccbd6b..df19d97 100644 --- a/src/Presentation/Taskist.Web/Controllers/Masters/ModuleController.cs +++ b/src/Presentation/Taskist.Web/Controllers/Masters/ModuleController.cs @@ -202,6 +202,20 @@ public async Task DataRead(DataTableRequest request) #endregion + #region Ajax + + public async Task> GetModules(int project) + { + var states = await _moduleService.GetAllActiveByProjectAsync(project); + return states.Select(x => new SelectListItem + { + Value = x.Id.ToString(), + Text = x.Name + }).ToList(); + } + + #endregion + #region Helper private async Task InitModelAsync(ModuleModel model) diff --git a/src/Presentation/Taskist.Web/Controllers/WorkItems/BacklogController.cs b/src/Presentation/Taskist.Web/Controllers/WorkItems/BacklogController.cs index 1d9cdec..7eb7c64 100644 --- a/src/Presentation/Taskist.Web/Controllers/WorkItems/BacklogController.cs +++ b/src/Presentation/Taskist.Web/Controllers/WorkItems/BacklogController.cs @@ -602,11 +602,10 @@ private async Task InitModelAsync(BacklogModel model) { var loggedUser = await _workContext.GetCurrentUserAsync(); var lastAccessedProjectId = await _genericAttributeService.GetAttributeAsync(loggedUser, Constant.ActiveProjectSession); - + var projects = await _projectService.GetAllAccessibleAsync(loggedUser.Id); var taskTypes = await _taskTypeService.GetAllActiveAsync(); var reporters = await _reporterService.GetAllActiveAsync(); var severities = await _severityService.GetAllActiveAsync(); - var modules = await _moduleService.GetAllActiveByProjectAsync(lastAccessedProjectId); var assignees = await _userService.GetAllActiveByProjectAsync(lastAccessedProjectId); var status = await _statusService.GetAllActiveAsync(); var sprints = await _sprintService.GetAllActiveByProjectAsync(lastAccessedProjectId); @@ -646,16 +645,33 @@ private async Task InitModelAsync(BacklogModel model) }); } - foreach (var item in modules) + foreach (var item in projects) { - model.AvailableModules.Add(new SelectListItem + model.AvailableProjects.Add(new SelectListItem { Text = item.Name, Value = item.Id.ToString(), - Selected = item.Id == model.ModuleId + Selected = item.Id == model.ProjectId }); } + if (model.ProjectId <= 0) + model.ProjectId = lastAccessedProjectId; + + if (model.ProjectId > 0) + { + var modules = await _moduleService.GetAllActiveByProjectAsync(model.ProjectId); + foreach (var item in modules) + { + model.AvailableModules.Add(new SelectListItem + { + Text = item.Name, + Value = item.Id.ToString(), + Selected = item.Id == model.ModuleId + }); + } + } + if (model.ModuleId > 0) { var subModules = await _subModuleService.GetAllActiveByModuleAsync(model.ModuleId.ToInt()); diff --git a/src/Presentation/Taskist.Web/Models/WorkItems/BacklogModel.cs b/src/Presentation/Taskist.Web/Models/WorkItems/BacklogModel.cs index 23a702d..1712de0 100644 --- a/src/Presentation/Taskist.Web/Models/WorkItems/BacklogModel.cs +++ b/src/Presentation/Taskist.Web/Models/WorkItems/BacklogModel.cs @@ -13,6 +13,7 @@ public BacklogModel() AvailableTaskTypes = []; AvailableReporters = [new SelectListItem { Text = "None", Value = "-1" }]; AvailableSeverities = [new SelectListItem { Text = "Select", Value = "" }]; + AvailableProjects = [new SelectListItem { Text = "Select", Value = "" }]; AvailableModules = [new SelectListItem { Text = "Select", Value = "" }]; AvailableSubModules = [new SelectListItem { Text = "Select", Value = "" }]; AvailableSprints = [new SelectListItem { Text = "No Sprint", Value = "-1" }]; @@ -82,6 +83,8 @@ public BacklogModel() public IList AvailableSeverities { get; set; } + public IList AvailableProjects { get; set; } + public IList AvailableModules { get; set; } public IList AvailableSubModules { get; set; } diff --git a/src/Presentation/Taskist.Web/Views/Backlog/_FormStatus.cshtml b/src/Presentation/Taskist.Web/Views/Backlog/_FormStatus.cshtml index d324ecf..ba47a32 100644 --- a/src/Presentation/Taskist.Web/Views/Backlog/_FormStatus.cshtml +++ b/src/Presentation/Taskist.Web/Views/Backlog/_FormStatus.cshtml @@ -10,6 +10,13 @@ }
    +
    +
    + + + +
    +
    @@ -84,6 +91,13 @@ @await Component.InvokeAsync("CustomFields", new { backLogId = Model.Id, placement = CustomFieldPlacementEnum.StatusSection }) \ No newline at end of file + + + diff --git a/src/Presentation/Taskist.Web/Views/Project/Members.cshtml b/src/Presentation/Taskist.Web/Views/Project/Members.cshtml index 83e4392..957e797 100644 --- a/src/Presentation/Taskist.Web/Views/Project/Members.cshtml +++ b/src/Presentation/Taskist.Web/Views/Project/Members.cshtml @@ -65,6 +65,10 @@ new ColumnConditionModel { Value = "true", Operator = OperatorEnum.EQUAL, Icon = "fa fa-check", TextColor = "#2eb85c" }, new ColumnConditionModel { Value = "false", Operator = OperatorEnum.EQUAL, Icon = "fa fa-times", TextColor = "#e55353" } }}, + new ColumnModel { Title = Localize("ProjectMemberGrid.CanDelete").Text, DataColumn = "CanDelete", Conditions = new List{ + new ColumnConditionModel { Value = "true", Operator = OperatorEnum.EQUAL, Icon = "fa fa-check", TextColor = "#2eb85c" }, + new ColumnConditionModel { Value = "false", Operator = OperatorEnum.EQUAL, Icon = "fa fa-times", TextColor = "#e55353" } + }}, new ColumnModel { Title = Localize("ProjectMemberGrid.CanReOpen").Text, DataColumn = "CanReOpen", Conditions = new List{ new ColumnConditionModel { Value = "true", Operator = OperatorEnum.EQUAL, Icon = "fa fa-check", TextColor = "#2eb85c" }, new ColumnConditionModel { Value = "false", Operator = OperatorEnum.EQUAL, Icon = "fa fa-times", TextColor = "#e55353" } diff --git a/src/Presentation/Taskist.Web/Views/Project/_FormMember.cshtml b/src/Presentation/Taskist.Web/Views/Project/_FormMember.cshtml index 4714f92..7b5e40b 100644 --- a/src/Presentation/Taskist.Web/Views/Project/_FormMember.cshtml +++ b/src/Presentation/Taskist.Web/Views/Project/_FormMember.cshtml @@ -37,6 +37,14 @@
    +
    +
    + +
    +