Commit graph

146 commits

Author SHA1 Message Date
rimu
0eadceda63 handle pixelfed follow requests 2024-05-17 21:03:38 +12:00
freamon
b0f6848312 Avoid invoking allowlist_html() twice
(markdown_to_html() already returns the output from that function)

(autotldr username html isn't passed to allowlist_list to avoid getting a target=_blank attribute)
2024-05-14 20:38:16 +01:00
freamon
c77a6de126 Render Markdown soft breaks as new lines for new local content #133 2024-05-14 19:33:08 +01:00
freamon
37b06ef43f Deliver Actor 'summary' info as HTML
(same as Mastodon and Lemmy)
2024-05-14 16:24:05 +01:00
rimu
ade07d2658 stop instances from being flagged as 'gone forever' if they're still sending activities 2024-05-12 16:08:20 +12:00
rimu
af4dee7ea3 add language choices to UI #51 2024-05-09 17:54:30 +12:00
rimu
2d321134e6 when someone is blocked, remove them from followers collection #172 2024-05-08 19:28:49 +12:00
freamon
dff8d5c5bc Fix: don't check signature twice for Likes from User Follows 2024-05-04 23:22:47 +01:00
freamon
b6237e5eac Fix: only write local user's follower URL once 2024-05-04 22:44:51 +01:00
freamon
81af3ebcb5 Use signed Get request for remote actors trying to Follow local ones 2024-05-04 22:32:17 +01:00
freamon
cfef490143 Add instance actor 2024-05-04 21:26:39 +01:00
freamon
c82581462d Move default_context()
(avoid circular dependency for next commits)
2024-05-04 21:16:55 +01:00
rimu
ec88d84775 add celery decorator to task functions #172 2024-05-03 06:27:25 +12:00
freamon
c7f2a168fe Send (undo)Like from Remote User follower to shared inbox 2024-04-30 13:15:57 +01:00
freamon
e7ebce679a Respond to /u/actor/followers URL 2024-04-30 13:14:51 +01:00
freamon
b374e3031b Add msg to ap log if local user not found 2024-04-30 13:14:24 +01:00
freamon
15507efd73 Only accept Undo/Follow if original Follow was accepted 2024-04-30 13:13:56 +01:00
freamon
d2a99e08b4 Process Undo/Follow requests from remote actors to local actors 2024-04-30 13:13:29 +01:00
freamon
f7cfd1f92b Accept Follow requests from remote actors to local actors 2024-04-30 13:12:53 +01:00
rimu
7805563b0f lowercase ap_id on communities 2024-04-30 21:11:57 +12:00
rimu
37b95f03b9 oops missed one #170 2024-04-28 16:49:49 +12:00
freamon
3cddfd86e8 Ensure domains of 'id' and 'actor'/'attributedTo' match 2024-04-26 13:35:16 +01:00
rimu
0f020a6372 make ap_id always lower case 2024-04-23 21:28:58 +12:00
rimu
708edd51b6 refactor community subscription to use new subscription system #20 2024-04-22 20:53:03 +12:00
freamon
8275f75a28 Ignore remote Creates to local_only communities 2024-04-20 13:03:39 +01:00
freamon
cd0419a93a Reject remote Follows to local_only communities 2024-04-20 13:02:43 +01:00
rimu
6ce5e7208c a way for senders to see the result of their POST to our inbox
for debugging
2024-04-20 20:46:51 +12:00
rimu
2c1efdeb68 fall back to ap_profile_id 2024-04-20 17:16:17 +12:00
rimu
c8b81162f1 remove obsolete flush_cache() calls 2024-04-20 16:26:33 +12:00
freamon
aae9ac88ad Announce actions by remote actors in local communities 2024-04-17 15:18:59 +01:00
freamon
79239b7273 Add Undo of Post Vote to federation 2024-04-17 15:18:28 +01:00
freamon
96528ada90 Ignore Announces intended for Mastodon 2024-04-15 22:06:50 +01:00
rimu
e5bfd1b4c9 better chat notification link 2024-04-15 19:03:59 +12:00
rimu
5c3fb82ebb speed up redis-based dup detection by avoiding touching the DB in before_request() #135 2024-04-09 08:14:25 +12:00
freamon
dd0646f1aa Remove @context from inner Announce object before sending out 2024-04-06 22:42:25 +01:00
rimu
66d05ea860 receive federated reports from remote instances #21 2024-04-06 16:29:47 +13:00
rimu
6264a07c49 track recent activities using redis instead of db 2024-04-04 21:38:26 +13:00
rimu
958c8f226f track recent activities using redis instead of db 2024-04-04 21:36:03 +13:00
rimu
1e38fcf9b3 api/v1/instance endpoint, for fedidb 2024-04-03 16:35:26 +13:00
freamon
d9dc0d2960 Fixup cross posts if post is removed 2024-04-02 18:45:21 +01:00
rimu
50d1672a3a reverse earlier bad decision 2024-03-29 16:22:06 +13:00
rimu
e78dd304be record last activity in a conversation 2024-03-28 09:24:13 +13:00
rimu
bf1393a0f2 case of user names 2024-03-27 22:55:31 +13:00
rimu
d076fea654 cope with user names with upper case letters 2024-03-27 16:34:15 +13:00
rimu
5632f9b78f minor merge fixups #124 2024-03-27 16:15:29 +13:00
freamon
1b1b126bf9 Rework finding community from Create JSON 2024-03-26 15:03:45 +00:00
freamon
a84bd73b32 Return list of sticky posts for local community featured url 2024-03-24 22:10:41 +00:00
freamon
4804c4c4b2 Avoid returning 'null' for manuallyApprovesFollowers 2024-03-21 23:26:03 +00:00
freamon
f7074d2edd Add/Remove moderators (incoming AP) 2024-03-21 23:21:28 +00:00
freamon
0966ce4346 Recognise 'service' type as bots 2024-03-20 11:34:25 +00:00