1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-27 02:14:14 +00:00
forgejo/services/org
Lunny Xiao c59a057297
Refactor rename user and rename organization ()
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
..
org.go Refactor rename user and rename organization () 2023-05-21 23:13:47 +08:00
org_test.go Implement FSFE REUSE for golang files () 2022-11-27 18:20:29 +00:00
repo.go Implement FSFE REUSE for golang files () 2022-11-27 18:20:29 +00:00
repo_test.go Implement FSFE REUSE for golang files () 2022-11-27 18:20:29 +00:00
team_invite.go Implement FSFE REUSE for golang files () 2022-11-27 18:20:29 +00:00