forgejo/models/activities
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
..
action.go [MODERATION] user blocking 2023-07-17 00:21:29 +02:00
action_list.go refactor some functions to support ctx as first parameter (#21878) 2022-12-03 10:48:26 +08:00
action_test.go Refactor setting.Database.UseXXX to methods (#23354) 2023-03-07 18:51:06 +08:00
main_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
notification.go [MODERATION] user blocking 2023-07-17 00:21:29 +02:00
notification_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
repo_activity.go Add context cache as a request level cache (#22294) 2023-02-15 21:37:34 +08:00
statistic.go Use a separate admin page to show global stats, remove actions stat (#25062) 2023-06-03 22:03:41 +08:00
user_heatmap.go Localize activity heatmap (except tooltip) (#24131) 2023-04-17 14:26:01 -04:00
user_heatmap_test.go Add pagination for dashboard and user activity feeds (#22937) 2023-02-24 16:15:10 -05:00