mirror of https://github.com/abpframework/eventhub
146 changed files with 20294 additions and 2092 deletions
@ -0,0 +1,37 @@ |
|||
const { resolve } = require("path"); |
|||
const { readdir, rmdir } = require("fs").promises; |
|||
|
|||
async function* removeFolder(dir) { |
|||
await rmdir(dir, { recursive: true }); |
|||
yield dir; |
|||
} |
|||
|
|||
async function* getBinObj(dir) { |
|||
const dirents = await readdir(dir, { withFileTypes: true }); |
|||
|
|||
for (const dirent of dirents) { |
|||
if (!dirent.isDirectory()) continue; |
|||
const name = dirent.name; |
|||
|
|||
if (name === "node_modules") continue; |
|||
|
|||
const res = resolve(dir, dirent.name); |
|||
|
|||
if (name === "bin" || name === "obj") { |
|||
yield* removeFolder(res); |
|||
continue; |
|||
} |
|||
|
|||
yield* getBinObj(res); |
|||
} |
|||
} |
|||
|
|||
(async () => { |
|||
console.log("\x1b[36m%s\x1b[0m", "Deleting all BIN and OBJ folders..."); |
|||
|
|||
for await (const dir of getBinObj(".")) { |
|||
console.log("\x1b[33m%s\x1b[0m", `Removed: ${dir}`); |
|||
} |
|||
|
|||
console.log("\x1b[36m%s\x1b[0m", "All BIN and OBJ folders are deleted."); |
|||
})(); |
|||
@ -1,6 +1,6 @@ |
|||
{ |
|||
"sdk": { |
|||
"version": "5.0.201", |
|||
"version": "6.0.100-rc.1.21458.32", |
|||
"rollForward": "latestFeature" |
|||
} |
|||
} |
|||
|
|||
@ -1,4 +1,4 @@ |
|||
FROM mcr.microsoft.com/dotnet/aspnet:5.0 |
|||
COPY bin/Release/net5.0/publish/ app/ |
|||
FROM mcr.microsoft.com/dotnet/aspnet:6.0.0-rc.1-bullseye-slim |
|||
COPY bin/Release/net6.0/publish/ app/ |
|||
WORKDIR /app |
|||
ENTRYPOINT ["dotnet", "EventHub.Admin.HttpApi.Host.dll"] |
|||
@ -1,3 +1,3 @@ |
|||
FROM nginx:latest |
|||
COPY ./bin/Release/net5.0/publish/wwwroot/ /usr/share/nginx/html/ |
|||
COPY ./bin/Release/net6.0/publish/wwwroot/ /usr/share/nginx/html/ |
|||
COPY ./nginx.conf /etc/nginx/conf.d/default.conf |
|||
|
After Width: | Height: | Size: 184 KiB |
|
After Width: | Height: | Size: 544 KiB |
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -0,0 +1,12 @@ |
|||
using System; |
|||
using Volo.Abp.Application.Dtos; |
|||
|
|||
namespace EventHub.Organizations |
|||
{ |
|||
public class OrganizationDto : EntityDto<Guid> |
|||
{ |
|||
public string Name { get; set; } |
|||
|
|||
public string DisplayName { get; set; } |
|||
} |
|||
} |
|||
@ -1,4 +1,4 @@ |
|||
FROM mcr.microsoft.com/dotnet/aspnet:5.0 |
|||
COPY bin/Release/net5.0/ app/ |
|||
FROM mcr.microsoft.com/dotnet/aspnet:6.0.0-rc.1-bullseye-slim |
|||
COPY bin/Release/net6.0/ app/ |
|||
WORKDIR /app |
|||
ENTRYPOINT ["dotnet", "EventHub.BackgroundServices.dll"] |
|||
@ -1,4 +1,4 @@ |
|||
FROM mcr.microsoft.com/dotnet/aspnet:5.0 |
|||
COPY bin/Release/net5.0/ app/ |
|||
FROM mcr.microsoft.com/dotnet/aspnet:6.0.0-rc.1-bullseye-slim |
|||
COPY bin/Release/net6.0/ app/ |
|||
WORKDIR /app |
|||
ENTRYPOINT ["dotnet", "EventHub.DbMigrator.dll"] |
|||
@ -1,26 +1,27 @@ |
|||
<Project Sdk="Microsoft.NET.Sdk"> |
|||
<Project Sdk="Microsoft.NET.Sdk"> |
|||
|
|||
<Import Project="..\..\common.props" /> |
|||
|
|||
<PropertyGroup> |
|||
<TargetFramework>net5.0</TargetFramework> |
|||
<TargetFramework>net6.0</TargetFramework> |
|||
<RootNamespace>EventHub</RootNamespace> |
|||
</PropertyGroup> |
|||
|
|||
<ItemGroup> |
|||
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="5.0.*" /> |
|||
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="6.0.0-rc.1.*" /> |
|||
</ItemGroup> |
|||
|
|||
<ItemGroup> |
|||
<PackageReference Include="Volo.Abp.BlobStoring.Database.EntityFrameworkCore" Version="4.4.0-rc.1" /> |
|||
<PackageReference Include="Volo.Abp.BlobStoring.Database.EntityFrameworkCore" Version="5.0.0-beta.1" /> |
|||
<ProjectReference Include="..\EventHub.Domain\EventHub.Domain.csproj" /> |
|||
<PackageReference Include="Volo.Abp.EntityFrameworkCore.PostgreSql" Version="4.4.0-rc.1" /> |
|||
<PackageReference Include="Volo.Abp.PermissionManagement.EntityFrameworkCore" Version="4.4.0-rc.1" /> |
|||
<PackageReference Include="Volo.Abp.SettingManagement.EntityFrameworkCore" Version="4.4.0-rc.1" /> |
|||
<PackageReference Include="Volo.Abp.Identity.EntityFrameworkCore" Version="4.4.0-rc.1" /> |
|||
<PackageReference Include="Volo.Abp.IdentityServer.EntityFrameworkCore" Version="4.4.0-rc.1" /> |
|||
<PackageReference Include="Volo.Abp.BackgroundJobs.EntityFrameworkCore" Version="4.4.0-rc.1" /> |
|||
<PackageReference Include="Volo.Abp.AuditLogging.EntityFrameworkCore" Version="4.4.0-rc.1" /> |
|||
<PackageReference Include="Volo.Abp.EntityFrameworkCore.PostgreSql" Version="5.0.0-beta.1" /> |
|||
<PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="6.0.0-rc.*" /> |
|||
<PackageReference Include="Volo.Abp.PermissionManagement.EntityFrameworkCore" Version="5.0.0-beta.1" /> |
|||
<PackageReference Include="Volo.Abp.SettingManagement.EntityFrameworkCore" Version="5.0.0-beta.1" /> |
|||
<PackageReference Include="Volo.Abp.Identity.EntityFrameworkCore" Version="5.0.0-beta.1" /> |
|||
<PackageReference Include="Volo.Abp.IdentityServer.EntityFrameworkCore" Version="5.0.0-beta.1" /> |
|||
<PackageReference Include="Volo.Abp.BackgroundJobs.EntityFrameworkCore" Version="5.0.0-beta.1" /> |
|||
<PackageReference Include="Volo.Abp.AuditLogging.EntityFrameworkCore" Version="5.0.0-beta.1" /> |
|||
</ItemGroup> |
|||
|
|||
</Project> |
|||
|
|||
File diff suppressed because it is too large
@ -0,0 +1,773 @@ |
|||
using System; |
|||
using Microsoft.EntityFrameworkCore.Migrations; |
|||
|
|||
#nullable disable |
|||
|
|||
namespace EventHub.Migrations |
|||
{ |
|||
public partial class Added_IsActive_To_IdentityUser : Migration |
|||
{ |
|||
protected override void Up(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "Expiration", |
|||
table: "IdentityServerPersistedGrants", |
|||
type: "timestamp with time zone", |
|||
nullable: true, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "timestamp without time zone", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "CreationTime", |
|||
table: "IdentityServerPersistedGrants", |
|||
type: "timestamp with time zone", |
|||
nullable: false, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "timestamp without time zone"); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "ConsumedTime", |
|||
table: "IdentityServerPersistedGrants", |
|||
type: "timestamp with time zone", |
|||
nullable: true, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "timestamp without time zone", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "LastModificationTime", |
|||
table: "IdentityServerIdentityResources", |
|||
type: "timestamp with time zone", |
|||
nullable: true, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "timestamp without time zone", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "DeletionTime", |
|||
table: "IdentityServerIdentityResources", |
|||
type: "timestamp with time zone", |
|||
nullable: true, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "timestamp without time zone", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "CreationTime", |
|||
table: "IdentityServerIdentityResources", |
|||
type: "timestamp with time zone", |
|||
nullable: false, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "timestamp without time zone"); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "Expiration", |
|||
table: "IdentityServerDeviceFlowCodes", |
|||
type: "timestamp with time zone", |
|||
nullable: false, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "timestamp without time zone"); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "CreationTime", |
|||
table: "IdentityServerDeviceFlowCodes", |
|||
type: "timestamp with time zone", |
|||
nullable: false, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "timestamp without time zone"); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "Expiration", |
|||
table: "IdentityServerClientSecrets", |
|||
type: "timestamp with time zone", |
|||
nullable: true, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "timestamp without time zone", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "LastModificationTime", |
|||
table: "IdentityServerClients", |
|||
type: "timestamp with time zone", |
|||
nullable: true, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "timestamp without time zone", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "DeletionTime", |
|||
table: "IdentityServerClients", |
|||
type: "timestamp with time zone", |
|||
nullable: true, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "timestamp without time zone", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "CreationTime", |
|||
table: "IdentityServerClients", |
|||
type: "timestamp with time zone", |
|||
nullable: false, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "timestamp without time zone"); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "LastModificationTime", |
|||
table: "IdentityServerApiScopes", |
|||
type: "timestamp with time zone", |
|||
nullable: true, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "timestamp without time zone", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "DeletionTime", |
|||
table: "IdentityServerApiScopes", |
|||
type: "timestamp with time zone", |
|||
nullable: true, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "timestamp without time zone", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "CreationTime", |
|||
table: "IdentityServerApiScopes", |
|||
type: "timestamp with time zone", |
|||
nullable: false, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "timestamp without time zone"); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "Expiration", |
|||
table: "IdentityServerApiResourceSecrets", |
|||
type: "timestamp with time zone", |
|||
nullable: true, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "timestamp without time zone", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "LastModificationTime", |
|||
table: "IdentityServerApiResources", |
|||
type: "timestamp with time zone", |
|||
nullable: true, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "timestamp without time zone", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "DeletionTime", |
|||
table: "IdentityServerApiResources", |
|||
type: "timestamp with time zone", |
|||
nullable: true, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "timestamp without time zone", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "CreationTime", |
|||
table: "IdentityServerApiResources", |
|||
type: "timestamp with time zone", |
|||
nullable: false, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "timestamp without time zone"); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "LastModificationTime", |
|||
table: "EhOrganizations", |
|||
type: "timestamp with time zone", |
|||
nullable: true, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "timestamp without time zone", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "DeletionTime", |
|||
table: "EhOrganizations", |
|||
type: "timestamp with time zone", |
|||
nullable: true, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "timestamp without time zone", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "CreationTime", |
|||
table: "EhOrganizations", |
|||
type: "timestamp with time zone", |
|||
nullable: false, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "timestamp without time zone"); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "CreationTime", |
|||
table: "EhOrganizationMemberships", |
|||
type: "timestamp with time zone", |
|||
nullable: false, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "timestamp without time zone"); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "StartTime", |
|||
table: "EhEvents", |
|||
type: "timestamp with time zone", |
|||
nullable: false, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "timestamp without time zone"); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "LastModificationTime", |
|||
table: "EhEvents", |
|||
type: "timestamp with time zone", |
|||
nullable: true, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "timestamp without time zone", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "EndTime", |
|||
table: "EhEvents", |
|||
type: "timestamp with time zone", |
|||
nullable: false, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "timestamp without time zone"); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "DeletionTime", |
|||
table: "EhEvents", |
|||
type: "timestamp with time zone", |
|||
nullable: true, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "timestamp without time zone", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "CreationTime", |
|||
table: "EhEvents", |
|||
type: "timestamp with time zone", |
|||
nullable: false, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "timestamp without time zone"); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "CreationTime", |
|||
table: "EhEventRegistrations", |
|||
type: "timestamp with time zone", |
|||
nullable: false, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "timestamp without time zone"); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "LastModificationTime", |
|||
table: "AbpUsers", |
|||
type: "timestamp with time zone", |
|||
nullable: true, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "timestamp without time zone", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "DeletionTime", |
|||
table: "AbpUsers", |
|||
type: "timestamp with time zone", |
|||
nullable: true, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "timestamp without time zone", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "CreationTime", |
|||
table: "AbpUsers", |
|||
type: "timestamp with time zone", |
|||
nullable: false, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "timestamp without time zone"); |
|||
|
|||
migrationBuilder.AddColumn<bool>( |
|||
name: "IsActive", |
|||
table: "AbpUsers", |
|||
type: "boolean", |
|||
nullable: false, |
|||
defaultValue: true); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "CreationTime", |
|||
table: "AbpUserOrganizationUnits", |
|||
type: "timestamp with time zone", |
|||
nullable: false, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "timestamp without time zone"); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "CreationTime", |
|||
table: "AbpSecurityLogs", |
|||
type: "timestamp with time zone", |
|||
nullable: false, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "timestamp without time zone"); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "LastModificationTime", |
|||
table: "AbpOrganizationUnits", |
|||
type: "timestamp with time zone", |
|||
nullable: true, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "timestamp without time zone", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "DeletionTime", |
|||
table: "AbpOrganizationUnits", |
|||
type: "timestamp with time zone", |
|||
nullable: true, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "timestamp without time zone", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "CreationTime", |
|||
table: "AbpOrganizationUnits", |
|||
type: "timestamp with time zone", |
|||
nullable: false, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "timestamp without time zone"); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "CreationTime", |
|||
table: "AbpOrganizationUnitRoles", |
|||
type: "timestamp with time zone", |
|||
nullable: false, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "timestamp without time zone"); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "ChangeTime", |
|||
table: "AbpEntityChanges", |
|||
type: "timestamp with time zone", |
|||
nullable: false, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "timestamp without time zone"); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "NextTryTime", |
|||
table: "AbpBackgroundJobs", |
|||
type: "timestamp with time zone", |
|||
nullable: false, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "timestamp without time zone"); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "LastTryTime", |
|||
table: "AbpBackgroundJobs", |
|||
type: "timestamp with time zone", |
|||
nullable: true, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "timestamp without time zone", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "CreationTime", |
|||
table: "AbpBackgroundJobs", |
|||
type: "timestamp with time zone", |
|||
nullable: false, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "timestamp without time zone"); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "ExecutionTime", |
|||
table: "AbpAuditLogs", |
|||
type: "timestamp with time zone", |
|||
nullable: false, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "timestamp without time zone"); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "ExecutionTime", |
|||
table: "AbpAuditLogActions", |
|||
type: "timestamp with time zone", |
|||
nullable: false, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "timestamp without time zone"); |
|||
} |
|||
|
|||
protected override void Down(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.DropColumn( |
|||
name: "IsActive", |
|||
table: "AbpUsers"); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "Expiration", |
|||
table: "IdentityServerPersistedGrants", |
|||
type: "timestamp without time zone", |
|||
nullable: true, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "timestamp with time zone", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "CreationTime", |
|||
table: "IdentityServerPersistedGrants", |
|||
type: "timestamp without time zone", |
|||
nullable: false, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "timestamp with time zone"); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "ConsumedTime", |
|||
table: "IdentityServerPersistedGrants", |
|||
type: "timestamp without time zone", |
|||
nullable: true, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "timestamp with time zone", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "LastModificationTime", |
|||
table: "IdentityServerIdentityResources", |
|||
type: "timestamp without time zone", |
|||
nullable: true, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "timestamp with time zone", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "DeletionTime", |
|||
table: "IdentityServerIdentityResources", |
|||
type: "timestamp without time zone", |
|||
nullable: true, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "timestamp with time zone", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "CreationTime", |
|||
table: "IdentityServerIdentityResources", |
|||
type: "timestamp without time zone", |
|||
nullable: false, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "timestamp with time zone"); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "Expiration", |
|||
table: "IdentityServerDeviceFlowCodes", |
|||
type: "timestamp without time zone", |
|||
nullable: false, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "timestamp with time zone"); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "CreationTime", |
|||
table: "IdentityServerDeviceFlowCodes", |
|||
type: "timestamp without time zone", |
|||
nullable: false, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "timestamp with time zone"); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "Expiration", |
|||
table: "IdentityServerClientSecrets", |
|||
type: "timestamp without time zone", |
|||
nullable: true, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "timestamp with time zone", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "LastModificationTime", |
|||
table: "IdentityServerClients", |
|||
type: "timestamp without time zone", |
|||
nullable: true, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "timestamp with time zone", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "DeletionTime", |
|||
table: "IdentityServerClients", |
|||
type: "timestamp without time zone", |
|||
nullable: true, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "timestamp with time zone", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "CreationTime", |
|||
table: "IdentityServerClients", |
|||
type: "timestamp without time zone", |
|||
nullable: false, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "timestamp with time zone"); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "LastModificationTime", |
|||
table: "IdentityServerApiScopes", |
|||
type: "timestamp without time zone", |
|||
nullable: true, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "timestamp with time zone", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "DeletionTime", |
|||
table: "IdentityServerApiScopes", |
|||
type: "timestamp without time zone", |
|||
nullable: true, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "timestamp with time zone", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "CreationTime", |
|||
table: "IdentityServerApiScopes", |
|||
type: "timestamp without time zone", |
|||
nullable: false, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "timestamp with time zone"); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "Expiration", |
|||
table: "IdentityServerApiResourceSecrets", |
|||
type: "timestamp without time zone", |
|||
nullable: true, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "timestamp with time zone", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "LastModificationTime", |
|||
table: "IdentityServerApiResources", |
|||
type: "timestamp without time zone", |
|||
nullable: true, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "timestamp with time zone", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "DeletionTime", |
|||
table: "IdentityServerApiResources", |
|||
type: "timestamp without time zone", |
|||
nullable: true, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "timestamp with time zone", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "CreationTime", |
|||
table: "IdentityServerApiResources", |
|||
type: "timestamp without time zone", |
|||
nullable: false, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "timestamp with time zone"); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "LastModificationTime", |
|||
table: "EhOrganizations", |
|||
type: "timestamp without time zone", |
|||
nullable: true, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "timestamp with time zone", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "DeletionTime", |
|||
table: "EhOrganizations", |
|||
type: "timestamp without time zone", |
|||
nullable: true, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "timestamp with time zone", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "CreationTime", |
|||
table: "EhOrganizations", |
|||
type: "timestamp without time zone", |
|||
nullable: false, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "timestamp with time zone"); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "CreationTime", |
|||
table: "EhOrganizationMemberships", |
|||
type: "timestamp without time zone", |
|||
nullable: false, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "timestamp with time zone"); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "StartTime", |
|||
table: "EhEvents", |
|||
type: "timestamp without time zone", |
|||
nullable: false, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "timestamp with time zone"); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "LastModificationTime", |
|||
table: "EhEvents", |
|||
type: "timestamp without time zone", |
|||
nullable: true, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "timestamp with time zone", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "EndTime", |
|||
table: "EhEvents", |
|||
type: "timestamp without time zone", |
|||
nullable: false, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "timestamp with time zone"); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "DeletionTime", |
|||
table: "EhEvents", |
|||
type: "timestamp without time zone", |
|||
nullable: true, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "timestamp with time zone", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "CreationTime", |
|||
table: "EhEvents", |
|||
type: "timestamp without time zone", |
|||
nullable: false, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "timestamp with time zone"); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "CreationTime", |
|||
table: "EhEventRegistrations", |
|||
type: "timestamp without time zone", |
|||
nullable: false, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "timestamp with time zone"); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "LastModificationTime", |
|||
table: "AbpUsers", |
|||
type: "timestamp without time zone", |
|||
nullable: true, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "timestamp with time zone", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "DeletionTime", |
|||
table: "AbpUsers", |
|||
type: "timestamp without time zone", |
|||
nullable: true, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "timestamp with time zone", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "CreationTime", |
|||
table: "AbpUsers", |
|||
type: "timestamp without time zone", |
|||
nullable: false, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "timestamp with time zone"); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "CreationTime", |
|||
table: "AbpUserOrganizationUnits", |
|||
type: "timestamp without time zone", |
|||
nullable: false, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "timestamp with time zone"); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "CreationTime", |
|||
table: "AbpSecurityLogs", |
|||
type: "timestamp without time zone", |
|||
nullable: false, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "timestamp with time zone"); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "LastModificationTime", |
|||
table: "AbpOrganizationUnits", |
|||
type: "timestamp without time zone", |
|||
nullable: true, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "timestamp with time zone", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "DeletionTime", |
|||
table: "AbpOrganizationUnits", |
|||
type: "timestamp without time zone", |
|||
nullable: true, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "timestamp with time zone", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "CreationTime", |
|||
table: "AbpOrganizationUnits", |
|||
type: "timestamp without time zone", |
|||
nullable: false, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "timestamp with time zone"); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "CreationTime", |
|||
table: "AbpOrganizationUnitRoles", |
|||
type: "timestamp without time zone", |
|||
nullable: false, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "timestamp with time zone"); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "ChangeTime", |
|||
table: "AbpEntityChanges", |
|||
type: "timestamp without time zone", |
|||
nullable: false, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "timestamp with time zone"); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "NextTryTime", |
|||
table: "AbpBackgroundJobs", |
|||
type: "timestamp without time zone", |
|||
nullable: false, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "timestamp with time zone"); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "LastTryTime", |
|||
table: "AbpBackgroundJobs", |
|||
type: "timestamp without time zone", |
|||
nullable: true, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "timestamp with time zone", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "CreationTime", |
|||
table: "AbpBackgroundJobs", |
|||
type: "timestamp without time zone", |
|||
nullable: false, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "timestamp with time zone"); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "ExecutionTime", |
|||
table: "AbpAuditLogs", |
|||
type: "timestamp without time zone", |
|||
nullable: false, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "timestamp with time zone"); |
|||
|
|||
migrationBuilder.AlterColumn<DateTime>( |
|||
name: "ExecutionTime", |
|||
table: "AbpAuditLogActions", |
|||
type: "timestamp without time zone", |
|||
nullable: false, |
|||
oldClrType: typeof(DateTime), |
|||
oldType: "timestamp with time zone"); |
|||
} |
|||
} |
|||
} |
|||
@ -1,4 +1,4 @@ |
|||
FROM mcr.microsoft.com/dotnet/aspnet:5.0 |
|||
COPY bin/Release/net5.0/publish/ app/ |
|||
FROM mcr.microsoft.com/dotnet/aspnet:6.0.0-rc.1-bullseye-slim |
|||
COPY bin/Release/net6.0/publish/ app/ |
|||
WORKDIR /app |
|||
ENTRYPOINT ["dotnet", "EventHub.HttpApi.Host.dll"] |
|||
|
After Width: | Height: | Size: 184 KiB |
|
After Width: | Height: | Size: 544 KiB |
@ -1,4 +1,4 @@ |
|||
FROM mcr.microsoft.com/dotnet/aspnet:5.0 |
|||
COPY bin/Release/net5.0/publish/ app/ |
|||
FROM mcr.microsoft.com/dotnet/aspnet:6.0.0-rc.1-bullseye-slim |
|||
COPY bin/Release/net6.0/publish/ app/ |
|||
WORKDIR /app |
|||
ENTRYPOINT ["dotnet", "EventHub.IdentityServer.dll"] |
|||
@ -0,0 +1,35 @@ |
|||
page "/Account/LoggedOut" |
|||
@model Volo.Abp.Account.Web.Pages.Account.LoggedOutModel |
|||
@using Volo.Abp.Account.Localization |
|||
@using Microsoft.AspNetCore.Mvc.Localization |
|||
@using Volo.Abp.Account.Web.Pages.Account |
|||
@using Volo.Abp.AspNetCore.Mvc.UI.Theming |
|||
@inject IThemeManager ThemeManager |
|||
@inject IHtmlLocalizer<AccountResource> L |
|||
@{ |
|||
Layout = ThemeManager.CurrentTheme.GetApplicationLayout(); |
|||
} |
|||
@section scripts { |
|||
<abp-script-bundle name="@typeof(LoggedOutModel).FullName"> |
|||
<abp-script src="/Pages/Account/LoggedOut.js" /> |
|||
</abp-script-bundle> |
|||
} |
|||
|
|||
@section styles { |
|||
<abp-style src="/Pages/Account/LoggedOut.css" /> |
|||
} |
|||
|
|||
<abp-card class="loggedOutCard"> |
|||
<abp-card-body> |
|||
<abp-card-title>@L["LoggedOutTitle"]</abp-card-title> |
|||
<abp-card-text>@L["LoggedOutText"]</abp-card-text> |
|||
@if (Model.PostLogoutRedirectUri != null) |
|||
{ |
|||
<a abp-button="Primary" id="redirectButton" href="@Model.PostLogoutRedirectUri" cname="@Model.ClientName">@L["ReturnToText"]</a> |
|||
} |
|||
@if (Model.SignOutIframeUrl != null) |
|||
{ |
|||
<iframe class="signout logoutiframe" src="@Model.SignOutIframeUrl"></iframe> |
|||
} |
|||
</abp-card-body> |
|||
</abp-card> |
|||
@ -0,0 +1,14 @@ |
|||
.logoutiframe { |
|||
display: none; |
|||
width: 0; |
|||
height: 0; |
|||
} |
|||
|
|||
.loggedOutCard { |
|||
max-width: 64rem; |
|||
position: absolute; |
|||
top: 50%; |
|||
left: 50%; |
|||
margin-right: -50%; |
|||
transform: translate(-50%, -50%) |
|||
} |
|||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
File diff suppressed because it is too large
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Some files were not shown because too many files changed in this diff
Loading…
Reference in new issue