1
0
Fork 0
forgejo/models
赵智超 ef89e75d0e
add request review from specific reviewers feature in pull request (#10756)
* add request review feature in pull request

add a way to notify specific reviewers to review like github , by add  or delet a  special type
review . The acton is  is similar to Assign ,  so many code reuse the function and items of
Assignee, but the meaning and result is different.

The Permission style is is similar to github, that only writer can add a review request from Reviewers,
but the poster can recall and remove a review request after a reviwer has revied even if he don't have
Write Premission. only manager , the poster and reviewer of a request review can remove it.

The reviewers can be requested to review contain all readers for private repo , for public, contain
all writers and watchers.

The offical Review Request will block merge if Reject can block it.

an other change: add ui otify for Assignees.

Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com>
Co-authored-by: Lauris BH <lauris@nix.lv>

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

* new change

* add placeholder string

* do some changes follow #10238 to add review requests num on lists also
change icon for review requests to eye

Co-authored-by: Lauris BH <lauris@nix.lv>
2020-04-06 19:33:34 +03:00
..
fixtures Add Organization Wide Labels (#10814) 2020-04-01 01:14:46 -03:00
migrations Mulitple Gitea Doctor improvements (#10943) 2020-04-06 11:44:47 +01:00
access.go
access_test.go
action.go
action_list.go
action_test.go Add gitea-vet (#10948) 2020-04-05 07:20:50 +01:00
admin.go
admin_test.go
attachment.go
attachment_test.go
avatar.go
branches.go add request review from specific reviewers feature in pull request (#10756) 2020-04-06 19:33:34 +03:00
branches_test.go
commit_status.go
commit_status_test.go
consistency.go
context.go
convert.go
error.go Add Organization Wide Labels (#10814) 2020-04-01 01:14:46 -03:00
error_oauth2.go
external_login_user.go
fixture_generation.go
fixture_test.go
gpg_key.go
gpg_key_test.go
helper.go
helper_directory.go
helper_environment.go
issue.go Allow X in addition to x in tasks (#10979) 2020-04-05 17:39:05 -05:00
issue_assignees.go
issue_assignees_test.go
issue_comment.go add request review from specific reviewers feature in pull request (#10756) 2020-04-06 19:33:34 +03:00
issue_comment_list.go
issue_comment_test.go
issue_dependency.go
issue_dependency_test.go
issue_label.go Add Organization Wide Labels (#10814) 2020-04-01 01:14:46 -03:00
issue_label_test.go Add Organization Wide Labels (#10814) 2020-04-01 01:14:46 -03:00
issue_list.go
issue_list_test.go Add Organization Wide Labels (#10814) 2020-04-01 01:14:46 -03:00
issue_lock.go
issue_milestone.go Fix milestones too many SQL variables bug (#10880) 2020-03-31 10:47:00 +03:00
issue_milestone_test.go Fix milestones too many SQL variables bug (#10880) 2020-03-31 10:47:00 +03:00
issue_reaction.go
issue_reaction_test.go
issue_stopwatch.go
issue_stopwatch_test.go Add gitea-vet (#10948) 2020-04-05 07:20:50 +01:00
issue_test.go
issue_tracked_time.go
issue_tracked_time_test.go
issue_user.go
issue_user_test.go
issue_watch.go
issue_watch_test.go
issue_xref.go
issue_xref_test.go
lfs.go Add gitea-vet (#10948) 2020-04-05 07:20:50 +01:00
lfs_lock.go
list_options.go
log.go
login_source.go
main_test.go Add gitea-vet (#10948) 2020-04-05 07:20:50 +01:00
migrate.go
models.go
models_test.go
notification.go add request review from specific reviewers feature in pull request (#10756) 2020-04-06 19:33:34 +03:00
notification_test.go add request review from specific reviewers feature in pull request (#10756) 2020-04-06 19:33:34 +03:00
oauth2.go
oauth2_application.go
oauth2_application_test.go
org.go
org_team.go
org_team_test.go
org_test.go
pull.go
pull_list.go
pull_sign.go
pull_test.go
release.go
repo.go add request review from specific reviewers feature in pull request (#10756) 2020-04-06 19:33:34 +03:00
repo_activity.go
repo_branch.go
repo_collaboration.go
repo_collaboration_test.go
repo_generate.go
repo_generate_test.go
repo_indexer.go
repo_issue.go
repo_language_stats.go
repo_list.go Fix milestones too many SQL variables bug (#10880) 2020-03-31 10:47:00 +03:00
repo_list_test.go
repo_mirror.go
repo_permission.go
repo_permission_test.go
repo_redirect.go
repo_redirect_test.go
repo_sign.go
repo_test.go
repo_unit.go
repo_watch.go
repo_watch_test.go
review.go add request review from specific reviewers feature in pull request (#10756) 2020-04-06 19:33:34 +03:00
review_test.go add request review from specific reviewers feature in pull request (#10756) 2020-04-06 19:33:34 +03:00
ssh_key.go Mulitple Gitea Doctor improvements (#10943) 2020-04-06 11:44:47 +01:00
ssh_key_test.go
star.go
star_test.go
task.go
test_fixtures.go
token.go
token_test.go
topic.go
topic_test.go
twofactor.go
u2f.go
u2f_test.go Add gitea-vet (#10948) 2020-04-05 07:20:50 +01:00
unit.go
unit_tests.go
update.go
upload.go
user.go
user_follow.go
user_follow_test.go Add gitea-vet (#10948) 2020-04-05 07:20:50 +01:00
user_heatmap.go
user_heatmap_test.go
user_mail.go
user_mail_test.go
user_openid.go
user_openid_test.go
user_test.go
userlist.go
userlist_test.go
webhook.go
webhook_test.go
wiki.go
wiki_test.go