Commit graph

409 commits

Author SHA1 Message Date
freamon
5bf0ddc32a Only call resolve_remote_post() from activitypub, modify it to also accept Announce/Update, and remove reliance on 'audience' field (#427) 2025-01-20 22:23:27 +00:00
freamon
29d450d75a Template for Banned from Community Notification to lead to #400 2025-01-18 22:43:58 +00:00
freamon
dc5c0fd7b4 Update resolve_remote_post_from_search() to not require 'audience' field 2025-01-18 17:25:54 +00:00
freamon
3e3aca1910 move check for incoming Mentions into post.new() 2025-01-18 00:59:26 +00:00
freamon
022d1d67dc mentions in post bodies - inbound federation 2025-01-17 18:54:44 +00:00
freamon
6ee41578d6 mentions in post bodies - use shared code for outbound federation / notification 2025-01-17 18:54:14 +00:00
rimu
b4664c8ea9 handle a variety of date formats for end of ban time 2025-01-14 13:23:30 +13:00
freamon
57da9f7182 mentions in comments - inbound federation 2025-01-10 16:09:57 +00:00
freamon
250405aafb Add option to boost votes for PeerTube videos 2025-01-09 16:46:06 +00:00
freamon
463acb67a7 Refactor code to calculate cross posts 2025-01-09 00:56:25 +00:00
freamon
5a31c99c08 Remove a couple of old uncalled functions 2025-01-08 23:05:03 +00:00
freamon
cbb2321a57 Streamline ap routes (part 16: tidy up AP logging function) 2025-01-08 22:48:57 +00:00
freamon
7942793c20 Streamline ap routes (part 15: filter out activities that are both sent direct and Announced) 2025-01-08 22:08:12 +00:00
freamon
e8b2861d88 Streamline ap routes (part 10: undo deletes) 2025-01-08 19:23:47 +00:00
freamon
9dc1589783 Streamline ap routes (part 08: deletes) 2025-01-08 18:28:27 +00:00
rimu
f10fb60577 sometimes attributedTo is a list of strings or Person dicts 2025-01-08 13:24:57 +13:00
rimu
b90f4feb3c Merge remote-tracking branch 'origin/main' 2025-01-08 13:15:33 +13:00
rimu
654e148d4a sometimes attributedTo is a list of strings 2025-01-08 13:14:37 +13:00
rimu
cf14b186c1 sometimes attributedTo is a list of strings 2025-01-08 12:19:10 +13:00
freamon
78fd925282 Add votes to posts from PeerTube instances when they send an update 2025-01-07 10:53:47 +00:00
freamon
7c817decf2 misc bugfixes for PeerTube 2025-01-06 22:54:41 +00:00
freamon
af82bc7076 Fetch and verify an object from its source if sent without a signature 2025-01-06 19:25:07 +00:00
freamon
26283a5d73 change 'find_community_ap_id()' to 'find_community()' 2025-01-06 19:24:54 +00:00
rimu
ef1550f578 no point using redis caching when the relationship is joined anyway 2025-01-01 16:10:52 +13:00
rimu
ddccb7859b parse mastodon urls in extra fields 2025-01-01 15:39:39 +13:00
rimu
93ee376525 utilize mastodon-style regular expressions for defederation 2024-12-31 13:55:24 +13:00
rimu
3662749188 extra fields on profiles ala Mastodon 2024-12-22 15:38:40 +13:00
rimu
d73c12d4c7 remove moviepy and ffmpeg dependency 2024-12-16 20:49:43 +13:00
freamon
c851680b05 Depreciate generate_image_from_video_url(), put <video> in masonry instead #373 2024-12-11 22:54:58 +00:00
rimu
4f95d1237e avif image support #374 2024-12-06 09:44:56 +13:00
rimu
4fe3778008 Merge pull request 'add more info to the modlog' (#367) from h3ndrik/pyfedi:mod4 into main
Reviewed-on: https://codeberg.org/rimu/pyfedi/pulls/367
2024-12-05 00:50:44 +00:00
freamon
6b526635ca Avoid error if remote user updates a post from Image to Article 2024-12-03 17:08:31 +00:00
Hendrik L
f98e8eaf5a small optimization 2024-12-03 11:58:43 +01:00
Hendrik L
3cee732a0b remove lock_post helper function 2024-12-03 11:36:56 +01:00
rimu
82be9f9475 use thumbnail image for videos when updating #366 2024-12-03 09:25:10 +13:00
Hendrik L
f8b5f77421 log remote user bans 2024-12-02 14:51:23 +01:00
Hendrik L
e270bc9a0e use lock_post function 2024-12-02 13:30:27 +01:00
Hendrik L
48a0cb64ce modlog: propagate reasons for incoming mod actions 2024-12-02 12:29:59 +01:00
freamon
64c40b11db Avoid error if 'image' in Person JSON is null 2024-12-01 02:08:28 +00:00
rimu
f6661b7b9d Revert "Microwave@lemmy.world summary"
This reverts commit 19bd90475a.
2024-12-01 08:19:15 +13:00
freamon
ec91e6c7d2 Bugfix for posts with empty attachments 2024-11-30 14:20:19 +00:00
rimu
73f0ff35f4 a.gup.pe images - attached to notes as a dict 2024-11-30 21:36:42 +13:00
rimu
19bd90475a Microwave@lemmy.world summary 2024-11-30 14:16:04 +13:00
freamon
3a3b366fd4 rename id for logging from 'announce_id' to 'id' 2024-11-29 22:46:59 +00:00
rimu
dd93048e96 temporary instance bans 2024-11-30 09:50:14 +13:00
freamon
01e28a20b5 rework update_post_from_activity #351 2024-11-27 22:31:38 +00:00
rimu
3553534c00 Merge pull request 'refactor-aproutes' (#357) from refactor-aproutes into main
Reviewed-on: https://codeberg.org/rimu/pyfedi/pulls/357
2024-11-27 21:10:01 +00:00
freamon
26eb967a1c apf part 36: Use signed get if remote site responds 401 2024-11-25 12:46:34 +00:00
freamon
175094496a apf part 32: Announce / Undo / Block 2024-11-24 21:43:08 +00:00
freamon
51de9ee082 apf part 28: Announce / Block to ban users from communities 2024-11-24 21:01:34 +00:00