Commit graph

474 commits

Author SHA1 Message Date
default
eb6d3d0d0e Omit the 'image' field if there are any attachment. 2024-11-07 20:04:02 +01:00
default
a1231c1cd2 Don't notify 'Block' activities if the 'disable_block_notifications' server setting is true. 2024-10-30 16:57:27 +01:00
Kirby
9ee991c36f Wrap user mention in post around span to ensure frontends do not display a link preview for it
Some frontends won't recognize a user mention/tag as an actual mention
unless a span with a special class is wrapped around it, so it will
erronously generate a link preview for it if the span is missing:

https://ak.ari.lt/objects/8e18d701-9fdb-4ba8-8652-30dc2fef58ab
2024-10-27 01:56:20 -05:00
default
75911f5ce9 Call list_distribute() from timeline_request(). 2024-10-19 22:29:46 +02:00
default
bfb6c26f62 Added some checks. 2024-10-19 18:29:58 +02:00
default
6ffc31cc42 After several tests, migration to Mastodon seems to work 🎉🥳. 2024-10-09 11:34:50 +02:00
default
121df9cf0e In migrate_account(), always download the alias actor. 2024-10-09 11:03:28 +02:00
default
107e7c0d29 Fixed emojis in the public profile. 2024-10-08 20:30:20 +02:00
default
387964944a More migration work. 2024-10-08 17:37:15 +02:00
default
b7e78e6016 More hashtag regex improvements. 2024-10-03 20:49:11 +02:00
default
25ff20cdae Add the apostrophe as another stop char for hashtags. 2024-10-03 17:10:30 +02:00
default
56070513ae Added a warning to the 'migrate' command. 2024-09-27 17:40:05 +02:00
default
2d2a685ec8 More migration work. 2024-09-20 10:47:14 +02:00
default
3a5c78147c Move migration work. 2024-09-19 20:13:18 +02:00
default
a0d1d13441 Changed some migration terminology. 2024-09-19 19:47:07 +02:00
default
97cc35f577 Started account migration code. 2024-09-18 18:34:17 +02:00
default
b1e7de2fd3 The aka is returned in the alsoKnownAs actor field. 2024-09-18 11:05:42 +02:00
default
3155a80723 While processing a 'Move', retry failed actor retrieval (it may be a transient server error). 2024-09-17 00:26:23 +02:00
default
70f0bcec20 Added a 'featured' property to the actor object.
When this URL is requested via ActivityPub, it returns the pinned posts.
2024-08-26 11:26:34 +02:00
default
9649db9b9d Stop archiving no_valid_recipients q_item. 2024-08-24 14:45:42 +02:00
default
34028cddb8 Ignore 'Remove' messages. 2024-08-16 18:43:24 +02:00
default
3ae5c1c037 Don't archive actor retry errors. 2024-08-16 18:42:14 +02:00
default
e89d21b247 Ignore 'Read' messages. 2024-08-16 18:35:08 +02:00
default
ab93ca3f75 Ignore 'Reject' messages. 2024-08-16 18:31:39 +02:00
default
d9994c9a35 Fixed leaked EmojiReact notifications. 2024-08-07 11:01:10 +02:00
default
f14ea27818 Notify Moves, even if they fail. 2024-07-31 07:20:16 +02:00
default
1001744ddb Notify objects include the original message. 2024-07-31 06:22:13 +02:00
default
a09ea11f55 Archive bad Move messages. 2024-07-30 22:21:46 +02:00
default
1ee9814931 Added initial support for the input message 'Move' (untested). 2024-07-30 22:18:30 +02:00
default
1542a1a0a6 Treat 'EmojiReact' as a 'Like'.
These messages will have special treatment eventually.
2024-07-30 18:34:40 +02:00
default
f8fa7167e2 Notify blocks. 2024-07-30 18:27:09 +02:00
default
21c9245f7f On send, consider HTTP status 422 (UNPROCESSABLE_CONTENT) as a fatal error. 2024-07-30 17:53:08 +02:00
default
aa3e351951 Minor tweak. 2024-07-01 08:59:32 +02:00
default
c0333ea0c8 Added auto boosting (contributed by sarahpw).
If `auto_boost` is set to `true` in am account's user.json, all mentions
to that account are automatically boosted to all its followers.

This is very similar to the behaviour of a 'Group' actor.
2024-06-18 06:40:35 +02:00
default
534cf2cdc1 Also send Updates to collected inboxes. 2024-06-18 05:40:10 +02:00
default
f7665079fe Only send notes and poll to the collected inboxes. 2024-06-17 17:28:10 +02:00
default
5b1e771184 Deleted repeated code. 2024-06-17 14:57:05 +02:00
default
b1dceb0770 Added h-card to the class of mention links. 2024-06-02 08:44:38 +02:00
default
a5ec96a6da Added an "Alt..." details just below attachments with them.
The alt text is still also generated as 'alt' and 'name' attributes,
but this is more usable from phones and tablets.
2024-05-30 16:12:08 +02:00
Louis Brauer
0e21d35e80 Use enum instead of numeric status codes for HTTP statuses 2024-05-26 21:45:41 +02:00
default
8cf7559a7e Added more const. 2024-05-23 10:01:37 +02:00
default
4777fc86cb Added const everywhere. 2024-05-21 14:12:15 +02:00
default
0a6df8e504 Renamed content_check() to content_match(). 2024-05-15 13:31:53 +02:00
default
0a11d70fbe Fixed git conflict. 2024-05-11 19:18:07 +02:00
default
4d53a7b6f7 In timeline_request(), call enqueue_actor_request on actor errors. 2024-05-11 19:16:54 +02:00
default
e1ce85debd Unified post-like object type match. 2024-05-11 18:46:15 +02:00
default
79df266bfe Added some more logging. 2024-05-05 08:23:12 +02:00
default
fc76ae4e9e New function enqueue_object_request(). 2024-05-05 01:38:22 +02:00
default
528f6463b2 Fixed confusion in Undo + Follow processing. 2024-05-02 07:25:22 +02:00
default
6a77c634ad Also add announces to lists. 2024-04-30 19:41:08 +02:00