forgejo/routers/api/v1
Gusted 2a89ddc0ac
[MODERATION] add user blocking API
- Follow up for: #540, #802
- Add API routes for user blocking from user and organization
perspective.
- The new routes have integration testing.
- The new model functions have unit tests.
- Actually quite boring to write and to read this pull request.

(cherry picked from commit f3afaf15c7)
(cherry picked from commit 6d754db3e5)
2023-06-19 18:55:07 +02:00
..
activitypub Use User.ID instead of User.Name in ActivityPub API for Person IRI (#23823) 2023-04-04 10:08:23 +08:00
admin Refactor rename user and rename organization (#24052) 2023-05-21 23:13:47 +08:00
misc Refactor web package and context package (#25298) 2023-06-18 09:59:09 +02:00
notify Decouple the different contexts from each other (#24786) 2023-05-21 09:50:53 +08:00
org [MODERATION] add user blocking API 2023-06-19 18:55:07 +02:00
packages Add CRAN package registry (#22331) 2023-05-22 10:57:49 +08:00
repo [MODERATION] user blocking 2023-06-19 18:45:20 +02:00
settings Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
swagger [MODERATION] add user blocking API 2023-06-19 18:55:07 +02:00
user [MODERATION] add user blocking API 2023-06-19 18:55:07 +02:00
utils [MODERATION] add user blocking API 2023-06-19 18:55:07 +02:00
api.go [MODERATION] add user blocking API 2023-06-19 18:55:07 +02:00
auth.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
auth_windows.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00