Browse Source
Enhance Ghost comment mitigation Settings (#14392)
Enhance Ghost comment mitigation Settings (#14392)
* refactor models.DeleteComment and delete related reactions too * use deleteComment for UserDeleteWithCommentsMaxDays in DeleteUser * nits * Use time.Duration as other time settings have * docs * Resolve Fixme & fix potential deadlock * Disabled by Default * Update Config Value Description * switch args * Update models/issue_comment.go Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: zeripath <art27@cantab.net>mj-v1.14.3
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
14 changed files with 72 additions and 41 deletions
-
5custom/conf/app.example.ini
-
2docs/content/doc/advanced/config-cheat-sheet.en-us.md
-
2models/admin.go
-
2models/issue_assignees.go
-
20models/issue_comment.go
-
12models/issue_reaction.go
-
47models/user.go
-
5modules/setting/service.go
-
2options/locale/locale_en-US.ini
-
2routers/api/v1/repo/issue_comment.go
-
2routers/repo/issue.go
-
6routers/user/setting/account.go
-
4services/comments/comments.go
-
2templates/user/settings/account.tmpl
Write
Preview
Loading…
Cancel
Save
Reference in new issue