forgejo/modules/convert
6543 e483220ea3
[Refactor] CombinedStatus and CommitStatus related functions & structs (#14026)
* RM unused struct

* rename (*CommitStatus) loadRepo() -> loadAttributes()

* move ToCommitStatus into its own file

* use CommitStatusState instead of StatusState

* move CombinedStatus convertion into convert package

* let models.GetLatestCommitStatus use repoID direct and accept ListOptions

* update swagger docs

* fix tests

* Fix swagger docs

* rm page

* fix swagger docs!!!

* return json null

* always return json

* rename api.Status to api.CommitStatus

* fix swagger docs

* sec swagger fix
2020-12-18 11:33:32 +08:00
..
convert.go [Refactor] CombinedStatus and CommitStatus related functions & structs (#14026) 2020-12-18 11:33:32 +08:00
git_commit.go
git_commit_test.go Use native git variants by default with go-git variants as build tag (#13673) 2020-12-17 22:00:47 +08:00
issue.go [API] Add Ref to Issue (#13946) 2020-12-13 11:34:11 +00:00
issue_comment.go
issue_test.go
main_test.go
notification.go Move Repo APIFormat to convert package (#13787) 2020-12-02 16:38:30 -05:00
pull.go Move Repo APIFormat to convert package (#13787) 2020-12-02 16:38:30 -05:00
pull_review.go Add review request api (#11355) 2020-10-20 14:18:25 -04:00
pull_test.go Move Repo APIFormat to convert package (#13787) 2020-12-02 16:38:30 -05:00
release.go
repository.go issue #12450: return original URL in original_url JSON field (#13885) 2020-12-07 13:07:48 +01:00
status.go [Refactor] CombinedStatus and CommitStatus related functions & structs (#14026) 2020-12-18 11:33:32 +08:00
user.go
user_test.go
utils.go