Commit graph

2789 commits

Author SHA1 Message Date
default
e26d05746c Updated RELEASE_NOTES. 2023-06-13 19:01:11 +02:00
default
b5f63b63fa In sanitize(), delete unsupported HTML tags instead of showing them. 2023-06-13 19:00:26 +02:00
default
5654960161 Also accept HTML tag <ol>. 2023-06-13 18:57:43 +02:00
default
38986cefc3 Updated RELEASE_NOTES. 2023-06-12 20:35:45 +02:00
default
3977a12bef Avoid writing a NULL header in mastoapi_account(). 2023-06-12 19:39:15 +02:00
grunfink
6f72a195b4 Merge pull request 'add mastodon profile header to mastodon api' (#46) from Haijo7/snac2:mastodon-profile-header into master
Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/46
2023-06-12 17:05:41 +00:00
default
8fb74b6dcc Updated RELEASE_NOTES. 2023-06-12 19:04:38 +02:00
default
5da16e91c4 Updated TODO. 2023-06-12 19:04:00 +02:00
Haijo7
42958900a0
removed additinal empty string 2023-06-12 19:01:38 +02:00
default
b9dee83f27 Fix links with # in it. 2023-06-12 19:01:17 +02:00
default
0157ac626c Updated TODO. 2023-06-12 16:29:34 +02:00
Haijo7
564b5b1161 add mastodon profile header to mastodon api 2023-06-12 10:42:59 +02:00
default
f1294bd3d4 Added a comment about Announces of non-Notes. 2023-06-11 21:53:18 +02:00
default
7bbd47e4cc Updated RELEASE_NOTES. 2023-06-11 21:10:00 +02:00
default
aa7ed9bd9b Added Web UI to set the account 'bot' flag. 2023-06-11 21:06:08 +02:00
default
d9d4ffbc61 Hidden conversations are not rendered instead of given a 'display: none'. 2023-06-11 20:34:26 +02:00
default
5cdfd64d61 No more archiving of borked Likes. 2023-06-11 20:12:01 +02:00
default
cf2cfca624 Also reject Like messages in is_msg_for_me(). 2023-06-11 20:10:23 +02:00
default
1dd88aa6f6 Log malformed Likes from wafrn.net (who else?). 2023-06-11 20:03:42 +02:00
default
6c0381bd5c Merge branch 'master' of triptico.com:git/snac2 2023-06-11 19:50:04 +02:00
default
71855e87e3 If ~/error/ exists, also log messages to a file there. 2023-06-11 19:49:56 +02:00
grunfink
52d54ed73b Merge pull request 'set bot to true for bots in mastodon api' (#45) from Haijo7/snac2:masto-api-user-type into master
Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/45
2023-06-11 16:58:54 +00:00
Haijo7
9b1c5cc843
set bot to true in mastodon account if user type is service 2023-06-11 16:53:50 +02:00
Haijo7
2544ec92b2
add user type to mastodon profile 2023-06-11 16:38:06 +02:00
default
f6b836e120 Fixed comment. 2023-06-11 10:55:39 +02:00
default
723343fc42 Disable timeline_request_replies() temporarily. 2023-06-11 10:54:48 +02:00
default
e45ffa0fa2 Use a different variable name to store the id of 'embedded' children. 2023-06-11 10:41:19 +02:00
default
1d9e7348ff Updated RELEASE_NOTES. 2023-06-11 09:24:21 +02:00
grunfink
422b3148ae Merge pull request 'Mastodon API private timeline fixes' (#44) from poesty/snac2:master into master
Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/44
2023-06-11 07:05:07 +00:00
poesty
fb5f34bb5a Only allow logged-in user to use statuses API 2023-06-11 12:06:37 +08:00
poesty
15137fc5c7 Only allow logged-in user to use search API 2023-06-11 03:04:08 +08:00
poesty
2b64892e83 Use MID_TO_MD5 for ID comparison 2023-06-10 14:35:16 +08:00
poesty
56c44eb455 Ignore non-followed users' notes without boosts in private timeline 2023-06-10 14:07:58 +08:00
poesty
86198549e7 Ignore timestamps in mastoapi_id when filtering entries 2023-06-10 02:39:11 +08:00
default
ab470e9f9b Updated TODO. 2023-06-09 09:44:48 +02:00
default
e22da86ccf Minor tweak to snac-poll-form. 2023-06-07 18:44:33 +02:00
default
22565f5c40 New CSS classes snac-poll-form and snac-poll-result. 2023-06-07 18:37:19 +02:00
default
b77ef13d2c Don't enqueue a request_replies message if it's already there. 2023-06-07 13:09:19 +02:00
default
ecde1c219e New function enqueue_request_replies().
This way, the (potentially expensive and slow) call to
timeline_request_replies() is detached from actions like
replying a message from the web ui.
2023-06-07 12:04:59 +02:00
default
e926fa2309 Changed timeline_request_replies() to receive an id and not an object. 2023-06-07 11:39:13 +02:00
default
f90d4b2372 New function timeline_request_replies().
This function downloads and stores all replies to a message, recursively.

Increases traffic.

Mastodon instances request the user actor again and again without caching
(when the 'replies' Collection is downloaded). Maybe I'm not doing something
correctly?
2023-06-07 11:15:58 +02:00
default
125317ac47 Some prototype update. 2023-06-07 11:08:14 +02:00
default
33f1f915db Updated documentation. 2023-06-05 19:43:09 +02:00
default
8c91956947 Replace an sprintf() with an snprintf(). 2023-06-05 18:36:36 +02:00
default
fafdbbf815 Replaced usage of random() with xs_rnd_buf(). 2023-06-05 18:29:25 +02:00
default
e788a5bf8f Some prototype tweaks. 2023-06-05 18:22:04 +02:00
default
65f5173c2a Moved srv_running variable to httpd.c. 2023-06-05 18:18:50 +02:00
default
531433aea3 Document the basedir style.css file. 2023-06-04 19:36:37 +02:00
default
85011994e1 Also accept Update + Service messages. 2023-06-04 10:49:02 +02:00
default
0d817340e2 If a user config field 'bot' is set to true, identies as such. 2023-06-04 10:48:03 +02:00