1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-10-15 06:04:32 -04:00
gitea/models/issues
KN4CK3R c337ff0ec7
Add user blocking (#29028)
Fixes #17453

This PR adds the abbility to block a user from a personal account or
organization to restrict how the blocked user can interact with the
blocker. The docs explain what's the consequence of blocking a user.

Screenshots:


![grafik](https://github.com/go-gitea/gitea/assets/1666336/4ed884f3-e06a-4862-afd3-3b8aa2488dc6)


![grafik](https://github.com/go-gitea/gitea/assets/1666336/ae6d4981-f252-4f50-a429-04f0f9f1cdf1)


![grafik](https://github.com/go-gitea/gitea/assets/1666336/ca153599-5b0f-4b4a-90fe-18bdfd6f0b6b)

---------

Co-authored-by: Lauris BH <lauris@nix.lv>
2024-03-04 08:16:03 +00:00
..
assignees_test.go
assignees.go Add user blocking (#29028) 2024-03-04 08:16:03 +00:00
comment_code.go
comment_list.go Use ghost user if user was not found (#29161) 2024-02-14 17:31:51 +01:00
comment_test.go
comment.go remove util.OptionalBool and related functions (#29513) 2024-03-02 16:42:31 +01:00
content_history_test.go Fix issue & comment history bugs (#29525) 2024-03-01 16:46:02 +00:00
content_history.go Fix issue & comment history bugs (#29525) 2024-03-01 16:46:02 +00:00
dependency_test.go
dependency.go
issue_index.go
issue_label_test.go
issue_label.go
issue_list_test.go
issue_list.go
issue_lock.go
issue_project.go
issue_search.go remove util.OptionalBool and related functions (#29513) 2024-03-02 16:42:31 +01:00
issue_stats.go remove util.OptionalBool and related functions (#29513) 2024-03-02 16:42:31 +01:00
issue_test.go Allow non-admin users to delete review requests (#29057) 2024-02-24 12:38:43 +00:00
issue_update.go Add user blocking (#29028) 2024-03-04 08:16:03 +00:00
issue_user_test.go
issue_user.go
issue_watch_test.go
issue_watch.go
issue_xref_test.go
issue_xref.go Add user blocking (#29028) 2024-03-04 08:16:03 +00:00
issue.go Refactor some Str2html code (#29397) 2024-03-01 07:11:51 +00:00
label_test.go
label.go remove util.OptionalBool and related functions (#29513) 2024-03-02 16:42:31 +01:00
main_test.go
milestone_list.go remove util.OptionalBool and related functions (#29513) 2024-03-02 16:42:31 +01:00
milestone_test.go remove util.OptionalBool and related functions (#29513) 2024-03-02 16:42:31 +01:00
milestone.go remove util.OptionalBool and related functions (#29513) 2024-03-02 16:42:31 +01:00
pull_list.go
pull_test.go Add API to get merged PR of a commit (#29243) 2024-02-24 08:18:39 +00:00
pull.go Add API to get PR by base/head (#29242) 2024-02-26 02:39:01 +00:00
reaction.go Add user blocking (#29028) 2024-03-04 08:16:03 +00:00
review_list.go remove util.OptionalBool and related functions (#29513) 2024-03-02 16:42:31 +01:00
review_test.go
review.go Workaround to clean up old reviews on creating a new one (#28554) 2024-02-19 14:42:18 +01:00
stopwatch_test.go
stopwatch.go
tracked_time_test.go remove util.OptionalBool and related functions (#29513) 2024-03-02 16:42:31 +01:00
tracked_time.go remove util.OptionalBool and related functions (#29513) 2024-03-02 16:42:31 +01:00