Commit graph

2808 commits

Author SHA1 Message Date
default
ec961a6cef Updated TODO. 2023-04-24 05:04:15 +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
21fa6c7904 Strip the query string in msg_follow(). 2023-04-23 14:33:53 +02:00
default
6d07c2ba31 Updated RELEASE_NOTES. 2023-04-23 09:43:14 +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
43989ad23e Updated RELEASE_NOTES. 2023-04-23 09:19:33 +02:00
default
043cd5c50b Fixed warning. 2023-04-23 08:59:14 +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
ed4bf2217f Updated RELEASE_NOTES. 2023-04-23 06:10:21 +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
99529a9874 Version 2.28 RELEASED. 2023-04-23 03:29:54 +02:00
default
7ec54e2a80 Updated TODO. 2023-04-23 03:28:46 +02:00
default
17ab3350d4 Updated RELEASE_NOTES. 2023-04-22 08:27:23 +02:00
default
6bf36f1fc3 Updated README. 2023-04-22 08:18:36 +02:00
default
2b80873a28 History functions fail on ids with /. 2023-04-22 08:02:23 +02:00
default
51bee249d4 Fail on static data ids with / in them. 2023-04-22 07:58:31 +02:00
default
1de8095b33 Updated TODO. 2023-04-22 07:47:22 +02:00
default
b46dfa8e9e Updated RELEASE_NOTES. 2023-04-22 01:33:42 +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
8c4850df50 New functions to get and set metadata into static files. 2023-04-22 00:24:15 +02:00
default
73e7195e6c Added mastoapi support for adding images. 2023-04-22 00:17:42 +02:00
default
70aea72b95 Updated README. 2023-04-21 23:28:37 +02:00
default
c2e4678a21 Updated README. 2023-04-21 23:25:31 +02:00
default
8340ff6e78 Updated RELEASE_NOTES. 2023-04-21 23:23:00 +02:00
default
39a8a5edff Updated TODO. 2023-04-21 23:20:53 +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
7c5fb6f178 Merge branch 'master' of /home/angel/git/snac2 2023-04-20 21:06:29 +02:00
default
46f23ec85e Commented out more debugging code. 2023-04-20 18:45:39 +02:00
default
8ceed64637 Commented out more code. 2023-04-20 18:45:31 +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
62447ef19e snac_init() now prompts for the admin_address. 2023-04-20 18:19:12 +02:00
default
7af3afaa4b The default greeting.html now include %admin_email%. 2023-04-20 18:16:10 +02:00
default
bd539b8350 Replace %admin_email% in greeting.html. 2023-04-20 18:12:56 +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
11a89ef0f9 Backport from xs. 2023-04-20 12:46:59 +02:00
default
d55db28390 Backport from xs. 2023-04-19 22:53:07 +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
80cd4eaada Updated documentation. 2023-04-16 08:14:25 +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