forgejo-federation/routers
a1012112796 b9850375fc
Add review request api (#11355)
* Add review request api

* add : POST /repos/{owner}/{repo}/pulls/{index}/requested_reviewers
* Remove : DELET /repos/{owner}/{repo}/pulls/{index}/requested_reviewers
* fix some request review bug
* block delet request review by models/DeleteReview()

Signed-off-by: a1012112796 <1012112796@qq.com>

* make fmt

* fix bug

* fix test code

* fix typo

* Apply suggestion from code review @jonasfranz

* fix swagger ref

* fix typo

Co-authored-by: Lauris BH <lauris@nix.lv>

* fix comment

* Change response message

* chang response so some simplfy

* Add ErrIllLegalReviewRequest
fix some nits

* make fmt

* Apply suggestions from code review

Co-authored-by: silverwind <me@silverwind.io>

* * Add team support
* fix test
* fix an known bug

* fix nit

* fix test

* Apply suggestions from code review

Co-authored-by: zeripath <art27@cantab.net>

* update get api and add test

Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: zeripath <art27@cantab.net>
2020-10-20 14:18:25 -04:00
..
admin Hide sync ssh keys button on admin dashboard if ssh disabled or builtin-ssh enabled (#13072) 2020-10-08 12:43:15 -04:00
api/v1 Add review request api (#11355) 2020-10-20 14:18:25 -04:00
dev Display ui time with customize time location (#7792) 2019-08-15 22:46:21 +08:00
events Add EventSource support (#11235) 2020-05-07 22:49:00 +01:00
org Set opengraph attributes on org pages (#12803) 2020-09-11 07:41:43 +01:00
private [Enhancement] Allow admin to merge pr with protected file changes (#12078) 2020-10-13 14:50:57 -04:00
repo Add review request api (#11355) 2020-10-20 14:18:25 -04:00
routes Move install pages out of main macaron routes (#13195) 2020-10-19 17:03:08 -04:00
user Avatars and Repo avatars support storing in minio (#12516) 2020-10-14 21:07:51 +08:00
utils Update golangci-lint to version 1.31.0 (#13102) 2020-10-11 21:27:20 +01:00
home.go Simplify CheckUnitUser logic (#12854) 2020-09-15 19:49:34 -04:00
init.go Move install pages out of main macaron routes (#13195) 2020-10-19 17:03:08 -04:00
install.go Move install pages out of main macaron routes (#13195) 2020-10-19 17:03:08 -04:00
metrics.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
swagger_json.go Add gitea-vet (#10948) 2020-04-05 07:20:50 +01:00