1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-02 08:57:32 -04:00
gitea/models/fixtures
6543 c97494a4f4
API: Add pull review endpoints (#11224)
* API: Added pull review read only endpoints

* Update Structs, move Conversion, Refactor

* refactor

* lint & co

* fix lint + refactor

* add new Review state, rm unessesary, refacotr loadAttributes, convert patch to diff

* add DeletePullReview

* add paggination

* draft1: Create & submit review

* fix lint

* fix lint

* impruve test

* DONT use GhostUser for loadReviewer

* expose comments_count of a PullReview

* infent GetCodeCommentsCount()

* fixes

* fix+impruve

* some nits

* Handle Ghosts 👻

* add TEST for GET apis

* complete TESTS

* add HTMLURL to PullReview responce

* code format as per @lafriks

* update swagger definition

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

Co-authored-by: David Svantesson <davidsvantesson@gmail.com>

* add comments

Co-authored-by: Thomas Berger <loki@lokis-chaos.de>
Co-authored-by: David Svantesson <davidsvantesson@gmail.com>
2020-05-02 03:20:51 +03:00
..
access_token.yml
access.yml Fix "access" fixtures and tests (#10247) 2020-02-15 12:29:06 +08:00
action.yml
attachment.yml
collaboration.yml Fix "access" fixtures and tests (#10247) 2020-02-15 12:29:06 +08:00
comment.yml [API] Add "before" query to ListIssueComments and ListRepoIssue… (#9685) 2020-01-13 17:02:24 +01:00
commit_status.yml
deleted_branch.yml
deploy_key.yml
email_address.yml
follow.yml
gpg_key_import.yml
gpg_key.yml
hook_task.yml
issue_assignees.yml
issue_label.yml Add Organization Wide Labels (#10814) 2020-04-01 01:14:46 -03:00
issue_user.yml
issue_watch.yml
issue.yml [API] ListIssues add filter for milestones (#10148) 2020-04-30 01:15:39 -03:00
label.yml Add Organization Wide Labels (#10814) 2020-04-01 01:14:46 -03:00
login_source.yml
milestone.yml [API] ListIssues add filter for milestones (#10148) 2020-04-30 01:15:39 -03:00
notice.yml
notification.yml
oauth2_application.yml
oauth2_authorization_code.yml
oauth2_grant.yml
org_user.yml Restricted users (#6274) 2020-01-13 18:33:46 +01:00
protected_branch.yml
public_key.yml
pull_request.yml API: Add pull review endpoints (#11224) 2020-05-02 03:20:51 +03:00
reaction.yml
release.yml
repo_indexer_status.yml
repo_redirect.yml
repo_topic.yml
repo_unit.yml Fix "access" fixtures and tests (#10247) 2020-02-15 12:29:06 +08:00
repository.yml Index code and stats only for non-empty repositories (#10251) 2020-02-14 13:42:30 +01:00
review.yml API: Add pull review endpoints (#11224) 2020-05-02 03:20:51 +03:00
star.yml
stopwatch.yml
team_repo.yml
team_unit.yml
team_user.yml Restricted users (#6274) 2020-01-13 18:33:46 +01:00
team.yml Restricted users (#6274) 2020-01-13 18:33:46 +01:00
topic.yml
tracked_time.yml
two_factor.yml
u2f_registration.yml
user_open_id.yml
user.yml Restricted users (#6274) 2020-01-13 18:33:46 +01:00
watch.yml
webhook.yml