gitea/routers/api/v1/user
Jack Hay 59d4aadba5
Add setting to disable user features when user login type is not plain ()
## Changes
- Adds setting `EXTERNAL_USER_DISABLE_FEATURES` to disable any supported
user features when login type is not plain
- In general, this is necessary for SSO implementations to avoid
inconsistencies between the external account management and the linked
account
- Adds helper functions to encourage correct use
..
action.go Add API for `Variables` ()
app.go Move context from modules to services ()
avatar.go Move context from modules to services ()
block.go Add user blocking ()
email.go Move context from modules to services ()
follower.go Add user blocking ()
gpg_key.go Add setting to disable user features when user login type is not plain ()
helper.go Move context from modules to services ()
hook.go Move context from modules to services ()
key.go Add setting to disable user features when user login type is not plain ()
repo.go Move context from modules to services ()
runners.go Move context from modules to services ()
settings.go Move context from modules to services ()
star.go Add user blocking ()
user.go Move context from modules to services ()
watch.go Add user blocking ()