0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-28 07:34:22 +01:00
gitea/routers/repo
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
..
activity.go
attachment.go
blame.go [Refactor] CombinedStatus and CommitStatus related functions & structs (#14026) 2020-12-18 11:33:32 +08:00
branch.go
commit.go [Refactor] CombinedStatus and CommitStatus related functions & structs (#14026) 2020-12-18 11:33:32 +08:00
compare.go
download.go
editor.go
editor_test.go
http.go Log IP on SSH authentication failure for Built-in SSH server (#13150) 2020-12-08 18:54:33 +01:00
issue.go add thumbnail preview section to issue attachments (#13826) 2020-12-13 21:12:27 +02:00
issue_dependency.go
issue_label.go
issue_label_test.go
issue_lock.go
issue_stopwatch.go
issue_test.go
issue_timetrack.go
issue_watch.go
lfs.go Use native git variants by default with go-git variants as build tag (#13673) 2020-12-17 22:00:47 +08:00
main_test.go
middlewares.go
migrate.go
milestone.go
projects.go
pull.go [Refactor] CombinedStatus and CommitStatus related functions & structs (#14026) 2020-12-18 11:33:32 +08:00
pull_review.go
release.go
release_test.go
repo.go
search.go
setting.go
setting_protected_branch.go Add block on official review requests branch protection (#13705) 2020-11-28 21:30:46 +02:00
settings_test.go
topic.go
view.go [Refactor] CombinedStatus and CommitStatus related functions & structs (#14026) 2020-12-18 11:33:32 +08:00
webhook.go Fix broken migration on webhook (#13911) 2020-12-09 17:20:13 +00:00
wiki.go
wiki_test.go