forgejo/models/migrations/v1_22
KN4CK3R 8bf280a686
Add user blocking (#29028) (database migration ony)
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>
(cherry picked from commit c337ff0ec70618ef2ead7850f90ab2a8458db192)
2024-03-11 23:36:59 +07:00
..
main_test.go Add combined index for issue_user.uid and issue_id (#28080) 2023-12-14 09:26:59 +00:00
v280.go Rename the default themes to gitea-light, gitea-dark, gitea-auto (#27419) 2023-10-06 09:46:36 +02:00
v281.go Enhanced auth token / remember me (#27606) 2023-10-14 00:56:41 +00:00
v282.go Add Index to pull_auto_merge.doer_id (#27811) 2023-10-30 08:39:29 +00:00
v283.go Fix bug hidden on CI and make ci failed if tests failure (#29254) 2024-03-11 23:36:59 +07:00
v283_test.go Fix migration test (#28659) 2023-12-30 21:54:48 +08:00
v284.go Add branch protection setting for ignoring stale approvals (#28498) 2024-01-15 07:20:01 +00:00
v285.go Fix incorrect action duration time when rerun the job before executed once (#28364) 2024-01-19 14:05:49 +00:00
v286.go Fix bug hidden on CI and make ci failed if tests failure (#29254) 2024-03-11 23:36:59 +07:00
v286_test.go Fix bug hidden on CI and make ci failed if tests failure (#29254) 2024-03-11 23:36:59 +07:00
v287.go Add admin API route for managing user's badges (#23106) (database migration ony) 2024-03-11 23:36:59 +07:00
v288.go Add user blocking (#29028) (database migration ony) 2024-03-11 23:36:59 +07:00