0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2025-01-01 13:44:37 +01:00
gitea/routers/web
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
..
admin Improve queue & process & stacktrace (#24636) 2023-05-11 07:45:47 +00:00
auth
devtest
events
explore
feed
healthcheck
misc Decouple the different contexts from each other (#24786) 2023-05-21 09:50:53 +08:00
org Refactor rename user and rename organization (#24052) 2023-05-21 23:13:47 +08:00
repo Decouple the different contexts from each other (#24786) 2023-05-21 09:50:53 +08:00
shared
user Refactor rename user and rename organization (#24052) 2023-05-21 23:13:47 +08:00
auth.go
auth_windows.go
base.go
goget.go
home.go
metrics.go
nodeinfo.go
swagger_json.go
web.go Implement actions artifacts (#22738) 2023-05-19 21:37:57 +08:00
webfinger.go