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/admin
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
..
adopt.go Move createrepository from module to service layer (#26927) 1 year ago
cron.go Implement FSFE REUSE for golang files (#21840) 2 years ago
email.go Reduce usage of `db.DefaultContext` (#27073) 1 year ago
hooks.go Return `404` in the API if the requested webhooks were not found (#24823) 2 years ago
org.go Even more `db.DefaultContext` refactor (#27352) 1 year ago
repo.go Handle missing `README` in create repos API (#23387) 2 years ago
runners.go Add get actions runner registration token for API routes, repo, org, user and global level (#27144) 1 year ago
user.go Unify user update methods (#28733) 1 year ago