forgejo/modules/context
6543 2289580bb7
[API] generalize list header (#16551)
* Add info about list endpoints to CONTRIBUTING.md

* Let all list endpoints return X-Total-Count header 

* Add TODOs for GetCombinedCommitStatusByRef

* Fix models/issue_stopwatch.go

* Rrefactor models.ListDeployKeys

* Introduce helper func and use them for SetLinkHeader related func
2021-08-12 14:43:08 +02:00
..
access_log.go Pass down SignedUserName down to AccessLogger context (#16605) 2021-08-04 13:26:30 -04:00
api.go [API] generalize list header (#16551) 2021-08-12 14:43:08 +02:00
api_org.go
api_test.go
auth.go [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00
captcha.go
context.go Rename ctx.Form() to ctx.FormString() and move code into own file (#16571) 2021-08-11 02:31:13 +02:00
csrf.go Redirect on bad CSRF instead of presenting bad page (#14937) 2021-07-08 15:57:24 +02:00
form.go Rename ctx.Form() to ctx.FormString() and move code into own file (#16571) 2021-08-11 02:31:13 +02:00
org.go [API] generalize list header (#16551) 2021-08-12 14:43:08 +02:00
pagination.go
permission.go
private.go
repo.go Rename ctx.Form() to ctx.FormString() and move code into own file (#16571) 2021-08-11 02:31:13 +02:00
response.go Stop calling WriteHeader in Write (#15862) 2021-05-14 11:05:50 +03:00
xsrf.go
xsrf_test.go