mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-29 09:31:11 -05:00
c59a057297
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` |
||
---|---|---|
.. | ||
security | ||
account.go | ||
account_test.go | ||
adopt.go | ||
applications.go | ||
keys.go | ||
main_test.go | ||
oauth2.go | ||
oauth2_common.go | ||
packages.go | ||
profile.go | ||
secrets.go | ||
webhooks.go |