forgejo/routers
Clark Boylan 7e401fb026
Fix repo API listing stability ()
Repo listings are paginated in the API now. Unfortunately, they are
ORDER BY updated_unix which only has second resolution. This means that
if you do a listing when multiple projects were created at the same time
you can unstable ordering. If that unstable ordering happens at a page
boundary you may fail to get a complete repo listing.

To make things worse sorting by updated_unix means that we may never get
a complete listing because udpated_unix can change independent of our
API calls.

Fix this by making the API repo listing order by id instead.
2020-07-02 15:55:42 +01:00
..
admin Refactor Cron and merge dashboard tasks () 2020-05-16 19:31:38 -04:00
api/v1 Fix repo API listing stability () 2020-07-02 15:55:42 +01:00
dev Display ui time with customize time location () 2019-08-15 22:46:21 +08:00
events Add EventSource support () 2020-05-07 22:49:00 +01:00
org Fix visibility of forked public repos from private orgs () 2020-06-06 20:45:12 -04:00
private Protect default branch against deletion () 2020-05-06 12:08:45 +01:00
repo Provide option to unlink a fork () 2020-07-02 15:09:09 +01:00
routes Move serviceworker to workbox and fix SSE interference () 2020-05-21 21:45:34 -04:00
user Add hide activity option () 2020-06-05 16:01:53 -04:00
utils Handle push rejection message in Merge & Web Editor () 2020-02-22 15:08:48 +02:00
home.go Ensure public repositories in private organizations are visible and fix admin organizations list () 2020-05-18 00:27:54 +01:00
init.go Refactor Cron and merge dashboard tasks () 2020-05-16 19:31:38 -04:00
install.go Whenever the ctx.Session is updated, release it to save it before sending the redirect () 2020-05-17 15:43:29 +03:00
metrics.go Use gitea forked macaron () 2019-08-23 12:40:29 -04:00
swagger_json.go Add gitea-vet () 2020-04-05 07:20:50 +01:00