-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
API add/generalize pagination #9452
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
techknowlogick
merged 66 commits into
go-gitea:master
from
hilariocoelho:list_pagination
Jan 24, 2020
Merged
Changes from 61 commits
Commits
Show all changes
66 commits
Select commit
Hold shift + click to select a range
b0e0c70
paginate results
hilariocoelho 4f644f1
fixed deadlock
hilariocoelho f347568
prevented breaking change
hilariocoelho a982fb7
updated swagger
hilariocoelho dbc61ce
go fmt
hilariocoelho a746bdc
fixed find topic
hilariocoelho 3153ffe
go mod tidy
hilariocoelho 3311183
go mod vendor with go1.13.5
hilariocoelho e0e7d39
fixed repo find topics
hilariocoelho b6ed97d
fixed unit test
hilariocoelho d0f7898
added Limit method to Engine struct; use engine variable when provide…
hilariocoelho 3d7fd5f
use ItemsPerPage for default pagesize; fix GetWatchers, getOrgUsersBy…
hilariocoelho 0491de0
set Page value on Home route
hilariocoelho 1d016ad
improved memory allocations
hilariocoelho ec2c3e4
fixed response headers
hilariocoelho ec999c1
resolved conflicts
hilariocoelho d4b717b
removed logfiles
hilariocoelho 34f34c7
fixed import order
hilariocoelho 3c9acb6
import order
hilariocoelho 7294c5e
improved swagger
hilariocoelho 85078bc
added function to get models.ListOptions from context
hilariocoelho e366eba
removed pagesize diff on unit test
hilariocoelho 82e8b45
fixed imports
hilariocoelho f22b08a
removed unnecessary struct field
hilariocoelho 13e830e
fixed go fmt
hilariocoelho 70652e7
scoped PR
hilariocoelho 6f66eba
code improvements
hilariocoelho c3b134e
code improvements
hilariocoelho 6ee21c2
go mod tidy
hilariocoelho df3c3d5
fixed import order
hilariocoelho 4d48183
fixed commit statuses session
hilariocoelho 1cb649b
fixed files headers
hilariocoelho bd25b5a
Merge branch 'master' of https://github.com/go-gitea/gitea into list_…
hilariocoelho dcac4a7
fixed headers; added pagination for notifications
hilariocoelho e44d377
resolved conflicts
hilariocoelho f25f69c
go mod tidy
hilariocoelho 44696d4
go fmt
hilariocoelho 96694ca
Merge branch 'master' into list_pagination
techknowlogick 1e0d62f
Merge branch 'master' of https://github.com/go-gitea/gitea into list_…
hilariocoelho 871b6ac
removed Private from user search options; added setting.UI.IssuePagin…
hilariocoelho ed5190c
Merge branch 'master' of https://github.com/go-gitea/gitea into list_…
hilariocoelho e54bb68
Merge branch 'list_pagination' of https://github.com/SpaWn2KiLl/gitea…
hilariocoelho 76ad2dc
Apply suggestions from code review
spawn2kill 302644b
Merge branch 'master' of https://github.com/go-gitea/gitea into list_…
hilariocoelho 0c1f71f
fixed build error
hilariocoelho 083e202
resolved conflicts
hilariocoelho b6c876d
CI.restart()
hilariocoelho 194ed26
Merge branch 'master' of https://github.com/go-gitea/gitea into list_…
hilariocoelho 819200f
fixed merge conflicts resolve
hilariocoelho 5ab7e99
Merge branch 'master' into list_pagination
spawn2kill 18e87d6
Merge branch 'master' of https://github.com/go-gitea/gitea into list_…
hilariocoelho 604c5bf
Merge branch 'master' of https://github.com/go-gitea/gitea into list_…
hilariocoelho e0281c3
Merge branch 'list_pagination' of https://github.com/SpaWn2KiLl/gitea…
hilariocoelho b673afa
fixed conflicts resolve
hilariocoelho e3842c7
Merge branch 'master' of https://github.com/go-gitea/gitea into list_…
hilariocoelho 64b0caf
Merge branch 'master' of https://github.com/go-gitea/gitea into list_…
hilariocoelho b296662
improved FindTrackedTimesOptions.ToOptions() method
hilariocoelho 0b821f0
added backwards compatibility on ListReleases request; fixed issue tr…
hilariocoelho d0f00b9
fixed build error; fixed swagger template
hilariocoelho 9a60191
fixed swagger template
hilariocoelho 40324a9
fixed ListReleases backwards compatibility
hilariocoelho 46c912f
Merge branch 'master' into list_pagination
spawn2kill b599ec0
added page to user search route
hilariocoelho 1b44aad
Merge branch 'master' into list_pagination
techknowlogick 465c955
Merge branch 'list_pagination' of https://github.com/SpaWn2KiLl/gitea…
hilariocoelho f7a5c9f
Merge branch 'master' into list_pagination
zeripath File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.