forgejo/routers/api
Gusted 2373c801ee
[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)
(cherry picked from commit 5a11569a01)
2023-07-17 00:21:29 +02:00
..
actions [CI] Revert "Restrict [actions].DEFAULT_ACTIONS_URL to only github or self (#25581)" 2023-07-16 23:09:49 +02:00
forgejo/v1 [API] Forgejo API /api/forgejo/v1 2023-07-16 23:40:29 +02:00
packages Add support for different Maven POM encoding (#25873) 2023-07-14 09:39:15 +00:00
v1 [MODERATION] add user blocking API 2023-07-17 00:21:29 +02:00