gitea/routers
zeripath 09f7d84f4c
Ensure rejected push to refs/pull/index/head fails nicely ()
A pre-receive hook that rejects pushes to refs/pull/index/head
will cause a broken PR which causes an internal server error
whenever it is viewed. This PR handles prevents the internal server
error by handling non-existent pr heads and sends a flash error
informing the creator there was a problem.

Signed-off-by: Andrew Thornton <art27@cantab.net>
..
admin Refactor Cron and merge dashboard tasks ()
api/v1 Add option to API to update PullRequest base branch ()
dev Display ui time with customize time location ()
events Add EventSource support ()
org Fix visibility of forked public repos from private orgs ()
private Protect default branch against deletion ()
repo Ensure rejected push to refs/pull/index/head fails nicely ()
routes Move serviceworker to workbox and fix SSE interference ()
user Add hide activity option ()
utils Handle push rejection message in Merge & Web Editor ()
home.go Ensure public repositories in private organizations are visible and fix admin organizations list ()
init.go Refactor Cron and merge dashboard tasks ()
install.go Whenever the ctx.Session is updated, release it to save it before sending the redirect ()
metrics.go Use gitea forked macaron ()
swagger_json.go Add gitea-vet ()