gitea/modules/context
zeripath d9de58beee
api.Context.NotFound(...) should tolerate nil ()
There is an unfortunate signature change with the api.Context
NotFound function; whereas the normal modules/context/Context
NotFound function requires an error or nil, the api.Context
variant will panic with an NPE if a nil is provided.

This PR will allow api.Context.NotFound to tolerate a being
passed a nil.

Signed-off-by: Andrew Thornton <art27@cantab.net>

Co-authored-by: Lauris BH <lauris@nix.lv>
..
api.go api.Context.NotFound(...) should tolerate nil ()
api_org.go Golint fixed for modules/context
api_test.go fix API link header ()
auth.go Use Req.URL.RequestURI() to cope with FCGI urls ()
context.go Prevent redirect to Host ()
org.go API add/generalize pagination ()
pagination.go Use gitea forked macaron ()
panic.go Use gitea forked macaron ()
permission.go Use Req.URL.RequestURI() to cope with FCGI urls ()
repo.go Allow unauthenticated users to compare ()