Commit Graph

1 Commits (29f149bd9f517225a3c9f1ca3fb0a7b5325af696)

Author SHA1 Message Date
Lunny Xiao 29f149bd9f
Move context from modules to services (#29440) 9 months ago
wxiaoguang 29a26d9d8c
Customizable "Open with" applications for repository clone (#29320) 9 months ago
wxiaoguang 8be198cdef
Use general token signing secret (#29205) 9 months ago
wxiaoguang f3eb835886
Refactor locale&string&template related code (#29165) 9 months ago
Lunny Xiao 5f82ead13c
Simplify how git repositories are opened (#28937) 10 months ago
wxiaoguang a4b242ae7a
Clean up template locale usage (#27856) 1 year ago
wxiaoguang 412e5c0946
Make web context initialize correctly for different cases (#26726) 1 year ago
wxiaoguang a370efc13f
Use template context function for avatar rendering (#26385) 1 year ago
wxiaoguang 6913053223
Start using template context function (#26254) 1 year ago
wxiaoguang dcd3a63128
Move web JSON functions to web context and simplify code (#26132) 1 year ago
silverwind 88f835192d
Replace `interface{}` with `any` (#25686) 1 year ago
wxiaoguang 4e2f1ee58d
Refactor web package and context package (#25298) 1 year ago
wxiaoguang abcf5a7b5e
Fix install page context, make the install page tests really test (#24858) 2 years ago
wxiaoguang 6b33152b7d
Decouple the different contexts from each other (#24786) 2 years ago
wxiaoguang def4956122
Improve Gitea's web context, decouple "issue template" code into service package (#24590) 2 years ago
wxiaoguang cb700aedd1
Split "modules/context.go" to separate files (#24569) 2 years ago
wxiaoguang 5d77691d42
Improve template system and panic recovery (#24461) 2 years ago
wxiaoguang e3750370df
Use globally shared HTMLRender (#24436) 2 years ago
wxiaoguang 92fd3fc4fd
Refactor "route" related code, fix Safari cookie bug (#24330) 2 years ago
wxiaoguang d44e1565da
Refactor `setting.Other` and remove unused `SHOW_FOOTER_BRANDING` (#24270) 2 years ago
wxiaoguang 722dab5286
Make HTML template functions support context (#24056) 2 years ago
wxiaoguang e422342eeb
Allow adding new files to an empty repo (#24164) 2 years ago
wxiaoguang 1c8bc4081a
Show friendly 500 error page to users and developers (#24110) 2 years ago
wxiaoguang 5b9557aef5
Refactor cookie (#24107) 2 years ago
wxiaoguang 50a72e7a83
Use a general approach to access custom/static/builtin assets (#24022) 2 years ago
wxiaoguang fdbd646113
Group template helper functions, remove `Printf`, improve template error messages (#23982) 2 years ago
wxiaoguang 8f00979f73
Drop "unrolled/render" package (#23965) 2 years ago
Hester Gong ca905b82df
Append `(comment)` when a link points at a comment rather than the whole issue (#23734) 2 years ago
zeripath 8f3aaef374
Improve template error reporting (#23396) 2 years ago
Yarden Shoham af0468ed8d
Set `X-Gitea-Debug` header once (#23361) 2 years ago
zeripath 1319ba6742
Use minio/sha256-simd for accelerated SHA256 (#23052) 2 years ago
KN4CK3R e8186f1c0f
Map OIDC groups to Orgs/Teams (#21441) 2 years ago
Jason Song 4011821c94
Implement actions (#21937) 2 years ago
Lunny Xiao ca67c5a8a7
refactor auth interface to return error when verify failure (#22119) 2 years ago
Lunny Xiao 0a7d3ff786
refactor some functions to support ctx as first parameter (#21878) 2 years ago
flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files (#21840) 2 years ago
KN4CK3R fc7a2d5a95
Add support for HEAD requests in Maven registry (#21834) 2 years ago
KN4CK3R 43ab9324c5
Fix setting HTTP headers after write (#21833) 2 years ago
zeripath bb0ff77e46
Share HTML template renderers and create a watcher framework (#20218) 2 years ago
KN4CK3R dc0253b063
Replace `ServeStream` with `ServeContent` (#20903) 2 years ago
Lunny Xiao 98190d0024
Fix disable download button (#20701) 2 years ago
silverwind 14178c56bb
Add Cache-Control header to html and api responses, add no-transform (#20432) 2 years ago
Gusted d55a0b7238
Refactor `i18n` to `locale` (#20153) 2 years ago
wxiaoguang 04fc4b7e05
Call MultipartForm.RemoveAll when request finishes (#19606) 3 years ago
wxiaoguang 84ceaa98bd
Refactor CSRF protection modules, make sure CSRF tokens can be up-to-date. (#19337) 3 years ago
Lunny Xiao 783a021889
Never use /api/v1 from Gitea UI Pages (#19318) 3 years ago
wxiaoguang 65f17bfc31
Refactor legacy `unknwon/com` package, improve golangci lint (#19284) 3 years ago
KN4CK3R 1d332342db
Add Package Registry (#16510) 3 years ago
KN4CK3R 59b867dc2d
Add `ContextUser` to http request context (#18798) 3 years ago
zeripath 0b1686b67a
Prevent redirect to Host (2) (#19175) 3 years ago