forgejo/routers
6543 0d1444751f
[API] Add pagination to ListBranches (#14524)
* 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>
2021-02-03 20:06:13 +01:00
..
admin Update docs and comments to remove macaron (#14491) 2021-01-29 16:35:30 +01:00
api/v1 [API] Add pagination to ListBranches (#14524) 2021-02-03 20:06:13 +01:00
dev
events Add EventSource support (#11235) 2020-05-07 22:49:00 +01:00
org Move macaron to chi (#14293) 2021-01-26 16:36:53 +01:00
private Move macaron to chi (#14293) 2021-01-26 16:36:53 +01:00
repo [API] Add pagination to ListBranches (#14524) 2021-02-03 20:06:13 +01:00
routes Adding Chi's GetHead middleware (#14541) 2021-02-02 10:53:42 +02:00
user Fix captcha (#14488) 2021-01-27 22:56:54 +08:00
utils Return the full rejection message and errors in flash errors (#13221) 2020-10-20 19:50:10 -04:00
home.go [Feature] add precise search type for Elastic Search (#12869) 2021-01-27 12:00:35 +02:00
init.go Print usefull error if SQLite is used in settings but not supported (#14476) 2021-01-27 04:57:18 +01:00
install.go Move middlewares to web/middleware (#14480) 2021-01-30 10:55:53 +02:00
metrics.go Move metrics from macaron to chi (#13601) 2020-11-17 15:50:06 -05:00
swagger_json.go Move macaron to chi (#14293) 2021-01-26 16:36:53 +01:00