Commit graph

466 commits

Author SHA1 Message Date
rimu
5912e363a0 Revert "extensive logging for find_actor_or_create() issues"
This reverts commit cbd68f8fd8.
2024-10-02 20:31:21 +13:00
rimu
0c493549e3 html response logging 2024-10-02 20:12:32 +13:00
rimu
cbd68f8fd8 extensive logging for find_actor_or_create() issues 2024-10-01 09:33:10 +13:00
rimu
c5208b1afe peertube missing descriptions 2024-09-30 16:02:06 +13:00
rimu
def1c5fbfc debugging tweaks 2024-09-30 15:46:50 +13:00
rimu
c9883c07c0 strip post title - activitypub 2024-09-29 17:15:47 +13:00
rimu
91def29480 post_reply refactor 2024-09-28 13:05:00 +12:00
freamon
a14a41c18e Include check for post.deleted when looking for cross posts 2024-09-27 10:12:46 +00:00
freamon
7e77c0728d Revert to always preferring incoming Markdown over HTML
Due to issues with spoiler format for Lemmmy and Fediverse links for MBIN (#327)
2024-09-25 01:09:28 +00:00
freamon
6413490cc3 Revert earlier decision to only send out HTML (pls see app/utils.py line 327) 2024-09-22 13:45:03 +00:00
freamon
5e2ec8f9d9 Remove last remaining uses of lemmy_markdown_to_html
Everything is now piped through allowlist (except spoiler MD as Lemmy doesn't convert the MD in the contents)
2024-09-21 22:13:52 +00:00
freamon
bb9059bf70 Remove code that added comment from autotl;dr bot to post body (bot was disabled 23/07) 2024-09-21 22:13:35 +00:00
rimu
700b1c98de better instance failure detection 2024-09-21 10:15:25 +12:00
rimu
e616ce122f replace requests with httpx #15
better thread safety
2024-09-15 19:30:45 +12:00
rimu
740c42daea refactor voting code to enable api development #13 2024-09-13 16:39:42 +12:00
rimu
51f2b3e40e track user statistics like post count 2024-09-13 11:08:04 +12:00
rimu
33cd7ebdaf bio for anon voting alt 2024-09-10 10:34:31 +12:00
rimu
1ef01d12ab retry get requests 2024-09-09 08:43:10 +12:00
freamon
0da0845abe Fix for bug that was preventing text-only posts from processing 2024-09-08 12:38:10 +00:00
rimu
026a7e699c detect video posts better 2024-09-07 11:15:33 +12:00
freamon
1a0149cb80 Use youtu.be rather than youtube.com to grab thumbnail images 2024-09-06 01:10:51 +00:00
rimu
d70d5c2878 post teaser redesign #148 2024-09-05 20:10:26 +12:00
rimu
b2457545bf Merge pull request 'Adding application endpoint pointer to nodeinfo response' (#318) from JollyDevelopment/pyfedi:jollydev/add-nodeinfo-response-that-points-to-application-endpoint into main
Reviewed-on: https://codeberg.org/rimu/pyfedi/pulls/318
2024-09-04 22:57:19 +00:00
freamon
a4d981d431 Backfill: ignore community slug that Lemmy adds as a hashtag 2024-09-04 22:29:18 +00:00
freamon
54254b11c2 Backfill: update for recognising image posts 2024-09-04 22:29:05 +00:00
freamon
0d30b152cc Backfill: set remote user's indexable status same on first fetch as later refresh 2024-09-04 22:28:52 +00:00
Alan Roberts
69ad6295a6 Adding application endpoint pointer to nodeinfo response 2024-09-04 16:30:01 -04:00
freamon
5ecb66988b Possible fix for random posts from 'snac' users not being properly rejected and ending up in a community 2024-09-04 13:33:39 +00:00
rimu
48dfd6aa0b improve peertube handling logic #265 2024-09-03 10:37:55 +12:00
rimu
1d23a2bf57 Revert "don't add paragraph tags around replies"
This reverts commit b3e2cab577.
2024-09-03 10:24:51 +12:00
rimu
5f4086ff96 Revert "don't add paragraph tags around replies"
This reverts commit 51b79df591.
2024-09-03 10:24:46 +12:00
freamon
a0fe7a58a7 Process ActivityPub post locks and unlocks 2024-09-01 22:46:43 +00:00
freamon
38b944c323 Read alt text if provided for incoming image posts #102 2024-09-01 20:08:33 +01:00
freamon
d255f676c8 Use 'Image' type in attachment for image posts so alt-text is in same place as Lemmy #102 2024-09-01 19:14:05 +01:00
freamon
1af76320b7 Also use public_url() for User Follower activity 2024-09-01 17:49:46 +01:00
rimu
11ce66443e display error message when joining is denied due to allowlist 2024-08-30 17:25:37 +12:00
rimu
b3e2cab577 don't add paragraph tags around replies 2024-08-29 10:37:00 +12:00
rimu
51b79df591 don't add paragraph tags around replies 2024-08-29 10:31:55 +12:00
rimu
da66219ab8 Merge remote-tracking branch 'origin/main' 2024-08-28 19:16:05 +12:00
rimu
a473e9c55c experimenting with LD Signatures 2024-08-27 19:37:47 +12:00
freamon
2069ca517e Start using Lemmy's HTML 'content' field through an allowlist instead of translating Markdown 2024-08-25 15:58:38 +00:00
freamon
ab0a1816b3 ActivityPub - process ban reversals for local users from remote mods & admins 2024-08-23 14:05:42 +00:00
freamon
79ab687b5b ActivityPub - Bans for local users from remote mods & admins
(Also works if alt_user_name is provided)
2024-08-23 08:47:19 +00:00
rimu
6cf546facb only run 4chan filter in low quality communities 2024-08-23 12:28:10 +12:00
freamon
7fd83c4a11 Remove remote subscribers to a local community if remote instance states that there is none 2024-08-21 18:34:21 +00:00
freamon
12f488bfc1 Ignore it when flaky instances provide a HTML instead of JSON response 2024-08-21 15:27:47 +00:00
freamon
0d8058229c Remove a couple of unnecessary db.session calls 2024-08-19 23:50:53 +00:00
freamon
43e2d59025 Don't overwrite activity_log.result from value set in undo_vote() 2024-08-19 23:49:24 +00:00
freamon
87d932c655 Return local user via their Alt in find_actor_or_create
(just so activities log shows when Lemmy is Announcing back local content)
2024-08-19 23:44:58 +00:00
rimu
336a47fdd2 random published date to avoid cake day associations 2024-08-20 09:08:45 +12:00