forked from gitea/gitea
1
0
Fork 0
gitea/routers/web/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
..
setting Unify user update methods (#28733) 2024-02-04 13:29:09 +00:00
avatar.go Replace -1 with GhostUserID (#27703) 2023-10-20 14:43:08 +00:00
code.go Penultimate round of `db.DefaultContext` refactor (#27414) 2023-10-11 04:24:07 +00:00
home.go Rework markup link rendering (#26745) 2024-01-15 08:49:24 +00:00
home_test.go Include public repos in doer's dashboard for issue search (#28304) 2023-12-07 13:26:18 +08:00
main_test.go make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
notification.go Use db.Find instead of writing methods for every object (#28084) 2023-11-24 03:49:41 +00:00
package.go Fix some RPM registry flaws (#28782) 2024-01-19 11:37:10 +00:00
profile.go Introduce htmx and use it to avoid full page load on `Subscribe` and `Follow` (#28908) 2024-01-30 15:45:54 +01:00
search.go Reduce usage of `db.DefaultContext` (#27073) 2023-09-14 17:09:32 +00:00
stop_watch.go Final round of `db.DefaultContext` refactor (#27587) 2023-10-14 08:37:24 +00:00
task.go Next round of `db.DefaultContext` refactor (#27089) 2023-09-16 14:39:12 +00:00