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>
|
9 months ago |
Lunny Xiao
|
df1e7d0067
|
Use db.Find instead of writing methods for every object (#28084)
For those simple objects, it's unnecessary to write the find and count
methods again and again.
|
1 year ago |
6543
|
e83f2cbbac
|
Add doctor dbconsistency fix to delete repos with no owner (#27290)
to address #27273
replace #24873
|
1 year ago |
JakobDev
|
3dc0c962bf
|
Delete repos of org when purge delete user (#27273)
Fixes https://codeberg.org/forgejo/forgejo/issues/1514
I had to remove `RenameOrganization` to avoid circular import.
We should really add some foreign keys to the database.
|
1 year ago |
Lunny Xiao
|
9852c92e9a
|
Remove unnecessary parameter (#27671)
|
1 year ago |
JakobDev
|
7047df36d4
|
Another round of `db.DefaultContext` refactor (#27103)
Part of #27065
---------
Co-authored-by: KN4CK3R <admin@oldschoolhack.me>
|
1 year ago |
JakobDev
|
c548dde205
|
More refactoring of `db.DefaultContext` (#27083)
Next step of #27065
|
1 year ago |
Lunny Xiao
|
4f32abaf94
|
move repository deletion to service layer (#26948)
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
|
1 year ago |