gitea/routers/repo
Lanre Adelowo 6c1a31ffaa User shouldn't be able to approve or reject his/her own PR (#4729)
* Make sure author cannot reject/approve their own PR

* Disable buttons in templates too

* Remove unneccessary if check since the switch below catches it

* Fix IsOwner check

* Update template and remove new template variable

* Add alert template and redirect to diff page on review failure

* Redirect to files diff as a little update to #4632
2018-08-20 07:04:01 +02:00
..
activity.go
attachment.go
branch.go
commit.go
download.go
editor.go
http.go env var GITEA_PUSHER_EMAIL (#4516) 2018-07-26 19:38:55 +03:00
issue.go Disable merging a WIP Pull request (#4529) 2018-08-13 22:04:39 +03:00
issue_dependency.go Added dependencies for issues (#2196) (#2531) 2018-07-17 17:23:58 -04:00
issue_label.go
issue_label_test.go
issue_stopwatch.go
issue_timetrack.go
issue_watch.go
main_test.go
middlewares.go Add whitespace handling to PR-comparsion (#4683) 2018-08-14 13:49:33 -04:00
pull.go Add whitespace handling to PR-comparsion (#4683) 2018-08-14 13:49:33 -04:00
pull_review.go User shouldn't be able to approve or reject his/her own PR (#4729) 2018-08-20 07:04:01 +02:00
release.go Fix some webhooks bugs (#3981) 2018-05-21 10:28:29 +08:00
release_test.go
repo.go
search.go
setting.go Improve URL validation for external wiki and external issues (#4710) 2018-08-15 09:29:37 +03:00
setting_protected_branch.go
settings_test.go An inactive user shouldn't be able to be added as a collaborator (#4535) 2018-08-07 13:01:06 +03:00
topic.go Fix topics addition (Another solution) (#4031) (#4258) 2018-06-21 17:09:46 +08:00
view.go HTML-escape text READMEs (#4192) 2018-06-10 21:42:16 +03:00
webhook.go Fix webhook type conflation. (#4285) 2018-06-21 07:22:03 +02:00
wiki.go Fix wiki redirects (#3919) 2018-05-28 09:38:20 -04:00
wiki_test.go