You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/routers/api/v1
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`
2 years ago
..
activitypub Use User.ID instead of User.Name in ActivityPub API for Person IRI (#23823) 2 years ago
admin Refactor rename user and rename organization (#24052) 2 years ago
misc Decouple the different contexts from each other (#24786) 2 years ago
notify Decouple the different contexts from each other (#24786) 2 years ago
org Fix `organization` field being `null` in `GET /api/v1/teams/{id}` (#24694) 2 years ago
packages Add Go package registry (#24687) 2 years ago
repo Use `CommentList` instead of `[]*Comment` (#24828) 2 years ago
settings Implement FSFE REUSE for golang files (#21840) 2 years ago
swagger Add API for gitignore templates (#22783) 2 years ago
user Decouple the different contexts from each other (#24786) 2 years ago
utils Decouple the different contexts from each other (#24786) 2 years ago
api.go Decouple the different contexts from each other (#24786) 2 years ago
auth.go Implement FSFE REUSE for golang files (#21840) 2 years ago
auth_windows.go Implement FSFE REUSE for golang files (#21840) 2 years ago