summaryrefslogtreecommitdiff
path: root/mastoapi.c
AgeCommit message (Collapse)Author
2023-04-21Added a new compilation variable NO_MASTODON_API.default
The Mastodon API is a big and ugly beast; if you don't want it in your snac, you can compile it out by running make CFLAGS=-DNO_MASTODON_API And your snac binary will be as slim as always.
2023-04-20Commented out more debugging code.default
2023-04-20Commented out test code.default
2023-04-20More complete mastodon api instance object.default
But Megalodon keeps crashing.
2023-04-20Deleted debug code.default
2023-04-20Use server.json "admin_email" in mastoapi instance object.default
2023-04-16arc4random() does not exist in not-so-old systems, so revert this.default
Revert "Replaced random() with arc4random()." This reverts commit f658f345cac7b24d6fa61f08b4ec09823d28b11a.
2023-04-16Replaced random() with arc4random().default
2023-04-16Replaced strcpy() with strncpy().default
To shut up some compiler whining.
2023-04-16Also accept /api/v2 urls.default
2023-04-16New function user_open_by_md5().default
2023-04-16Temporary fix to this account show error.default
2023-04-16Return context ancestors in the right order.default
2023-04-16Fixed use-after-free in reply messages.default
2023-04-16Don't strip the api version in mastoapi post handler.default
2023-04-15Posts can now be sent (still no images).default
2023-04-15Force failure in Mastodon API before it gets to a crash-on-startup situation.default
2023-04-15Added entrypoint /push/subscription.default
The returned object is just wild guessing, I don't understand all this things. Anyway, the offical app keeps crashing.
2023-04-15Added some more dummy entry points.default
2023-04-15Added the 'header' field to verify_credentials.default
Megalodon accepted, but now crashes on input.
2023-04-15Some fixes to allow Megalodon to work.default
The instance object was wrong and the oauth args can appear as JSON.
2023-04-14New mastoapi to clear all notifications.default
2023-04-14New notifications web page.default
2023-04-14Fixed crash in notification list.default
2023-04-14Added a dummy 'created_at' field for accounts that don't have a date.default
This avoid a crash in Tusky.
2023-04-13Implemented mastoapi notifications.default
2023-04-13New functions notify_get() and notify_list().default
2023-04-13New function notify_add().default
2023-04-13Started working on a notification list.default
2023-04-13More log level tweaks.default
2023-04-13Changed mastoapi log levels.default
2023-04-13Updated RELEASE_NOTES.default
2023-04-12The snac page has been renamed to what-is-snac.default
2023-04-12Relationships can only be queried if logged in.default
2023-04-12Dummy /accounts/relationships.default
2023-04-12Also return (some) information for non-local users.default
2023-04-12Added the mastodon account data.default
2023-04-12Added the mastodon personal timeline.default
2023-04-12Updated RELEASE_NOTES.default
2023-04-12Added support for like and boost lists.default
2023-04-12Added forgotten user cleanup in mastoapi_post_handler().default
2023-04-12Don't generate invalid JSON if an attachment has no description.default
2023-04-12Use the ctime instead of the published date in mastoapi_id().default
2023-04-11Commented out debugging messages.default
2023-04-11Added support for likes and boosts.default
2023-04-11Added some comments.default
2023-04-11Added many dummy lists.default
2023-04-11Added support for statuses/:id and statuses/:id/context.default
2023-04-11Started work in /api/v1/statuses.default
2023-04-11New function mastodon_status().default