You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/models/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>
11 months ago
..
archiver.go Add support for sha256 repositories (#23894) 1 year ago
attachment.go More refactoring of `db.DefaultContext` (#27083) 1 year ago
attachment_test.go More refactoring of `db.DefaultContext` (#27083) 1 year ago
avatar.go Penultimate round of `db.DefaultContext` refactor (#27414) 1 year ago
collaboration.go Add user blocking (#29028) 11 months ago
collaboration_test.go Add user blocking (#29028) 11 months ago
fork.go Move more functions to db.Find (#28419) 1 year ago
fork_test.go refactor some functions to support ctx as first parameter (#21878) 2 years ago
git.go Add merge style `fast-forward-only` (#28954) 1 year ago
issue.go Rename almost all Ctx functions (#22071) 2 years ago
language_stats.go Penultimate round of `db.DefaultContext` refactor (#27414) 1 year ago
main_test.go make writing main test easier (#27270) 1 year ago
mirror.go More `db.DefaultContext` refactor (#27265) 1 year ago
pushmirror.go Don't run push mirrors for archived repos (#27140) 1 year ago
pushmirror_test.go Refactor deletion (#28610) 1 year ago
redirect.go Final round of `db.DefaultContext` refactor (#27587) 1 year ago
redirect_test.go Final round of `db.DefaultContext` refactor (#27587) 1 year ago
release.go Refactor some Str2html code (#29397) 11 months ago
release_test.go Another round of `db.DefaultContext` refactor (#27103) 1 year ago
repo.go Enable/disable owner and repo projects independently (#28805) 11 months ago
repo_indexer.go Add support for sha256 repositories (#23894) 1 year ago
repo_list.go migrate some more "OptionalBool" to "Option[bool]" (#29479) 11 months ago
repo_list_test.go migrate some more "OptionalBool" to "Option[bool]" (#29479) 11 months ago
repo_test.go Add user blocking (#29028) 11 months ago
repo_unit.go Enable/disable owner and repo projects independently (#28805) 11 months ago
repo_unit_test.go add disable workflow feature (#26413) 2 years ago
search.go Split "modules/context.go" to separate files (#24569) 2 years ago
star.go Add user blocking (#29028) 11 months ago
star_test.go Add user blocking (#29028) 11 months ago
topic.go Fix non-alphabetic sorting of repo topics (#28938) 1 year ago
topic_test.go Next round of `db.DefaultContext` refactor (#27089) 1 year ago
update.go Move some repository transfer functions to service layer (#28855) 1 year ago
upload.go Refactor deletion (#28610) 1 year ago
user_repo.go Add user blocking (#29028) 11 months ago
user_repo_test.go Add user blocking (#29028) 11 months ago
watch.go Add user blocking (#29028) 11 months ago
watch_test.go Add user blocking (#29028) 11 months ago
wiki.go
wiki_test.go