mirror of
1
Fork 0
forgejo/routers/api/v1
6543 d453533beb
[Refactor] Move APIFormat functions into convert package (#12856)
* USER APIFormat -> ToUser

* Migrate more and mark APIFormat deprecated

* models.Comment APIFormat() -> convert.ToComment

* models.Release APIFormat() -> convert.ToRelease

* models.Attachments APIFormat() -> convert.ToReleaseAttachments

* models.CommitStatus APIFormat() -> convert.ToCommitStatus

* finish migration to convert.ToUser

* Move Test

* Imprufe Test

* fix test

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
2020-10-17 00:23:08 -04:00
..
admin Adopt repositories (#12920) 2020-09-25 07:09:23 +03:00
misc Not using "ctx.ServerError" in api (#12907) 2020-09-20 21:20:14 +01:00
notify Extend Notifications API and return pinned notifications by default (#12164) 2020-07-12 00:46:01 +03:00
org Fix ListUserOrgs (#12910) 2020-09-21 00:55:48 +03:00
repo [Refactor] Move APIFormat functions into convert package (#12856) 2020-10-17 00:23:08 -04:00
settings fix: case typo (#13049) 2020-10-06 12:16:16 -04:00
swagger Issue templates directory (#11450) 2020-09-11 10:48:39 -04:00
user [API] Delete Token accept names too (#12366) 2020-08-28 11:09:33 +03:00
utils Granular webhook events (#9626) 2020-03-06 07:10:48 +02:00
api.go Return 404 not 500 from API if team does not exist (#13118) 2020-10-12 17:09:21 -04:00