gitea/modules/context
zeripath 9b261f52f0
Add SameSite setting for cookies ()
Add SameSite setting for cookies and rationalise the cookie setting code. Switches SameSite to Lax by default. 

There is a possible future extension of differentiating which cookies could be set at Strict by default but that is for a future PR.

Fix 

Signed-off-by: Andrew Thornton <art27@cantab.net>
..
access_log.go Fix access log ()
api.go Move middlewares to web/middleware ()
api_org.go Golint fixed for modules/context
api_test.go fix API link header ()
auth.go Add SameSite setting for cookies ()
captcha.go Fix captcha ()
context.go Add SameSite setting for cookies ()
csrf.go Add SameSite setting for cookies ()
form.go Move macaron to chi ()
org.go Update docs and comments to remove macaron ()
pagination.go [Feature] add precise search type for Elastic Search ()
permission.go Update docs and comments to remove macaron ()
private.go Update docs and comments to remove macaron ()
repo.go Repository transfer has to be confirmed, if user can not create repo for new owner ()
response.go Fix access log ()
secret.go Move macaron to chi ()
xsrf.go Move macaron to chi ()
xsrf_test.go Move macaron to chi ()