summaryrefslogtreecommitdiffstats
path: root/modules/context/context.go
Commit message (Expand)AuthorAgeFilesLines
* Make web context initialize correctly for different cases (#26726)wxiaoguang2023-08-251-16/+25
* Use template context function for avatar rendering (#26385)wxiaoguang2023-08-101-0/+1
* Start using template context function (#26254)wxiaoguang2023-08-081-3/+12
* Move web JSON functions to web context and simplify code (#26132)wxiaoguang2023-07-261-0/+12
* Replace `interface{}` with `any` (#25686)silverwind2023-07-041-2/+2
* Refactor web package and context package (#25298)wxiaoguang2023-06-181-0/+8
* Fix install page context, make the install page tests really test (#24858)wxiaoguang2023-05-231-6/+6
* Decouple the different contexts from each other (#24786)wxiaoguang2023-05-211-77/+60
* Improve Gitea's web context, decouple "issue template" code into service pack...wxiaoguang2023-05-091-11/+12
* Split "modules/context.go" to separate files (#24569)wxiaoguang2023-05-081-576/+16
* Improve template system and panic recovery (#24461)wxiaoguang2023-05-041-46/+27
* Use globally shared HTMLRender (#24436)wxiaoguang2023-04-301-1/+1
* Refactor "route" related code, fix Safari cookie bug (#24330)wxiaoguang2023-04-271-0/+20
* Refactor `setting.Other` and remove unused `SHOW_FOOTER_BRANDING` (#24270)wxiaoguang2023-04-221-2/+1
* Make HTML template functions support context (#24056)wxiaoguang2023-04-201-1/+1
* Allow adding new files to an empty repo (#24164)wxiaoguang2023-04-191-1/+1
* Show friendly 500 error page to users and developers (#24110)wxiaoguang2023-04-141-34/+10
* Refactor cookie (#24107)wxiaoguang2023-04-131-65/+35
* Use a general approach to access custom/static/builtin assets (#24022)wxiaoguang2023-04-121-8/+4
* Group template helper functions, remove `Printf`, improve template error mess...wxiaoguang2023-04-081-4/+4
* Drop "unrolled/render" package (#23965)wxiaoguang2023-04-081-2/+1
* Append `(comment)` when a link points at a comment rather than the whole issu...Hester Gong2023-04-031-1/+3
* Improve template error reporting (#23396)zeripath2023-03-201-0/+32
* Set `X-Gitea-Debug` header once (#23361)Yarden Shoham2023-03-081-2/+2
* Use minio/sha256-simd for accelerated SHA256 (#23052)zeripath2023-02-221-1/+1
* Map OIDC groups to Orgs/Teams (#21441)KN4CK3R2023-02-081-32/+0
* Implement actions (#21937)Jason Song2023-01-311-0/+2
* refactor auth interface to return error when verify failure (#22119)Lunny Xiao2022-12-281-1/+7
* refactor some functions to support ctx as first parameter (#21878)Lunny Xiao2022-12-031-1/+1
* Implement FSFE REUSE for golang files (#21840)flynnnnnnnnnn2022-11-271-2/+1
* Add support for HEAD requests in Maven registry (#21834)KN4CK3R2022-11-241-5/+13
* Fix setting HTTP headers after write (#21833)KN4CK3R2022-11-181-23/+43
* Share HTML template renderers and create a watcher framework (#20218)zeripath2022-08-281-2/+2
* Replace `ServeStream` with `ServeContent` (#20903)KN4CK3R2022-08-251-17/+1
* Fix disable download button (#20701)Lunny Xiao2022-08-081-1/+1
* Add Cache-Control header to html and api responses, add no-transform (#20432)silverwind2022-07-231-0/+2
* Refactor `i18n` to `locale` (#20153)Gusted2022-06-271-1/+1
* Call MultipartForm.RemoveAll when request finishes (#19606)wxiaoguang2022-05-051-0/+12
* Refactor CSRF protection modules, make sure CSRF tokens can be up-to-date. (#...wxiaoguang2022-04-081-4/+6
* Never use /api/v1 from Gitea UI Pages (#19318)Lunny Xiao2022-04-071-0/+36
* Refactor legacy `unknwon/com` package, improve golangci lint (#19284)wxiaoguang2022-04-011-3/+3
* Add Package Registry (#16510)KN4CK3R2022-03-301-22/+38
* Add `ContextUser` to http request context (#18798)KN4CK3R2022-03-261-2/+3
* Prevent redirect to Host (2) (#19175)zeripath2022-03-231-0/+6
* Update HTTP status codes to modern codes (#18063)KN4CK3R2022-03-231-3/+3
* Renamed ctx.User to ctx.Doer. (#19161)KN4CK3R2022-03-221-11/+11
* If rendering has failed due to a net.OpError stop rendering (attempt 2) (#19049)zeripath2022-03-101-1/+1
* Display template path of current page in dev mode (#18717)Lunny Xiao2022-02-121-1/+4
* Refactor i18n, use Locale to provide i18n/translation related functions (#18648)wxiaoguang2022-02-081-9/+0
* If rendering has failed due to a net.OpError stop rendering (#18642)zeripath2022-02-061-0/+8