mirror of
1
Fork 0
forgejo/routers
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
..
api [MODERATION] add user blocking API 2023-07-17 00:21:29 +02:00
common Less naked returns (#25713) 2023-07-07 05:31:56 +00:00
install Show correct SSL Mode on "install page" (#25818) 2023-07-11 18:09:23 -04:00
private [CLI] implement forgejo-cli actions register 2023-07-16 23:15:13 +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-17 00:21:29 +02:00
init.go [TESTS] testMiddlewareHook, dependency injection in integration tests 2023-07-16 23:40:30 +02:00