Commit graph

95 commits

Author SHA1 Message Date
Andrew Godwin
0915b17c4b Prune some unnecessary async usage 2023-07-17 00:18:00 -06:00
Andrew Godwin
11e3ca12d4 Start on push notification work 2023-07-15 12:37:47 -06:00
Humberto Rocha
5f49f9b2bb
Add support to dismiss notifications (#605) 2023-07-11 16:37:03 -06:00
Osma Ahvenlampi
1cc9c16b8c
Use 400 and 401 error codes as OAuth2 documents, accept 400 as webfinger error code (#597) 2023-07-10 10:19:20 -06:00
Andrew Godwin
7f483af8d3 Rework Stator to use a next field and no async 2023-07-07 15:14:06 -06:00
Andrew Godwin
e34e4c0c77 Fixed #599: Interaction state not present on notifications 2023-07-05 07:58:54 -06:00
Humberto Rocha
542e3836af
Add endpoint to get notification by id (#594) 2023-07-04 08:06:31 -06:00
Humberto Rocha
9038e498d5
Fix identity metadata not properly propagating through AP (#589) 2023-06-22 17:09:19 -06:00
Andrew Godwin
f5a3971ef8 Implement replies profile tab and boosts option 2023-05-13 11:07:57 -06:00
Christof Dorner
d6c9ba0819
Pinned posts (#561) 2023-05-13 10:01:27 -06:00
Christof Dorner
b3b58df2b1
Fix hashtag search results (#576)
We mistakenly wrote to the key "hashtag" instead of "hashtags", resulting
in no results in the API response. Additionally, the type of the Tag's `history`
needs to be a list, not a dict.

This fixes hashtag search in Elk.
2023-05-10 10:17:00 -06:00
Andrew Godwin
b6d9f1dc95 Add search v1 emulation (for Sengi) 2023-05-06 09:30:21 -07:00
Andrew Godwin
7862795993 A few small fixes post-UI merge 2023-05-04 11:50:31 -06:00
Andrew Godwin
8f57aa5f37
UI/Domains Refactor
Redoes the UI to remove timelines, promote domains, and a lot of other things to support the refactor.
2023-05-03 22:42:37 -06:00
Christof Dorner
7331591432
fix order of next/prev header links (#564) 2023-05-02 10:57:58 -06:00
Christof Dorner
ac54c7ff81
Fix post attachment author check on editing (#563) 2023-05-02 09:58:32 -06:00
Christof Dorner
7d1558a2ab
Support editing media description when editing statuses (#556) 2023-04-11 09:35:36 -06:00
Christof Dorner
b31c5156ff
Improve hashtag case handling and implement /api/v1/tags/<hashtag> endpoint (#554)
* Lowercase hashtag before loading its timeline

* Implement /api/v1/tags/<hashtag> endpoint

* Lower hashtag before un-/following

* Fix field name for hashtag following/followed boolean
2023-04-06 15:14:21 -06:00
Christof Dorner
96bc64fd01
Implement Mastodon's v1/statuses/<id>/reblogged_by API endpoint (#551) 2023-03-31 13:40:15 -06:00
Christof Dorner
ba4414dbce
fix /v1/statuses/<id>/favourited_by pagination header error (#550) 2023-03-23 19:09:03 -06:00
Andrew Godwin
ea7d5f307c Allow single IDs in familiar_followers
Fixes #547
2023-03-22 16:21:30 -06:00
Christof Dorner
79c1be03a6
Add ability to follow hashtags 2023-03-14 15:35:40 -06:00
Andrew Godwin
542678cab5 Fix author checks on post attachments
Fixes #538
2023-03-12 16:19:40 -06:00
Dan Watson
cedcc8fa7c
Bookmarks (#537) 2023-03-11 11:17:20 -07: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
Dan Watson
3bd01b2b3d
Stub out more API, implement preferences and peers (#533) 2023-03-09 14:36:24 -07:00
Dan Watson
6f4abd5aae
Initial support for IceCubes (#532) 2023-03-09 10:47:33 -07:00
Andrew Godwin
5ea3d5d143 Implement a client_credentials process for read 2023-03-06 15:48:43 -07:00
Andrew Godwin
bd6d1ae8de Fix fallback for instance API host
Fixes #522
2023-03-03 15:04:34 -07:00
Andrew Godwin
6411a375ba Allow API access with cookies again 2023-03-02 10:22:37 -07:00
Andrew Godwin
1f3f28e8ff Check scope on API endpoints 2023-02-19 11:37:02 -07:00
Humberto Rocha
e43d0a052c
Fix unliked post displaying in favourites endpoint (#512) 2023-02-15 16:05:48 -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
9a0008db06 Add initial follow import/export
Fixes #437
2023-02-13 20:50:43 -07:00
Andrew Godwin
1c5ef675f0 Implement post editing 2023-02-13 19:40:10 -07:00
Andrew Godwin
7863f89aba Stub out some more empty API endpoints 2023-02-10 16:10:53 -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
Cosmin Stejerean
9779f867bf
Also read query string params in parse body (#477) 2023-01-28 10:05:28 -07:00
Andrew Godwin
425c77e085 Add /v2/instance 2023-01-25 16:03:02 -07:00
Humberto Rocha
ccded99a63
Add favourites api endpoint (#465) 2023-01-20 19:49:55 -07:00
Andrew Godwin
de9261251e Fixed #421: Allow profile editing via API 2023-01-15 16:15:57 -07:00
Andrew Godwin
9dded19172 Add admin notification for new identities 2023-01-15 14:48:17 -07:00
Andrew Godwin
34b4a6cc10 Implement followers API endpoint 2023-01-15 13:48:06 -07:00
Andrew Godwin
9983544c2a Fix account lookup API to include everyone 2023-01-15 13:45:59 -07:00
Andrew Godwin
b44be55609 Fixed #408: Implemented blocking 2023-01-15 13:35:45 -07:00
TAKAHASHI Shuuji
7f23ae5f52
Support acct with domain name in /api/v1/accounts/lookup (#412) 2023-01-14 10:36:16 -07:00
Andrew Godwin
9876b81f66 Add announcements client API 2023-01-13 16:12:05 -07:00
Corry Haines
28cfbf2ef5
Improve performance on /api/v1/timelines/home (#387)
Prefetch/select required fields for API version of home. Requires considerably more data than HTML version of home.
2023-01-10 17:16:54 -07:00