Commit graph

93 commits

Author SHA1 Message Date
default
07fec71273 Upgraded followers to the new db. 2022-11-28 10:46:42 +01:00
default
832bbfd5eb Dump bad signature headers to /tmp/ (temporary). 2022-11-27 09:18:35 +01:00
default
a9d3e0ca79 I was using fclose() instead of pclose(). What a moron. 2022-11-27 09:09:55 +01:00
default
1243e26a0d New function object_add_ow(). 2022-11-26 05:18:48 +01:00
default
afeec970a3 Also call object_del() on a renewed actor in actor_request(). 2022-11-25 12:50:19 +01:00
default
e2c332c68a On Update + Person, call object_del() before actor_add(). 2022-11-25 12:09:30 +01:00
default
9145cca97a In msg_note(), also add the in_reply_to author as a tag.Mention. 2022-11-22 20:31:22 +01:00
default
f4bebf0323 Logging tweaks. 2022-11-18 18:08:09 +01:00
default
e6bf647b98 Always log process_queue sending. 2022-11-18 08:04:20 +01:00
default
f0e17d6753 Queue messages to inboxes instead of actors. 2022-11-17 18:33:54 +01:00
default
a12da31bdf Move send to actor logging to process_queue(). 2022-11-17 10:16:54 +01:00
default
35ad83e9ec Also log the inbox in send_to_actor(). 2022-11-17 09:16:25 +01:00
default
afce422785 Use endpoints/sharedInbox instead of inbox, if there is one. 2022-11-17 09:04:24 +01:00
default
21c676487a Set "u-url mention" class for mentions. 2022-11-13 15:15:16 +01:00
default
73323a7fc0 Some formatting refactoring. 2022-11-13 08:41:50 +01:00
default
2364d960b7 Fixed memory leak. 2022-11-07 19:37:05 +01:00
default
c0d5016e1e Use the newly resolved actor in msg_follow() instead of rewriting the old one. 2022-11-02 21:36:55 +01:00
default
dbe60be4f3 Fixed bug when following by @user@host. 2022-11-02 20:28:40 +01:00
default
1fd14a850d People page started. 2022-11-02 10:13:14 +01:00
default
34a2b47e85 Don't store objects other than 'Note' in timeline_request(). 2022-11-01 20:13:23 +01:00
default
78b3a30447 Some code moving to avoid false positive leaks. 2022-10-25 13:59:15 +02:00
default
2ab428ab0a Fixed leak. 2022-10-25 10:19:42 +02:00
default
084731fec2 Send notification emails through the queue. 2022-10-21 19:07:20 +02:00
default
6ffbb3a4fc Fixed typo. 2022-10-21 10:37:08 +02:00
default
d210674569 Don't notify about admirations of things by others. 2022-10-21 10:36:09 +02:00
default
6e470440f9 Rewritten notify() to write the message in bulk.
This was meant to avoid some 32 EPIPE from sendmail,
but it's still happening.
2022-10-21 10:26:45 +02:00
default
a52ed9be78 New function notify(). 2022-10-21 09:41:29 +02:00
default
a16600e330 Better 'Delete' message logging. 2022-10-20 10:34:32 +02:00
default
395f80bdc4 Added support for HEAD methods.
Mastodon uses them when it founds an attachment.
2022-10-16 19:00:17 +02:00
default
78ec3b077b Media can be attached to notes.
The web interface limits this (by now) to only one
attachment, given the URL.
2022-10-10 09:03:15 +02:00
default
849913dc59 Use the time functions of xs_time.h. 2022-10-02 09:27:17 +02:00
default
be3191ee5d Fixed crash. 2022-10-01 21:01:54 +02:00
default
366c23ab85 Also accept 'Delete' on input. 2022-10-01 19:48:13 +02:00
default
82e9a03925 Implemented 'Delete'. 2022-10-01 19:37:47 +02:00
default
37925a020e timeline_request() also triggers an actor_request(). 2022-10-01 18:48:05 +02:00
default
2c00c7b0b5 New web action 'Unfollow'. 2022-10-01 09:12:33 +02:00
default
fa9c90c00e Add a date to a Follow message if it doesn't include one. 2022-09-30 18:12:32 +02:00
default
392c014c26 New function check_signature() (incomplete). 2022-09-29 14:44:24 +02:00
default
49bca7e273 html_entry() is built in its own string and then added.
This will be faster.
2022-09-29 09:11:43 +02:00
default
c5a7a9c475 Treat 410 Gone from actors specially. 2022-09-28 21:09:50 +02:00
default
2be2c07e9c The input queue also has retries. 2022-09-28 20:41:07 +02:00
default
51ed24be47 If an actor cannot be retrieved, move the message back to the queue. 2022-09-28 20:24:47 +02:00
default
e4967cfcb3 Process 'Update' + 'Person'. 2022-09-28 20:08:02 +02:00
default
c38cc09e4c Process 'Undo' + 'Follow'. 2022-09-28 19:59:19 +02:00
default
045498652f 'Announce' messages also try to bring the announced actor. 2022-09-28 07:12:16 +02:00
default
3b8a43013d Check for muted actors in Announce messages. 2022-09-28 05:16:17 +02:00
default
03b0e105b5 Delete the _snac field in outbox. 2022-09-28 04:52:17 +02:00
default
32661d2be7 The outbox returns now some entries. 2022-09-28 04:48:23 +02:00
default
94ef803701 Timeline pages are also served. 2022-09-27 19:00:24 +02:00
default
66a7f633b3 Call process_tags() from msg_note(). 2022-09-27 18:33:25 +02:00