]> source.dussan.org Git - gitea.git/commit
Implement ghost comment mitigation (#14349)
author6543 <6543@obermui.de>
Sun, 17 Jan 2021 20:48:38 +0000 (21:48 +0100)
committerGitHub <noreply@github.com>
Sun, 17 Jan 2021 20:48:38 +0000 (21:48 +0100)
commit21da519c0cd6e243888ebe573e3496e4eda01f10
treea4e2fe5cf6dae77091e8089fa6b98c8684b07fe1
parentca63a9d3f1120d8c76eb83ff1fd07e0992a683a8
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>
custom/conf/app.example.ini
docs/content/doc/advanced/config-cheat-sheet.en-us.md
models/user.go
modules/setting/service.go
options/locale/locale_en-US.ini
routers/user/setting/account.go
templates/user/settings/account.tmpl