Commit graph

114 commits

Author SHA1 Message Date
default
bdb1ce3fdf Added more comment marks. 2023-05-12 13:06:38 +02:00
default
5325da02e6 Added some code comments. 2023-05-12 12:29:24 +02:00
default
6d82dde0c5 Added support from exclude notification types. 2023-05-11 10:54:56 +02:00
default
2a073116d3 In /relationship, the id[] can be a list. 2023-05-11 10:44:27 +02:00
default
de12b8d0a2 Fill the mastoapi instance contact_account field, if possible. 2023-05-08 10:13:43 +02:00
default
e2e7bc2d71 Added a source (web, mastoapi, etc) to lastlog_write(). 2023-05-08 09:02:45 +02:00
default
eed24fde1a Fixed a bug in Tusky's image send. 2023-05-06 11:10:08 +02:00
default
212d1350fe Fixed mastoapi debug levels. 2023-05-04 11:53:17 +02:00
default
ec6f94e27e New url /oauth/x-snac-get-token. 2023-05-04 11:52:04 +02:00
default
f6ef275fa3 Made the post action configurable in login_page. 2023-05-04 11:08:35 +02:00
default
980a8d524f Fixed more warnings. 2023-05-04 09:34:33 +02:00
default
185aac2387 Added -Wextra to C flags. 2023-05-04 09:28:36 +02:00
default
a9f0f2f695 Avoid crash in optional mastoapi argument. 2023-05-04 06:27:13 +02:00
default
0bd609f5be Fixed missing notifications in certain circunstancies. 2023-05-03 07:57:10 +02:00
default
be5f08e6c3 Use xs_replace_n() where it suits. 2023-05-02 06:49:00 +02:00
default
4595a36859 Partial support for mastoapi unfavourite / unreblog. 2023-05-01 17:20:49 +02:00
default
a7d4513f77 In /api/v1/statuses, get the object from the storage instead of from the timeline.
This was affecting clicking on posts from the instance timeline, that were not
in the logged-in user timeline.
2023-05-01 07:35:26 +02:00
default
cfa0df3ac5 The instance timeline now works. 2023-04-30 07:00:49 +02:00
default
ede4d6f2dc Some instance timeline work. 2023-04-30 06:39:55 +02:00
default
d0e08277da Incomplete mastoapi apps are purged. 2023-04-28 08:58:33 +02:00
default
765f63772f New function mastoapi_purge() (still dummy). 2023-04-28 08:33:02 +02:00
default
b620fe99fa Ensure the new app client_id is unique. 2023-04-28 08:28:17 +02:00
default
a28d717da5 Hide hidden posts from timelines. 2023-04-27 08:35:23 +02:00
default
dd4ba7969f Fixed video attachments. 2023-04-26 21:07:00 +02:00
default
9bb08cfd51 Fixed crash in mastoapi search. 2023-04-26 17:37:33 +02:00
default
e2ef581e84 Update lastlog.txt everytime a Bearer token is validated. 2023-04-26 06:37:37 +02:00
default
b8eace33c9 Store the what-is-snac URL as a CPP constant. 2023-04-25 06:40:46 +02:00
default
3fb91ea25a Skip muted morons from timelines and statuses. 2023-04-24 17:49:08 +02:00
default
b6da5b7bb3 Added emojis to mastoapi_account(). 2023-04-24 17:37:59 +02:00
default
f625d88426 Added custom emojis to Statuses. 2023-04-24 17:25:32 +02:00
default
9456a57954 Added the hashtag list to mastoapi_status().
What is this for?
2023-04-24 17:11:12 +02:00
default
cfca2adcb9 Added mentions to mastoapi_status(). 2023-04-24 17:05:34 +02:00
default
3d20adc840 Added some more Instance values. 2023-04-24 16:35:45 +02:00
default
415381831e Added snac limits (no real limits) to the Instance object. 2023-04-24 16:29:21 +02:00
default
997b17d854 Moved JSON output validation to httpd.c. 2023-04-23 15:37:09 +02:00
default
177bf03e10 Fixed bad JSON for accounts that do not have a 'summary' field. 2023-04-23 15:23:20 +02:00
default
04ba2818cb Fixed a bug in the instance timeline. 2023-04-23 14:50:54 +02:00
default
8d4d702da9 Added an instance timeline. 2023-04-23 09:41:43 +02:00
default
82cd5fda7a Don't return that much entries in the mastoapi timeline. 2023-04-23 09:21:18 +02:00
default
4fca7c8a7e Added mastoapi unfollow. 2023-04-23 08:51:02 +02:00
default
291f251ced Added mastoapi follow. 2023-04-23 08:44:26 +02:00
default
88850bdc46 Attend mastoapi relationships.
Now, the follow/unfollow buttons appear on each account's page.
2023-04-23 06:05:35 +02:00
default
5b93e9069e Added mastoapi code for account search. 2023-04-23 05:33:54 +02:00
default
8804227798 New function mastoapi_put_handler(). 2023-04-22 01:21:09 +02:00
default
66d5acc822 Use static_get_meta() when preparing the attachment. 2023-04-22 00:51:06 +02:00
default
73e7195e6c Added mastoapi support for adding images. 2023-04-22 00:17:42 +02:00
default
526d4e8abb Added a new compilation variable NO_MASTODON_API.
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-21 23:17:58 +02:00
default
46f23ec85e Commented out more debugging code. 2023-04-20 18:45:39 +02:00
default
46bf844f1c Commented out test code. 2023-04-20 18:43:57 +02:00
default
04e61ea475 More complete mastodon api instance object.
But Megalodon keeps crashing.
2023-04-20 18:37:09 +02:00