gitea/services
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`
..
actions Rewrite queue ()
agit add user rename endpoint to admin api ()
asymkey Add context cache as a request level cache ()
attachment Preserve file size when creating attachments ()
auth Decouple the different contexts from each other ()
automerge Rewrite queue ()
context Decouple the different contexts from each other ()
convert Refactor Pull Mirror and fix out-of-sync bugs ()
cron Add Cargo package registry ()
externalaccount Implement FSFE REUSE for golang files ()
forms Decouple the different contexts from each other ()
gitdiff Simplify template helper functions ()
issue Improve Gitea's web context, decouple "issue template" code into service package ()
lfs Fix auth check bug ()
mailer Rewrite queue ()
markup Decouple the different contexts from each other ()
migrations Some refactors for issues stats ()
mirror Rewrite queue ()
org Refactor rename user and rename organization ()
packages Add Go package registry ()
pull Support for status check pattern ()
release Delete deleted release attachments immediately from storage ()
repository Add status indicator on main home screen for each repo ()
task Make repo migration cancelable and fix various bugs ()
user Refactor rename user and rename organization ()
webhook Rewrite queue ()
wiki Improve wiki user title test ()