feat(spam): Introduce checking new accounts, events & comments for spam with the help of Akismet

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2023-01-31 19:35:29 +01:00
parent 1db5c4ae2d
commit 317a3434b2
83 changed files with 7186 additions and 2394 deletions

View File

@@ -97,6 +97,7 @@ export interface IConfig {
features: {
eventCreation: boolean;
groups: boolean;
antispam: boolean;
};
restrictions: {
onlyAdminCanCreateGroups: boolean;

View File

@@ -291,3 +291,8 @@ export enum SearchTargets {
INTERNAL = "INTERNAL",
GLOBAL = "GLOBAL",
}
export enum AntiSpamFeedback {
HAM = "HAM",
SPAM = "SPAM",
}