mirror of https://github.com/abpframework/abp.git
42 changed files with 159 additions and 1382 deletions
@ -1,32 +0,0 @@ |
|||
using System; |
|||
using Microsoft.EntityFrameworkCore.Migrations; |
|||
|
|||
namespace Volo.CmsKit.Migrations |
|||
{ |
|||
public partial class Reaction_Comment_Multitenancy : Migration |
|||
{ |
|||
protected override void Up(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.AddColumn<Guid>( |
|||
name: "TenantId", |
|||
table: "CmsUserReactions", |
|||
nullable: true); |
|||
|
|||
migrationBuilder.AddColumn<Guid>( |
|||
name: "TenantId", |
|||
table: "CmsComments", |
|||
nullable: true); |
|||
} |
|||
|
|||
protected override void Down(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.DropColumn( |
|||
name: "TenantId", |
|||
table: "CmsUserReactions"); |
|||
|
|||
migrationBuilder.DropColumn( |
|||
name: "TenantId", |
|||
table: "CmsComments"); |
|||
} |
|||
} |
|||
} |
|||
File diff suppressed because it is too large
@ -0,0 +1,9 @@ |
|||
namespace Volo.CmsKit.Entities |
|||
{ |
|||
public class CmsEntityConsts |
|||
{ |
|||
public static int MaxEntityTypeLength { get; set; } = 64; |
|||
|
|||
public static int MaxEntityIdLength { get; set; } = 64; |
|||
} |
|||
} |
|||
@ -1,5 +0,0 @@ |
|||
{ |
|||
"culture": "cs", |
|||
"texts": { |
|||
} |
|||
} |
|||
@ -1,6 +0,0 @@ |
|||
{ |
|||
"culture": "pl-PL", |
|||
"texts": { |
|||
|
|||
} |
|||
} |
|||
@ -1,6 +0,0 @@ |
|||
{ |
|||
"culture": "pt-BR", |
|||
"texts": { |
|||
|
|||
} |
|||
} |
|||
@ -1,5 +0,0 @@ |
|||
{ |
|||
"culture": "sl", |
|||
"texts": { |
|||
} |
|||
} |
|||
@ -1,6 +1,18 @@ |
|||
{ |
|||
"culture": "tr", |
|||
"texts": { |
|||
"PickYourReaction": "Tepkinizi seçin" |
|||
"PickYourReaction": "Tepkinizi seçin", |
|||
"YourComment": "Yorumunuz", |
|||
"YourReply": "Cevabınız", |
|||
"Comments": "Yorumlar", |
|||
"Send": "Gönder", |
|||
"Delete": "Sil", |
|||
"Reply": "Cevapla", |
|||
"Update": "Güncelle", |
|||
"Edit": "Düzenle", |
|||
"LoginToAddComment": "Yorum yapmak için giriş yap", |
|||
"LoginToReply": "Cevap vermek için giriş yap", |
|||
"MessageDeletionConfirmationMessage": "Bu yorum tamamen silinecektir", |
|||
"CommentAuthorizationExceptionMessage": "Bu yorumları görebilmek için yetki gerekir." |
|||
} |
|||
} |
|||
|
|||
@ -1,5 +0,0 @@ |
|||
{ |
|||
"culture": "vi", |
|||
"texts": { |
|||
} |
|||
} |
|||
@ -1,5 +0,0 @@ |
|||
{ |
|||
"culture": "zh-Hans", |
|||
"texts": { |
|||
} |
|||
} |
|||
@ -1,5 +0,0 @@ |
|||
{ |
|||
"culture": "zh-Hant", |
|||
"texts": { |
|||
} |
|||
} |
|||
@ -1,11 +1,13 @@ |
|||
namespace Volo.CmsKit.Reactions |
|||
using Volo.CmsKit.Entities; |
|||
|
|||
namespace Volo.CmsKit.Reactions |
|||
{ |
|||
public static class UserReactionConsts |
|||
{ |
|||
public static int EntityTypeLength { get; set; } = 64; |
|||
public static int MaxEntityTypeLength { get; set; } = CmsEntityConsts.MaxEntityTypeLength; |
|||
|
|||
public static int EntityIdLength { get; set; } = 64; |
|||
public static int MaxEntityIdLength { get; set; } = CmsEntityConsts.MaxEntityIdLength; |
|||
|
|||
public static int ReactionNameLength { get; set; } = 32; |
|||
public static int MaxReactionNameLength { get; set; } = 32; |
|||
} |
|||
} |
|||
|
|||
Loading…
Reference in new issue