Commit Graph

328 Commits

Author SHA1 Message Date
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
default
8c87b6894e Fixed some warning. 2023-08-14 18:04:27 +02:00
default
f09340c352 If a user 'header' field is defined, use it. 2023-08-14 13:12:16 +02:00
default
c8d535a154 Ignore 'Add' activities ASAP. 2023-08-13 16:09:20 +02:00
default
d3de540a05 Don't archive Accept + Create activities as errors.
They may be (or not, not remember from the doc), but I don't care.
2023-08-13 15:56:11 +02:00
default
a0906208ea Use some new xs_stock values. 2023-08-13 12:09:35 +02:00
default
cac1c6febd Rewritten actor_get() to not depend on a user. 2023-08-12 11:23:01 +02:00
default
499697258d Rewritten is_msg_public() to not depend on a user. 2023-08-12 09:43:01 +02:00
default
36ee16db1d Archive JSON errors in activitypub_post_handler. 2023-08-11 22:04:23 +02:00
default
fff4ff4261 More strict retries. 2023-08-09 20:04:57 +02:00
default
203dd88389 Be more strict in not retrying on permanent errors. 2023-08-09 19:36:31 +02:00
default
3e5bb109d1 Renamed json dump functions to new xs spec. 2023-08-08 19:29:34 +02:00
default
65df883b3f Fixed votersCount. 2023-08-08 13:56:12 +02:00
default
135e690a27 Limited users can announce our own posts. 2023-08-07 19:21:57 +02:00
default
bf79c8c370 Some fixes to limiting actors. 2023-08-07 06:35:31 +02:00
default
106791ff6b Added command-line interface for limit/unlimit users. 2023-08-06 19:04:30 +02:00
default
28adb6c850 Drop announces from limited users. 2023-08-06 18:42:47 +02:00
default
d455280705 Fixed a log message level. 2023-08-02 09:42:51 +02:00
default
368b1eb452 Fixed outbox to be an OrderedCollection of Create+Note, not Note. 2023-07-29 15:29:11 +02:00
default
751eb0586a msg_create() is of type @wrapper.
This means that it also generate the same id for the same Note.
2023-07-29 15:19:52 +02:00
default
0f8c0cd694 Updated comment in headers. 2023-07-28 11:34:18 +02:00
default
4af95579dc Deleted a comment that is no longer true. 2023-07-24 20:44:21 +02:00
default
e428b57865 Improved Accept + implicit Follow code. 2023-07-24 20:44:00 +02:00
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