forgejo/routers/api/v1
Gusted 73776d6195
[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)
(cherry picked from commit d0fc8bc9d3)
(cherry picked from commit 9a53b0d1a0)
(cherry picked from commit 44a2a4fd48)
(cherry picked from commit 182025db9c)
(cherry picked from commit 558a35963e)
2023-07-17 00:26:42 +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 Add API for Label templates (#24602) 2023-05-23 18:10:23 +08:00
notify Fix bugs related to notification endpoints (#25548) (#25562) 2023-06-28 16:24:48 +00:00
org [MODERATION] add user blocking API 2023-07-17 00:26:42 +02:00
packages Add CRAN package registry (#22331) 2023-05-22 10:57:49 +08:00
repo [MODERATION] user blocking 2023-07-17 00:26:42 +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-07-17 00:26:42 +02:00
user [MODERATION] add user blocking API 2023-07-17 00:26:42 +02:00
utils [MODERATION] add user blocking API 2023-07-17 00:26:42 +02:00
api.go [MODERATION] add user blocking API 2023-07-17 00:26:42 +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