forgejo/routers/api/v1
Gusted bb8c339185
[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
2023-07-03 09:31:30 +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 Fix bugs related to notification endpoints (#25548) 2023-06-28 10:26:56 -04:00
org [MODERATION] add user blocking API 2023-07-03 09:31:30 +02:00
packages Add CRAN package registry (#22331) 2023-05-22 10:57:49 +08:00
repo [MODERATION] user blocking 2023-07-03 09:23:57 +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-03 09:31:30 +02:00
user [MODERATION] add user blocking API 2023-07-03 09:31:30 +02:00
utils [MODERATION] add user blocking API 2023-07-03 09:31:30 +02:00
api.go [MODERATION] add user blocking API 2023-07-03 09:31:30 +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