Commit graph

568 commits

Author SHA1 Message Date
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
freamon
d0b146ec0f Find cross-posts for new or updated posts 2024-04-02 18:45:04 +01:00
rimu
483df457c4 resolve merge conflicts #143 2024-04-02 12:38:59 +13:00
freamon
3cdf9b0225 update_post_from_activity: use additions from create_post, and respond to changed URL 2024-04-01 23:44:58 +01:00
rimu
40c33672b1 improve nsfl detection 2024-04-01 10:12:31 +13: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
rimu
3e76bd2775 minor merge fixups #124 2024-03-27 16:08:25 +13:00
rimu
bf11490011 Merge remote-tracking branch 'origin/main'
# Conflicts:
#	app/activitypub/routes.py
#	app/activitypub/util.py
2024-03-27 16:07:21 +13:00
rimu
50db96fb6c remove broken html_to_markdown function 2024-03-27 16:02:04 +13:00
freamon
484d165f47 Initial support for incoming Microblog posts 2024-03-26 22:46:15 +00:00
freamon
1b1b126bf9 Rework finding community from Create JSON 2024-03-26 15:03:45 +00:00
freamon
5fd59849b7 Merge remote-tracking branch 'upstream/main' into 25 2024-03-25 11:04:12 +00:00
rimu
6762d9a87b Merge pull request 'Top-level Post Replies' (#120) from freamon/pyfedi:23c into main
Reviewed-on: https://codeberg.org/rimu/pyfedi/pulls/120
2024-03-25 08:19:52 +00:00
rimu
e15d2a0581 don't accept new posts from banned communities 2024-03-25 13:30:09 +13:00
freamon
a84bd73b32 Return list of sticky posts for local community featured url 2024-03-24 22:10:41 +00:00
rimu
c5055cd09f detect friendica 2024-03-24 15:35:45 +13:00
freamon
e8f7551e06 Avoiding crashes from adding remotes:
If remote community is missing
If remote community doesn't have a 'featured' url (e.g. KBIN)
If remote community returns empty/broken outbox (e.g. KBIN returns {}) with 200 OK
2024-03-24 00:15:10 +00:00
rimu
8a6f3fff61 Merge pull request 'Moderators' (#115) from freamon/pyfedi:21 into main
Reviewed-on: https://codeberg.org/rimu/pyfedi/pulls/115
2024-03-22 02:34:39 +00:00
freamon
4804c4c4b2 Avoid returning 'null' for manuallyApprovesFollowers 2024-03-21 23:26:03 +00:00
rimu
081108a7c6 block future shitpost floods 2024-03-22 12:22:19 +13:00
freamon
f7074d2edd Add/Remove moderators (incoming AP) 2024-03-21 23:21:28 +00:00
rimu
2cbaefd844 block shitpost flood 2024-03-22 10:50:17 +13:00
rimu
43f0998391 When a post or postreply is created, record whether the author is a bot, for easier filtering #98 #114 2024-03-21 21:50:25 +13:00
freamon
0966ce4346 Recognise 'service' type as bots 2024-03-20 11:34:25 +00:00
freamon
e49cf220e9 Add/Remove activity for featured posts 2024-03-19 15:38:35 +00:00
freamon
136cb64a69 Checked featured url for sticky posts #16 2024-03-19 07:34:19 +00:00
rimu
84d8198a67 Merge pull request 'Outbox / Fetched JSON fix' (#108) from freamon/pyfedi:18b into main
Reviewed-on: https://codeberg.org/rimu/pyfedi/pulls/108
2024-03-19 04:08:54 +00:00
rimu
5808301770 remove '?asdf' stuff on the end of file names when saving 2024-03-19 12:42:53 +13:00
freamon
bdeab7fb83 Outbox / Fetched JSON fix 2024-03-18 21:00:17 +00:00