aboutsummaryrefslogtreecommitdiffstats
path: root/modules/context/context.go
Commit message (Expand)AuthorAgeFilesLines
* 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
* Change some logging levels (#18421)zeripath2022-01-291-7/+13
* Disable content sniffing on `PlainTextBytes` (#18359)Gusted2022-01-221-0/+1
* format with gofumpt (#18184)65432022-01-201-7/+7
* Propagate context and ensure git commands run in request context (#17868)zeripath2022-01-191-0/+6
* Instead of using routerCtx just escape the url before routing (#18086)zeripath2021-12-251-3/+0
* Prevent double decoding of % in url params (#17997)zeripath2021-12-161-0/+4
* Refactor HTTP request context (#17979)wxiaoguang2021-12-151-97/+60
* Move user related model into models/user (#17781)Lunny Xiao2021-11-241-4/+4
* Reset locale on login (#17734)zeripath2021-11-201-0/+3
* Extract constant names out for the ReverseProxy and Basic authentication meth...zeripath2021-11-201-1/+1
* Multiple Escaping Improvements (#17551)zeripath2021-11-161-3/+13
* Move unit into models/unit/ (#17576)Lunny Xiao2021-11-091-6/+7
* Frontend refactor, PascalCase to camelCase, remove unused code (#17365)wxiaoguang2021-10-211-1/+1
* Use a variable but a function for IsProd because of a slight performance incr...Lunny Xiao2021-10-201-3/+3
* Add RSS/Atom feed support for user actions (#16002)65432021-10-161-1/+1
* Frontend refactor: move Vue related code from `index.js` to `components` dir,...wxiaoguang2021-10-151-2/+3
* Upgrade chi to v5 (#17298)Lunny Xiao2021-10-131-1/+1
* Add user status filter to admin user management page (#16770)wxiaoguang2021-10-121-4/+8
* Fix bug of get context user (#17169)Lunny Xiao2021-09-281-0/+11
* Rename ctx.Form() to ctx.FormString() and move code into own file (#16571)65432021-08-111-36/+0
* Allow setting X-FRAME-OPTIONS (#16643)zeripath2021-08-061-1/+1
* Pass down SignedUserName down to AccessLogger context (#16605)zeripath2021-08-041-0/+11
* Rename context.Query to context.Form (#16562)Lunny Xiao2021-07-291-17/+14
* Add an abstract json layout to make it's easier to change json library (#16528)Lunny Xiao2021-07-241-2/+1
* Refactor: Move login out of models (#16199)zeripath2021-07-241-1/+1
* Rework repository archive (#14723)Lunny Xiao2021-06-231-0/+15
* [API] ListReleases add filter for draft and pre-releases (#16175)65432021-06-171-0/+6
* Add sso.Group, context.Auth, context.APIAuth to allow auth special routes (#1...Lunny Xiao2021-06-091-19/+23
* Make modules/context.Context a context.Context (#16031)zeripath2021-05-311-1/+21