mirror of
1
Fork 0
forgejo/routers/api/v1/user
zeripath a92d247fdd
Only show Followers that current user can access (#20220) (#20252)
Backport #20220

Users who are following or being followed by a user should only be
displayed if the viewing user can see them.

Signed-off-by: Andrew Thornton <art27@cantab.net>
2022-07-06 22:03:23 +01:00
..
app.go Move almost all functions' parameter db.Engine to context.Context (#19748) 2022-05-20 22:08:52 +08:00
email.go Don't panic on `ErrEmailInvalid` (#19441) 2022-04-20 23:39:30 +02:00
follower.go Only show Followers that current user can access (#20220) (#20252) 2022-07-06 22:03:23 +01:00
gpg_key.go Add `ContextUser` to http request context (#18798) 2022-03-26 17:04:22 +08:00
helper.go Move almost all functions' parameter db.Engine to context.Context (#19748) 2022-05-20 22:08:52 +08:00
key.go Fix DELETE request for non-existent public key (#19443) 2022-04-21 03:08:30 +02:00
repo.go Move some repository related code into sub package (#19711) 2022-06-06 16:01:49 +08:00
settings.go Move almost all functions' parameter db.Engine to context.Context (#19748) 2022-05-20 22:08:52 +08:00
star.go Move almost all functions' parameter db.Engine to context.Context (#19748) 2022-05-20 22:08:52 +08:00
user.go Move almost all functions' parameter db.Engine to context.Context (#19748) 2022-05-20 22:08:52 +08:00
watch.go Move almost all functions' parameter db.Engine to context.Context (#19748) 2022-05-20 22:08:52 +08:00