gitea/services/context
wxiaoguang c4e27cb27b
Refactor markup render system ()
This PR mainly moves some code and introduces `RenderContext.WithXxx`
functions
..
upload Include file extension checks in attachment API ()
access_log.go Move context from modules to services ()
api.go Refactor RepoRefByType ()
api_org.go Move context from modules to services ()
api_test.go Move context from modules to services ()
base.go Fix LFS route mock, realm, middleware names ()
base_test.go Use strict protocol check when redirect ()
captcha.go Refactor cache and disable go-chi cache ()
context.go Fix LFS route mock, realm, middleware names ()
context_cookie.go Move context from modules to services ()
context_model.go Move context from modules to services ()
context_request.go Move context from modules to services ()
context_response.go Refactor AppURL usage ()
context_template.go Move context from modules to services ()
context_test.go Refactor external URL detection ()
csrf.go Refactor CSRF token ()
org.go Refactor markup render system ()
package.go Refactor names ()
pagination.go Remove AddParamIfExist(AddParam) ()
permission.go Allow maintainers to view and edit files of private repos when "Allow maintainers to edit" is enabled ()
private.go Move context from modules to services ()
repo.go Remove unnecessary code ()
response.go Move context from modules to services ()
user.go Refactor names ()
utils.go Move context from modules to services ()
xsrf.go Move context from modules to services ()
xsrf_test.go Move context from modules to services ()