Browse Source

Merge branch 'dev' into dynamic-setting

pull/16979/head
maliming 3 years ago
parent
commit
27067a0a6f
No known key found for this signature in database GPG Key ID: A646B9CB645ECEA4
  1. 3
      abp_io/AbpIoLocalization/AbpIoLocalization/Base/Localization/Resources/en.json
  2. 5
      abp_io/AbpIoLocalization/AbpIoLocalization/Commercial/Localization/Resources/en.json
  3. 2
      framework/test/Volo.Abp.AspNetCore.Mvc.Tests/Volo/Abp/AspNetCore/Mvc/AbpAspNetCoreMvcTestModule.cs
  4. 49
      modules/docs/app/VoloDocs.EntityFrameworkCore/Migrations/20230622110108_Initial.Designer.cs
  5. 27
      modules/docs/app/VoloDocs.EntityFrameworkCore/Migrations/20230622110108_Initial.cs
  6. 46
      modules/docs/app/VoloDocs.EntityFrameworkCore/Migrations/VoloDocsDbContextModelSnapshot.cs
  7. 3
      modules/docs/src/Volo.Docs.Application.Contracts/Volo/Docs/Documents/IDocumentAppService.cs
  8. 11
      modules/docs/src/Volo.Docs.Application/Volo/Docs/Documents/DocumentAppService.cs
  9. 4
      modules/docs/src/Volo.Docs.Domain/Volo/Docs/Documents/FullSearch/Elastic/ElasticDocumentFullSearch.cs
  10. 15
      modules/docs/src/Volo.Docs.Domain/Volo/Docs/Documents/FullSearch/Elastic/EsDocumentResult.cs
  11. 2
      modules/docs/src/Volo.Docs.Domain/Volo/Docs/Documents/FullSearch/Elastic/IDocumentFullSearch.cs
  12. 13
      modules/docs/src/Volo.Docs.HttpApi.Client/ClientProxies/Volo/Docs/Documents/DocsDocumentClientProxy.Generated.cs
  13. 2
      modules/docs/src/Volo.Docs.HttpApi.Client/ClientProxies/Volo/Docs/Documents/DocsDocumentClientProxy.cs
  14. 10
      modules/docs/src/Volo.Docs.HttpApi.Client/ClientProxies/Volo/Docs/Projects/DocsProjectClientProxy.Generated.cs
  15. 2
      modules/docs/src/Volo.Docs.HttpApi.Client/ClientProxies/Volo/Docs/Projects/DocsProjectClientProxy.cs
  16. 236
      modules/docs/src/Volo.Docs.HttpApi.Client/ClientProxies/docs-generate-proxy.json
  17. 3
      modules/docs/src/Volo.Docs.HttpApi/Volo/Docs/Documents/DocsDocumentController.cs
  18. 78
      modules/docs/src/Volo.Docs.Web/Pages/Documents/Search.cshtml
  19. 26
      modules/docs/src/Volo.Docs.Web/Pages/Documents/Search.cshtml.cs
  20. 4
      modules/identity/.abpstudio/state.json
  21. 2
      modules/identity/src/Volo.Abp.Identity.Application.Contracts/Volo.Abp.Identity.Application.Contracts.abppkg.analyze.json
  22. 88
      modules/identity/src/Volo.Abp.Identity.Application/Volo.Abp.Identity.Application.abppkg.analyze.json
  23. 68
      modules/identity/src/Volo.Abp.Identity.Blazor.Server/Volo.Abp.Identity.Blazor.Server.abppkg.analyze.json
  24. 90
      modules/identity/src/Volo.Abp.Identity.Blazor/Volo.Abp.Identity.Blazor.abppkg.analyze.json
  25. 2
      modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo.Abp.Identity.Domain.Shared.abppkg.analyze.json
  26. 602
      modules/identity/src/Volo.Abp.Identity.Domain/Volo.Abp.Identity.Domain.abppkg.analyze.json
  27. 83
      modules/identity/src/Volo.Abp.Identity.EntityFrameworkCore/Volo.Abp.Identity.EntityFrameworkCore.abppkg.analyze.json
  28. 2
      modules/identity/src/Volo.Abp.Identity.HttpApi.Client/Volo.Abp.Identity.HttpApi.Client.abppkg.analyze.json
  29. 307
      modules/identity/src/Volo.Abp.Identity.HttpApi/Volo.Abp.Identity.HttpApi.abppkg.analyze.json
  30. 28
      modules/identity/src/Volo.Abp.Identity.MongoDB/Volo.Abp.Identity.MongoDB.abppkg.analyze.json
  31. 44
      modules/identity/src/Volo.Abp.Identity.Web/Volo.Abp.Identity.Web.abppkg.analyze.json
  32. 5
      modules/setting-management/src/Volo.Abp.SettingManagement.Web/Settings/TimeZonePageContributor.cs
  33. 8
      npm/ng-packs/packages/schematics/src/utils/generics.ts
  34. 5
      npm/ng-packs/packages/schematics/src/utils/rule.ts
  35. 6
      npm/ng-packs/packages/schematics/src/utils/type.ts

3
abp_io/AbpIoLocalization/AbpIoLocalization/Base/Localization/Resources/en.json

@ -216,6 +216,7 @@
"HowItWorks": "How it works?",
"ReleaseNotes": "Release Notes",
"DetailedChangeNotes" : "Detailed Change Notes",
"SeeTrainings": "See Trainings"
"SeeTrainings": "See Trainings",
"NoContent": "No content"
}
}

5
abp_io/AbpIoLocalization/AbpIoLocalization/Commercial/Localization/Resources/en.json

@ -896,6 +896,9 @@
"OtherModules": "Other Modules",
"OtherModules_Description1": "Account, Audit Logging, Chat , CMS Kit,File Management , Forms, GDPR, Identity, Language Management, Payment , Saas and more...",
"HowItWorks_DatabaseProviderOptions": "Database provider options",
"SeeFAQ" : "See FAQ"
"SeeFAQ" : "See FAQ",
"ReleaseLogs": "Release Logs",
"ReleaseLogs_Tag": "{0} Release Logs",
"ReleaseLogs_Pr": "Pull Request #{0} - {1}"
}
}

2
framework/test/Volo.Abp.AspNetCore.Mvc.Tests/Volo/Abp/AspNetCore/Mvc/AbpAspNetCoreMvcTestModule.cs

@ -88,6 +88,8 @@ public class AbpAspNetCoreMvcTestModule : AbpModule
? "phones"
: urlActionNameNormalizerContext.ActionNameInUrl;
});
options.ExposeIntegrationServices = true;
});
Configure<AbpVirtualFileSystemOptions>(options =>

49
modules/docs/app/VoloDocs.EntityFrameworkCore/Migrations/20220923075101_Initial.Designer.cs → 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
{
/// <inheritdoc />
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<int>("EntityVersion")
.HasColumnType("int");
b.Property<string>("ExtraProperties")
.HasColumnType("nvarchar(max)")
.HasColumnName("ExtraProperties");
@ -298,6 +302,9 @@ namespace Migrations
.HasDefaultValue(false)
.HasColumnName("EmailConfirmed");
b.Property<int>("EntityVersion")
.HasColumnType("int");
b.Property<string>("ExtraProperties")
.HasColumnType("nvarchar(max)")
.HasColumnName("ExtraProperties");
@ -326,6 +333,9 @@ namespace Migrations
.HasColumnType("uniqueidentifier")
.HasColumnName("LastModifierId");
b.Property<DateTimeOffset?>("LastPasswordChangeTime")
.HasColumnType("datetimeoffset");
b.Property<bool>("LockoutEnabled")
.ValueGeneratedOnAdd()
.HasColumnType("bit")
@ -374,6 +384,9 @@ namespace Migrations
.HasColumnType("nvarchar(256)")
.HasColumnName("SecurityStamp");
b.Property<bool>("ShouldChangePasswordOnNextLogin")
.HasColumnType("bit");
b.Property<string>("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<Guid>("Id")
.ValueGeneratedOnAdd()
.HasColumnType("uniqueidentifier");
b.Property<DateTime>("EndTime")
.HasColumnType("datetime2");
b.Property<Guid>("SourceUserId")
.HasColumnType("uniqueidentifier");
b.Property<DateTime>("StartTime")
.HasColumnType("datetime2");
b.Property<Guid>("TargetUserId")
.HasColumnType("uniqueidentifier");
b.Property<Guid?>("TenantId")
.HasColumnType("uniqueidentifier")
.HasColumnName("TenantId");
b.HasKey("Id");
b.ToTable("AbpUserDelegations", (string)null);
});
modelBuilder.Entity("Volo.Abp.Identity.IdentityUserLogin", b =>
{
b.Property<Guid>("UserId")
@ -576,6 +616,9 @@ namespace Migrations
.HasColumnType("nvarchar(128)")
.HasColumnName("DisplayName");
b.Property<int>("EntityVersion")
.HasColumnType("int");
b.Property<string>("ExtraProperties")
.HasColumnType("nvarchar(max)")
.HasColumnName("ExtraProperties");

27
modules/docs/app/VoloDocs.EntityFrameworkCore/Migrations/20220923075101_Initial.cs → modules/docs/app/VoloDocs.EntityFrameworkCore/Migrations/20230622110108_Initial.cs

@ -5,8 +5,10 @@ using Microsoft.EntityFrameworkCore.Migrations;
namespace Migrations
{
/// <inheritdoc />
public partial class Initial : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
@ -53,6 +55,7 @@ namespace Migrations
ParentId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
Code = table.Column<string>(type: "nvarchar(95)", maxLength: 95, nullable: false),
DisplayName = table.Column<string>(type: "nvarchar(128)", maxLength: 128, nullable: false),
EntityVersion = table.Column<int>(type: "int", nullable: false),
ExtraProperties = table.Column<string>(type: "nvarchar(max)", nullable: true),
ConcurrencyStamp = table.Column<string>(type: "nvarchar(40)", maxLength: 40, nullable: true),
CreationTime = table.Column<DateTime>(type: "datetime2", nullable: false),
@ -133,6 +136,7 @@ namespace Migrations
IsDefault = table.Column<bool>(type: "bit", nullable: false),
IsStatic = table.Column<bool>(type: "bit", nullable: false),
IsPublic = table.Column<bool>(type: "bit", nullable: false),
EntityVersion = table.Column<int>(type: "int", nullable: false),
ExtraProperties = table.Column<string>(type: "nvarchar(max)", nullable: true),
ConcurrencyStamp = table.Column<string>(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<Guid>(type: "uniqueidentifier", nullable: false),
TenantId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
SourceUserId = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
TargetUserId = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
StartTime = table.Column<DateTime>(type: "datetime2", nullable: false),
EndTime = table.Column<DateTime>(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<DateTimeOffset>(type: "datetimeoffset", nullable: true),
LockoutEnabled = table.Column<bool>(type: "bit", nullable: false, defaultValue: false),
AccessFailedCount = table.Column<int>(type: "int", nullable: false, defaultValue: 0),
ShouldChangePasswordOnNextLogin = table.Column<bool>(type: "bit", nullable: false),
EntityVersion = table.Column<int>(type: "int", nullable: false),
LastPasswordChangeTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true),
ExtraProperties = table.Column<string>(type: "nvarchar(max)", nullable: true),
ConcurrencyStamp = table.Column<string>(type: "nvarchar(40)", maxLength: 40, nullable: true),
CreationTime = table.Column<DateTime>(type: "datetime2", nullable: false),
@ -578,6 +601,7 @@ namespace Migrations
column: "UserName");
}
/// <inheritdoc />
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");

46
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<int>("EntityVersion")
.HasColumnType("int");
b.Property<string>("ExtraProperties")
.HasColumnType("nvarchar(max)")
.HasColumnName("ExtraProperties");
@ -296,6 +299,9 @@ namespace Migrations
.HasDefaultValue(false)
.HasColumnName("EmailConfirmed");
b.Property<int>("EntityVersion")
.HasColumnType("int");
b.Property<string>("ExtraProperties")
.HasColumnType("nvarchar(max)")
.HasColumnName("ExtraProperties");
@ -324,6 +330,9 @@ namespace Migrations
.HasColumnType("uniqueidentifier")
.HasColumnName("LastModifierId");
b.Property<DateTimeOffset?>("LastPasswordChangeTime")
.HasColumnType("datetimeoffset");
b.Property<bool>("LockoutEnabled")
.ValueGeneratedOnAdd()
.HasColumnType("bit")
@ -372,6 +381,9 @@ namespace Migrations
.HasColumnType("nvarchar(256)")
.HasColumnName("SecurityStamp");
b.Property<bool>("ShouldChangePasswordOnNextLogin")
.HasColumnType("bit");
b.Property<string>("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<Guid>("Id")
.ValueGeneratedOnAdd()
.HasColumnType("uniqueidentifier");
b.Property<DateTime>("EndTime")
.HasColumnType("datetime2");
b.Property<Guid>("SourceUserId")
.HasColumnType("uniqueidentifier");
b.Property<DateTime>("StartTime")
.HasColumnType("datetime2");
b.Property<Guid>("TargetUserId")
.HasColumnType("uniqueidentifier");
b.Property<Guid?>("TenantId")
.HasColumnType("uniqueidentifier")
.HasColumnName("TenantId");
b.HasKey("Id");
b.ToTable("AbpUserDelegations", (string)null);
});
modelBuilder.Entity("Volo.Abp.Identity.IdentityUserLogin", b =>
{
b.Property<Guid>("UserId")
@ -574,6 +613,9 @@ namespace Migrations
.HasColumnType("nvarchar(128)")
.HasColumnName("DisplayName");
b.Property<int>("EntityVersion")
.HasColumnType("int");
b.Property<string>("ExtraProperties")
.HasColumnType("nvarchar(max)")
.HasColumnName("ExtraProperties");

3
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<DocumentResourceDto> GetResourceAsync(GetDocumentResourceInput input);
Task<List<DocumentSearchOutput>> SearchAsync(DocumentSearchInput input);
Task<PagedResultDto<DocumentSearchOutput>> SearchAsync(DocumentSearchInput input);
Task<bool> FullSearchEnabledAsync();

11
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<List<DocumentSearchOutput>> SearchAsync(DocumentSearchInput input)
public async Task<PagedResultDto<DocumentSearchOutput>> SearchAsync(DocumentSearchInput input)
{
var project = await _projectRepository.GetAsync(input.ProjectId);
input.Version = GetProjectVersionPrefixIfExist(project) + input.Version;
var esDocs =
await _documentFullSearch.SearchAsync(input.Context, project.Id, input.LanguageCode, input.Version);
var esDocResult =
await _documentFullSearch.SearchAsync(input.Context, project.Id, input.LanguageCode, input.Version, input.SkipCount, input.MaxResultCount);
return esDocs.Select(esDoc => new DocumentSearchOutput //TODO: auto map
return new PagedResultDto<DocumentSearchOutput>(esDocResult.TotalCount,esDocResult.EsDocuments.Select(esDoc => new DocumentSearchOutput //TODO: auto map
{
Name = esDoc.Name,
FileName = esDoc.FileName,
@ -194,7 +195,7 @@ namespace Volo.Docs.Documents
Highlight = esDoc.Highlight
}).Where(x =>
x.FileName != project.NavigationDocumentName && x.FileName != project.ParametersDocumentName)
.ToList();
.ToList());
}
public async Task<bool> FullSearchEnabledAsync()

4
modules/docs/src/Volo.Docs.Domain/Volo/Docs/Documents/FullSearch/Elastic/ElasticDocumentFullSearch.cs

@ -138,7 +138,7 @@ namespace Volo.Docs.Documents.FullSearch.Elastic
.DeleteByQueryAsync(request, cancellationToken));
}
public virtual async Task<List<EsDocument>> SearchAsync(string context, Guid projectId, string languageCode,
public virtual async Task<EsDocumentResult> SearchAsync(string context, Guid projectId, string languageCode,
string version, int? skipCount = null, int? maxResultCount = null,
CancellationToken cancellationToken = default)
{
@ -212,7 +212,7 @@ namespace Volo.Docs.Documents.FullSearch.Elastic
docs.Add(doc);
}
return docs;
return new EsDocumentResult { EsDocuments = docs, TotalCount = response.Total };
}
protected virtual void HandleError(IElasticsearchResponse response)

15
modules/docs/src/Volo.Docs.Domain/Volo/Docs/Documents/FullSearch/Elastic/EsDocumentResult.cs

@ -0,0 +1,15 @@
using System.Collections.Generic;
namespace Volo.Docs.Documents.FullSearch.Elastic;
public class EsDocumentResult
{
public EsDocumentResult()
{
EsDocuments = new List<EsDocument>();
}
public long TotalCount { get; set; }
public List<EsDocument> EsDocuments { get; set; }
}

2
modules/docs/src/Volo.Docs.Domain/Volo/Docs/Documents/FullSearch/Elastic/IDocumentFullSearch.cs

@ -19,7 +19,7 @@ namespace Volo.Docs.Documents.FullSearch.Elastic
Task DeleteAllByProjectIdAsync(Guid projectId, CancellationToken cancellationToken = default);
Task<List<EsDocument>> SearchAsync(string context, Guid projectId, string languageCode,
Task<EsDocumentResult> SearchAsync(string context, Guid projectId, string languageCode,
string version, int? skipCount = null, int? maxResultCount = null,
CancellationToken cancellationToken = default);

13
modules/docs/src/Volo.Docs.HttpApi.Client/ClientProxies/DocsDocumentClientProxy.Generated.cs → modules/docs/src/Volo.Docs.HttpApi.Client/ClientProxies/Volo/Docs/Documents/DocsDocumentClientProxy.Generated.cs

@ -1,16 +1,17 @@
// This file is automatically generated by ABP framework to use MVC Controllers from CSharp
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Volo.Abp;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Http.Client;
using Volo.Abp.Http.Modeling;
using Volo.Abp.DependencyInjection;
using Volo.Abp.Http.Client;
using Volo.Abp.Http.Client.ClientProxying;
using Volo.Abp.Http.Modeling;
using Volo.Docs.Documents;
using System.Collections.Generic;
// ReSharper disable once CheckNamespace
namespace Volo.Docs.Documents.ClientProxies;
namespace Volo.Docs.Documents;
[Dependency(ReplaceServices = true)]
[ExposeServices(typeof(IDocumentAppService), typeof(DocsDocumentClientProxy))]
@ -48,9 +49,9 @@ public partial class DocsDocumentClientProxy : ClientProxyBase<IDocumentAppServi
});
}
public virtual async Task<List<DocumentSearchOutput>> SearchAsync(DocumentSearchInput input)
public virtual async Task<PagedResultDto<DocumentSearchOutput>> SearchAsync(DocumentSearchInput input)
{
return await RequestAsync<List<DocumentSearchOutput>>(nameof(SearchAsync), new ClientProxyRequestTypeValue
return await RequestAsync<PagedResultDto<DocumentSearchOutput>>(nameof(SearchAsync), new ClientProxyRequestTypeValue
{
{ typeof(DocumentSearchInput), input }
});

2
modules/docs/src/Volo.Docs.HttpApi.Client/ClientProxies/DocsDocumentClientProxy.cs → modules/docs/src/Volo.Docs.HttpApi.Client/ClientProxies/Volo/Docs/Documents/DocsDocumentClientProxy.cs

@ -1,6 +1,6 @@
// This file is part of DocsDocumentClientProxy, you can customize it here
// ReSharper disable once CheckNamespace
namespace Volo.Docs.Documents.ClientProxies;
namespace Volo.Docs.Documents;
public partial class DocsDocumentClientProxy
{

10
modules/docs/src/Volo.Docs.HttpApi.Client/ClientProxies/DocsProjectClientProxy.Generated.cs → modules/docs/src/Volo.Docs.HttpApi.Client/ClientProxies/Volo/Docs/Projects/DocsProjectClientProxy.Generated.cs

@ -1,16 +1,18 @@
// This file is automatically generated by ABP framework to use MVC Controllers from CSharp
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Volo.Abp;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Http.Client;
using Volo.Abp.Http.Modeling;
using Volo.Abp.DependencyInjection;
using Volo.Abp.Http.Client;
using Volo.Abp.Http.Client.ClientProxying;
using Volo.Docs.Projects;
using Volo.Abp.Http.Modeling;
using Volo.Docs.Documents;
using Volo.Docs.Projects;
// ReSharper disable once CheckNamespace
namespace Volo.Docs.Projects.ClientProxies;
namespace Volo.Docs.Projects;
[Dependency(ReplaceServices = true)]
[ExposeServices(typeof(IProjectAppService), typeof(DocsProjectClientProxy))]

2
modules/docs/src/Volo.Docs.HttpApi.Client/ClientProxies/DocsProjectClientProxy.cs → modules/docs/src/Volo.Docs.HttpApi.Client/ClientProxies/Volo/Docs/Projects/DocsProjectClientProxy.cs

@ -1,6 +1,6 @@
// This file is part of DocsProjectClientProxy, you can customize it here
// ReSharper disable once CheckNamespace
namespace Volo.Docs.Projects.ClientProxies;
namespace Volo.Docs.Projects;
public partial class DocsProjectClientProxy
{

236
modules/docs/src/Volo.Docs.HttpApi.Client/ClientProxies/docs-generate-proxy.json

@ -8,11 +8,107 @@
"controllerName": "DocsProject",
"controllerGroupName": "Project",
"isRemoteService": true,
"isIntegrationService": false,
"apiVersion": null,
"type": "Volo.Docs.Projects.DocsProjectController",
"interfaces": [
{
"type": "Volo.Docs.Projects.IProjectAppService"
"type": "Volo.Docs.Projects.IProjectAppService",
"name": "IProjectAppService",
"methods": [
{
"name": "GetListAsync",
"parametersOnMethod": [],
"returnValue": {
"type": "Volo.Abp.Application.Dtos.ListResultDto<Volo.Docs.Projects.ProjectDto>",
"typeSimple": "Volo.Abp.Application.Dtos.ListResultDto<Volo.Docs.Projects.ProjectDto>"
}
},
{
"name": "GetAsync",
"parametersOnMethod": [
{
"name": "shortName",
"typeAsString": "System.String, System.Private.CoreLib",
"type": "System.String",
"typeSimple": "string",
"isOptional": false,
"defaultValue": null
}
],
"returnValue": {
"type": "Volo.Docs.Projects.ProjectDto",
"typeSimple": "Volo.Docs.Projects.ProjectDto"
}
},
{
"name": "GetVersionsAsync",
"parametersOnMethod": [
{
"name": "shortName",
"typeAsString": "System.String, System.Private.CoreLib",
"type": "System.String",
"typeSimple": "string",
"isOptional": false,
"defaultValue": null
}
],
"returnValue": {
"type": "Volo.Abp.Application.Dtos.ListResultDto<Volo.Docs.Projects.VersionInfoDto>",
"typeSimple": "Volo.Abp.Application.Dtos.ListResultDto<Volo.Docs.Projects.VersionInfoDto>"
}
},
{
"name": "GetDefaultLanguageCodeAsync",
"parametersOnMethod": [
{
"name": "shortName",
"typeAsString": "System.String, System.Private.CoreLib",
"type": "System.String",
"typeSimple": "string",
"isOptional": false,
"defaultValue": null
},
{
"name": "version",
"typeAsString": "System.String, System.Private.CoreLib",
"type": "System.String",
"typeSimple": "string",
"isOptional": false,
"defaultValue": null
}
],
"returnValue": {
"type": "System.String",
"typeSimple": "string"
}
},
{
"name": "GetLanguageListAsync",
"parametersOnMethod": [
{
"name": "shortName",
"typeAsString": "System.String, System.Private.CoreLib",
"type": "System.String",
"typeSimple": "string",
"isOptional": false,
"defaultValue": null
},
{
"name": "version",
"typeAsString": "System.String, System.Private.CoreLib",
"type": "System.String",
"typeSimple": "string",
"isOptional": false,
"defaultValue": null
}
],
"returnValue": {
"type": "Volo.Docs.Documents.LanguageConfig",
"typeSimple": "Volo.Docs.Documents.LanguageConfig"
}
}
]
}
],
"actions": {
@ -225,11 +321,142 @@
"controllerName": "DocsDocument",
"controllerGroupName": "Document",
"isRemoteService": true,
"isIntegrationService": false,
"apiVersion": null,
"type": "Volo.Docs.Documents.DocsDocumentController",
"interfaces": [
{
"type": "Volo.Docs.Documents.IDocumentAppService"
"type": "Volo.Docs.Documents.IDocumentAppService",
"name": "IDocumentAppService",
"methods": [
{
"name": "GetAsync",
"parametersOnMethod": [
{
"name": "input",
"typeAsString": "Volo.Docs.Documents.GetDocumentInput, Volo.Docs.Application.Contracts",
"type": "Volo.Docs.Documents.GetDocumentInput",
"typeSimple": "Volo.Docs.Documents.GetDocumentInput",
"isOptional": false,
"defaultValue": null
}
],
"returnValue": {
"type": "Volo.Docs.Documents.DocumentWithDetailsDto",
"typeSimple": "Volo.Docs.Documents.DocumentWithDetailsDto"
}
},
{
"name": "GetDefaultAsync",
"parametersOnMethod": [
{
"name": "input",
"typeAsString": "Volo.Docs.Documents.GetDefaultDocumentInput, Volo.Docs.Application.Contracts",
"type": "Volo.Docs.Documents.GetDefaultDocumentInput",
"typeSimple": "Volo.Docs.Documents.GetDefaultDocumentInput",
"isOptional": false,
"defaultValue": null
}
],
"returnValue": {
"type": "Volo.Docs.Documents.DocumentWithDetailsDto",
"typeSimple": "Volo.Docs.Documents.DocumentWithDetailsDto"
}
},
{
"name": "GetNavigationAsync",
"parametersOnMethod": [
{
"name": "input",
"typeAsString": "Volo.Docs.Documents.GetNavigationDocumentInput, Volo.Docs.Application.Contracts",
"type": "Volo.Docs.Documents.GetNavigationDocumentInput",
"typeSimple": "Volo.Docs.Documents.GetNavigationDocumentInput",
"isOptional": false,
"defaultValue": null
}
],
"returnValue": {
"type": "Volo.Docs.Documents.NavigationNode",
"typeSimple": "Volo.Docs.Documents.NavigationNode"
}
},
{
"name": "GetParametersAsync",
"parametersOnMethod": [
{
"name": "input",
"typeAsString": "Volo.Docs.Documents.GetParametersDocumentInput, Volo.Docs.Application.Contracts",
"type": "Volo.Docs.Documents.GetParametersDocumentInput",
"typeSimple": "Volo.Docs.Documents.GetParametersDocumentInput",
"isOptional": false,
"defaultValue": null
}
],
"returnValue": {
"type": "Volo.Docs.Documents.DocumentParametersDto",
"typeSimple": "Volo.Docs.Documents.DocumentParametersDto"
}
},
{
"name": "GetResourceAsync",
"parametersOnMethod": [
{
"name": "input",
"typeAsString": "Volo.Docs.Documents.GetDocumentResourceInput, Volo.Docs.Application.Contracts",
"type": "Volo.Docs.Documents.GetDocumentResourceInput",
"typeSimple": "Volo.Docs.Documents.GetDocumentResourceInput",
"isOptional": false,
"defaultValue": null
}
],
"returnValue": {
"type": "Volo.Docs.Documents.DocumentResourceDto",
"typeSimple": "Volo.Docs.Documents.DocumentResourceDto"
}
},
{
"name": "SearchAsync",
"parametersOnMethod": [
{
"name": "input",
"typeAsString": "Volo.Docs.Documents.DocumentSearchInput, Volo.Docs.Application.Contracts",
"type": "Volo.Docs.Documents.DocumentSearchInput",
"typeSimple": "Volo.Docs.Documents.DocumentSearchInput",
"isOptional": false,
"defaultValue": null
}
],
"returnValue": {
"type": "Volo.Abp.Application.Dtos.PagedResultDto<Volo.Docs.Documents.DocumentSearchOutput>",
"typeSimple": "Volo.Abp.Application.Dtos.PagedResultDto<Volo.Docs.Documents.DocumentSearchOutput>"
}
},
{
"name": "FullSearchEnabledAsync",
"parametersOnMethod": [],
"returnValue": {
"type": "System.Boolean",
"typeSimple": "boolean"
}
},
{
"name": "GetUrlsAsync",
"parametersOnMethod": [
{
"name": "prefix",
"typeAsString": "System.String, System.Private.CoreLib",
"type": "System.String",
"typeSimple": "string",
"isOptional": false,
"defaultValue": null
}
],
"returnValue": {
"type": "System.Collections.Generic.List<System.String>",
"typeSimple": "[string]"
}
}
]
}
],
"actions": {
@ -532,8 +759,8 @@
}
],
"returnValue": {
"type": "System.Collections.Generic.List<Volo.Docs.Documents.DocumentSearchOutput>",
"typeSimple": "[Volo.Docs.Documents.DocumentSearchOutput]"
"type": "Volo.Abp.Application.Dtos.PagedResultDto<Volo.Docs.Documents.DocumentSearchOutput>",
"typeSimple": "Volo.Abp.Application.Dtos.PagedResultDto<Volo.Docs.Documents.DocumentSearchOutput>"
},
"allowAnonymous": null,
"implementFrom": "Volo.Docs.Documents.IDocumentAppService"
@ -657,6 +884,7 @@
"controllerName": "DocumentResource",
"controllerGroupName": "DocumentResource",
"isRemoteService": true,
"isIntegrationService": false,
"apiVersion": null,
"type": "Volo.Docs.Areas.Documents.DocumentResourceController",
"interfaces": [],

3
modules/docs/src/Volo.Docs.HttpApi/Volo/Docs/Documents/DocsDocumentController.cs

@ -2,6 +2,7 @@
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Volo.Abp;
using Volo.Abp.Application.Dtos;
using Volo.Abp.AspNetCore.Mvc;
namespace Volo.Docs.Documents
@ -49,7 +50,7 @@ namespace Volo.Docs.Documents
[HttpPost]
[Route("search")]
public Task<List<DocumentSearchOutput>> SearchAsync(DocumentSearchInput input)
public Task<PagedResultDto<DocumentSearchOutput>> SearchAsync(DocumentSearchInput input)
{
return DocumentAppService.SearchAsync(input);
}

78
modules/docs/src/Volo.Docs.Web/Pages/Documents/Search.cshtml

@ -41,45 +41,53 @@
</div>
</form>
<div class="card mt-4 rounded">
<div class="card-header">
<h5 class="text-center ">@L["SearchResults"]</h5>
</div>
<div class="p-5 card-body">
@foreach (var docs in Model.SearchOutputs)
{
<div class="row">
<div class="col">
<div class="pb-4 small">
@functions
{
string RemoveFileExtensionFromPath(string path)
@if (!Model.KeyWord.IsNullOrWhiteSpace())
{
<div class="card mt-4 rounded">
<div class="card-header">
<h5 class="text-center ">@L["SearchResults"]</h5>
</div>
<div class="px-5 pt-5 card-body">
@foreach (var docs in Model.SearchOutputs)
{
<div class="row">
<div class="col">
<div class="pb-4 small">
@functions
{
if (path == null)
string RemoveFileExtensionFromPath(string path)
{
return null;
if (path == null)
{
return null;
}
return path.EndsWith("." + @Model.Project.Format)
? path.Left(path.Length - Model.Project.Format.Length - 1)
: path;
}
return path.EndsWith("." + @Model.Project.Format)
? path.Left(path.Length - Model.Project.Format.Length - 1)
: path;
}
}
<h5 class="mb-3">
<a href="/@Model.LanguageCode/@Model.ProjectName/@Model.Version/@RemoveFileExtensionFromPath(docs.Name)">
@RemoveFileExtensionFromPath(docs.Name)
</a>
</h5>
<div class="mb-4">
@foreach (var highlight in docs.Highlight)
{
<p class="mb-2">@Html.Raw(highlight)</p>
}
</div>
</div>
<h5 class="mb-3">
<a href="/@Model.LanguageCode/@Model.ProjectName/@Model.Version/@RemoveFileExtensionFromPath(docs.Name)">
@RemoveFileExtensionFromPath(docs.Name)
</a>
</h5>
<div class="mb-4">
@foreach (var highlight in docs.Highlight)
{
<p class="mb-2">@Html.Raw(highlight)</p>
}
</div>
</div>
</div>
</div>
</div>
}
}
@if (Model.PagerModel != null)
{
<abp-paginator model="Model.PagerModel" show-info="true" />
}
</div>
</div>
</div>
}
</div>

26
modules/docs/src/Volo.Docs.Web/Pages/Documents/Search.cshtml.cs

@ -6,6 +6,7 @@ using System.Threading.Tasks;
using System.Web;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Pagination;
using Volo.Docs.Documents;
using Volo.Docs.GitHub.Documents.Version;
using Volo.Docs.HtmlConverting;
@ -24,6 +25,10 @@ namespace Volo.Docs.Pages.Documents
[BindProperty(SupportsGet = true)] public string LanguageCode { get; set; }
[BindProperty(SupportsGet = true)] public string KeyWord { get; set; }
[BindProperty(SupportsGet = true)] public int CurrentPage { get; set; } = 1;
public PagerModel PagerModel { get; set; }
public ProjectDto Project { get; set; }
@ -49,6 +54,11 @@ namespace Volo.Docs.Pages.Documents
return RedirectToPage("Index");
}
if (keyword.IsNullOrWhiteSpace())
{
return Page();
}
KeyWord = keyword;
Project = await _projectAppService.GetAsync(ProjectName);
@ -72,13 +82,25 @@ namespace Volo.Docs.Pages.Documents
}
}
SearchOutputs = await _documentAppService.SearchAsync(new DocumentSearchInput
var pagedSearchOutputs = await _documentAppService.SearchAsync(new DocumentSearchInput
{
ProjectId = Project.Id,
Context = KeyWord,
LanguageCode = LanguageCode,
Version = Version
Version = Version,
MaxResultCount = 10,
SkipCount = (CurrentPage - 1) * 10
});
SearchOutputs = pagedSearchOutputs.Items.ToList();
PagerModel = new PagerModel(pagedSearchOutputs.TotalCount, 10, CurrentPage, 10, Url.Page("Search", new
{
ProjectName,
Version,
LanguageCode,
KeyWord
}));
var highlightTag1 = Guid.NewGuid().ToString();
var highlightTag2 = Guid.NewGuid().ToString();

4
modules/identity/.abpstudio/state.json

@ -0,0 +1,4 @@
{
"selectedRunnerProfile": null,
"selectedKubernetesProfile": null
}

2
modules/identity/src/Volo.Abp.Identity.Application.Contracts/Volo.Abp.Identity.Application.Contracts.abppkg.analyze.json

@ -1,6 +1,6 @@
{
"name": "Volo.Abp.Identity.Application.Contracts",
"hash": "1f066a51d7d0c078867838f11c7d65a0",
"hash": "",
"contents": [
{
"namespace": "Volo.Abp.Identity",

88
modules/identity/src/Volo.Abp.Identity.Application/Volo.Abp.Identity.Application.abppkg.analyze.json

@ -1,6 +1,6 @@
{
"name": "Volo.Abp.Identity.Application",
"hash": "00000c49c13ccf21d57fdc044d1fefef",
"hash": "",
"contents": [
{
"namespace": "Volo.Abp.Identity",
@ -690,6 +690,92 @@
"contentType": "applicationService",
"name": "IdentityUserLookupAppService",
"summary": null
},
{
"namespace": "Volo.Abp.Identity.Integration",
"baseClass": {
"name": "IdentityAppServiceBase",
"namespace": "Volo.Abp.Identity",
"declaringAssemblyName": "Volo.Abp.Identity.Application",
"fullName": "Volo.Abp.Identity.IdentityAppServiceBase"
},
"implementingInterfaces": [
{
"name": "IApplicationService",
"namespace": "Volo.Abp.Application.Services",
"declaringAssemblyName": "Volo.Abp.Ddd.Application.Contracts",
"fullName": "Volo.Abp.Application.Services.IApplicationService"
},
{
"name": "IRemoteService",
"namespace": "Volo.Abp",
"declaringAssemblyName": "Volo.Abp.Core",
"fullName": "Volo.Abp.IRemoteService"
},
{
"name": "IAvoidDuplicateCrossCuttingConcerns",
"namespace": "Volo.Abp.Aspects",
"declaringAssemblyName": "Volo.Abp.Core",
"fullName": "Volo.Abp.Aspects.IAvoidDuplicateCrossCuttingConcerns"
},
{
"name": "IValidationEnabled",
"namespace": "Volo.Abp.Validation",
"declaringAssemblyName": "Volo.Abp.Validation",
"fullName": "Volo.Abp.Validation.IValidationEnabled"
},
{
"name": "IUnitOfWorkEnabled",
"namespace": "Volo.Abp.Uow",
"declaringAssemblyName": "Volo.Abp.Uow",
"fullName": "Volo.Abp.Uow.IUnitOfWorkEnabled"
},
{
"name": "IAuditingEnabled",
"namespace": "Volo.Abp.Auditing",
"declaringAssemblyName": "Volo.Abp.Auditing.Contracts",
"fullName": "Volo.Abp.Auditing.IAuditingEnabled"
},
{
"name": "IGlobalFeatureCheckingEnabled",
"namespace": "Volo.Abp.GlobalFeatures",
"declaringAssemblyName": "Volo.Abp.GlobalFeatures",
"fullName": "Volo.Abp.GlobalFeatures.IGlobalFeatureCheckingEnabled"
},
{
"name": "ITransientDependency",
"namespace": "Volo.Abp.DependencyInjection",
"declaringAssemblyName": "Volo.Abp.Core",
"fullName": "Volo.Abp.DependencyInjection.ITransientDependency"
},
{
"name": "IIdentityUserIntegrationService",
"namespace": "Volo.Abp.Identity.Integration",
"declaringAssemblyName": "Volo.Abp.Identity.Application.Contracts",
"fullName": "Volo.Abp.Identity.Integration.IIdentityUserIntegrationService"
}
],
"methods": [
{
"returnType": "String[]",
"name": "GetRoleNamesAsync",
"summary": null,
"isAsync": true,
"isPublic": true,
"isPrivate": false,
"isStatic": false,
"parameters": [
{
"type": "Guid",
"name": "id",
"isOptional": false
}
]
}
],
"contentType": "applicationService",
"name": "IdentityUserIntegrationService",
"summary": null
}
]
}

68
modules/identity/src/Volo.Abp.Identity.Blazor.Server/Volo.Abp.Identity.Blazor.Server.abppkg.analyze.json

@ -0,0 +1,68 @@
{
"name": "Volo.Abp.Identity.Blazor.Server",
"hash": "",
"contents": [
{
"namespace": "Volo.Abp.Identity.Blazor.Server",
"dependsOnModules": [
{
"declaringAssemblyName": "Volo.Abp.Identity.Blazor",
"namespace": "Volo.Abp.Identity.Blazor",
"name": "AbpIdentityBlazorModule"
},
{
"declaringAssemblyName": "Volo.Abp.PermissionManagement.Blazor.Server",
"namespace": "Volo.Abp.PermissionManagement.Blazor.Server",
"name": "AbpPermissionManagementBlazorServerModule"
}
],
"implementingInterfaces": [
{
"name": "IAbpModule",
"namespace": "Volo.Abp.Modularity",
"declaringAssemblyName": "Volo.Abp.Core",
"fullName": "Volo.Abp.Modularity.IAbpModule"
},
{
"name": "IOnPreApplicationInitialization",
"namespace": "Volo.Abp.Modularity",
"declaringAssemblyName": "Volo.Abp.Core",
"fullName": "Volo.Abp.Modularity.IOnPreApplicationInitialization"
},
{
"name": "IOnApplicationInitialization",
"namespace": "Volo.Abp",
"declaringAssemblyName": "Volo.Abp.Core",
"fullName": "Volo.Abp.IOnApplicationInitialization"
},
{
"name": "IOnPostApplicationInitialization",
"namespace": "Volo.Abp.Modularity",
"declaringAssemblyName": "Volo.Abp.Core",
"fullName": "Volo.Abp.Modularity.IOnPostApplicationInitialization"
},
{
"name": "IOnApplicationShutdown",
"namespace": "Volo.Abp",
"declaringAssemblyName": "Volo.Abp.Core",
"fullName": "Volo.Abp.IOnApplicationShutdown"
},
{
"name": "IPreConfigureServices",
"namespace": "Volo.Abp.Modularity",
"declaringAssemblyName": "Volo.Abp.Core",
"fullName": "Volo.Abp.Modularity.IPreConfigureServices"
},
{
"name": "IPostConfigureServices",
"namespace": "Volo.Abp.Modularity",
"declaringAssemblyName": "Volo.Abp.Core",
"fullName": "Volo.Abp.Modularity.IPostConfigureServices"
}
],
"contentType": "abpModule",
"name": "AbpIdentityBlazorServerModule",
"summary": null
}
]
}

90
modules/identity/src/Volo.Abp.Identity.Blazor/Volo.Abp.Identity.Blazor.abppkg.analyze.json

@ -0,0 +1,90 @@
{
"name": "Volo.Abp.Identity.Blazor",
"hash": "",
"contents": [
{
"namespace": "Volo.Abp.Identity.Blazor",
"dependsOnModules": [
{
"declaringAssemblyName": "Volo.Abp.Identity.Application.Contracts",
"namespace": "Volo.Abp.Identity",
"name": "AbpIdentityApplicationContractsModule"
},
{
"declaringAssemblyName": "Volo.Abp.AutoMapper",
"namespace": "Volo.Abp.AutoMapper",
"name": "AbpAutoMapperModule"
},
{
"declaringAssemblyName": "Volo.Abp.PermissionManagement.Blazor",
"namespace": "Volo.Abp.PermissionManagement.Blazor",
"name": "AbpPermissionManagementBlazorModule"
},
{
"declaringAssemblyName": "Volo.Abp.BlazoriseUI",
"namespace": "Volo.Abp.BlazoriseUI",
"name": "AbpBlazoriseUIModule"
}
],
"implementingInterfaces": [
{
"name": "IAbpModule",
"namespace": "Volo.Abp.Modularity",
"declaringAssemblyName": "Volo.Abp.Core",
"fullName": "Volo.Abp.Modularity.IAbpModule"
},
{
"name": "IOnPreApplicationInitialization",
"namespace": "Volo.Abp.Modularity",
"declaringAssemblyName": "Volo.Abp.Core",
"fullName": "Volo.Abp.Modularity.IOnPreApplicationInitialization"
},
{
"name": "IOnApplicationInitialization",
"namespace": "Volo.Abp",
"declaringAssemblyName": "Volo.Abp.Core",
"fullName": "Volo.Abp.IOnApplicationInitialization"
},
{
"name": "IOnPostApplicationInitialization",
"namespace": "Volo.Abp.Modularity",
"declaringAssemblyName": "Volo.Abp.Core",
"fullName": "Volo.Abp.Modularity.IOnPostApplicationInitialization"
},
{
"name": "IOnApplicationShutdown",
"namespace": "Volo.Abp",
"declaringAssemblyName": "Volo.Abp.Core",
"fullName": "Volo.Abp.IOnApplicationShutdown"
},
{
"name": "IPreConfigureServices",
"namespace": "Volo.Abp.Modularity",
"declaringAssemblyName": "Volo.Abp.Core",
"fullName": "Volo.Abp.Modularity.IPreConfigureServices"
},
{
"name": "IPostConfigureServices",
"namespace": "Volo.Abp.Modularity",
"declaringAssemblyName": "Volo.Abp.Core",
"fullName": "Volo.Abp.Modularity.IPostConfigureServices"
}
],
"contentType": "abpModule",
"name": "AbpIdentityBlazorModule",
"summary": null
},
{
"namespace": "Volo.Abp.Identity.Blazor.Pages.Identity",
"contentType": "webPage",
"name": "RoleManagement",
"summary": null
},
{
"namespace": "Volo.Abp.Identity.Blazor.Pages.Identity",
"contentType": "webPage",
"name": "UserManagement",
"summary": null
}
]
}

2
modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo.Abp.Identity.Domain.Shared.abppkg.analyze.json

@ -1,6 +1,6 @@
{
"name": "Volo.Abp.Identity.Domain.Shared",
"hash": "c01f912422549ed6fdc44d7dd389f7e7",
"hash": "",
"contents": [
{
"namespace": "Volo.Abp.Identity",

602
modules/identity/src/Volo.Abp.Identity.Domain/Volo.Abp.Identity.Domain.abppkg.analyze.json

@ -1,6 +1,6 @@
{
"name": "Volo.Abp.Identity.Domain",
"hash": "3a0497c62459a4c0ad393a295e33af27",
"hash": "",
"contents": [
{
"namespace": "Volo.Abp.Identity",
@ -240,7 +240,7 @@
],
"contentType": "entity",
"name": "OrganizationUnitRole",
"summary": "Represents membership of a User to an OU."
"summary": "Represents the link between a role and an organization unit."
},
{
"baseClass": {
@ -479,8 +479,14 @@
{
"name": "IMultiTenant",
"namespace": "Volo.Abp.MultiTenancy",
"declaringAssemblyName": "Volo.Abp.MultiTenancy",
"declaringAssemblyName": "Volo.Abp.MultiTenancy.Abstractions",
"fullName": "Volo.Abp.MultiTenancy.IMultiTenant"
},
{
"name": "IHasEntityVersion",
"namespace": "Volo.Abp.Auditing",
"declaringAssemblyName": "Volo.Abp.Auditing.Contracts",
"fullName": "Volo.Abp.Auditing.IHasEntityVersion"
}
],
"methods": [
@ -631,6 +637,11 @@
"type": "System.Boolean",
"name": "IsPublic",
"summary": "A user can see other user's public roles"
},
{
"type": "System.Int32",
"name": "EntityVersion",
"summary": "A version value that is increased whenever the entity is changed."
}
],
"contentType": "aggregateRoot",
@ -690,7 +701,7 @@
{
"name": "IMultiTenant",
"namespace": "Volo.Abp.MultiTenancy",
"declaringAssemblyName": "Volo.Abp.MultiTenancy",
"declaringAssemblyName": "Volo.Abp.MultiTenancy.Abstractions",
"fullName": "Volo.Abp.MultiTenancy.IMultiTenant"
}
],
@ -884,8 +895,14 @@
{
"name": "IMultiTenant",
"namespace": "Volo.Abp.MultiTenancy",
"declaringAssemblyName": "Volo.Abp.MultiTenancy",
"declaringAssemblyName": "Volo.Abp.MultiTenancy.Abstractions",
"fullName": "Volo.Abp.MultiTenancy.IMultiTenant"
},
{
"name": "IHasEntityVersion",
"namespace": "Volo.Abp.Auditing",
"declaringAssemblyName": "Volo.Abp.Auditing.Contracts",
"fullName": "Volo.Abp.Auditing.IHasEntityVersion"
}
],
"methods": [
@ -1270,6 +1287,38 @@
}
]
},
{
"returnType": "Void",
"name": "SetShouldChangePasswordOnNextLogin",
"summary": null,
"isAsync": false,
"isPublic": true,
"isPrivate": false,
"isStatic": false,
"parameters": [
{
"type": "Boolean",
"name": "shouldChangePasswordOnNextLogin",
"isOptional": false
}
]
},
{
"returnType": "Void",
"name": "SetLastPasswordChangeTime",
"summary": null,
"isAsync": false,
"isPublic": true,
"isPrivate": false,
"isStatic": false,
"parameters": [
{
"type": "Nullable<DateTimeOffset>",
"name": "lastPasswordChangeTime",
"isOptional": false
}
]
},
{
"returnType": "String",
"name": "ToString",
@ -1407,6 +1456,21 @@
"name": "AccessFailedCount",
"summary": "Gets or sets the number of failed login attempts for the current user."
},
{
"type": "System.Boolean",
"name": "ShouldChangePasswordOnNextLogin",
"summary": "Should change password on next login."
},
{
"type": "System.Int32",
"name": "EntityVersion",
"summary": "A version value that is increased whenever the entity is changed."
},
{
"type": "System.Nullable`1[System.DateTimeOffset]",
"name": "LastPasswordChangeTime",
"summary": "Gets or sets the last password change time for the user."
},
{
"type": "System.Collections.Generic.ICollection`1[Volo.Abp.Identity.IdentityUserRole]",
"name": "Roles",
@ -1437,6 +1501,87 @@
"name": "IdentityUser",
"summary": null
},
{
"baseClass": {
"name": "BasicAggregateRoot<Guid>",
"namespace": "Volo.Abp.Domain.Entities",
"declaringAssemblyName": "Volo.Abp.Ddd.Domain",
"fullName": "Volo.Abp.Domain.Entities.BasicAggregateRoot<Guid>"
},
"implementingInterfaces": [
{
"name": "IEntity",
"namespace": "Volo.Abp.Domain.Entities",
"declaringAssemblyName": "Volo.Abp.Ddd.Domain",
"fullName": "Volo.Abp.Domain.Entities.IEntity"
},
{
"name": "IEntity<Guid>",
"namespace": "Volo.Abp.Domain.Entities",
"declaringAssemblyName": "Volo.Abp.Ddd.Domain",
"fullName": "Volo.Abp.Domain.Entities.IEntity<Guid>"
},
{
"name": "IAggregateRoot<Guid>",
"namespace": "Volo.Abp.Domain.Entities",
"declaringAssemblyName": "Volo.Abp.Ddd.Domain",
"fullName": "Volo.Abp.Domain.Entities.IAggregateRoot<Guid>"
},
{
"name": "IAggregateRoot",
"namespace": "Volo.Abp.Domain.Entities",
"declaringAssemblyName": "Volo.Abp.Ddd.Domain",
"fullName": "Volo.Abp.Domain.Entities.IAggregateRoot"
},
{
"name": "IGeneratesDomainEvents",
"namespace": "Volo.Abp.Domain.Entities",
"declaringAssemblyName": "Volo.Abp.Ddd.Domain",
"fullName": "Volo.Abp.Domain.Entities.IGeneratesDomainEvents"
},
{
"name": "IMultiTenant",
"namespace": "Volo.Abp.MultiTenancy",
"declaringAssemblyName": "Volo.Abp.MultiTenancy.Abstractions",
"fullName": "Volo.Abp.MultiTenancy.IMultiTenant"
}
],
"methods": [],
"collectionProperties": {},
"navigationProperties": {},
"namespace": "Volo.Abp.Identity",
"primaryKeyType": "Guid",
"properties": [
{
"type": "System.Nullable`1[System.Guid]",
"name": "TenantId",
"summary": null
},
{
"type": "System.Guid",
"name": "SourceUserId",
"summary": null
},
{
"type": "System.Guid",
"name": "TargetUserId",
"summary": null
},
{
"type": "System.DateTime",
"name": "StartTime",
"summary": null
},
{
"type": "System.DateTime",
"name": "EndTime",
"summary": null
}
],
"contentType": "aggregateRoot",
"name": "IdentityUserDelegation",
"summary": null
},
{
"baseClass": {
"name": "FullAuditedAggregateRoot<Guid>",
@ -1550,8 +1695,14 @@
{
"name": "IMultiTenant",
"namespace": "Volo.Abp.MultiTenancy",
"declaringAssemblyName": "Volo.Abp.MultiTenancy",
"declaringAssemblyName": "Volo.Abp.MultiTenancy.Abstractions",
"fullName": "Volo.Abp.MultiTenancy.IMultiTenant"
},
{
"name": "IHasEntityVersion",
"namespace": "Volo.Abp.Auditing",
"declaringAssemblyName": "Volo.Abp.Auditing.Contracts",
"fullName": "Volo.Abp.Auditing.IHasEntityVersion"
}
],
"methods": [
@ -1742,6 +1893,11 @@
"name": "DisplayName",
"summary": "Display name of this OrganizationUnit."
},
{
"type": "System.Int32",
"name": "EntityVersion",
"summary": "A version value that is increased whenever the entity is changed."
},
{
"type": "System.Collections.Generic.ICollection`1[Volo.Abp.Identity.OrganizationUnitRole]",
"name": "Roles",
@ -2093,6 +2249,164 @@
"name": "IdentityRoleManager",
"summary": null
},
{
"namespace": "Volo.Abp.Identity",
"baseClass": {
"name": "DomainService",
"namespace": "Volo.Abp.Domain.Services",
"declaringAssemblyName": "Volo.Abp.Ddd.Domain",
"fullName": "Volo.Abp.Domain.Services.DomainService"
},
"methods": [
{
"returnType": "List<IdentityUserDelegation>",
"name": "GetListAsync",
"summary": null,
"isAsync": true,
"isPublic": true,
"isPrivate": false,
"isStatic": false,
"parameters": [
{
"type": "Nullable<Guid>",
"name": "sourceUserId",
"isOptional": true
},
{
"type": "Nullable<Guid>",
"name": "targetUserId",
"isOptional": true
},
{
"type": "CancellationToken",
"name": "cancellationToken",
"isOptional": true
}
]
},
{
"returnType": "List<IdentityUserDelegation>",
"name": "GetActiveDelegationsAsync",
"summary": null,
"isAsync": true,
"isPublic": true,
"isPrivate": false,
"isStatic": false,
"parameters": [
{
"type": "Guid",
"name": "targetUseId",
"isOptional": false
},
{
"type": "CancellationToken",
"name": "cancellationToken",
"isOptional": true
}
]
},
{
"returnType": "IdentityUserDelegation",
"name": "FindActiveDelegationByIdAsync",
"summary": null,
"isAsync": true,
"isPublic": true,
"isPrivate": false,
"isStatic": false,
"parameters": [
{
"type": "Guid",
"name": "id",
"isOptional": false
},
{
"type": "CancellationToken",
"name": "cancellationToken",
"isOptional": true
}
]
},
{
"returnType": "Void",
"name": "DelegateNewUserAsync",
"summary": null,
"isAsync": true,
"isPublic": true,
"isPrivate": false,
"isStatic": false,
"parameters": [
{
"type": "Guid",
"name": "sourceUserId",
"isOptional": false
},
{
"type": "Guid",
"name": "targetUserId",
"isOptional": false
},
{
"type": "DateTime",
"name": "startTime",
"isOptional": false
},
{
"type": "DateTime",
"name": "endTime",
"isOptional": false
},
{
"type": "CancellationToken",
"name": "cancellationToken",
"isOptional": true
}
]
},
{
"returnType": "Void",
"name": "DeleteDelegationAsync",
"summary": null,
"isAsync": true,
"isPublic": true,
"isPrivate": false,
"isStatic": false,
"parameters": [
{
"type": "Guid",
"name": "id",
"isOptional": false
},
{
"type": "Guid",
"name": "sourceUserId",
"isOptional": false
},
{
"type": "CancellationToken",
"name": "cancellationToken",
"isOptional": true
}
]
}
],
"implementingInterfaces": [
{
"name": "IDomainService",
"namespace": "Volo.Abp.Domain.Services",
"declaringAssemblyName": "Volo.Abp.Ddd.Domain",
"fullName": "Volo.Abp.Domain.Services.IDomainService"
},
{
"name": "ITransientDependency",
"namespace": "Volo.Abp.DependencyInjection",
"declaringAssemblyName": "Volo.Abp.Core",
"fullName": "Volo.Abp.DependencyInjection.ITransientDependency"
}
],
"contentType": "domainService",
"name": "IdentityUserDelegationManager",
"summary": null
},
{
"namespace": "Volo.Abp.Identity",
"baseClass": {
@ -2390,6 +2704,38 @@
"isOptional": false
}
]
},
{
"returnType": "Boolean",
"name": "ShouldPeriodicallyChangePasswordAsync",
"summary": null,
"isAsync": true,
"isPublic": true,
"isPrivate": false,
"isStatic": false,
"parameters": [
{
"type": "IdentityUser",
"name": "user",
"isOptional": false
}
]
},
{
"returnType": "Void",
"name": "ResetRecoveryCodesAsync",
"summary": null,
"isAsync": true,
"isPublic": true,
"isPrivate": false,
"isStatic": false,
"parameters": [
{
"type": "IdentityUser",
"name": "user",
"isOptional": false
}
]
}
],
"implementingInterfaces": [
@ -3338,6 +3684,122 @@
"name": "IIdentitySecurityLogRepository",
"summary": null
},
{
"namespace": "Volo.Abp.Identity",
"entityAnalyzeModel": {
"namespace": "Volo.Abp.Identity",
"primaryKeyType": "Guid",
"properties": [],
"contentType": "entity",
"name": "IdentityUserDelegation",
"summary": null
},
"implementingInterfaces": [
{
"name": "IBasicRepository<IdentityUserDelegation, Guid>",
"namespace": "Volo.Abp.Domain.Repositories",
"declaringAssemblyName": "Volo.Abp.Ddd.Domain",
"fullName": "Volo.Abp.Domain.Repositories.IBasicRepository<IdentityUserDelegation, Guid>"
},
{
"name": "IBasicRepository<IdentityUserDelegation>",
"namespace": "Volo.Abp.Domain.Repositories",
"declaringAssemblyName": "Volo.Abp.Ddd.Domain",
"fullName": "Volo.Abp.Domain.Repositories.IBasicRepository<IdentityUserDelegation>"
},
{
"name": "IReadOnlyBasicRepository<IdentityUserDelegation>",
"namespace": "Volo.Abp.Domain.Repositories",
"declaringAssemblyName": "Volo.Abp.Ddd.Domain",
"fullName": "Volo.Abp.Domain.Repositories.IReadOnlyBasicRepository<IdentityUserDelegation>"
},
{
"name": "IRepository",
"namespace": "Volo.Abp.Domain.Repositories",
"declaringAssemblyName": "Volo.Abp.Ddd.Domain",
"fullName": "Volo.Abp.Domain.Repositories.IRepository"
},
{
"name": "IReadOnlyBasicRepository<IdentityUserDelegation, Guid>",
"namespace": "Volo.Abp.Domain.Repositories",
"declaringAssemblyName": "Volo.Abp.Ddd.Domain",
"fullName": "Volo.Abp.Domain.Repositories.IReadOnlyBasicRepository<IdentityUserDelegation, Guid>"
}
],
"methods": [
{
"returnType": "List<IdentityUserDelegation>",
"name": "GetListAsync",
"summary": null,
"isAsync": true,
"isPublic": true,
"isPrivate": false,
"isStatic": false,
"parameters": [
{
"type": "Nullable<Guid>",
"name": "sourceUserId",
"isOptional": false
},
{
"type": "Nullable<Guid>",
"name": "targetUserId",
"isOptional": false
},
{
"type": "CancellationToken",
"name": "cancellationToken",
"isOptional": true
}
]
},
{
"returnType": "List<IdentityUserDelegation>",
"name": "GetActiveDelegationsAsync",
"summary": null,
"isAsync": true,
"isPublic": true,
"isPrivate": false,
"isStatic": false,
"parameters": [
{
"type": "Guid",
"name": "targetUserId",
"isOptional": false
},
{
"type": "CancellationToken",
"name": "cancellationToken",
"isOptional": true
}
]
},
{
"returnType": "IdentityUserDelegation",
"name": "FindActiveDelegationByIdAsync",
"summary": null,
"isAsync": true,
"isPublic": true,
"isPrivate": false,
"isStatic": false,
"parameters": [
{
"type": "Guid",
"name": "id",
"isOptional": false
},
{
"type": "CancellationToken",
"name": "cancellationToken",
"isOptional": true
}
]
}
],
"contentType": "repositoryInterface",
"name": "IIdentityUserDelegationRepository",
"summary": null
},
{
"namespace": "Volo.Abp.Identity",
"entityAnalyzeModel": {
@ -3617,6 +4079,16 @@
"name": "emailAddress",
"isOptional": true
},
{
"type": "String",
"name": "name",
"isOptional": true
},
{
"type": "String",
"name": "surname",
"isOptional": true
},
{
"type": "Nullable<Boolean>",
"name": "isLockedOut",
@ -3627,6 +4099,36 @@
"name": "notActive",
"isOptional": true
},
{
"type": "Nullable<Boolean>",
"name": "emailConfirmed",
"isOptional": true
},
{
"type": "Nullable<Boolean>",
"name": "isExternal",
"isOptional": true
},
{
"type": "Nullable<DateTime>",
"name": "maxCreationTime",
"isOptional": true
},
{
"type": "Nullable<DateTime>",
"name": "minCreationTime",
"isOptional": true
},
{
"type": "Nullable<DateTime>",
"name": "maxModifitionTime",
"isOptional": true
},
{
"type": "Nullable<DateTime>",
"name": "minModifitionTime",
"isOptional": true
},
{
"type": "CancellationToken",
"name": "cancellationToken",
@ -3788,6 +4290,16 @@
"name": "emailAddress",
"isOptional": true
},
{
"type": "String",
"name": "name",
"isOptional": true
},
{
"type": "String",
"name": "surname",
"isOptional": true
},
{
"type": "Nullable<Boolean>",
"name": "isLockedOut",
@ -3798,6 +4310,36 @@
"name": "notActive",
"isOptional": true
},
{
"type": "Nullable<Boolean>",
"name": "emailConfirmed",
"isOptional": true
},
{
"type": "Nullable<Boolean>",
"name": "isExternal",
"isOptional": true
},
{
"type": "Nullable<DateTime>",
"name": "maxCreationTime",
"isOptional": true
},
{
"type": "Nullable<DateTime>",
"name": "minCreationTime",
"isOptional": true
},
{
"type": "Nullable<DateTime>",
"name": "maxModifitionTime",
"isOptional": true
},
{
"type": "Nullable<DateTime>",
"name": "minModifitionTime",
"isOptional": true
},
{
"type": "CancellationToken",
"name": "cancellationToken",
@ -3835,6 +4377,32 @@
"isOptional": true
}
]
},
{
"returnType": "List<IdentityUser>",
"name": "GetListByIdsAsync",
"summary": null,
"isAsync": true,
"isPublic": true,
"isPrivate": false,
"isStatic": false,
"parameters": [
{
"type": "IEnumerable<Guid>",
"name": "ids",
"isOptional": false
},
{
"type": "Boolean",
"name": "includeDetails",
"isOptional": true
},
{
"type": "CancellationToken",
"name": "cancellationToken",
"isOptional": true
}
]
}
],
"contentType": "repositoryInterface",
@ -4420,6 +4988,28 @@
"name": "Abp.Identity.Password.RequireDigit",
"summary": null
},
{
"defaultValue": "False",
"displayName": "Force users to periodically change password",
"description": "Whether users are forced to periodically change their password.",
"isVisibleToClient": true,
"isInherited": true,
"isEncrypted": false,
"contentType": "setting",
"name": "Abp.Identity.Password.ForceUsersToPeriodicallyChangePassword",
"summary": null
},
{
"defaultValue": "0",
"displayName": "Password change period(days)",
"description": "The number of days a user's password is valid for.",
"isVisibleToClient": true,
"isInherited": true,
"isEncrypted": false,
"contentType": "setting",
"name": "Abp.Identity.Password.PasswordChangePeriodDays",
"summary": null
},
{
"defaultValue": "True",
"displayName": "Enabled for new users",

83
modules/identity/src/Volo.Abp.Identity.EntityFrameworkCore/Volo.Abp.Identity.EntityFrameworkCore.abppkg.analyze.json

@ -1,6 +1,6 @@
{
"name": "Volo.Abp.Identity.EntityFrameworkCore",
"hash": "ed3635e7fd238a79369834f410ffbb2d",
"hash": "",
"contents": [
{
"namespace": "Volo.Abp.Identity.EntityFrameworkCore",
@ -67,86 +67,7 @@
{
"namespace": "Volo.Abp.Identity.EntityFrameworkCore",
"connectionStringName": "AbpIdentity",
"databaseTables": [
{
"entityFullName": "Volo.Abp.Identity.IdentityClaimType",
"contentType": "databaseTable",
"name": "AbpClaimTypes",
"summary": null
},
{
"entityFullName": "Volo.Abp.Identity.IdentityLinkUser",
"contentType": "databaseTable",
"name": "AbpLinkUsers",
"summary": null
},
{
"entityFullName": "Volo.Abp.Identity.IdentityRole",
"contentType": "databaseTable",
"name": "AbpRoles",
"summary": null
},
{
"entityFullName": "Volo.Abp.Identity.IdentityRoleClaim",
"contentType": "databaseTable",
"name": "AbpRoleClaims",
"summary": null
},
{
"entityFullName": "Volo.Abp.Identity.IdentitySecurityLog",
"contentType": "databaseTable",
"name": "AbpSecurityLogs",
"summary": null
},
{
"entityFullName": "Volo.Abp.Identity.IdentityUser",
"contentType": "databaseTable",
"name": "AbpUsers",
"summary": null
},
{
"entityFullName": "Volo.Abp.Identity.IdentityUserClaim",
"contentType": "databaseTable",
"name": "AbpUserClaims",
"summary": null
},
{
"entityFullName": "Volo.Abp.Identity.IdentityUserLogin",
"contentType": "databaseTable",
"name": "AbpUserLogins",
"summary": null
},
{
"entityFullName": "Volo.Abp.Identity.IdentityUserOrganizationUnit",
"contentType": "databaseTable",
"name": "AbpUserOrganizationUnits",
"summary": null
},
{
"entityFullName": "Volo.Abp.Identity.IdentityUserRole",
"contentType": "databaseTable",
"name": "AbpUserRoles",
"summary": null
},
{
"entityFullName": "Volo.Abp.Identity.IdentityUserToken",
"contentType": "databaseTable",
"name": "AbpUserTokens",
"summary": null
},
{
"entityFullName": "Volo.Abp.Identity.OrganizationUnit",
"contentType": "databaseTable",
"name": "AbpOrganizationUnits",
"summary": null
},
{
"entityFullName": "Volo.Abp.Identity.OrganizationUnitRole",
"contentType": "databaseTable",
"name": "AbpOrganizationUnitRoles",
"summary": null
}
],
"databaseTables": [],
"replacedDbContexts": [],
"implementingInterfaces": [
{

2
modules/identity/src/Volo.Abp.Identity.HttpApi.Client/Volo.Abp.Identity.HttpApi.Client.abppkg.analyze.json

@ -1,6 +1,6 @@
{
"name": "Volo.Abp.Identity.HttpApi.Client",
"hash": "18ff01998f875fb1e90eac63e2ce95db",
"hash": "",
"contents": [
{
"namespace": "Volo.Abp.Identity",

307
modules/identity/src/Volo.Abp.Identity.HttpApi/Volo.Abp.Identity.HttpApi.abppkg.analyze.json

@ -1,6 +1,6 @@
{
"name": "Volo.Abp.Identity.HttpApi",
"hash": "c699923fe0e6c7a289534c4ba7d16e40",
"hash": "",
"contents": [
{
"namespace": "Volo.Abp.Identity",
@ -63,6 +63,311 @@
"contentType": "abpModule",
"name": "AbpIdentityHttpApiModule",
"summary": null
},
{
"apis": [
{
"path": "api/identity/roles/all",
"method": "GET",
"groupName": "IdentityRole",
"responseType": "Volo.Abp.Application.Dtos.ListResultDto`1[Volo.Abp.Identity.IdentityRoleDto]",
"responseTypeAsJson": "",
"parameterDescriptions": []
},
{
"path": "api/identity/roles",
"method": "GET",
"groupName": "IdentityRole",
"responseType": "Volo.Abp.Application.Dtos.PagedResultDto`1[Volo.Abp.Identity.IdentityRoleDto]",
"responseTypeAsJson": "",
"parameterDescriptions": [
{
"name": "Filter",
"type": "String"
},
{
"name": "Sorting",
"type": "String"
},
{
"name": "SkipCount",
"type": "Int32"
},
{
"name": "MaxResultCount",
"type": "Int32"
}
]
},
{
"path": "api/identity/roles/{id}",
"method": "GET",
"groupName": "IdentityRole",
"responseType": "Volo.Abp.Identity.IdentityRoleDto",
"responseTypeAsJson": "",
"parameterDescriptions": [
{
"name": "id",
"type": "Guid"
}
]
},
{
"path": "api/identity/roles",
"method": "POST",
"groupName": "IdentityRole",
"responseType": "Volo.Abp.Identity.IdentityRoleDto",
"responseTypeAsJson": "",
"parameterDescriptions": [
{
"name": "input",
"type": "IdentityRoleCreateDto"
}
]
},
{
"path": "api/identity/roles/{id}",
"method": "PUT",
"groupName": "IdentityRole",
"responseType": "Volo.Abp.Identity.IdentityRoleDto",
"responseTypeAsJson": "",
"parameterDescriptions": [
{
"name": "id",
"type": "Guid"
},
{
"name": "input",
"type": "IdentityRoleUpdateDto"
}
]
},
{
"path": "api/identity/roles/{id}",
"method": "DELETE",
"groupName": "IdentityRole",
"responseType": "System.Void",
"responseTypeAsJson": "",
"parameterDescriptions": [
{
"name": "id",
"type": "Guid"
}
]
},
{
"path": "api/identity/users/{id}",
"method": "GET",
"groupName": "IdentityUser",
"responseType": "Volo.Abp.Identity.IdentityUserDto",
"responseTypeAsJson": "",
"parameterDescriptions": [
{
"name": "id",
"type": "Guid"
}
]
},
{
"path": "api/identity/users",
"method": "GET",
"groupName": "IdentityUser",
"responseType": "Volo.Abp.Application.Dtos.PagedResultDto`1[Volo.Abp.Identity.IdentityUserDto]",
"responseTypeAsJson": "",
"parameterDescriptions": [
{
"name": "Filter",
"type": "String"
},
{
"name": "Sorting",
"type": "String"
},
{
"name": "SkipCount",
"type": "Int32"
},
{
"name": "MaxResultCount",
"type": "Int32"
}
]
},
{
"path": "api/identity/users",
"method": "POST",
"groupName": "IdentityUser",
"responseType": "Volo.Abp.Identity.IdentityUserDto",
"responseTypeAsJson": "",
"parameterDescriptions": [
{
"name": "input",
"type": "IdentityUserCreateDto"
}
]
},
{
"path": "api/identity/users/{id}",
"method": "PUT",
"groupName": "IdentityUser",
"responseType": "Volo.Abp.Identity.IdentityUserDto",
"responseTypeAsJson": "",
"parameterDescriptions": [
{
"name": "id",
"type": "Guid"
},
{
"name": "input",
"type": "IdentityUserUpdateDto"
}
]
},
{
"path": "api/identity/users/{id}",
"method": "DELETE",
"groupName": "IdentityUser",
"responseType": "System.Void",
"responseTypeAsJson": "",
"parameterDescriptions": [
{
"name": "id",
"type": "Guid"
}
]
},
{
"path": "api/identity/users/{id}/roles",
"method": "GET",
"groupName": "IdentityUser",
"responseType": "Volo.Abp.Application.Dtos.ListResultDto`1[Volo.Abp.Identity.IdentityRoleDto]",
"responseTypeAsJson": "",
"parameterDescriptions": [
{
"name": "id",
"type": "Guid"
}
]
},
{
"path": "api/identity/users/assignable-roles",
"method": "GET",
"groupName": "IdentityUser",
"responseType": "Volo.Abp.Application.Dtos.ListResultDto`1[Volo.Abp.Identity.IdentityRoleDto]",
"responseTypeAsJson": "",
"parameterDescriptions": []
},
{
"path": "api/identity/users/{id}/roles",
"method": "PUT",
"groupName": "IdentityUser",
"responseType": "System.Void",
"responseTypeAsJson": "",
"parameterDescriptions": [
{
"name": "id",
"type": "Guid"
},
{
"name": "input",
"type": "IdentityUserUpdateRolesDto"
}
]
},
{
"path": "api/identity/users/by-username/{userName}",
"method": "GET",
"groupName": "IdentityUser",
"responseType": "Volo.Abp.Identity.IdentityUserDto",
"responseTypeAsJson": "",
"parameterDescriptions": [
{
"name": "userName",
"type": "String"
}
]
},
{
"path": "api/identity/users/by-email/{email}",
"method": "GET",
"groupName": "IdentityUser",
"responseType": "Volo.Abp.Identity.IdentityUserDto",
"responseTypeAsJson": "",
"parameterDescriptions": [
{
"name": "email",
"type": "String"
}
]
},
{
"path": "api/identity/users/lookup/{id}",
"method": "GET",
"groupName": "IdentityUserLookup",
"responseType": "Volo.Abp.Users.UserData",
"responseTypeAsJson": "",
"parameterDescriptions": [
{
"name": "id",
"type": "Guid"
}
]
},
{
"path": "api/identity/users/lookup/by-username/{userName}",
"method": "GET",
"groupName": "IdentityUserLookup",
"responseType": "Volo.Abp.Users.UserData",
"responseTypeAsJson": "",
"parameterDescriptions": [
{
"name": "userName",
"type": "String"
}
]
},
{
"path": "api/identity/users/lookup/search",
"method": "GET",
"groupName": "IdentityUserLookup",
"responseType": "Volo.Abp.Application.Dtos.ListResultDto`1[Volo.Abp.Users.UserData]",
"responseTypeAsJson": "",
"parameterDescriptions": [
{
"name": "Filter",
"type": "String"
},
{
"name": "Sorting",
"type": "String"
},
{
"name": "SkipCount",
"type": "Int32"
},
{
"name": "MaxResultCount",
"type": "Int32"
}
]
},
{
"path": "api/identity/users/lookup/count",
"method": "GET",
"groupName": "IdentityUserLookup",
"responseType": "System.Int64",
"responseTypeAsJson": "42",
"parameterDescriptions": [
{
"name": "Filter",
"type": "String"
}
]
}
],
"contentType": "httpApi",
"name": "Defined Http Apis",
"summary": null
}
]
}

28
modules/identity/src/Volo.Abp.Identity.MongoDB/Volo.Abp.Identity.MongoDB.abppkg.analyze.json

@ -1,6 +1,6 @@
{
"name": "Volo.Abp.Identity.MongoDB",
"hash": "a42f1167e4a0f3aa2f9ca919442cadd2",
"hash": "",
"contents": [
{
"namespace": "Volo.Abp.Identity.MongoDB",
@ -69,15 +69,21 @@
"connectionStringName": "AbpIdentity",
"databaseCollections": [
{
"entityFullName": "Volo.Abp.Identity.IdentitySecurityLog",
"entityFullName": "Volo.Abp.Identity.IdentityLinkUser",
"contentType": "databaseCollection",
"name": "AbpSecurityLogs",
"name": "AbpLinkUsers",
"summary": null
},
{
"entityFullName": "Volo.Abp.Identity.IdentityRole",
"entityFullName": "Volo.Abp.Identity.IdentityUserDelegation",
"contentType": "databaseCollection",
"name": "AbpRoles",
"name": "AbpUserDelegations",
"summary": null
},
{
"entityFullName": "Volo.Abp.Identity.IdentityClaimType",
"contentType": "databaseCollection",
"name": "AbpClaimTypes",
"summary": null
},
{
@ -87,21 +93,21 @@
"summary": null
},
{
"entityFullName": "Volo.Abp.Identity.IdentityClaimType",
"entityFullName": "Volo.Abp.Identity.IdentitySecurityLog",
"contentType": "databaseCollection",
"name": "AbpClaimTypes",
"name": "AbpSecurityLogs",
"summary": null
},
{
"entityFullName": "Volo.Abp.Identity.IdentityUser",
"entityFullName": "Volo.Abp.Identity.IdentityRole",
"contentType": "databaseCollection",
"name": "AbpUsers",
"name": "AbpRoles",
"summary": null
},
{
"entityFullName": "Volo.Abp.Identity.IdentityLinkUser",
"entityFullName": "Volo.Abp.Identity.IdentityUser",
"contentType": "databaseCollection",
"name": "AbpLinkUsers",
"name": "AbpUsers",
"summary": null
}
],

44
modules/identity/src/Volo.Abp.Identity.Web/Volo.Abp.Identity.Web.abppkg.analyze.json

@ -1,6 +1,6 @@
{
"name": "Volo.Abp.Identity.Web",
"hash": "b84ebef06353989f91edbffe534bc291",
"hash": "",
"contents": [
{
"namespace": "Volo.Abp.Identity.Web",
@ -73,6 +73,48 @@
"contentType": "abpModule",
"name": "AbpIdentityWebModule",
"summary": null
},
{
"apis": [],
"contentType": "httpApi",
"name": "Defined Http Apis",
"summary": null
},
{
"namespace": "Volo.Abp.Identity.Web.Pages.Identity.Users",
"contentType": "webPage",
"name": "CreateModalModel",
"summary": null
},
{
"namespace": "Volo.Abp.Identity.Web.Pages.Identity.Users",
"contentType": "webPage",
"name": "EditModalModel",
"summary": null
},
{
"namespace": "Volo.Abp.Identity.Web.Pages.Identity.Users",
"contentType": "webPage",
"name": "IndexModel",
"summary": null
},
{
"namespace": "Volo.Abp.Identity.Web.Pages.Identity.Roles",
"contentType": "webPage",
"name": "CreateModalModel",
"summary": null
},
{
"namespace": "Volo.Abp.Identity.Web.Pages.Identity.Roles",
"contentType": "webPage",
"name": "EditModalModel",
"summary": null
},
{
"namespace": "Volo.Abp.Identity.Web.Pages.Identity.Roles",
"contentType": "webPage",
"name": "IndexModel",
"summary": null
}
]
}

5
modules/setting-management/src/Volo.Abp.SettingManagement.Web/Settings/TimeZonePageContributor.cs

@ -10,6 +10,11 @@ namespace Volo.Abp.SettingManagement.Web.Settings;
public class TimeZonePageContributor : SettingPageContributorBase
{
public TimeZonePageContributor()
{
RequiredPermissions(SettingManagementPermissions.TimeZone);
}
public override Task ConfigureAsync(SettingPageCreationContext context)
{
var l = context.ServiceProvider.GetRequiredService<IStringLocalizer<AbpSettingManagementResource>>();

8
npm/ng-packs/packages/schematics/src/utils/generics.ts

@ -67,21 +67,23 @@ export function generateRefWithPlaceholders(sourceType: string) {
}
export function extractSimpleGenerics(sourceType: string) {
const { identifier, generics } = extractGenerics(sourceType);
const { identifier, generics, array } = extractGenerics(sourceType);
return {
identifier: getLastSegment(identifier),
generics: generics.map(getLastSegment),
array
};
}
export function extractGenerics(sourceType: string) {
const isArray = /\[\]$/.test(sourceType);
const regex = /(?<identifier>[^<]+)(<(?<generics>.+)>)?/g;
const { identifier = '', generics = '' } = regex.exec(sourceType)?.groups ?? {};
return {
return {
identifier,
generics: generics.split(/,\s*/).filter(Boolean),
array: isArray ? '[]':''
};
}

5
npm/ng-packs/packages/schematics/src/utils/rule.ts

@ -25,7 +25,10 @@ export function applyWithOverwrite(source: Source, rules: Rule[]): Rule {
export function mergeAndAllowDelete(host: Tree, rule: Rule) {
return async (tree: Tree, context: SchematicContext) => {
const nextTree = await callRule(rule, tree, context).toPromise();
if(!nextTree) return;
if(!nextTree) {
return;
}
host.merge(nextTree, MergeStrategy.AllowDeleteConflict);
};
}

6
npm/ng-packs/packages/schematics/src/utils/type.ts

@ -14,10 +14,8 @@ export function createTypeSimplifier() {
);
type = /any</.test(type) ? 'any' : type;
const { identifier, generics } = extractSimpleGenerics(type);
return generics.length ? `${identifier}<${generics.join(', ')}>` : identifier;
const { identifier, generics, array} = extractSimpleGenerics(type);
return generics.length ? `${identifier}<${generics.join(', ')}>${array}` : identifier;
});
return (type: string) => {

Loading…
Cancel
Save