summaryrefslogtreecommitdiff
path: root/mastoapi.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Instead of comparing the output status with == 200, it's better to check ↵Gravatar Stefano Marinelli2025-10-211-2/+2
| | | | using valid_status()
* Enhances Mastodon API compatibility by adding support for displaying remote ↵Gravatar Stefano Marinelli2025-10-181-14/+325
| | | | | | users' follower/following/post counts and their posts when viewing profiles in Mastodon-compatible apps (Fedilab, Tusky, etc.). Fixes for Moshidon and improvements for better compatibility with HAProxy
* xs_http.h: new file.Gravatar grunfink2025-10-131-0/+1
|
* mastoapi: added deleting for posts.Gravatar grunfink2025-10-101-1/+35
| | | | I'm sure that I've done this before, but whatever.
* Merge pull request 'implementing scopes' (#474) from ↵Gravatar grunfink2025-09-281-5/+16
|\ | | | | | | | | | | byte/snac2:feature/visibility into master Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/474
| * implementing visibility scopesGravatar byte2025-09-201-6/+17
| |
* | making sure that global data is immutableGravatar byte2025-09-221-1/+1
| |
* | mastoapi: Fixed incorrect messages in status query.Gravatar grunfink2025-09-141-1/+1
|/
* Renamed function list_content() to list_members().Gravatar grunfink2025-09-031-4/+4
|
* mastoapi: avoid repeating entries.Gravatar grunfink2025-08-141-1/+6
|
* Updated some comments.Gravatar grunfink2025-08-011-1/+2
|
* mastoapi: the 'approve_followers' toggle can also be set from apps.Gravatar grunfink2025-07-271-2/+6
|
* mastoapi: Fixed metadata in verify_credentials.Gravatar grunfink2025-07-271-2/+25
|
* mastoapi: fixed the fix.Gravatar grunfink2025-07-051-2/+2
|
* mastoapi: fixed a bug in mastoapi_timeline().Gravatar grunfink2025-07-051-3/+7
|
* Added support for /api/v1/instance/extended_description (with a hardcoded text).Gravatar grunfink2025-06-211-0/+15
|
* mastoapi: Added followed hashtag maintenance.Gravatar grunfink2025-06-161-0/+48
|
* mastoapi: added entrypoint /v1/followed_tags.Gravatar grunfink2025-06-161-0/+34
|
* mastoapi: another try to fix collapsing boosted posts in some apps.Gravatar grunfink2025-06-121-3/+8
|
* mastoapi: reverted reblog id, as it was breaking things.Gravatar grunfink2025-06-111-4/+0
|
* mastoapi: fixed reblog identifiers.Gravatar grunfink2025-06-111-0/+6
| | | | | This fixes weird behaviour in apps like Tusky, where boosts' content disappear after clicking on them.
* mastoapi: fixed uploaded images name collision.Gravatar grunfink2025-05-291-2/+4
|
* New function timeline_here().Gravatar grunfink2025-05-271-3/+1
|
* Renamed timeline_here() to timeline_here_by_md5(), as it always should have ↵Gravatar grunfink2025-05-271-1/+1
| | | | been.
* Minor memory leak fixes.Gravatar grunfink2025-05-221-1/+1
|
* Merge pull request 'use utf-8 lowercase function for tags #396' (#400) from ↵Gravatar grunfink2025-05-221-6/+7
|\ | | | | | | | | | | postscriptum/snac2:utf8-lower-tags into master Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/400
| * add missed replacement to the `mastoapi_get_handler` function (`search` case)Gravatar postscriptum2025-05-221-1/+2
| |
| * cleanup ending spacesGravatar postscriptum2025-05-221-5/+5
| |
* | performance: use following_list_len in more placesGravatar green2025-05-191-8/+8
|/
* mastoapi: added post endpoints for 'authorize' and 'reject' follow requests.Gravatar grunfink2025-05-181-0/+51
|
* mastoapi: added endpoint /v1/follow_requests.Gravatar grunfink2025-05-181-4/+20
|
* mastoapi: Also process the types[] argument in notifications.Gravatar grunfink2025-05-141-8/+13
|
* Mastoapi: correctly communicate 'approve_followers'.Gravatar grunfink2025-04-271-1/+4
|
* mastoapi: fix md5 issuesGravatar green2025-04-261-1/+8
|
* mastoapi: support lists for usersGravatar green2025-04-261-15/+40
|
* mastoapi: added support for scheduled posts.Gravatar default2025-04-021-6/+16
|
* mastoapi: fixed instance peers to return only the domains.Gravatar default2025-03-221-1/+11
|
* mastoapi: Added support for /api/v1/instance/peers.Gravatar default2025-03-221-0/+9
|
* Minor tweak.Gravatar default2025-03-171-3/+2
|
* mastoapi: added support for /api/v1/custom_emojis (contributed by violette).Gravatar default2025-03-171-2/+19
|
* Deleted (by now) any ways of setting a note's publish date.Gravatar default2025-03-031-2/+1
|
* msg_note() accepts a nullable post date.Gravatar default2025-03-021-2/+3
|
* mastoapi: notify the maximum configured attachments.Gravatar default2025-02-071-1/+6
|
* Minor optimization in timeline retrieving.Gravatar default2025-01-271-1/+1
| | | | | Functions now receive an optional int *more, set to 1 if there are more than the 'show' requested.
* When reading timeline in ascending order, return results in descending orderGravatar Paul Martin2025-01-211-1/+4
|
* Merge pull request 'Implement faster min_id handling' (#277) from ↵Gravatar grunfink2025-01-151-18/+28
|\ | | | | | | | | | | nowster/snac2:fast_min_id into master Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/277
| * Implement faster min_id handlingGravatar Paul Martin2025-01-151-18/+28
| |
* | Implement limit= on notification fetchesGravatar Paul Martin2025-01-141-0/+9
|/
* mastoapi: fixed Events not being shown.Gravatar default2025-01-121-2/+2
|
* mastoapi: obey the "unlisted" visibility set by apps.Gravatar default2025-01-111-2/+8
|