forgejo/routers/api/v1/repo
Antoine GIRARD 38e799779f api: fix multiple bugs with statuses endpoints (#7785) (#7807)
* fix commit statuses api url

* search refs before passing sha

* adjust tests

* directly search tags and branches names + remove un-needed check in NewCommitStatus

* fix comment

* de-duplicate code

* test: use relative setting.AppURL

* Update routers/api/v1/repo/status.go

Co-Authored-By: Lauris BH <lauris@nix.lv>

* remove return

* Update routers/api/v1/repo/status.go

Co-Authored-By: Lauris BH <lauris@nix.lv>
2019-08-09 16:18:46 +03:00
..
blob.go Fixes 4762 - Content API for Creating, Updating, Deleting Files (#6314) 2019-04-17 12:06:35 -04:00
branch.go Move sdk structs to modules/structs (#6905) 2019-05-11 18:21:34 +08:00
collaborators.go fix wrong email when use gitea as OAuth2 provider (#7640) (#7647) 2019-07-27 17:25:16 +03:00
commits.go Fixes #7564 - Malformed URLs in API git/commits response (#7565) (#7567) 2019-07-22 22:38:38 +01:00
file.go Fixes #7292 - API File Contents bug (#7301) 2019-06-29 16:51:10 -04:00
fork.go Move sdk structs to modules/structs (#6905) 2019-05-11 18:21:34 +08:00
git_hook.go Move sdk structs to modules/structs (#6905) 2019-05-11 18:21:34 +08:00
git_ref.go api: fix multiple bugs with statuses endpoints (#7785) (#7807) 2019-08-09 16:18:46 +03:00
hook.go fix wrong email when use gitea as OAuth2 provider (#7640) (#7647) 2019-07-27 17:25:16 +03:00
hook_test.go API endpoint for testing webhook (#3550) 2018-04-29 14:21:33 +08:00
issue.go Move sdk structs to modules/structs (#6905) 2019-05-11 18:21:34 +08:00
issue_comment.go Move sdk structs to modules/structs (#6905) 2019-05-11 18:21:34 +08:00
issue_label.go Move sdk structs to modules/structs (#6905) 2019-05-11 18:21:34 +08:00
issue_tracked_time.go Move sdk structs to modules/structs (#6905) 2019-05-11 18:21:34 +08:00
key.go Move sdk structs to modules/structs (#6905) 2019-05-11 18:21:34 +08:00
label.go Add missing description of label on API (#7159) 2019-06-16 20:39:52 +08:00
main_test.go API endpoint for testing webhook (#3550) 2018-04-29 14:21:33 +08:00
milestone.go Add state param to milestone listing API (#7131) 2019-06-06 08:37:45 +08:00
pull.go Fix #732: Add LFS objects to base repository on merging (#7082) 2019-06-22 18:35:34 +01:00
release.go Move sdk structs to modules/structs (#6905) 2019-05-11 18:21:34 +08:00
release_attachment.go Move sdk structs to modules/structs (#6905) 2019-05-11 18:21:34 +08:00
repo.go Add golangci (#6418) 2019-06-12 15:41:28 -04:00
repo_test.go Fixes #5960 - Adds API Endpoint for Repo Edit (#7006) 2019-05-30 11:09:05 -04:00
star.go fix wrong email when use gitea as OAuth2 provider (#7640) (#7647) 2019-07-27 17:25:16 +03:00
status.go api: fix multiple bugs with statuses endpoints (#7785) (#7807) 2019-08-09 16:18:46 +03:00
subscriber.go fix wrong email when use gitea as OAuth2 provider (#7640) (#7647) 2019-07-27 17:25:16 +03:00
tag.go Fixes #2738 - Adds the /git/tags API endpoint (#7138) 2019-06-08 17:31:11 +03:00
tree.go Fixes 4762 - Content API for Creating, Updating, Deleting Files (#6314) 2019-04-17 12:06:35 -04:00