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
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
..
actions remove util.OptionalBool and related functions (#29513) 11 months ago
activities Rename Action.GetDisplayName to GetActDisplayName (#29540) 11 months ago
admin Next round of `db.DefaultContext` refactor (#27089) 1 year ago
asymkey Update tool dependencies (#29030) 1 year ago
auth remove util.OptionalBool and related functions (#29513) 11 months ago
avatars Refactor some legacy code and remove unused code (#28622) 1 year ago
db Add slow SQL query warning (#27545) 12 months ago
dbfs make writing main test easier (#27270) 1 year ago
fixtures Add user blocking (#29028) 11 months ago
git Start to migrate from `util.OptionalBool` to `optional.Option[bool]` (#29329) 12 months ago
issues Add user blocking (#29028) 11 months ago
migrations Add user blocking (#29028) 11 months ago
organization Add user blocking (#29028) 11 months ago
packages Fix incorrect relative/absolute URL usages (#29531) 11 months ago
perm Add user blocking (#29028) 11 months ago
project remove util.OptionalBool and related functions (#29513) 11 months ago
pull Add support for sha256 repositories (#23894) 1 year ago
repo Add user blocking (#29028) 11 months ago
secret Use db.Find instead of writing methods for every object (#28084) 1 year ago
shared/types Refactor locale&string&template related code (#29165) 1 year ago
system Refactor deletion (#28610) 1 year ago
unit Make actions default enabled for newly created repository if global configuraion enabled (#27482) 1 year ago
unittest Workaround to clean up old reviews on creating a new one (#28554) 12 months ago
user Add user blocking (#29028) 11 months ago
webhook remove util.OptionalBool and related functions (#29513) 11 months ago
error.go Add merge style `fast-forward-only` (#28954) 1 year ago
fixture_generation.go Replace more db.DefaultContext (#27628) 1 year ago
fixture_test.go Replace more db.DefaultContext (#27628) 1 year ago
main_test.go make writing main test easier (#27270) 1 year ago
org.go Add user blocking (#29028) 11 months ago
org_team.go Add user blocking (#29028) 11 months ago
org_team_test.go Add user blocking (#29028) 11 months ago
org_test.go Add user blocking (#29028) 11 months ago
repo.go Refactor deletion (#28610) 1 year ago
repo_test.go Penultimate round of `db.DefaultContext` refactor (#27414) 1 year ago
repo_transfer.go Add user blocking (#29028) 11 months ago