Commit graph

313 commits

Author SHA1 Message Date
freamon
8d119223d4 Small fixes for incoming AP 2025-01-23 05:11:10 +00:00
freamon
004fb208c2 Truncate Announce / Create IDs if they're too long to store in Post or PostReply 2025-01-22 02:38:12 +00:00
freamon
7bc14cffd2 nodebb: log bad activity before fixing it 2025-01-21 20:36:23 +00:00
freamon
c824f06cae Move the Monitor for nodebb bug to a better place 2025-01-21 20:18:50 +00:00
freamon
a24ed21be6 Monitor any more Announces from nodebb that are missing a Create actor 2025-01-21 17:13:50 +00:00
freamon
c0ba8ba1e8 Hopefully temporary fix for nodebb bug 2025-01-21 06:29:31 +00:00
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
b4aa566dba Also increment subscriptions_count for remote users joining local communities #424 2025-01-17 23:22:32 +00:00
freamon
5a31c99c08 Remove a couple of old uncalled functions 2025-01-08 23:05:03 +00:00
freamon
d9e5b14e42 Streamline ap routes (part 17: use 'core_activity' for consistency) 2025-01-08 22:58:10 +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
f82c2fe9b4 Streamline ap routes (part 14: remove old code) 2025-01-08 22:00:00 +00:00
freamon
309a016d97 Streamline ap routes (part 13: undo user bans) 2025-01-08 22:00:00 +00:00
freamon
809a04b869 Streamline ap routes (part 12: undo locks) 2025-01-08 19:49:41 +00:00
freamon
e1e1b43d63 Streamline ap routes (part 11: undo votes) 2025-01-08 19:27:46 +00:00
freamon
e8b2861d88 Streamline ap routes (part 10: undo deletes) 2025-01-08 19:23:47 +00:00
freamon
e640ab7ed8 Streamline ap routes (part 09: creates / updates) 2025-01-08 18:57:50 +00:00
freamon
9dc1589783 Streamline ap routes (part 08: deletes) 2025-01-08 18:28:27 +00:00
freamon
63495dd5d9 Streamline ap routes (part 07: user bans) 2025-01-08 16:34:25 +00:00
freamon
0f0202cb55 Streamline ap routes (part 06: remove mods or sticky) 2025-01-07 16:26:28 +00:00
freamon
3a9ffa7c53 Streamline ap routes (part 05: add mods or sticky) 2025-01-07 16:23:29 +00:00
freamon
099f073f01 Streamline ap routes (part 04: locks) 2025-01-07 15:27:28 +00:00
freamon
88ac73f979 Streamline ap routes (part 03: flags) 2025-01-07 15:12:28 +00:00
freamon
172f861141 Streamline ap routes (part 02: dislikes) 2025-01-07 14:14:50 +00:00
freamon
05bfed955e Streamline ap routes (part 01: likes) 2025-01-07 13:53:52 +00:00
freamon
78fd925282 Add votes to posts from PeerTube instances when they send an update 2025-01-07 10:53:47 +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
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
freamon
a1d3e445d3 Instance IP address will be incorrect if request was bounced 2024-12-11 00:48:55 +00:00
rimu
6cc6fceb5b sometimes ap_id is a dict?! 2024-12-05 15:42:58 +13:00
rimu
6a9ba43936 sometimes ap_id is a dict?! 2024-12-05 15:42:10 +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
958a0c9f0c Always store request JSON if activity was unmatched, but use site setting for unfound/blocked Announce object actor 2024-12-04 16:37:42 +00:00
Hendrik L
3cee732a0b remove lock_post helper function 2024-12-03 11:36:56 +01: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
rimu
5c8a14007f double negatives are hard 2024-12-01 21:24:23 +13:00
freamon
18b714616a Avoid AttributeError if Actor isn't a string 2024-12-01 01:32:46 +00: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
95f7b226d2 Fix variable name clash 2024-11-29 17:15:18 +00:00
freamon
aa444f3417 Remove comments about users undeleting themselves, because it turns out that isn't possible from Lemmy 2024-11-29 15:48:38 +00:00
freamon
3b800e7e96 Distinguish between Mastodon account deletes and content deletes 2024-11-29 15:43:42 +00:00
freamon
921c2e78b1 Make replay_inbox_request() a bit more consistent with shared_inbox() 2024-11-29 15:01:24 +00:00
freamon
a6b6b7cc8b AP for direct (instead of Announced) add / remove of moderator 2024-11-27 22:42:27 +00:00
freamon
0b66127d40 Also ignore it if a.gup.pe announces local content back 2024-11-27 22:35:16 +00:00
rimu
e28550427b return 200 and minor bugfixes and tidy-ups #357 2024-11-28 11:11:59 +13:00