You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/routers/repo
SpaWn2KiLl 1f01f53c53 API add/generalize pagination (#9452)
* paginate results

* fixed deadlock

* prevented breaking change

* updated swagger

* go fmt

* fixed find topic

* go mod tidy

* go mod vendor with go1.13.5

* fixed repo find topics

* fixed unit test

* added Limit method to Engine struct; use engine variable when provided; fixed gitignore

* use ItemsPerPage for default pagesize; fix GetWatchers, getOrgUsersByOrgID and GetStargazers; fix GetAllCommits headers; reverted some changed behaviors

* set Page value on Home route

* improved memory allocations

* fixed response headers

* removed logfiles

* fixed import order

* import order

* improved swagger

* added function to get models.ListOptions from context

* removed pagesize diff on unit test

* fixed imports

* removed unnecessary struct field

* fixed go fmt

* scoped PR

* code improvements

* code improvements

* go mod tidy

* fixed import order

* fixed commit statuses session

* fixed files headers

* fixed headers; added pagination for notifications

* go mod tidy

* go fmt

* removed Private from user search options; added setting.UI.IssuePagingNum as default valeu on repo's issues list

* Apply suggestions from code review

Co-Authored-By: 6543 <6543@obermui.de>
Co-Authored-By: zeripath <art27@cantab.net>

* fixed build error

* CI.restart()

* fixed merge conflicts resolve

* fixed conflicts resolve

* improved FindTrackedTimesOptions.ToOptions() method

* added backwards compatibility on ListReleases request; fixed issue tracked time ToSession

* fixed build error; fixed swagger template

* fixed swagger template

* fixed ListReleases backwards compatibility

* added page to user search route

Co-authored-by: techknowlogick <matti@mdranta.net>
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: zeripath <art27@cantab.net>
5 years ago
..
activity.go Add top author stats to activity page (#9615) 5 years ago
attachment.go Only serve attachments when linked to issue/release and if accessible by user (#9340) 5 years ago
blame.go Respect LFS File Lock on UI (#8719) 5 years ago
branch.go Move newbranch to standalone package (#9627) 5 years ago
commit.go API add/generalize pagination (#9452) 5 years ago
compare.go Fix issues/pulls dependencies problems (#9842) 5 years ago
download.go Fix download file wrong content-type (#9825) 5 years ago
editor.go Add require signed commit for protected branch (#9708) 5 years ago
editor_test.go Add Close() method to gogitRepository (#8901) 5 years ago
http.go add remote ip to the invalid credentials error message (#9918) 5 years ago
issue.go API add/generalize pagination (#9452) 5 years ago
issue_dependency.go Fix wrong permissions check when issues/prs shared operations (#9885) 5 years ago
issue_label.go API add/generalize pagination (#9452) 5 years ago
issue_label_test.go fix go vet error (#3740) 7 years ago
issue_lock.go Implement "conversation lock" for issue comments (#5073) 6 years ago
issue_stopwatch.go Automatically clear stopwatch on merging a PR (#4327) 6 years ago
issue_timetrack.go [API] Extend times API (#9200) 5 years ago
issue_watch.go Fix PR/issue redirects when having external tracker (#9339) 5 years ago
lfs.go Make repository management section handle lfs locks (#8726) 5 years ago
main_test.go Unit tests for wiki routers (#3022) 7 years ago
middlewares.go fix wrong system notice when repository is empty (#9010) 5 years ago
milestone.go Remove unnecessary permissions load (#9796) 5 years ago
pull.go Fix wrong hint when status checking is running on pull request view (#9886) 5 years ago
pull_review.go Fix wrong identify poster on a migrated pull request when submi… (#9827) 5 years ago
release.go API add/generalize pagination (#9452) 5 years ago
release_test.go Add Close() method to gogitRepository (#8901) 5 years ago
repo.go Make archive prefixing configurable with a global setting (#9943) 5 years ago
search.go Refactor code indexer (#9313) 5 years ago
setting.go API add/generalize pagination (#9452) 5 years ago
setting_protected_branch.go Add require signed commit for protected branch (#9708) 5 years ago
settings_test.go Stop various tests from adding to the source tree (#9515) 5 years ago
topic.go Add API endpoint for accessing repo topics (#7963) 6 years ago
view.go API add/generalize pagination (#9452) 5 years ago
webhook.go API add/generalize pagination (#9452) 5 years ago
wiki.go Move wiki related funtions from models to services/wiki (#9355) 5 years ago
wiki_test.go Move wiki related funtions from models to services/wiki (#9355) 5 years ago