1
1
mirror of https://github.com/go-gitea/gitea synced 2024-11-02 08:14:25 +00:00
gitea/routers/web/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
..
setting Refactor rename user and rename organization (#24052) 2023-05-21 23:13:47 +08:00
avatar.go Set X-Gitea-Debug header once (#23361) 2023-03-08 15:40:04 -05:00
code.go Add missing tabs to org projects page (#22705) 2023-03-10 09:18:20 -06:00
home_test.go Add a simple test for external renderer (#20033) 2022-12-12 20:45:21 +08:00
home.go Some refactors for issues stats (#24793) 2023-05-19 22:17:48 +08:00
main_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
notification.go Fix pagination on /notifications/watching (#23564) 2023-03-20 21:07:14 -04:00
package.go Add Alpine package registry (#23714) 2023-05-12 17:27:50 +00:00
profile.go Add Gitea Profile Readmes (#23260) 2023-05-09 05:57:24 +00:00
search.go Add option to search for users is active join a team (#24093) 2023-04-14 14:48:36 -04:00
stop_watch.go Move convert package to services (#22264) 2022-12-29 10:57:15 +08:00
task.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00