1
1
mirror of https://github.com/go-gitea/gitea synced 2024-06-25 20:55:47 +00:00
gitea/routers/web/user/setting
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
..
security Use db.Find instead of writing methods for every object (#28084) 2023-11-24 03:49:41 +00:00
account_test.go Move web/api context related testing function into a separate package (#26859) 2023-09-01 11:26:07 +00:00
account.go Unify user update methods (#28733) 2024-02-04 13:29:09 +00:00
adopt.go Move createrepository from module to service layer (#26927) 2023-09-06 12:08:51 +00:00
applications.go Fix inconsistent naming of OAuth 2.0 ENABLE setting (#28951) 2024-01-28 12:36:44 +00:00
keys.go Move more functions to db.Find (#28419) 2024-01-15 02:19:25 +00:00
main_test.go make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
oauth2_common.go Final round of db.DefaultContext refactor (#27587) 2023-10-14 08:37:24 +00:00
oauth2.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
packages.go More refactoring of db.DefaultContext (#27083) 2023-09-15 06:13:19 +00:00
profile.go Unify user update methods (#28733) 2024-02-04 13:29:09 +00:00
runner.go Add user level action runners (#24995) 2023-05-31 09:39:54 +08:00
webhooks.go Use db.Find instead of writing methods for every object (#28084) 2023-11-24 03:49:41 +00:00