forgejo/services
Gusted 492ff6379a
[MODERATION] Purge issues on user deletion
- Forgejo has the option to delete users, in which all data except
issues and comments are removed, this makes sense in some cases where
users need to be removed cleanly but without removing their existing bug
reports or comments to an discussion. In the case of spammers, admins
have the option to enable purging, where comments are removed.
- Add issues to the list of things to be removed if purge is checked.
- No unit testing, as this gigantic function doesn't have one to begin
with.
- Add integration test.
- Resolves https://codeberg.org/forgejo/forgejo/issues/1268

(cherry picked from commit 3ed381c758)
(cherry picked from commit 44d00650ce)
(cherry picked from commit 7f4da82779)
(cherry picked from commit d629314def)

Conflicts:
	models/fixtures/issue.yml
	https://codeberg.org/forgejo/forgejo/pulls/1508
(cherry picked from commit 794dcc218f)
(cherry picked from commit c433f2ecb6)
(cherry picked from commit bb23683f4b)
(cherry picked from commit 634c5604d4)
2023-10-16 16:43:40 +02:00
..
actions Make Actions tasks/jobs timeouts configurable by the user (#27400) (#27402) 2023-10-03 10:26:35 +08:00
agit
asymkey
attachment [v1.21] [FEAT] allow setting the update date on issues and comments 2023-10-16 15:50:17 +02:00
auth [TESTS] oauth2: make it possible to use an alternate http.Client 2023-10-16 15:50:09 +02:00
automerge
context
convert [FEAT] add Forgero Git Service 2023-10-16 15:50:10 +02:00
cron Improve retrying index issues (#27554) (#27634) 2023-10-16 09:55:53 +08:00
externalaccount
feed
forgejo [UPGRADE] add sanity checks for [storage*] 2023-10-16 15:50:10 +02:00
forms
gitdiff
indexer Improve retrying index issues (#27554) (#27634) 2023-10-16 09:55:53 +08:00
issue [MODERATION] User blocking 2023-10-16 16:43:40 +02:00
lfs
mailer
markup
migrations
mirror
notify
org
packages
pull [MODERATION] User blocking 2023-10-16 16:43:40 +02:00
release
repository
secrets
task
uinotification
user [MODERATION] Purge issues on user deletion 2023-10-16 16:43:40 +02:00
webhook
wiki