Commit graph

16 commits

Author SHA1 Message Date
Christof Dorner
7331591432
fix order of next/prev header links (#564) 2023-05-02 10:57:58 -06:00
Dan Watson
61830a9a9c
Fix page ordering (#535) 2023-03-10 09:10:34 -07:00
Dan Watson
6e8149675c
Fix home timeline pagination 2023-03-09 19:46:57 -07:00
Humberto Rocha
e382994e73
Polls (#496)
Implement poll AP and API backend
2023-02-15 10:42:56 -07:00
Andrew Godwin
91738748ec Fix some imports now hatchway is third party 2023-02-13 21:19:20 -07:00
Andrew Godwin
5d2ed9edfe
Hatchway API Rewrite (#499)
Removes django-ninja and replaces it with a new API framework, "hatchway".

I plan to move hatchway into its own project very soon.
2023-02-07 12:07:15 -07:00
Andrew Godwin
024d956e5e Handle old IDs coming in for pagination 2023-01-09 09:08:35 -07:00
Andrew Godwin
97d40912ed Fix pagination on home 2023-01-09 09:01:28 -07:00
Andrew Godwin
fb881dd5de Fix tests and most of pagination 2023-01-08 23:06:33 -07:00
Andrew Godwin
252737f846 Fix mastodon pagination to use returned IDs 2023-01-03 01:01:20 -07:00
Andrew Godwin
03bfc417df Fix empty pagination 2023-01-01 13:33:20 -07:00
Andrew Godwin
4d3b76612b Accept interactions as pagination anchors
Fixes #316
2022-12-29 14:00:37 -07:00
Andrew Godwin
9c3806a175 Refactor link header and fix empty page case 2022-12-29 11:46:25 -07:00
Tyler Kennedy
cc7824394b
Fixes for the Toot! client (#248) (#275)
* Various Toot! fixes
* Use a fallback 1x1 pixel image for missing headers, same as Mastodon. The header and header_static are _not_ optional nor nullable according to the spec.
* Try removing some fields which probably shouldn't be set.
* Pagination with next/prev.
2022-12-29 10:31:32 -07:00
Andrew Godwin
35a45f1c55 A few more fixes and a bad test 2022-12-12 11:56:49 -07:00
Andrew Godwin
7f02d51ba0 Add generic paginator for API 2022-12-12 11:56:49 -07:00