0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-27 11:34:25 +01:00
gitea/routers/web/org
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
..
setting Move secrets and runners settings to actions settings (#24200) 2023-04-27 20:08:47 -04:00
home.go Add follow organization and fix the logic of following page (#24345) 2023-04-29 15:13:58 -04:00
main_test.go
members.go Add missing badges in user profile for /projects and /packages (#24232) 2023-04-22 21:32:40 -04:00
org.go
org_labels.go Add loading yaml label template files (#22976) 2023-03-02 01:44:23 +02:00
projects.go Fix close org projects (#24588) 2023-05-08 12:19:27 +00:00
projects_test.go
setting.go Refactor rename user and rename organization (#24052) 2023-05-21 23:13:47 +08:00
setting_oauth2.go
setting_packages.go Add Cargo package registry (#21888) 2023-02-05 18:12:31 +08:00
teams.go Revert "Prevent a user with a different email from accepting the team invite" (#24531) 2023-05-05 15:59:12 +08:00