Commit graph

300 commits

Author SHA1 Message Date
rimu
7805563b0f lowercase ap_id on communities 2024-04-30 21:11:57 +12:00
rimu
dc89405d05 debug #20 2024-04-30 11:33:43 +12:00
rimu
01d4b2678c anyone can subscribe to any post or comment #20
(not just the author)
2024-04-29 21:43:37 +12:00
rimu
e1204bc267 topic notifications #20 2024-04-29 16:03:00 +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
rimu
95172af37c include languages in api/v3/site 2024-04-22 20:10:13 +12:00
rimu
34d09acc92 surprise feature for those who comment "this" 2024-04-22 15:25:37 +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
35efd7725c Tesseract errors take many forms - just capture them all in one go 2024-04-20 20:17:58 +12:00
rimu
d4141bb044 if the remote instance does not respond to an attempt to refresh a user profile it is probably temporarily overwhelmed
we just received an activity from them so it doesn't make sense to flag the instance as dormant, here.
2024-04-20 17:33:04 +12:00
rimu
2c1efdeb68 fall back to ap_profile_id 2024-04-20 17:16:17 +12:00
rimu
8396cf5e60 TimeoutError when using pytesseract 2024-04-20 17:01:36 +12:00
rimu
697d424bdf handle invalid video files more gracefully 2024-04-20 16:47:27 +12:00
rimu
7decc51f9a only set post language if post exists 2024-04-20 16:34:54 +12:00
rimu
c8b81162f1 remove obsolete flush_cache() calls 2024-04-20 16:26:33 +12:00
rimu
c121ed6784 Bot comments shouldn't add to comment count fixes #150 2024-04-19 21:17:21 +12:00
rimu
fae5d70aab notification subscription - user notif #20 2024-04-19 20:13:02 +12:00
rimu
d9422411ea typo 2024-04-19 20:05:27 +12:00
rimu
1d8a717d6f Merge pull request 'Local Community Federation' (#162) from freamon/pyfedi:17_lcf into main
Reviewed-on: https://codeberg.org/rimu/pyfedi/pulls/162
2024-04-18 19:37:16 +00:00
rimu
035f0f2ea9 api/v3/site - date format 2024-04-18 14:23:01 +12:00
rimu
237fd3c408 api/v3/site - correct admin name 2024-04-18 14:17:27 +12:00
rimu
a4991090fd update existing community language 2024-04-18 13:57: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
rimu
39946fcc2a Merge pull request 'Ignore Page/Announce, and some little fixes' (#158) from freamon/pyfedi:15 into main
Reviewed-on: https://codeberg.org/rimu/pyfedi/pulls/158
2024-04-16 10:20:52 +00:00
rimu
8be961bea8 save language of posts and communities 2024-04-16 21:49:05 +12:00
rimu
516eafa1f3 video as a entirely separate post type 2024-04-16 20:59:58 +12:00
rimu
abd4dd16c9 embed video and generate still thumbnail 2024-04-16 16:35:12 +12: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
b193f71527 make spicyness of hot algo configurable through .env 2024-04-15 12:08:04 +12:00
rimu
75c3f7c8be hot sort - more spicy pls (experiment) 2024-04-14 07:59:24 +12:00
rimu
2729539d8c only attach image to post if post was successfully created 2024-04-09 19:27:42 +12:00
rimu
15c628903d avoid AttributeError when instance inbox is not populated 2024-04-09 19:23:19 +12:00
rimu
12e6e55cb4 avoid "list.remove(x): x not in list" 2024-04-09 19:16:11 +12:00
rimu
cfce14b9f3 images > 2000px tend to be real photos instead of 4chan screenshots 2024-04-09 12:29:48 +12:00
rimu
9840f7bc53 avoid invalid image json in Actors 2024-04-09 10:29:55 +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
rimu
329ad0093e minor tweaks #144 2024-04-03 07:44:59 +13:00
freamon
d9dc0d2960 Fixup cross posts if post is removed 2024-04-02 18:45:21 +01:00