0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-29 14:45:24 +01:00
gitea/routers
Chri-s a2a49c93c7 Added checks for protected branches in pull requests (#3544)
* Added checks for protected branches in pull requests

Signed-off-by: Christian Wulff <NChris@posteo.net>

* Moved check for protected branch into new function CheckUserAllowedToMerge

Signed-off-by: Christian Wulff <NChris@posteo.net>

* Removed merge conflict lines from last commit

Signed-off-by: Christian Wulff <NChris@posteo.net>

* Explicit check for error type in ViewIssue

Signed-off-by: Christian Wulff <NChris@posteo.net>
2018-03-13 11:46:14 +08:00
..
admin Add admin dashboard option to run health checks (#3606) 2018-03-02 11:09:43 +02:00
api/v1 Added issue search via api (#3612) 2018-03-07 12:00:56 +02:00
dev Make time diff translatable (#2057) 2017-06-28 13:43:28 +08:00
org Address issues pointed out by @lunny in #3339 (#3352) 2018-01-12 08:37:30 -06:00
private improve protected branch to add whitelist support (#2451) 2017-09-14 16:16:22 +08:00
repo Added checks for protected branches in pull requests (#3544) 2018-03-13 11:46:14 +08:00
routes Enable caching on assets and avatars (#3376) 2018-02-04 00:37:05 +02:00
user Fix missing translations when updating username. (#3564) 2018-02-25 15:56:25 +02:00
utils Allow adding collaborators with (fullname) (#3103) 2017-12-07 15:00:09 +08:00
home.go Handle refactor (#3339) 2018-01-10 23:34:17 +02:00
init.go Set session and indexers' data files rel to AppDataPath (#2192) 2017-11-03 10:56:20 +02:00
install.go Implements generator cli for secrets (#3531) 2018-02-18 20:14:37 +02:00