aboutsummaryrefslogtreecommitdiffstats
path: root/services/user/avatar.go
Commit message (Collapse)AuthorAgeFilesLines
* Penultimate round of `db.DefaultContext` refactor (#27414)JakobDev2023-10-111-4/+5
| | | | | | | Part of #27065 --------- Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
* Refactor rename user and rename organization (#24052)Lunny Xiao2023-05-211-0/+62
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`