forgejo/services/user
Gusted 5ff5460d28
[MODERATION] user blocking
- Add the ability to block a user via their profile page.
- This will unstar their repositories and visa versa.
- Blocked users cannot create issues or pull requests on your the doer's repositories (mind that this is not the case for organizations).
- Blocked users cannot comment on the doer's opened issues or pull requests.
- Blocked users cannot add reactions to doer's comments.
- Blocked users cannot cause a notification trough mentioning the doer.

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/540
(cherry picked from commit 687d852480)
(cherry picked from commit 0c32a4fde5)
(cherry picked from commit 1791130e3c)
(cherry picked from commit 00f411819f)
(cherry picked from commit e0c039b0e8)
(cherry picked from commit b5a058ef00)
2023-07-03 12:06:34 +02:00
..
avatar.go Refactor rename user and rename organization (#24052) 2023-05-21 23:13:47 +08:00
block.go [MODERATION] user blocking 2023-07-03 12:06:34 +02:00
delete.go [MODERATION] user blocking 2023-07-03 12:06:34 +02:00
user.go Refactor rename user and rename organization (#24052) 2023-05-21 23:13:47 +08:00
user_test.go Add context cache as a request level cache (#22294) 2023-02-15 21:37:34 +08:00