summaryrefslogtreecommitdiffstats
path: root/modules/context/api.go
Commit message (Expand)AuthorAgeFilesLines
* refactor auth interface to return error when verify failure (#22119) (#22259)Lunny Xiao2022-12-291-1/+7
* Use complete SHA to create and query commit status (#22244) (#22257)Jason Song2022-12-281-1/+1
* Add Cache-Control header to html and api responses, add no-transform (#20432)silverwind2022-07-231-0/+2
* Add more linters to improve code readability (#19989)Wim2022-06-201-1/+1
* Call MultipartForm.RemoveAll when request finishes (#19606)wxiaoguang2022-05-051-0/+1
* Federation: return useful statistic information for nodeinfo (#19561)65432022-05-021-0/+2
* Use router param for filepath in GetRawFile (#19499)John Olheiser2022-04-261-0/+1
* RepoAssignment ensure to close before overwrite (#19449)65432022-04-211-41/+40
* Remove dependent on session auth for api/v1 routers (#19321)Lunny Xiao2022-04-081-22/+3
* Never use /api/v1 from Gitea UI Pages (#19318)Lunny Xiao2022-04-071-16/+0
* Make git.OpenRepository accept Context (#19260)65432022-03-301-2/+2
* Update HTTP status codes to modern codes (#18063)KN4CK3R2022-03-231-2/+2
* Renamed ctx.User to ctx.Doer. (#19161)KN4CK3R2022-03-221-10/+10
* format with gofumpt (#18184)65432022-01-201-11/+10
* Propagate context and ensure git commands run in request context (#17868)zeripath2022-01-191-25/+23
* Refactor auth package (#17962)Lunny Xiao2022-01-021-7/+7
* Handle invalid issues (#18111)Gusted2021-12-281-9/+14
* Refactor HTTP request context (#17979)wxiaoguang2021-12-151-5/+5
* Move repository model into models/repo (#17933)Lunny Xiao2021-12-101-3/+3
* 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
* Use a variable but a function for IsProd because of a slight performance incr...Lunny Xiao2021-10-201-2/+2
* Move twofactor to models/login (#17143)Lunny Xiao2021-09-251-2/+3
* Make LDAP be able to skip local 2FA (#16954)zeripath2021-09-171-0/+4
* [API] generalize list header (#16551)65432021-08-121-0/+17
* 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-1/+1
* Refactor: Move login out of models (#16199)zeripath2021-07-241-1/+1
* Add sso.Group, context.Auth, context.APIAuth to allow auth special routes (#1...Lunny Xiao2021-06-091-15/+21
* [refactor] replace int with httpStatusCodes (#15282)65432021-04-051-4/+4
* Move middlewares to web/middleware (#14480)Lunny Xiao2021-01-301-2/+2
* Update docs and comments to remove macaron (#14491)Lunny Xiao2021-01-291-2/+2
* Move macaron to chi (#14293)Lunny Xiao2021-01-261-37/+104
* just overload to not get it by mistake again ... (#14440)65432021-01-231-0/+5
* Send error message when CSRF token is missing (#13676)Kevin Zúñiga2020-11-231-1/+1
* [API] Only Return Json (#13511)65432020-11-141-0/+58
* Delete tag API (#13358)John Olheiser2020-10-301-0/+4
* [API] If User is Admin, show 500 error message on PROD mode too (#13115)65432020-10-121-2/+2
* Fix typo (#12013)successgo2020-06-221-1/+1
* Provide diff and patch API endpoints (#11751)zeripath2020-06-051-0/+4
* [API] on 500 error only show message if gitea in dev mode (#11641)65432020-06-031-0/+4
* Return json on 500 error from API (#11574)65432020-05-281-4/+21
* api.Context.NotFound(...) should tolerate nil (#11288)zeripath2020-05-051-0/+5
* Swagger info corrections (#9441)65432019-12-201-0/+7
* Add Close() method to gogitRepository (#8901)zeripath2019-11-131-0/+9
* Use gitea forked macaron (#7933)Tamal Saha2019-08-231-3/+2
* fix API link header (#7298)Lunny Xiao2019-06-261-7/+34
* API error cleanup (#7186)John Olheiser2019-06-121-11/+2
* Unifies pagination template usage (#6531) (#6533)Mario Lubenka2019-04-201-10/+10