forgejo-federation/routers
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
..
admin LDAP Public SSH Keys synchronization (#1844) 2018-05-24 07:59:02 +03:00
api/v1 Disable merging a WIP Pull request (#4529) 2018-08-13 22:04:39 +03:00
dev Make time diff translatable (#2057) 2017-06-28 13:43:28 +08:00
org Display error when adding a user to a team twice (#4746) 2018-08-19 21:49:19 +03:00
private improve protected branch to add whitelist support (#2451) 2017-09-14 16:16:22 +08:00
repo User shouldn't be able to approve or reject his/her own PR (#4729) 2018-08-20 07:04:01 +02:00
routes Make cookies HttpOnly and obey COOKIE_SECURE flag (#4706) 2018-08-14 23:16:37 +03:00
user Make cookies HttpOnly and obey COOKIE_SECURE flag (#4706) 2018-08-14 23:16:37 +03:00
utils Allow adding collaborators with (fullname) (#3103) 2017-12-07 15:00:09 +08:00
home.go fix not respecting landing page setting (#4209) 2018-06-15 11:42:46 +08:00
init.go Store OAuth2 session data in database (#3660) 2018-04-29 09:09:24 +03:00
install.go Use updated docs link on install page (#4668) 2018-08-11 21:05:52 -04:00
swagger_json.go Swagger.v1.json template (#3572) 2018-07-28 03:19:01 +03:00