Commit Graph

360 Commits

Author SHA1 Message Date
default
af912dba0b actor_request() accepts again an optional snac argument. 2023-12-17 19:53:54 +01:00
default
adf4213756 Deleted debug messages. 2023-12-17 18:40:26 +01:00
default
cbcd573fb5 Also check for the .../followers rcpt for non-public messages. 2023-12-17 17:35:59 +01:00
default
04745f5f7d Blah blah blah is_msg_for_me() blah blah blah 2023-12-17 17:07:26 +01:00
default
9b18d7b377 Even more is_msg_for_me() tweaks. 2023-12-17 16:39:25 +01:00
default
29b6b5c717 Even more is_msg_for_me() updates. 2023-12-17 16:25:04 +01:00
default
935c09125d More is_msg_for_me() tweaks. 2023-12-17 15:58:13 +01:00
default
fd637549f3 Added a prefix to srv_archive_qitem(). 2023-12-17 15:27:39 +01:00
default
f8196b4ef6 New function srv_archive_qitem(). 2023-12-17 15:21:16 +01:00
default
ad718e5b80 Fixed shared inbox distribution logic for Delete messages. 2023-12-17 14:56:09 +01:00
default
5736f38968 Added more code to discard Delete messages earlier. 2023-12-16 15:15:00 +01:00
default
f32c7dd813 More tweaks to is_msg_for_me(). 2023-12-15 22:25:14 +01:00
default
3e3dee8a2f Avoid propagating Undo messages innecesarily. 2023-12-15 21:43:34 +01:00
default
e9f391ed86 Added a special check for Undo + Follow. 2023-12-15 11:08:10 +01:00
default
878943a584 More debug tweaks. 2023-12-14 21:40:50 +01:00
default
a0c6b93d2e More log tweaks. 2023-12-14 19:58:44 +01:00
default
888a79e58a Call process_input_message() from the shared-inbox input.
This way, some garbage like unrequested Deletes from Mastodon
and other transient errors (like unaccessible authors) can be
short-circuited before propagating the message to the users.
2023-12-11 17:59:48 +01:00
default
b1ecaba803 Added a special drop for Delete messages from unknown actors. 2023-12-11 16:59:33 +01:00
default
e78f0bf1b1 Fixed error message. 2023-12-11 16:00:16 +01:00
default
25b0829470 Do not retry Delete messages on actor error. 2023-12-11 15:04:30 +01:00
default
bfdaf380ea More logging tweaks. 2023-12-11 10:41:41 +01:00
default
c06b74cc8e Revert "Reverted actor_request() without user."
This reverts commit 8d0a69cd75.
2023-12-11 10:12:57 +01:00
default
8d0a69cd75 Reverted actor_request() without user.
Some sites require even Person requests to be signed.
2023-12-11 08:00:49 +01:00
default
c693c7c62c Some logging tweaks. 2023-12-11 07:37:53 +01:00
default
88294c5198 Log actor_request() errors. 2023-12-11 07:19:42 +01:00
default
09b926c168 More functions do not require the user argument. 2023-12-10 17:50:03 +01:00
default
0e6c5f9463 actor_request() does not need a user argument. 2023-12-10 17:46:54 +01:00
default
90179f8459 activitypub_request() may have a NULL user.
In the NULL user case, only non-signed requests will be done,
but it's probably enough for actor requests in most cases.
2023-12-10 10:27:45 +01:00
default
1c19404258 Minor reordering code to process_input_message(). 2023-12-10 10:17:50 +01:00
default
95ccff541c process_input_message() returns -1 on errors. 2023-12-10 10:00:17 +01:00
default
d7fe3ba615 Call is_msg_for_me() from global queue input messages. 2023-12-10 09:08:30 +01:00
default
8f172f5e0e Usage of shared inboxes is now configurable from the server.json file. 2023-12-08 08:41:32 +01:00
default
ce0e782c94 Also check inside Update messages in is_msg_for_me(). 2023-12-06 19:59:59 +01:00
default
bad729c631 Started work to support shared inboxes. 2023-12-06 14:46:51 +01:00
default
b846c943b3 Fixed crash in activitypub_request() when there is no payload. 2023-11-29 08:58:31 +01:00
default
c1502219bb Local tag links now point to the search by tag URL. 2023-11-08 09:32:02 +01:00
default
759042dc9f Drop updates for unknown posts. 2023-10-16 19:19:41 +02:00
default
22cc5f42a5 Drop replies to hidden posts. 2023-10-16 19:14:44 +02:00
default
eb04c8e4f2 On output, consider HTTP status 405 (not allowed) as a fatal error. 2023-10-06 17:33:44 +02:00
default
60e8953a69 Give more retry time to timedout connections. 2023-09-29 10:34:22 +02:00
default
ac8790c3cd If a metadata starts with https:, convert it to a link. 2023-09-22 12:34:47 +02:00
default
c4b2d3bc69 If an account has metadata, return them as attachment PropertyValues in msg_actor(). 2023-09-18 11:24:30 +02:00
default
8ebfa10547 Use xs_match() in some places for more clarity. 2023-09-17 03:00:31 +02:00
default
2edbb75a18 Also accept Update activities for Page and Article. 2023-09-15 23:18:27 +02:00
default
073a2d962a Discard output messages to blocked instances. 2023-09-02 08:41:29 +02:00
default
4e87a1106a Consider error status 400 as fatal in output messages. 2023-09-01 11:50:01 +02:00
default
57c84d1c3a Some fixes to 'Undo' messages.
msg_undo() now generates valid messages for objects that are only
referenced by its id.
2023-08-31 16:11:58 +02:00
default
505084bab7 Added some support for 'Article' object types. 2023-08-23 09:44:46 +02:00
default
7e63766e4a Also propagate the 'conversation' field, if there is one. 2023-08-22 20:12:22 +02:00
default
46cfc37f2b Be more strict when serving note objects. 2023-08-18 18:21:52 +02:00