Commit graph

1430 commits

Author SHA1 Message Date
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
c66cd2edb5 Fixed crash in notify_get(). 2023-04-13 18:34:14 +02:00
default
a6d664aa5c Updated RELEASE_NOTES. 2023-04-13 17:56:31 +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
211bedd497 New function notify_check_time(). 2023-04-13 17:12:07 +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
c2f5748a9d Version 2.27 RELEASED. 2023-04-13 10:07:24 +02:00
default
cb44135af7 Updated RELEASE_NOTES. 2023-04-13 10:05:27 +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
e47cb4f9e1 f_ctime() returns the oldest of ctime and mtime. 2023-04-13 09:46:05 +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
5366bd1853 Updated RELEASE_NOTES. 2023-04-12 19:08:56 +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
0184297dce Updated RELEASE_NOTES. 2023-04-12 15:04:33 +02:00
default
082dd46da9 Updated TODO. 2023-04-12 15:00:56 +02:00
default
8d9e4667b7 Added forgotten user cleanup in mastoapi_post_handler(). 2023-04-12 12:16:23 +02:00
default
7fecec134f Updated documentation. 2023-04-12 11:54:42 +02:00
default
168e1ceab9 Updated README. 2023-04-12 11:31:49 +02:00
default
7c80fb126e Updated RELEASE_NOTES. 2023-04-12 11:30:05 +02:00
default
4e6c08ae12 Updated RELEASE_NOTES. 2023-04-12 11:25:39 +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
default
5046531d43 New functions object_ctime() and object_ctime_by_md5(). 2023-04-12 09:46:42 +02:00
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