Forgejo/routers/api/v1
Gergely Nagy d07c8c821c
Do not require login_name & source_id for /admin/user/{username}
When editing a user via the API, do not require setting `login_name` or
`source_id`: for local accounts, these do not matter. However, when
editing a non-local account, require *both*, as before.

Fixes #1861.

Signed-off-by: Gergely Nagy <forgejo@gergo.csillger.hu>
2024-04-17 10:33:52 +02:00
..
activitypub activitypub: warn instead of error 2024-03-24 07:12:31 +01:00
admin Do not require login_name & source_id for /admin/user/{username} 2024-04-17 10:33:52 +02:00
misc Port "Fix wrong test usage of AppSubURL" 2024-03-06 21:47:44 +01:00
notify drop log.Error in ReadRepoNotifications 2024-03-24 07:12:31 +01:00
org Add API for Variables (#29520) 2024-04-07 10:57:53 +02:00
packages remove util.OptionalBool and related functions (#29513) 2024-03-06 12:10:46 +08:00
repo Merge pull request 'Fix release published actions not triggering for releases created from existing tags' (#3220) from zotan/forgejo:forgejo into forgejo 2024-04-16 18:27:59 +00:00
settings Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
shared Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
swagger Add API for Variables (#29520) 2024-04-07 10:57:53 +02:00
user Add setting to disable user features when user login type is not plain (#29615) 2024-04-07 11:09:21 +02:00
utils Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
api.go Add API for Variables (#29520) 2024-04-07 10:57:53 +02:00