@reply.Text
diff --git a/modules/blogging/src/Volo.Blogging.Web/Pages/Blogs/Posts/Detail.cshtml.cs b/modules/blogging/src/Volo.Blogging.Web/Pages/Blogs/Posts/Detail.cshtml.cs
index 54d1a4e71d..114bdbb641 100644
--- a/modules/blogging/src/Volo.Blogging.Web/Pages/Blogs/Posts/Detail.cshtml.cs
+++ b/modules/blogging/src/Volo.Blogging.Web/Pages/Blogs/Posts/Detail.cshtml.cs
@@ -86,7 +86,11 @@ namespace Volo.Blogging.Pages.Blog.Posts
{
Blog = await _blogAppService.GetByShortNameAsync(BlogShortName);
Post = await _postAppService.GetForReadingAsync(new GetPostInput { BlogId = Blog.Id, Url = PostUrl });
- PostsList = await _postAppService.GetListByUserIdAsync(Post.Writer.Id);
+
+ PostsList = Post.Writer != null
+ ? await _postAppService.GetListByUserIdAsync(Post.Writer.Id)
+ : new List();
+
LatestPosts = await _postAppService.GetLatestBlogPostsAsync(Blog.Id, 5);
CommentsWithReplies = await _commentAppService.GetHierarchicalListOfPostAsync(Post.Id);
CountComments();
diff --git a/modules/blogging/src/Volo.Blogging.Web/Pages/Blogs/Posts/Index.cshtml b/modules/blogging/src/Volo.Blogging.Web/Pages/Blogs/Posts/Index.cshtml
index 236ac47008..b509c00fc4 100644
--- a/modules/blogging/src/Volo.Blogging.Web/Pages/Blogs/Posts/Index.cshtml
+++ b/modules/blogging/src/Volo.Blogging.Web/Pages/Blogs/Posts/Index.cshtml
@@ -69,7 +69,7 @@
@post.Writer.UserName
- @BloggingPageHelper.ConvertDatetimeToTimeAgo(post.CreationTime)
+ @BloggingPageHelper.GetLocalizedTimeAgoText(post.CreationTime)
@L["WiewsWithCount", post.ReadCount]
@*|
@@ -130,7 +130,7 @@
@post.Writer.UserName
- @BloggingPageHelper.ConvertDatetimeToTimeAgo(post.CreationTime)
+ @BloggingPageHelper.GetLocalizedTimeAgoText(post.CreationTime)
}
@L["WiewsWithCount", post.ReadCount]
@@ -199,7 +199,7 @@
@post.Writer.UserName
- @BloggingPageHelper.ConvertDatetimeToTimeAgo(post.CreationTime)
+ @BloggingPageHelper.GetLocalizedTimeAgoText(post.CreationTime)
@L["WiewsWithCount", post.ReadCount]
@*|
diff --git a/modules/blogging/src/Volo.Blogging.Web/Pages/Blogs/Posts/Index.cshtml.cs b/modules/blogging/src/Volo.Blogging.Web/Pages/Blogs/Posts/Index.cshtml.cs
index 2340d16917..b6cc33034a 100644
--- a/modules/blogging/src/Volo.Blogging.Web/Pages/Blogs/Posts/Index.cshtml.cs
+++ b/modules/blogging/src/Volo.Blogging.Web/Pages/Blogs/Posts/Index.cshtml.cs
@@ -1,7 +1,9 @@
+using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Volo.Abp.AspNetCore.Mvc.UI.RazorPages;
+using Volo.Abp.Domain.Entities;
using Volo.Blogging.Blogs;
using Volo.Blogging.Blogs.Dtos;
using Volo.Blogging.Pages.Blogs.Shared.Helpers;
@@ -43,7 +45,15 @@ namespace Volo.Blogging.Pages.Blog.Posts
return NotFound();
}
- Blog = await _blogAppService.GetByShortNameAsync(BlogShortName);
+ try
+ {
+ Blog = await _blogAppService.GetByShortNameAsync(BlogShortName);
+ }
+ catch (EntityNotFoundException)
+ {
+ return RedirectToPage("/Blogs/Index");
+ }
+
Posts = (await _postAppService.GetListByBlogIdAndTagNameAsync(Blog.Id, TagName)).Items;
PopularTags = (await _tagAppService.GetPopularTagsAsync(Blog.Id, new GetPopularTagsInput {ResultCount = 10, MinimumPostCount = 2}));
diff --git a/modules/client-simulation/NuGet.md b/modules/client-simulation/NuGet.md
new file mode 100644
index 0000000000..1073e17b8c
--- /dev/null
+++ b/modules/client-simulation/NuGet.md
@@ -0,0 +1,131 @@
+## ℹ️ Description
+This package is a part of the [ABP Framework](https://abp.io).
+
+### ABP — Open Source Web Application Framework for ASP.NET Core
+ABP offers an opinionated architecture to build enterprise software solutions with best practices on top of the .NET and the ASP.NET Core platforms. ABP Framework is a complete open-source infrastructure to create modern web applications by following the best practices and conventions of software development. It provides the fundamental infrastructure, production-ready startup templates, application modules, UI themes, tooling, guides and documentation.
+
+
+### For more information, check out the below links:
+
+🔗Official Website: https://abp.io
+
+🔗GitHub Repository: https://github.com/abpframework/abp
+
+🔗Samples: https://docs.abp.io/en/abp/latest/Samples/Index
+
+🔗Official Theme: https://www.LeptonTheme.com
+
+🔗Documentation: https://docs.abp.io
+
+🔗Community: https://community.abp.io
+
+🔗Blog: https://blog.abp.io
+
+🔗Books: https://abp.io/books
+
+🔗Twitter: https://twitter.com/abpframework
+
+🔗Discord: https://community.abp.io/discord
+
+🔗Stackoverflow: https://stackoverflow.com/questions/tagged/abp
+
+🔗YouTube: https://www.youtube.com/@Volosoft
+
+
+## 🚀 Key Features of the ABP Framework
+
+🟡 Modularity
+
+🟡 Multi-Tenancy
+
+🟡 Bootstrap Tag Helpers
+
+🟡 Dynamic Forms
+
+🟡 Authentication
+
+🟡 Authorization
+
+🟡 Distributed Event Bus
+
+🟡 BLOB Storing
+
+🟡 Text Templating
+
+🟡 Tooling: ABP CLI
+
+🟡 Cross-Cutting Concerns
+
+🟡 Bundling & Minification
+
+🟡 Virtual File System
+
+🟡 Theming
+
+🟡 Background Jobs
+
+🟡 DDD Infrastructure
+
+🟡 Auto REST APIs
+
+🟡 Dynamic Client Proxies
+
+🟡 Multiple Database Providers
+
+🟡 Data filtering
+
+🟡 Test Infrastructure
+
+🟡 Audit Logging
+
+🟡 Object to Object Mapping
+
+🟡 Email & SMS Abstractions
+
+🟡 Localization
+
+🟡 Setting Management
+
+🟡 Extension Methods
+
+🟡 Aspect Oriented Programming
+
+🟡 Dependency Injection
+
+
+### 📘 Supported Database Providers
+
+🔵 Entity Framework Core
+
+🔵 MongoDB
+
+🔵 Dapper
+
+
+### 🎴 Supported UI Frameworks
+
+🔵 Angular
+
+🔵 Razor Pages
+
+🔵 Blazor Web Assembly
+
+🔵 Blazor Server
+
+🔵 MAUI with Blazor Hybrid
+
+
+## 📫 Bug & Support
+
+Support for open-source ABP Framework client-side packages is available at [GitHub Issues](https://github.com/abpframework/abp/issues).
+
+
+## 🏦 Go Commercial
+
+If you are building an enterprise-level application with pro support, extra tools like a code generator, fancy themes and a microservice template, time to invest in the commercial version!
+
+To understand how it works, see [How it Works]( https://commercial.abp.io/how-it-works) page.
+
+If you wonder why you should choose ABP Commercial, check out [Why ABP.IO Platform](https://docs.abp.io/en/commercial/latest/why-abp-io-platform) page.
+
+Official website: [https://commercial.abp.io](https://commercial.abp.io/)
diff --git a/modules/cms-kit/NuGet.md b/modules/cms-kit/NuGet.md
new file mode 100644
index 0000000000..1073e17b8c
--- /dev/null
+++ b/modules/cms-kit/NuGet.md
@@ -0,0 +1,131 @@
+## ℹ️ Description
+This package is a part of the [ABP Framework](https://abp.io).
+
+### ABP — Open Source Web Application Framework for ASP.NET Core
+ABP offers an opinionated architecture to build enterprise software solutions with best practices on top of the .NET and the ASP.NET Core platforms. ABP Framework is a complete open-source infrastructure to create modern web applications by following the best practices and conventions of software development. It provides the fundamental infrastructure, production-ready startup templates, application modules, UI themes, tooling, guides and documentation.
+
+
+### For more information, check out the below links:
+
+🔗Official Website: https://abp.io
+
+🔗GitHub Repository: https://github.com/abpframework/abp
+
+🔗Samples: https://docs.abp.io/en/abp/latest/Samples/Index
+
+🔗Official Theme: https://www.LeptonTheme.com
+
+🔗Documentation: https://docs.abp.io
+
+🔗Community: https://community.abp.io
+
+🔗Blog: https://blog.abp.io
+
+🔗Books: https://abp.io/books
+
+🔗Twitter: https://twitter.com/abpframework
+
+🔗Discord: https://community.abp.io/discord
+
+🔗Stackoverflow: https://stackoverflow.com/questions/tagged/abp
+
+🔗YouTube: https://www.youtube.com/@Volosoft
+
+
+## 🚀 Key Features of the ABP Framework
+
+🟡 Modularity
+
+🟡 Multi-Tenancy
+
+🟡 Bootstrap Tag Helpers
+
+🟡 Dynamic Forms
+
+🟡 Authentication
+
+🟡 Authorization
+
+🟡 Distributed Event Bus
+
+🟡 BLOB Storing
+
+🟡 Text Templating
+
+🟡 Tooling: ABP CLI
+
+🟡 Cross-Cutting Concerns
+
+🟡 Bundling & Minification
+
+🟡 Virtual File System
+
+🟡 Theming
+
+🟡 Background Jobs
+
+🟡 DDD Infrastructure
+
+🟡 Auto REST APIs
+
+🟡 Dynamic Client Proxies
+
+🟡 Multiple Database Providers
+
+🟡 Data filtering
+
+🟡 Test Infrastructure
+
+🟡 Audit Logging
+
+🟡 Object to Object Mapping
+
+🟡 Email & SMS Abstractions
+
+🟡 Localization
+
+🟡 Setting Management
+
+🟡 Extension Methods
+
+🟡 Aspect Oriented Programming
+
+🟡 Dependency Injection
+
+
+### 📘 Supported Database Providers
+
+🔵 Entity Framework Core
+
+🔵 MongoDB
+
+🔵 Dapper
+
+
+### 🎴 Supported UI Frameworks
+
+🔵 Angular
+
+🔵 Razor Pages
+
+🔵 Blazor Web Assembly
+
+🔵 Blazor Server
+
+🔵 MAUI with Blazor Hybrid
+
+
+## 📫 Bug & Support
+
+Support for open-source ABP Framework client-side packages is available at [GitHub Issues](https://github.com/abpframework/abp/issues).
+
+
+## 🏦 Go Commercial
+
+If you are building an enterprise-level application with pro support, extra tools like a code generator, fancy themes and a microservice template, time to invest in the commercial version!
+
+To understand how it works, see [How it Works]( https://commercial.abp.io/how-it-works) page.
+
+If you wonder why you should choose ABP Commercial, check out [Why ABP.IO Platform](https://docs.abp.io/en/commercial/latest/why-abp-io-platform) page.
+
+Official website: [https://commercial.abp.io](https://commercial.abp.io/)
diff --git a/modules/docs/NuGet.md b/modules/docs/NuGet.md
new file mode 100644
index 0000000000..1073e17b8c
--- /dev/null
+++ b/modules/docs/NuGet.md
@@ -0,0 +1,131 @@
+## ℹ️ Description
+This package is a part of the [ABP Framework](https://abp.io).
+
+### ABP — Open Source Web Application Framework for ASP.NET Core
+ABP offers an opinionated architecture to build enterprise software solutions with best practices on top of the .NET and the ASP.NET Core platforms. ABP Framework is a complete open-source infrastructure to create modern web applications by following the best practices and conventions of software development. It provides the fundamental infrastructure, production-ready startup templates, application modules, UI themes, tooling, guides and documentation.
+
+
+### For more information, check out the below links:
+
+🔗Official Website: https://abp.io
+
+🔗GitHub Repository: https://github.com/abpframework/abp
+
+🔗Samples: https://docs.abp.io/en/abp/latest/Samples/Index
+
+🔗Official Theme: https://www.LeptonTheme.com
+
+🔗Documentation: https://docs.abp.io
+
+🔗Community: https://community.abp.io
+
+🔗Blog: https://blog.abp.io
+
+🔗Books: https://abp.io/books
+
+🔗Twitter: https://twitter.com/abpframework
+
+🔗Discord: https://community.abp.io/discord
+
+🔗Stackoverflow: https://stackoverflow.com/questions/tagged/abp
+
+🔗YouTube: https://www.youtube.com/@Volosoft
+
+
+## 🚀 Key Features of the ABP Framework
+
+🟡 Modularity
+
+🟡 Multi-Tenancy
+
+🟡 Bootstrap Tag Helpers
+
+🟡 Dynamic Forms
+
+🟡 Authentication
+
+🟡 Authorization
+
+🟡 Distributed Event Bus
+
+🟡 BLOB Storing
+
+🟡 Text Templating
+
+🟡 Tooling: ABP CLI
+
+🟡 Cross-Cutting Concerns
+
+🟡 Bundling & Minification
+
+🟡 Virtual File System
+
+🟡 Theming
+
+🟡 Background Jobs
+
+🟡 DDD Infrastructure
+
+🟡 Auto REST APIs
+
+🟡 Dynamic Client Proxies
+
+🟡 Multiple Database Providers
+
+🟡 Data filtering
+
+🟡 Test Infrastructure
+
+🟡 Audit Logging
+
+🟡 Object to Object Mapping
+
+🟡 Email & SMS Abstractions
+
+🟡 Localization
+
+🟡 Setting Management
+
+🟡 Extension Methods
+
+🟡 Aspect Oriented Programming
+
+🟡 Dependency Injection
+
+
+### 📘 Supported Database Providers
+
+🔵 Entity Framework Core
+
+🔵 MongoDB
+
+🔵 Dapper
+
+
+### 🎴 Supported UI Frameworks
+
+🔵 Angular
+
+🔵 Razor Pages
+
+🔵 Blazor Web Assembly
+
+🔵 Blazor Server
+
+🔵 MAUI with Blazor Hybrid
+
+
+## 📫 Bug & Support
+
+Support for open-source ABP Framework client-side packages is available at [GitHub Issues](https://github.com/abpframework/abp/issues).
+
+
+## 🏦 Go Commercial
+
+If you are building an enterprise-level application with pro support, extra tools like a code generator, fancy themes and a microservice template, time to invest in the commercial version!
+
+To understand how it works, see [How it Works]( https://commercial.abp.io/how-it-works) page.
+
+If you wonder why you should choose ABP Commercial, check out [Why ABP.IO Platform](https://docs.abp.io/en/commercial/latest/why-abp-io-platform) page.
+
+Official website: [https://commercial.abp.io](https://commercial.abp.io/)
diff --git a/modules/docs/app/VoloDocs.EntityFrameworkCore/Migrations/20220923075101_Initial.Designer.cs b/modules/docs/app/VoloDocs.EntityFrameworkCore/Migrations/20230622110108_Initial.Designer.cs
similarity index 96%
rename from modules/docs/app/VoloDocs.EntityFrameworkCore/Migrations/20220923075101_Initial.Designer.cs
rename to modules/docs/app/VoloDocs.EntityFrameworkCore/Migrations/20230622110108_Initial.Designer.cs
index 89c93dcc84..cdd15cda63 100644
--- a/modules/docs/app/VoloDocs.EntityFrameworkCore/Migrations/20220923075101_Initial.Designer.cs
+++ b/modules/docs/app/VoloDocs.EntityFrameworkCore/Migrations/20230622110108_Initial.Designer.cs
@@ -13,18 +13,19 @@ using VoloDocs.EntityFrameworkCore;
namespace Migrations
{
[DbContext(typeof(VoloDocsDbContext))]
- [Migration("20220923075101_Initial")]
+ [Migration("20230622110108_Initial")]
partial class Initial
{
+ ///
protected override void BuildTargetModel(ModelBuilder modelBuilder)
{
#pragma warning disable 612, 618
modelBuilder
.HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.SqlServer)
- .HasAnnotation("ProductVersion", "6.0.5")
+ .HasAnnotation("ProductVersion", "7.0.1")
.HasAnnotation("Relational:MaxIdentifierLength", 128);
- SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder, 1L, 1);
+ SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder);
modelBuilder.Entity("Volo.Abp.Identity.IdentityClaimType", b =>
{
@@ -112,6 +113,9 @@ namespace Migrations
.HasColumnType("nvarchar(40)")
.HasColumnName("ConcurrencyStamp");
+ b.Property("EntityVersion")
+ .HasColumnType("int");
+
b.Property("ExtraProperties")
.HasColumnType("nvarchar(max)")
.HasColumnName("ExtraProperties");
@@ -298,6 +302,9 @@ namespace Migrations
.HasDefaultValue(false)
.HasColumnName("EmailConfirmed");
+ b.Property("EntityVersion")
+ .HasColumnType("int");
+
b.Property("ExtraProperties")
.HasColumnType("nvarchar(max)")
.HasColumnName("ExtraProperties");
@@ -326,6 +333,9 @@ namespace Migrations
.HasColumnType("uniqueidentifier")
.HasColumnName("LastModifierId");
+ b.Property("LastPasswordChangeTime")
+ .HasColumnType("datetimeoffset");
+
b.Property("LockoutEnabled")
.ValueGeneratedOnAdd()
.HasColumnType("bit")
@@ -374,6 +384,9 @@ namespace Migrations
.HasColumnType("nvarchar(256)")
.HasColumnName("SecurityStamp");
+ b.Property("ShouldChangePasswordOnNextLogin")
+ .HasColumnType("bit");
+
b.Property("Surname")
.HasMaxLength(64)
.HasColumnType("nvarchar(64)")
@@ -436,6 +449,33 @@ namespace Migrations
b.ToTable("AbpUserClaims", (string)null);
});
+ modelBuilder.Entity("Volo.Abp.Identity.IdentityUserDelegation", b =>
+ {
+ b.Property("Id")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("EndTime")
+ .HasColumnType("datetime2");
+
+ b.Property("SourceUserId")
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("StartTime")
+ .HasColumnType("datetime2");
+
+ b.Property("TargetUserId")
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("TenantId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("TenantId");
+
+ b.HasKey("Id");
+
+ b.ToTable("AbpUserDelegations", (string)null);
+ });
+
modelBuilder.Entity("Volo.Abp.Identity.IdentityUserLogin", b =>
{
b.Property("UserId")
@@ -576,6 +616,9 @@ namespace Migrations
.HasColumnType("nvarchar(128)")
.HasColumnName("DisplayName");
+ b.Property("EntityVersion")
+ .HasColumnType("int");
+
b.Property("ExtraProperties")
.HasColumnType("nvarchar(max)")
.HasColumnName("ExtraProperties");
diff --git a/modules/docs/app/VoloDocs.EntityFrameworkCore/Migrations/20220923075101_Initial.cs b/modules/docs/app/VoloDocs.EntityFrameworkCore/Migrations/20230622110108_Initial.cs
similarity index 95%
rename from modules/docs/app/VoloDocs.EntityFrameworkCore/Migrations/20220923075101_Initial.cs
rename to modules/docs/app/VoloDocs.EntityFrameworkCore/Migrations/20230622110108_Initial.cs
index 4715db32f4..606214611c 100644
--- a/modules/docs/app/VoloDocs.EntityFrameworkCore/Migrations/20220923075101_Initial.cs
+++ b/modules/docs/app/VoloDocs.EntityFrameworkCore/Migrations/20230622110108_Initial.cs
@@ -5,8 +5,10 @@ using Microsoft.EntityFrameworkCore.Migrations;
namespace Migrations
{
+ ///
public partial class Initial : Migration
{
+ ///
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
@@ -53,6 +55,7 @@ namespace Migrations
ParentId = table.Column(type: "uniqueidentifier", nullable: true),
Code = table.Column(type: "nvarchar(95)", maxLength: 95, nullable: false),
DisplayName = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: false),
+ EntityVersion = table.Column(type: "int", nullable: false),
ExtraProperties = table.Column(type: "nvarchar(max)", nullable: true),
ConcurrencyStamp = table.Column(type: "nvarchar(40)", maxLength: 40, nullable: true),
CreationTime = table.Column(type: "datetime2", nullable: false),
@@ -133,6 +136,7 @@ namespace Migrations
IsDefault = table.Column(type: "bit", nullable: false),
IsStatic = table.Column(type: "bit", nullable: false),
IsPublic = table.Column(type: "bit", nullable: false),
+ EntityVersion = table.Column(type: "int", nullable: false),
ExtraProperties = table.Column(type: "nvarchar(max)", nullable: true),
ConcurrencyStamp = table.Column(type: "nvarchar(40)", maxLength: 40, nullable: true)
},
@@ -181,6 +185,22 @@ namespace Migrations
table.PrimaryKey("PK_AbpSettings", x => x.Id);
});
+ migrationBuilder.CreateTable(
+ name: "AbpUserDelegations",
+ columns: table => new
+ {
+ Id = table.Column(type: "uniqueidentifier", nullable: false),
+ TenantId = table.Column(type: "uniqueidentifier", nullable: true),
+ SourceUserId = table.Column(type: "uniqueidentifier", nullable: false),
+ TargetUserId = table.Column(type: "uniqueidentifier", nullable: false),
+ StartTime = table.Column(type: "datetime2", nullable: false),
+ EndTime = table.Column(type: "datetime2", nullable: false)
+ },
+ constraints: table =>
+ {
+ table.PrimaryKey("PK_AbpUserDelegations", x => x.Id);
+ });
+
migrationBuilder.CreateTable(
name: "AbpUsers",
columns: table => new
@@ -204,6 +224,9 @@ namespace Migrations
LockoutEnd = table.Column(type: "datetimeoffset", nullable: true),
LockoutEnabled = table.Column(type: "bit", nullable: false, defaultValue: false),
AccessFailedCount = table.Column(type: "int", nullable: false, defaultValue: 0),
+ ShouldChangePasswordOnNextLogin = table.Column(type: "bit", nullable: false),
+ EntityVersion = table.Column(type: "int", nullable: false),
+ LastPasswordChangeTime = table.Column(type: "datetimeoffset", nullable: true),
ExtraProperties = table.Column(type: "nvarchar(max)", nullable: true),
ConcurrencyStamp = table.Column(type: "nvarchar(40)", maxLength: 40, nullable: true),
CreationTime = table.Column(type: "datetime2", nullable: false),
@@ -578,6 +601,7 @@ namespace Migrations
column: "UserName");
}
+ ///
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropTable(
@@ -610,6 +634,9 @@ namespace Migrations
migrationBuilder.DropTable(
name: "AbpUserClaims");
+ migrationBuilder.DropTable(
+ name: "AbpUserDelegations");
+
migrationBuilder.DropTable(
name: "AbpUserLogins");
diff --git a/modules/docs/app/VoloDocs.EntityFrameworkCore/Migrations/VoloDocsDbContextModelSnapshot.cs b/modules/docs/app/VoloDocs.EntityFrameworkCore/Migrations/VoloDocsDbContextModelSnapshot.cs
index 12b920e7fa..7627101da3 100644
--- a/modules/docs/app/VoloDocs.EntityFrameworkCore/Migrations/VoloDocsDbContextModelSnapshot.cs
+++ b/modules/docs/app/VoloDocs.EntityFrameworkCore/Migrations/VoloDocsDbContextModelSnapshot.cs
@@ -19,10 +19,10 @@ namespace Migrations
#pragma warning disable 612, 618
modelBuilder
.HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.SqlServer)
- .HasAnnotation("ProductVersion", "6.0.5")
+ .HasAnnotation("ProductVersion", "7.0.1")
.HasAnnotation("Relational:MaxIdentifierLength", 128);
- SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder, 1L, 1);
+ SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder);
modelBuilder.Entity("Volo.Abp.Identity.IdentityClaimType", b =>
{
@@ -110,6 +110,9 @@ namespace Migrations
.HasColumnType("nvarchar(40)")
.HasColumnName("ConcurrencyStamp");
+ b.Property("EntityVersion")
+ .HasColumnType("int");
+
b.Property("ExtraProperties")
.HasColumnType("nvarchar(max)")
.HasColumnName("ExtraProperties");
@@ -296,6 +299,9 @@ namespace Migrations
.HasDefaultValue(false)
.HasColumnName("EmailConfirmed");
+ b.Property("EntityVersion")
+ .HasColumnType("int");
+
b.Property("ExtraProperties")
.HasColumnType("nvarchar(max)")
.HasColumnName("ExtraProperties");
@@ -324,6 +330,9 @@ namespace Migrations
.HasColumnType("uniqueidentifier")
.HasColumnName("LastModifierId");
+ b.Property("LastPasswordChangeTime")
+ .HasColumnType("datetimeoffset");
+
b.Property("LockoutEnabled")
.ValueGeneratedOnAdd()
.HasColumnType("bit")
@@ -372,6 +381,9 @@ namespace Migrations
.HasColumnType("nvarchar(256)")
.HasColumnName("SecurityStamp");
+ b.Property("ShouldChangePasswordOnNextLogin")
+ .HasColumnType("bit");
+
b.Property("Surname")
.HasMaxLength(64)
.HasColumnType("nvarchar(64)")
@@ -434,6 +446,33 @@ namespace Migrations
b.ToTable("AbpUserClaims", (string)null);
});
+ modelBuilder.Entity("Volo.Abp.Identity.IdentityUserDelegation", b =>
+ {
+ b.Property("Id")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("EndTime")
+ .HasColumnType("datetime2");
+
+ b.Property("SourceUserId")
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("StartTime")
+ .HasColumnType("datetime2");
+
+ b.Property("TargetUserId")
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("TenantId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("TenantId");
+
+ b.HasKey("Id");
+
+ b.ToTable("AbpUserDelegations", (string)null);
+ });
+
modelBuilder.Entity("Volo.Abp.Identity.IdentityUserLogin", b =>
{
b.Property("UserId")
@@ -574,6 +613,9 @@ namespace Migrations
.HasColumnType("nvarchar(128)")
.HasColumnName("DisplayName");
+ b.Property("EntityVersion")
+ .HasColumnType("int");
+
b.Property("ExtraProperties")
.HasColumnType("nvarchar(max)")
.HasColumnName("ExtraProperties");
diff --git a/modules/docs/src/Volo.Docs.Application.Contracts/Volo/Docs/Documents/IDocumentAppService.cs b/modules/docs/src/Volo.Docs.Application.Contracts/Volo/Docs/Documents/IDocumentAppService.cs
index 653d823ff6..bd901194e6 100644
--- a/modules/docs/src/Volo.Docs.Application.Contracts/Volo/Docs/Documents/IDocumentAppService.cs
+++ b/modules/docs/src/Volo.Docs.Application.Contracts/Volo/Docs/Documents/IDocumentAppService.cs
@@ -1,5 +1,6 @@
using System.Collections.Generic;
using System.Threading.Tasks;
+using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;
namespace Volo.Docs.Documents
@@ -16,7 +17,7 @@ namespace Volo.Docs.Documents
Task GetResourceAsync(GetDocumentResourceInput input);
- Task> SearchAsync(DocumentSearchInput input);
+ Task> SearchAsync(DocumentSearchInput input);
Task FullSearchEnabledAsync();
diff --git a/modules/docs/src/Volo.Docs.Application/Volo/Docs/Documents/DocumentAppService.cs b/modules/docs/src/Volo.Docs.Application/Volo/Docs/Documents/DocumentAppService.cs
index 228648f2fb..8eefc42d6d 100644
--- a/modules/docs/src/Volo.Docs.Application/Volo/Docs/Documents/DocumentAppService.cs
+++ b/modules/docs/src/Volo.Docs.Application/Volo/Docs/Documents/DocumentAppService.cs
@@ -9,6 +9,7 @@ using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using Volo.Abp;
+using Volo.Abp.Application.Dtos;
using Volo.Abp.Caching;
using Volo.Docs.Caching;
using Volo.Docs.Documents.FullSearch.Elastic;
@@ -176,16 +177,16 @@ namespace Volo.Docs.Documents
);
}
- public async Task