0ef40cfb5a
- 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 commit3ed381c758
) (cherry picked from commit44d00650ce
) (cherry picked from commit7f4da82779
) (cherry picked from commitd629314def
) Conflicts: models/fixtures/issue.yml https://codeberg.org/forgejo/forgejo/pulls/1508 (cherry picked from commit794dcc218f
) (cherry picked from commitc433f2ecb6
) (cherry picked from commitbb23683f4b
) (cherry picked from commit634c5604d4
) (cherry picked from commit219073f5c5
) (cherry picked from commit32893dbab1
)
27 lines
285 B
YAML
27 lines
285 B
YAML
-
|
|
group_id: 1
|
|
max_index: 5
|
|
-
|
|
group_id: 2
|
|
max_index: 2
|
|
-
|
|
group_id: 3
|
|
max_index: 2
|
|
-
|
|
group_id: 10
|
|
max_index: 2
|
|
-
|
|
group_id: 32
|
|
max_index: 2
|
|
-
|
|
group_id: 48
|
|
max_index: 1
|
|
-
|
|
group_id: 42
|
|
max_index: 1
|
|
-
|
|
group_id: 50
|
|
max_index: 1
|
|
-
|
|
group_id: 51
|
|
max_index: 1
|