gitea/modules/context
KN4CK3R 8752d89be7
Redirect to new repository owner ()
Fixes 

If you rename `user1` to `user2` and visit `/user1` you get redirected
to `/user2`. But if you visit `/user1/repo` you just get a 404 error.
With this PR the user is redirected to `/user2/repo`.
..
access_log.go Pass down SignedUserName down to AccessLogger context ()
api.go Add Cache-Control header to html and api responses, add no-transform ()
api_org.go Move organization related structs into sub package ()
api_test.go format with gofumpt ()
auth.go Respond with a 401 on git push when password isn't changed yet ()
captcha.go format with gofumpt ()
context.go Share HTML template renderers and create a watcher framework ()
csrf.go Refactor CSRF protection modules, make sure CSRF tokens can be up-to-date. ()
form.go Add config options to hide issue events ()
org.go Add user/organization code search ()
package.go Respect `REQUIRE_SIGNIN_VIEW` for packages ()
pagination.go Remove tab/TabName usage where it's not needed ()
permission.go Move access and repo permission to models/perm/access ()
private.go Add more linters to improve code readability ()
repo.go Redirect to new repository owner ()
response.go format with gofumpt ()
utils.go Add more linters to improve code readability ()
xsrf.go Refactor CSRF protection modules, make sure CSRF tokens can be up-to-date. ()
xsrf_test.go Refactor CSRF protection modules, make sure CSRF tokens can be up-to-date. ()