summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar default2023-04-12 15:43:06 +0200
committerGravatar default2023-04-12 15:43:06 +0200
commita2cab2bab6bcbf5772c8be4c8493a580b4eb4405 (patch)
tree6b444fea7cdc7194381958618da60222d0c27f04
parentAdded support for like and boost lists. (diff)
downloadsnac2-a2cab2bab6bcbf5772c8be4c8493a580b4eb4405.tar.gz
snac2-a2cab2bab6bcbf5772c8be4c8493a580b4eb4405.tar.xz
snac2-a2cab2bab6bcbf5772c8be4c8493a580b4eb4405.zip
Updated RELEASE_NOTES.
-rw-r--r--RELEASE_NOTES.md2
-rw-r--r--mastoapi.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md
index 02c7ac5..a5dbf7e 100644
--- a/RELEASE_NOTES.md
+++ b/RELEASE_NOTES.md
@@ -2,7 +2,7 @@
2 2
3## 2.27 3## 2.27
4 4
5Started Mastodon API support, so you can use Mastodon-compatible apps to access #snac accounts. What works so far: login, the personal timeline, full post information (replies and ancestors), liking and boosting posts. Things that don't work yet but eventually will: posting and replying to messages (I still have to figure out how some things work, like posting images), notifications (needs some internal support), the instance timeline (snac does not have it, but it can be simulated with not much effort), probably many other things. Things that will never work: bookmarks, pinning, a federated timeline, others that I don't remember right now. Please note that if you want to use this API in your instance, you must add some lines to your HTTP proxy support, see the snac(8) (administrator documentation) manual page. I'm doing my tests using the #Tusky, #AndStatus, #Fedilab and #Husky Android apps. Success or failure reports will be appreciated. 5Started Mastodon API support, so you can use Mastodon-compatible apps to access #snac accounts. What works so far: login, the personal timeline, full post information (replies and ancestors), liking and boosting posts. Things that don't work yet but eventually will: posting and replying to messages (I still have to figure out how some things work, like posting images), notifications (needs some internal support), the instance timeline (snac does not have one, but it can be simulated with not much effort), public user timelines (trivial but didn't put to it) and probably many other things. Things that will never work: bookmarks, pinning, a federated timeline, many other things that I don't remember right now. Please note that if you want to use this API in your instance, you must add some lines to your HTTP proxy configuration, see the snac(8) (administrator documentation) manual page. I'm doing my tests using the #Tusky, #AndStatus, #Fedilab and #Husky Android apps. Success or failure reports will be appreciated.
6 6
7Fixed some buffer overflows (contributed by Saagar Jha). 7Fixed some buffer overflows (contributed by Saagar Jha).
8 8
diff --git a/mastoapi.c b/mastoapi.c
index abdce34..eec4119 100644
--- a/mastoapi.c
+++ b/mastoapi.c
@@ -927,7 +927,7 @@ int mastoapi_get_handler(const xs_dict *req, const char *q_path,
927 else 927 else
928 if (strcmp(op, "reblogged_by") == 0 || 928 if (strcmp(op, "reblogged_by") == 0 ||
929 strcmp(op, "favourited_by") == 0) { 929 strcmp(op, "favourited_by") == 0) {
930 /* return the list of likes or boosts */ 930 /* return the list of people who liked or boosted this */
931 out = xs_list_new(); 931 out = xs_list_new();
932 932
933 xs *l = NULL; 933 xs *l = NULL;