0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-26 13:14:40 +01:00
gitea/routers/api/v1/repo
Richard Mahn da1edbfb79 Feature - Pagination for git tree API (#5838)
* Feature - Pagination for git tree API

* Handles case when page is negative

* Does a for loop over the start and end rather than all entries

* Removed redundent logic

* Adds per_page as a query parameter

* Adds DEFAULT_GIT_TREES_PER_PAGE for settings, ran make fmt

* Fix typo in cheat-sheet en

* Makes page start at 1, generated swagger

* Use updates to SDK

* Updates to use latest sdk

* Updates swagger for tree api

* Adds test for GetTreeBySHA

* Updates per PR reviews

* Updates per PR reviews

* Remove file

* Formatting

* Fix to swagger file

* Fix to swagger

* Update v1_json.tmpl

* Fix to swagger file
2019-02-06 18:19:26 +00:00
..
branch.go
collaborators.go Restrict permission check on repositories and fix some problems (#5314) 2018-11-28 19:26:14 +08:00
commits.go Add single commit API support (#5843) 2019-02-02 22:35:17 -05:00
file.go Refactor repo.isBare to repo.isEmpty #5629 (#5714) 2019-01-17 19:01:04 -05:00
fork.go Restrict permission check on repositories and fix some problems (#5314) 2018-11-28 19:26:14 +08:00
git_ref.go
hook.go
hook_test.go
issue.go Add label names as filter in issue search api (#5946) 2019-02-04 10:20:44 -05:00
issue_comment.go Refactor notification for indexer (#5111) 2019-01-17 22:23:22 +08:00
issue_label.go Restrict permission check on repositories and fix some problems (#5314) 2018-11-28 19:26:14 +08:00
issue_tracked_time.go
key.go Fix ssh deploy and user key constraints (#1357) (#5939) 2019-02-03 23:56:53 +00:00
label.go Restrict permission check on repositories and fix some problems (#5314) 2018-11-28 19:26:14 +08:00
main_test.go
milestone.go
pull.go Issue 5924 fix compare button (#5929) 2019-02-03 19:56:18 -05:00
release.go Fix new release creation API to allow empty target (#5870) 2019-01-30 11:33:00 -05:00
release_attachment.go
repo.go admin should be able to delete repos even if he is not a member of the organization (#5443) 2018-12-02 11:08:33 -05:00
star.go
status.go
subscriber.go
tree.go Feature - Pagination for git tree API (#5838) 2019-02-06 18:19:26 +00:00
tree_test.go Feature - Pagination for git tree API (#5838) 2019-02-06 18:19:26 +00:00