0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-23 05:14:42 +01:00
gitea/models/user
Lunny Xiao c59a057297
Refactor rename user and rename organization (#24052)
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`
2023-05-21 23:13:47 +08:00
..
avatar.go
badge.go Remove most path-based golangci exclusions (#24214) 2023-04-19 22:08:01 -04:00
email_address.go
email_address_test.go
error.go Refactor rename user and rename organization (#24052) 2023-05-21 23:13:47 +08:00
external_login_user.go
follow.go
follow_test.go
list.go
main_test.go
must_change_password.go
openid.go
openid_test.go
redirect.go
redirect_test.go
search.go
setting.go Add Debian package registry (#24426) 2023-05-02 12:31:35 -04:00
setting_keys.go
setting_test.go
user.go Refactor rename user and rename organization (#24052) 2023-05-21 23:13:47 +08:00
user_system.go
user_test.go Use more specific test methods (#24265) 2023-04-22 17:56:27 -04:00
user_update.go