forked from mirror/gitea
c59a057297
This PR is a refactor at the beginning. And now it did 4 things. - [x] Move renaming organizaiton and user logics into services layer and merged as one function - [x] Support rename a user capitalization only. For example, rename the user from `Lunny` to `lunny`. We just need to change one table `user` and others should not be touched. - [x] Before this PR, some renaming were missed like `agit` - [x] Fix bug the API reutrned from `http.StatusNoContent` to `http.StatusOK` |
||
---|---|---|
.. | ||
avatar.go | ||
badge.go | ||
email_address_test.go | ||
email_address.go | ||
error.go | ||
external_login_user.go | ||
follow_test.go | ||
follow.go | ||
list.go | ||
main_test.go | ||
must_change_password.go | ||
openid_test.go | ||
openid.go | ||
redirect_test.go | ||
redirect.go | ||
search.go | ||
setting_keys.go | ||
setting_test.go | ||
setting.go | ||
user_system.go | ||
user_test.go | ||
user_update.go | ||
user.go |