forgejo-federation/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`
2023-05-21 23:13:47 +08:00
..
activitypub Use User.ID instead of User.Name in ActivityPub API for Person IRI (#23823) 2023-04-04 10:08:23 +08:00
admin Refactor rename user and rename organization (#24052) 2023-05-21 23:13:47 +08:00
misc Decouple the different contexts from each other (#24786) 2023-05-21 09:50:53 +08:00
notify Decouple the different contexts from each other (#24786) 2023-05-21 09:50:53 +08:00
org Fix organization field being null in GET /api/v1/teams/{id} (#24694) 2023-05-13 14:47:58 +00:00
packages Add Go package registry (#24687) 2023-05-14 23:38:40 +08:00
repo Use CommentList instead of []*Comment (#24828) 2023-05-21 20:48:28 +08:00
settings Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
swagger Add API for gitignore templates (#22783) 2023-04-27 11:51:20 +08:00
user Decouple the different contexts from each other (#24786) 2023-05-21 09:50:53 +08:00
utils Decouple the different contexts from each other (#24786) 2023-05-21 09:50:53 +08:00
api.go Decouple the different contexts from each other (#24786) 2023-05-21 09:50:53 +08:00
auth.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
auth_windows.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00