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/services
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 Fix workflow trigger event IssueChangeXXX bug (#29559) 11 months ago
agit Use the database object format name but not read from git repoisitory everytime and fix possible migration wrong objectformat when migrating a sha256 repository (#29294) 12 months ago
asymkey Simplify how git repositories are opened (#28937) 1 year ago
attachment Add support for API blob upload of release attachments (#29507) 11 months ago
auth Add user blocking (#29028) 11 months ago
automerge Simplify how git repositories are opened (#28937) 1 year ago
context Make PR form use toast to show error message (#29545) 11 months ago
contexttest Add an trailing slash to dashboard links (#29555) 11 months ago
convert Enable/disable owner and repo projects independently (#28805) 11 months ago
cron Refactor locale&string&template related code (#29165) 12 months ago
doctor Simplify how git repositories are opened (#28937) 1 year ago
externalaccount Revert "Support SAML authentication (#25165)" (#29358) 12 months ago
feed More `db.DefaultContext` refactor (#27265) 1 year ago
forms Add user blocking (#29028) 11 months ago
gitdiff Fix incorrect diff expander for deletion of last lines in a file (#29501) 11 months ago
indexer Fix missing issue search index update when changing status (#28325) 1 year ago
issue Add user blocking (#29028) 11 months ago
lfs Move context from modules to services (#29440) 12 months ago
mailer Move context from modules to services (#29440) 12 months ago
markup Move context from modules to services (#29440) 12 months ago
migrations remove util.OptionalBool and related functions (#29513) 11 months ago
mirror Simplify how git repositories are opened (#28937) 1 year ago
notify Update status and code index after changing the default branch (#27018) 1 year ago
org Delete repos of org when purge delete user (#27273) 1 year ago
packages remove util.OptionalBool and related functions (#29513) 11 months ago
pull Add user blocking (#29028) 11 months ago
release Use the database object format name but not read from git repoisitory everytime and fix possible migration wrong objectformat when migrating a sha256 repository (#29294) 12 months ago
repository Add user blocking (#29028) 11 months ago
secrets Refactor deletion (#28610) 1 year ago
task Fix incorrect ctx usage in defer function (#27740) 1 year ago
uinotification Penultimate round of `db.DefaultContext` refactor (#27414) 1 year ago
user Add user blocking (#29028) 11 months ago
webhook remove util.OptionalBool and related functions (#29513) 11 months ago
wiki Fix an actions schedule bug (#28942) 1 year ago