You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/routers/api/v1/user
KN4CK3R f8b471ace1
Unify user update methods (#28733)
Fixes #28660
Fixes an admin api bug related to `user.LoginSource`
Fixed `/user/emails` response not identical to GitHub api

This PR unifies the user update methods. The goal is to keep the logic
only at one place (having audit logs in mind). For example, do the
password checks only in one method not everywhere a password is updated.

After that PR is merged, the user creation should be next.
1 year ago
..
action.go Refactor secrets modification logic (#26873) 1 year ago
app.go Fix comment permissions (#28213) 1 year ago
avatar.go Penultimate round of `db.DefaultContext` refactor (#27414) 1 year ago
email.go Unify user update methods (#28733) 1 year ago
follower.go Next round of `db.DefaultContext` refactor (#27089) 1 year ago
gpg_key.go Move more functions to db.Find (#28419) 1 year ago
helper.go Another round of `db.DefaultContext` refactor (#27103) 1 year ago
hook.go Fix comment permissions (#28213) 1 year ago
key.go Use db.Find instead of writing methods for every object (#28084) 1 year ago
repo.go Replace more db.DefaultContext (#27628) 1 year ago
runners.go Add get actions runner registration token for API routes, repo, org, user and global level (#27144) 1 year ago
settings.go Unify user update methods (#28733) 1 year ago
star.go More refactoring of `db.DefaultContext` (#27083) 1 year ago
user.go Enable system users search via the API (#28013) 1 year ago
watch.go More refactoring of `db.DefaultContext` (#27083) 1 year ago