Commit Graph

1097 Commits

Author SHA1 Message Date
default
93008cfc3e New function f_ctime(). 2023-04-12 09:43:23 +02:00
default
889f3192dd Commented out debugging messages. 2023-04-11 21:11:33 +02:00
default
c0a48f1f4e Added support for likes and boosts. 2023-04-11 21:07:47 +02:00
default
036be9d02c Added some comments. 2023-04-11 20:16:12 +02:00
default
a7f3ba6027 Added many dummy lists. 2023-04-11 20:10:24 +02:00
default
df78584911 Added support for statuses/:id and statuses/:id/context. 2023-04-11 19:59:02 +02:00
default
a4051f7f37 Started work in /api/v1/statuses. 2023-04-11 11:00:06 +02:00
default
79224ca2b5 New function mastodon_status(). 2023-04-11 09:50:12 +02:00
default
7c9846ef3e Added /api/v1/instance. 2023-04-10 16:08:26 +02:00
default
d4711bbfba Updated RELEASE_NOTES. 2023-04-10 15:14:47 +02:00
default
aa0b8732aa Merge https://codeberg.org/grunfink/snac2 2023-04-10 15:12:09 +02:00
grunfink
5ae107188f Merge pull request 'Fix some overflow bugs' (#29) from saagarjha/snac2:master into master
Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/29
2023-04-10 13:11:34 +00:00
default
9e9d740199 Added image attachments. 2023-04-10 13:22:59 +02:00
default
3fb651b7b1 Added some tweaks for AndStatus, that does some things different (still non-working).
AndStatus expects a 'state' field to be propagated and doesn't send
the 'client_secret' as a GET argument, but in a Basic authorization header.
2023-04-10 12:55:03 +02:00
default
1cfa00eaaf New function mastoapi_id(), that creates mostly-compatible Ids.
Most apps (all?) sort entries by status Id, so they must be time-sorted (somewhat).
2023-04-10 12:14:16 +02:00
default
862dafd066 Some timeline fixes. 2023-04-10 11:30:00 +02:00
Saagar Jha
ea9c030249 Fix heap overflow from curl-originating buffers
Most of xs.h seems to expect that buffers are rounded up to block size,
so we should preserve that invariant here. (In particular, xs_expand
will avoid calling xs_realloc if the new size fits in the same block,
which means that if we don't pad out the data it will expand out of the
memory we're allocated.)
2023-04-10 01:34:48 -07:00
Saagar Jha
632bbe475c Avoid reading too much data in xs_data_new 2023-04-10 01:29:07 -07:00
default
ea49eba404 More mastoapi timeline work. 2023-04-10 10:23:14 +02:00
default
429be774d2 Also delete the app in token revokation. 2023-04-10 09:21:14 +02:00
default
74098ec443 Backport from xs. 2023-04-10 09:14:44 +02:00
default
578d70ddc0 More work in status entries. 2023-04-10 08:52:04 +02:00
default
a65f1911d4 Limit the number of entries returned using the max_id. 2023-04-10 00:40:48 +02:00
default
02a5006857 More mastoapi work. 2023-04-10 00:08:51 +02:00
default
ca89f8b846 Fixed avatar. 2023-04-09 22:10:49 +02:00
default
ccce01d285 More mastoapi work. 2023-04-09 21:31:56 +02:00
default
4ced03bac1 OAuth login now works. 2023-04-09 20:34:05 +02:00
default
752058bf66 More mastoapi work. 2023-04-08 10:29:33 +02:00
default
bbbce7afac The /oauth/authorize URL generates a login page. 2023-04-08 09:27:22 +02:00
default
4964a56456 More mastoapi work. 2023-04-08 09:09:43 +02:00
default
eba6987fd5 Added some OAuth scaffold code. 2023-04-08 07:04:40 +02:00
default
353e393f4d New file mastoapi.c. 2023-04-08 06:09:05 +02:00
default
74817a4552 Updated RELEASE_NOTES. 2023-04-06 00:03:06 +02:00
default
1fe34ffb4a New function lastlog_write(). 2023-04-05 23:46:51 +02:00
default
7c00a9918a Updated RELEASE_NOTES. 2023-04-05 23:27:18 +02:00
default
5d26f31a8a Fixed overzealous rejection of Announces. 2023-04-05 23:23:19 +02:00
default
1cdd6d1996 Version 2.26 RELEASED. 2023-04-05 09:19:51 +02:00
default
14cbf124f9 More log level tweaks. 2023-04-04 10:40:22 +02:00
default
976083bf87 Some log tweaks. 2023-04-02 11:17:51 +02:00
default
c7285494fc Updated RELEASE_NOTES. 2023-04-01 04:25:02 +02:00
default
1722b2891d Bumped version. 2023-04-01 04:22:36 +02:00
default
b19c68622d Deleted OpenSSL that uses deprecated functions. 2023-04-01 03:56:37 +02:00
default
c83b601f90 In is_msg_public(), also look at 'Announce' messages. 2023-03-31 19:09:59 +02:00
default
4070c009f1 Updated TODO. 2023-03-30 12:09:13 +02:00
default
6ee71cdbc8 Backport from xs. 2023-03-30 11:17:27 +02:00
default
1b22dbb5df Backport from xs. 2023-03-30 10:49:08 +02:00
default
e187302ae7 Updated TODO. 2023-03-26 20:19:48 +02:00
default
efe0a0960a Backport from xs. 2023-03-18 10:28:04 +01:00
default
ba787061d8 Version 2.25 RELEASED. 2023-03-08 20:17:33 +01:00
default
9da3149a5d Updated documentation. 2023-03-08 10:18:45 +01:00