Commit graph

16 commits

Author SHA1 Message Date
Humberto Rocha
542e3836af
Add endpoint to get notification by id (#594) 2023-07-04 08:06:31 -06:00
Andrew Godwin
1f3f28e8ff Check scope on API endpoints 2023-02-19 11:37:02 -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
9dded19172 Add admin notification for new identities 2023-01-15 14:48:17 -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
8d6f78e29e Don't error on unknown notification types 2022-12-31 10:46:38 -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
e2371a3cd7 Move timelines to a service class 2022-12-21 19:47:48 +00:00
Andrew Godwin
90c7b615fd Move timelines to published date all around 2022-12-18 09:44:56 -07:00
Andrew Godwin
7f02d51ba0 Add generic paginator for API 2022-12-12 11:56:49 -07:00
Andrew Godwin
d5a6cbedd3 Fix notification pagination 2022-12-12 11:56:49 -07:00
Andrew Godwin
20239b5cb7 Basic post mutation 2022-12-12 11:56:49 -07:00
Andrew Godwin
fc8a21fc5c More API read coverage 2022-12-12 11:56:49 -07:00