mirror of https://github.com/go-gitea/gitea.git
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.
* Add count to `GetUserRepositories` so that pagination can be supported for `/user/{username}/repos` * Rework ListMyRepos to use models.SearchRepository ListMyRepos was an odd one. It first fetched all user repositories and then tried to supplement them with accessible map. The end result was that: * Limit for pagination did not work because accessible repos would always be appended * The amount of pages was incorrect if one were to calculate it * When paginating, all accessible repos would be shown on every page Hopefully it should now work properly. Fixes #11800 and does not require any change on Drone-side as it can properly interpret and act on Link header which we now set. Co-authored-by: Lauris BH <lauris@nix.lv> |
5 years ago | |
---|---|---|
.. | ||
admin | 5 years ago | |
api/v1 | 5 years ago | |
dev | 6 years ago | |
events | 5 years ago | |
org | 5 years ago | |
private | 5 years ago | |
repo | 5 years ago | |
routes | 5 years ago | |
user | 5 years ago | |
utils | 5 years ago | |
home.go | 5 years ago | |
init.go | 5 years ago | |
install.go | 5 years ago | |
metrics.go | 6 years ago | |
swagger_json.go | 5 years ago |