Implement ghost comment mitigation (#14349)
* Implement ghost comment mitigation Adds a config option USER_DELETE_WITH_COMMENTS_MAX_DAYS to the [service] section. See https://codeberg.org/Codeberg/Discussion/issues/24 for the underlying issue. * cleanup * use setting module correctly * add to docs Co-authored-by: Moritz Marquardt <git@momar.de>
This commit is contained in:
parent
ca63a9d3f1
commit
21da519c0c
7 changed files with 27 additions and 1 deletions
|
@ -688,6 +688,9 @@ AUTO_WATCH_NEW_REPOS = true
|
|||
; Default value for AutoWatchOnChanges
|
||||
; Make the user watch a repository When they commit for the first time
|
||||
AUTO_WATCH_ON_CHANGES = false
|
||||
; Default value for the minimum age a user has to exist before deletion to keep issue comments.
|
||||
; If a user deletes his account before that amount of days, his comments will be deleted as well.
|
||||
USER_DELETE_WITH_COMMENTS_MAX_DAYS = 0
|
||||
|
||||
[webhook]
|
||||
; Hook task queue length, increase if webhook shooting starts hanging
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue