forgejo/routers/api/v1
Gusted 5a11569a01
[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 2a89ddc0ac)
(cherry picked from commit 4a147bff7e)

Conflicts:
	routers/api/v1/api.go
	templates/swagger/v1_json.tmpl
(cherry picked from commit bb8c339185)
2023-07-11 01:15:11 +02:00
..
activitypub Update tool dependencies, lock govulncheck and actionlint (#25655) 2023-07-09 11:58:06 +00: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 Fix bugs related to notification endpoints (#25548) 2023-06-28 10:26:56 -04:00
org [MODERATION] add user blocking API 2023-07-11 01:15:11 +02:00
packages Add CRAN package registry (#22331) 2023-05-22 10:57:49 +08:00
repo [MODERATION] user blocking 2023-07-11 01:15:11 +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-11 01:15:11 +02:00
user [MODERATION] add user blocking API 2023-07-11 01:15:11 +02:00
utils [MODERATION] add user blocking API 2023-07-11 01:15:11 +02:00
api.go [MODERATION] add user blocking API 2023-07-11 01:15:11 +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