forgejo/routers
Gusted e2f1b73752
[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 37858b7e8f)
(cherry picked from commit a3e2bfd7e9)
(cherry picked from commit 7009b9fe87)

Conflicts: https://codeberg.org/forgejo/forgejo/pulls/1014
	routers/web/user/profile.go
	templates/user/profile.tmpl
(cherry picked from commit b2aec34791)
2023-07-17 00:21:29 +02:00
..
api [MODERATION] user blocking 2023-07-17 00:21:29 +02:00
common Less naked returns (#25713) 2023-07-07 05:31:56 +00:00
install Show correct SSL Mode on "install page" (#25818) 2023-07-11 18:09:23 -04:00
private [CLI] implement forgejo-cli actions register 2023-07-16 23:15:13 +02:00
utils Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
web [MODERATION] user blocking 2023-07-17 00:21:29 +02:00
init.go [TESTS] testMiddlewareHook, dependency injection in integration tests 2023-07-16 23:40:30 +02:00