1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-28 09:21:13 -05:00
forgejo/routers/api/v1/user
Kemal Zebari 6ae15bc15e
Don't only list code-enabled repositories when using repository API (#30817)
We should be listing all repositories by default.

Fixes #28483.

(cherry picked from commit 9f0ef3621a3b63ccbe93f302a446b67dc54ad725)

Conflict:
   -		if ctx.IsSigned && ctx.Doer.IsAdmin || permission.UnitAccessMode(unit_model.TypeCode) >= perm.AccessModeRead {
   +		if ctx.IsSigned && ctx.Doer.IsAdmin || permission.HasAccess() {
   because of https://codeberg.org/forgejo/forgejo/pulls/2001
(cherry picked from commit e388822e9d)
2024-05-07 08:17:35 +01:00
..
action.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
app.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
avatar.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
email.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
follower.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
gpg_key.go Allow options to disable user gpg keys configuration from the interface on app.ini (#29486) 2024-03-06 12:10:45 +08:00
helper.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
hook.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
key.go Allow options to disable user ssh keys configuration from the interface on app.ini (#29447) 2024-03-11 23:36:57 +07:00
repo.go Don't only list code-enabled repositories when using repository API (#30817) 2024-05-07 08:17:35 +01:00
runners.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
settings.go [v7.0/forgejo] Add optional pronoun field in user settings (#3076) 2024-04-06 13:23:43 +00:00
star.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
user.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
watch.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00