1
1
mirror of https://github.com/go-gitea/gitea synced 2024-11-15 14:44:41 +00:00
gitea/routers/repo
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
..
activity.go Add top author stats to activity page (#9615) 2020-01-20 12:07:30 +02:00
attachment.go Attachments: Add extension support, allow all types for releases (#12465) 2020-10-05 01:49:33 -04:00
blame.go Show dropdown with all statuses for commit (#13977) 2020-12-20 11:13:12 +08:00
branch.go [API] Add pagination to ListBranches (#14524) 2021-02-03 20:06:13 +01:00
commit.go Show dropdown with all statuses for commit (#13977) 2020-12-20 11:13:12 +08:00
compare.go [API] Add pagination to ListBranches (#14524) 2021-02-03 20:06:13 +01:00
download.go Display SVG files as images instead of text (#14101) 2021-01-12 22:45:19 -05:00
editor_test.go Add Close() method to gogitRepository (#8901) 2019-11-13 07:01:19 +00:00
editor.go enhancement: add signoff option in commit form (#14516) 2021-01-29 16:57:45 +08:00
http.go Move macaron to chi (#14293) 2021-01-26 16:36:53 +01:00
issue_dependency.go Fix wrong permissions check when issues/prs shared operations (#9885) 2020-01-20 13:00:32 +01:00
issue_label_test.go Move macaron to chi (#14293) 2021-01-26 16:36:53 +01:00
issue_label.go Move macaron to chi (#14293) 2021-01-26 16:36:53 +01:00
issue_lock.go Move macaron to chi (#14293) 2021-01-26 16:36:53 +01:00
issue_stopwatch.go Display current stopwatch in navbar (#14122) 2021-01-21 15:51:52 +01:00
issue_test.go Refactor combine label comments with tests (#13619) 2020-11-20 17:29:09 -05:00
issue_timetrack.go Move macaron to chi (#14293) 2021-01-26 16:36:53 +01:00
issue_watch.go Fix PR/issue redirects when having external tracker (#9339) 2019-12-14 01:53:32 +01:00
issue.go [API] Add pagination to ListBranches (#14524) 2021-02-03 20:06:13 +01:00
lfs.go Display SVG files as images instead of text (#14101) 2021-01-12 22:45:19 -05:00
main_test.go Unit tests for wiki routers (#3022) 2017-11-30 17:52:15 +02:00
middlewares.go Add gitea-vet (#10948) 2020-04-05 07:20:50 +01:00
migrate.go Move macaron to chi (#14293) 2021-01-26 16:36:53 +01:00
milestone.go Move macaron to chi (#14293) 2021-01-26 16:36:53 +01:00
projects_test.go KanBan: be able to set default board (#14147) 2021-01-15 22:29:32 +02:00
projects.go Move macaron to chi (#14293) 2021-01-26 16:36:53 +01:00
pull_review.go Move macaron to chi (#14293) 2021-01-26 16:36:53 +01:00
pull.go Move middlewares to web/middleware (#14480) 2021-01-30 10:55:53 +02:00
release_test.go Move macaron to chi (#14293) 2021-01-26 16:36:53 +01:00
release.go Move macaron to chi (#14293) 2021-01-26 16:36:53 +01:00
repo.go Move macaron to chi (#14293) 2021-01-26 16:36:53 +01:00
search.go [Feature] add precise search type for Elastic Search (#12869) 2021-01-27 12:00:35 +02:00
setting_protected_branch.go Move macaron to chi (#14293) 2021-01-26 16:36:53 +01:00
setting.go Move macaron to chi (#14293) 2021-01-26 16:36:53 +01:00
settings_test.go Move macaron to chi (#14293) 2021-01-26 16:36:53 +01:00
topic.go Add API endpoint for accessing repo topics (#7963) 2019-09-03 23:46:24 +08:00
view.go Fix lfs preview bug (#14428) 2021-01-22 17:49:13 +00:00
webhook.go Move macaron to chi (#14293) 2021-01-26 16:36:53 +01:00
wiki_test.go Move macaron to chi (#14293) 2021-01-26 16:36:53 +01:00
wiki.go Move macaron to chi (#14293) 2021-01-26 16:36:53 +01:00