forgejo/routers
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
..
api [MODERATION] add user blocking API 2023-07-11 01:15:11 +02:00
common Less naked returns (#25713) 2023-07-07 05:31:56 +00:00
install Make "install page" respect environment config (#25648) 2023-07-09 22:43:37 +00:00
private [CLI] implement forgejo-cli actions register 2023-07-10 18:01:01 +02:00
utils Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
web [MODERATION] add user blocking API 2023-07-11 01:15:11 +02:00
init.go [TESTS] testMiddlewareHook, dependency injection in integration tests 2023-07-10 18:32:29 +02:00