1
1
mirror of https://github.com/go-gitea/gitea synced 2024-11-02 08:14:25 +00:00
gitea/routers/api/v1/repo
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
..
action.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
avatar.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
blob.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
branch.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
collaborators.go Add user blocking (#29028) 2024-03-04 08:16:03 +00:00
commits.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
file.go Fix missed return (#29450) 2024-02-27 15:09:13 +00:00
fork.go Add user blocking (#29028) 2024-03-04 08:16:03 +00:00
git_hook.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
git_ref.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
hook_test.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
hook.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
issue_attachment.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
issue_comment_attachment.go Add user blocking (#29028) 2024-03-04 08:16:03 +00:00
issue_comment.go Add user blocking (#29028) 2024-03-04 08:16:03 +00:00
issue_dependency.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
issue_label.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
issue_pin.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
issue_reaction.go Add user blocking (#29028) 2024-03-04 08:16:03 +00:00
issue_stopwatch.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
issue_subscription.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
issue_tracked_time.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
issue.go Add user blocking (#29028) 2024-03-04 08:16:03 +00:00
key.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
label.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
language.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
main_test.go make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
migrate.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
milestone.go remove util.OptionalBool and related functions (#29513) 2024-03-02 16:42:31 +01:00
mirror.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
notes.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
patch.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
pull_review.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
pull.go Add user blocking (#29028) 2024-03-04 08:16:03 +00:00
release_attachment.go Add support for API blob upload of release attachments (#29507) 2024-03-02 17:02:01 +00:00
release_tags.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
release.go Fix 500 when pushing release to an empty repo (#29554) 2024-03-03 16:49:05 +00:00
repo_test.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
repo.go Enable/disable owner and repo projects independently (#28805) 2024-03-04 02:56:52 +00:00
runners.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
star.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
status.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
subscriber.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
tag.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
teams.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
topic.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
transfer.go Add user blocking (#29028) 2024-03-04 08:16:03 +00:00
tree.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
wiki.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00