gitea/modules/context
6543 0d1444751f
[API] Add pagination to ListBranches ()
* make PaginateUserSlice generic -> PaginateSlice

* Add pagination to ListBranches

* add skip, limit to Repository.GetBranches()

* Move routers/api/v1/utils/utils PaginateSlice -> modules/util/paginate.go

* repo_module.GetBranches paginate

* fix & rename & more logging

* better description

Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: a1012112796 <1012112796@qq.com>
..
access_log.go Fix access log ()
api.go Move middlewares to web/middleware ()
api_org.go Golint fixed for modules/context
api_test.go fix API link header ()
auth.go Move macaron to chi ()
captcha.go Fix captcha ()
context.go Move middlewares to web/middleware ()
csrf.go Move macaron to chi ()
form.go Move macaron to chi ()
org.go Update docs and comments to remove macaron ()
pagination.go [Feature] add precise search type for Elastic Search ()
permission.go Update docs and comments to remove macaron ()
private.go Update docs and comments to remove macaron ()
repo.go [API] Add pagination to ListBranches ()
response.go Fix access log ()
secret.go Move macaron to chi ()
xsrf.go Move macaron to chi ()
xsrf_test.go Move macaron to chi ()