forgejo/routers/api/v1
Antoine GIRARD 2b6f45299d api: fix multiple bugs with statuses endpoints (#7785)
* 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 10:13:03 +08:00
..
admin add pagination for admin api get orgs and fix only list public orgs bug (#7742) 2019-08-04 14:33:36 -04:00
convert fix wrong email when use gitea as OAuth2 provider (#7640) 2019-07-27 16:15:30 +03:00
misc Add golangci (#6418) 2019-06-12 15:41:28 -04:00
org fix wrong email when use gitea as OAuth2 provider (#7640) 2019-07-27 16:15:30 +03:00
repo api: fix multiple bugs with statuses endpoints (#7785) 2019-08-09 10:13:03 +08:00
swagger Fixes #7292 - API File Contents bug (#7301) 2019-06-29 16:51:10 -04:00
user fix wrong email when use gitea as OAuth2 provider (#7640) 2019-07-27 16:15:30 +03:00
utils Webhook Logs show proper HTTP Method, and allow change HTTP method in form (#6953) 2019-05-15 20:01:53 +08:00
api.go Swagger: Add information to API Token header (#7585) 2019-07-24 09:34:11 +01:00