forgejo/routers
Gusted 2a89ddc0ac
[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)
2023-06-19 18:55:07 +02:00
..
api [MODERATION] add user blocking API 2023-06-19 18:55:07 +02:00
common Use fetch to send requests to create issues/comments (#25258) 2023-06-16 06:32:43 +00:00
install Write absolute AppDataPath to app.ini when installing (#25331) 2023-06-18 13:57:43 +00:00
private Use the type RefName for all the needed places and fix pull mirror sync bugs (#24634) 2023-05-26 01:04:48 +00:00
utils Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
web [MODERATION] add user blocking API 2023-06-19 18:55:07 +02:00
init.go [TESTS] testMiddlewareHook, dependency injection in integration tests 2023-06-19 02:24:01 +02:00