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
default
350a489bd0
Deleted debug code.
2023-04-20 17:59:35 +02:00
default
76445d157a
Use server.json "admin_email" in mastoapi instance object.
2023-04-20 17:59:09 +02:00
default
3ccf4e3759
arc4random() does not exist in not-so-old systems, so revert this.
...
Revert "Replaced random() with arc4random()."
This reverts commit f658f345ca
.
2023-04-16 20:27:38 +02:00
default
f658f345ca
Replaced random() with arc4random().
2023-04-16 20:19:25 +02:00
default
8205159f8c
Replaced strcpy() with strncpy().
...
To shut up some compiler whining.
2023-04-16 20:12:44 +02:00
default
52e3d6032c
Also accept /api/v2 urls.
2023-04-16 08:13:45 +02:00
default
0240c871f3
New function user_open_by_md5().
2023-04-16 07:43:41 +02:00
default
2ec58144ba
Temporary fix to this account show error.
2023-04-16 07:34:26 +02:00
default
cc48f25e98
Return context ancestors in the right order.
2023-04-16 07:17:16 +02:00
default
604c1f0bce
Fixed use-after-free in reply messages.
2023-04-16 07:12:57 +02:00
default
fd0440dd75
Don't strip the api version in mastoapi post handler.
2023-04-16 06:41:13 +02:00
default
81100cb825
Posts can now be sent (still no images).
2023-04-15 19:05:26 +02:00
default
5ec593da2c
Force failure in Mastodon API before it gets to a crash-on-startup situation.
2023-04-15 18:14:24 +02:00
default
512058bbc5
Added entrypoint /push/subscription.
...
The returned object is just wild guessing, I don't understand all
this things. Anyway, the offical app keeps crashing.
2023-04-15 18:06:18 +02:00
default
95d90e5475
Added some more dummy entry points.
2023-04-15 16:40:48 +02:00
default
84077aa9eb
Added the 'header' field to verify_credentials.
...
Megalodon accepted, but now crashes on input.
2023-04-15 09:52:48 +02:00
default
ec51d59e24
Some fixes to allow Megalodon to work.
...
The instance object was wrong and the oauth args can appear as JSON.
2023-04-15 09:44:09 +02:00
default
9e7a77c10f
New mastoapi to clear all notifications.
2023-04-14 19:39:31 +02:00
default
cb616d6eb5
New notifications web page.
2023-04-14 12:23:32 +02:00
default
35c611b8b9
Fixed crash in notification list.
2023-04-14 08:37:33 +02:00
default
815c39d0c6
Added a dummy 'created_at' field for accounts that don't have a date.
...
This avoid a crash in Tusky.
2023-04-14 08:14:11 +02:00
default
51208b10c1
Implemented mastoapi notifications.
2023-04-13 17:56:00 +02:00
default
1a27e67ed9
New functions notify_get() and notify_list().
2023-04-13 17:34:48 +02:00
default
bcde97c2d5
New function notify_add().
2023-04-13 16:59:17 +02:00
default
2d5d63554c
Started working on a notification list.
2023-04-13 15:32:13 +02:00
default
225c45ddaf
More log level tweaks.
2023-04-13 10:03:25 +02:00
default
a558ad803c
Changed mastoapi log levels.
2023-04-13 09:59:00 +02:00
default
963f2cf79a
Updated RELEASE_NOTES.
2023-04-13 06:38:05 +02:00
default
ff4cee0b5c
The snac page has been renamed to what-is-snac.
2023-04-12 20:40:44 +02:00
default
ec48b8ef8c
Relationships can only be queried if logged in.
2023-04-12 20:33:42 +02:00
default
bb61b04e66
Dummy /accounts/relationships.
2023-04-12 20:25:41 +02:00
default
e146c2afa8
Also return (some) information for non-local users.
2023-04-12 20:20:46 +02:00
default
0d4406e16c
Added the mastodon account data.
2023-04-12 18:54:20 +02:00
default
668f69dca9
Added the mastodon personal timeline.
2023-04-12 18:44:15 +02:00
default
a2cab2bab6
Updated RELEASE_NOTES.
2023-04-12 15:43:06 +02:00
default
ed957b4646
Added support for like and boost lists.
2023-04-12 15:28:43 +02:00
default
8d9e4667b7
Added forgotten user cleanup in mastoapi_post_handler().
2023-04-12 12:16:23 +02:00
default
885031bed9
Don't generate invalid JSON if an attachment has no description.
2023-04-12 10:41:15 +02:00
default
aa86357237
Use the ctime instead of the published date in mastoapi_id().
2023-04-12 10:19:43 +02:00