added the concept of feature modes, these are the modes in which a feature can operate, its basically a separate way how the feature does it jobs, for example mod mail might log or it might not. bot of these are different modes

refactored services for feature flag and feature config
This commit is contained in:
Sheldan
2020-05-16 20:55:13 +02:00
parent cd80d27795
commit d2264937b2
35 changed files with 656 additions and 138 deletions

View File

@@ -1,9 +1,9 @@
abstracto.postTargets.moderation=joinLog,leaveLog,warnLog,kickLog,banLog,editLog,deleteLog,muteLog,decayLog
abstracto.features.moderation=false
abstracto.features.warnings=false
abstracto.features.warnDecay=false
abstracto.features.logging=false
abstracto.features.muting=false
abstracto.features.moderation.enabled=false
abstracto.features.warnings.enabled=false
abstracto.features.warnDecay.enabled=false
abstracto.features.logging.enabled=false
abstracto.features.muting.enabled=false
abstracto.warnings.warnDecay.days=90
abstracto.scheduling.jobs.unMuteJob.name=unMuteJob