summaryrefslogtreecommitdiffstats
path: root/modules/context/context.go
Commit message (Expand)AuthorAgeFilesLines
* 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
* Prevent double-login for Git HTTP and LFS and simplify login (#15303)zeripath2021-05-151-0/+3
* Use route rather than use thus reducing the number of stack frames (#15301)zeripath2021-05-041-0/+6
* Disable Stars config option (#14653)Kyle D2021-04-151-0/+1
* [refactor] replace int with httpStatusCodes (#15282)65432021-04-051-1/+1
* response simple text message for not html request when 404 (#15229)a10121127962021-04-011-0/+17
* Add SameSite setting for cookies (#14900)zeripath2021-03-071-8/+40
* Migrate to use jsoniter instead of encoding/json (#14841)zeripath2021-03-011-1/+2
* Fix go get (#14758)Lunny Xiao2021-02-221-58/+0
* Prevent endless loop if templates missing (#14752)zeripath2021-02-201-0/+4
* Move middlewares to web/middleware (#14480)Lunny Xiao2021-01-301-18/+18
* Fix json charset bug (#14514)Lunny Xiao2021-01-291-2/+2
* Fix load time bug (#14508)Lunny Xiao2021-01-291-4/+10
* Fix JSON Header response (#14499)65432021-01-271-1/+1