1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-01 08:47:40 -04:00
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.
2024-02-04 13:29:09 +00:00
..
action.go Refactor secrets modification logic (#26873) 2023-09-05 15:21:02 +00:00
app.go Fix comment permissions (#28213) 2023-11-25 17:21:21 +00:00
avatar.go Penultimate round of db.DefaultContext refactor (#27414) 2023-10-11 04:24:07 +00:00
email.go Unify user update methods (#28733) 2024-02-04 13:29:09 +00:00
follower.go Next round of db.DefaultContext refactor (#27089) 2023-09-16 14:39:12 +00:00
gpg_key.go Move more functions to db.Find (#28419) 2024-01-15 02:19:25 +00:00
helper.go Another round of db.DefaultContext refactor (#27103) 2023-09-25 13:17:37 +00:00
hook.go Fix comment permissions (#28213) 2023-11-25 17:21:21 +00:00
key.go Use db.Find instead of writing methods for every object (#28084) 2023-11-24 03:49:41 +00:00
repo.go Replace more db.DefaultContext (#27628) 2023-10-15 17:46:06 +02:00
runners.go Add get actions runner registration token for API routes, repo, org, user and global level (#27144) 2023-12-27 07:57:54 +00:00
settings.go Unify user update methods (#28733) 2024-02-04 13:29:09 +00:00
star.go More refactoring of db.DefaultContext (#27083) 2023-09-15 06:13:19 +00:00
user.go Enable system users search via the API (#28013) 2023-11-13 15:31:38 +01:00
watch.go More refactoring of db.DefaultContext (#27083) 2023-09-15 06:13:19 +00:00