Commit Graph

288 Commits

Author SHA1 Message Date
default
dc5c1ce0ac Added support for Accept objects that only provide an object id.
This allows following Guppe groups.
2023-07-24 20:37:31 +02:00
default
6e5c7d4a4b Increased recursion level for timeline_request(). 2023-07-18 09:51:59 +02:00
default
35987ebb50 Avoid incomplete messages in timeline_request(). 2023-07-15 16:13:26 +02:00
default
43d2e80dc5 Use the right object id when storing Announce + Create + Note objects. 2023-07-14 09:05:27 +02:00
default
9b19a26408 Increased log level for Announce error requests. 2023-07-13 21:11:49 +02:00
default
2caeb550b9 Added support for the 'Page' ActivityPub object.
So that you can follow and interact with lemmy channels.
2023-07-13 21:01:15 +02:00
default
a05aa969d0 Added a maximum level of recursion to timeline_request(). 2023-07-13 20:19:50 +02:00
default
0bdd1f0420 Always log send status in post_message(). 2023-07-13 18:21:30 +02:00
default
545af948db New function post_message(), to send a message bypassing the output queue.
This is used when accepting Follow requests; this way, follows are
confirmed as fast as possible.

If the message cannot be immediately sent, it's queued as always.
2023-07-13 18:18:23 +02:00
default
137f775605 Minor prototype tweak. 2023-07-13 17:58:18 +02:00
Yonle
47adfa169a activitypub.c: Remove unused variable. 2023-07-12 09:18:57 +07:00
default
7e5b02be3f Fixed weird prototype of process_tags(). 2023-07-04 16:57:17 +02:00
default
6fce560f01 The actor bio now accepts tags. 2023-07-04 16:54:41 +02:00
default
78b468f013 More unfollow notification tweaks. 2023-07-04 14:23:12 +02:00
default
7db4de872d Also show unfollows in the notification area. 2023-07-04 14:07:33 +02:00
default
a114d5094d Call is_instance_blocked() from activitypub_post_handler(). 2023-06-29 08:26:44 +02:00
default
7a0efc3680 Increased log level for 'not for us' messages. 2023-06-26 08:38:49 +02:00
default
96b8791754 Defend from kbin.social messages not having a content-type header. 2023-06-19 17:39:53 +02:00
default
a260f5fec3 Increased debug level for NOT collecting inboxes. 2023-06-16 10:07:25 +02:00
default
f1294bd3d4 Added a comment about Announces of non-Notes. 2023-06-11 21:53:18 +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
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
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
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
default
3a8005f9bf Updated some data types. 2023-06-04 10:34:39 +02:00
default
13ab8c73e5 More notify tweaks (I'm getting sick of this). 2023-06-02 11:48:43 +02:00
default
84152d67f5 Fixed bug in notify() (the poll id was not set). 2023-06-02 10:58:49 +02:00
default
b0337f55b5 Fixed bug in vote discarding in notify(). 2023-06-02 10:52:12 +02:00
default
e66b3ff8da Disallow empty or repeated options in msg_question(). 2023-06-01 17:14:50 +02:00
default
af88b78478 Fixed typo in notify(). 2023-06-01 17:00:17 +02:00
default
e87d5b7e20 Another tweak in notify(). 2023-06-01 10:45:06 +02:00
default
344356e488 Fixed notification bug. 2023-06-01 10:37:12 +02:00
default
d6aa3d3c55 More poll notify tweaks. 2023-06-01 08:44:27 +02:00
default
91ed98df0d Always notify about our own closed polls. 2023-05-31 22:12:44 +02:00
default
c55a2e4d13 Don't notify about closed polls that we didn't vote for. 2023-05-31 22:10:45 +02:00
default
6c2ca0d40a Don't store votes in the notification area. 2023-05-30 18:51:53 +02:00
default
dc9d6520ee Add ended polls to the notification area. 2023-05-30 14:52:18 +02:00
default
0444b77da5 Made msg_question() non-editable. 2023-05-30 10:38:17 +02:00
default
32f31e490b Log when a poll is closed. 2023-05-30 06:12:10 +02:00
default
29eb3146f0 Added some limits to poll options. 2023-05-30 06:00:11 +02:00
default
be39b52064 Create the base message of msg_question() from msg_note(). 2023-05-30 05:54:45 +02:00
default
7659362448 Enqueue a close_question user q_item. 2023-05-29 11:07:38 +02:00
default
05ac2a062d Keep the original question order after updates. 2023-05-29 10:20:45 +02:00