Commit graph

133 commits

Author SHA1 Message Date
freamon
2803054767 Share remote_object_to_json() 2025-01-21 03:04:20 +00:00
freamon
5765b9a29c Remove obsolete function 2025-01-20 22:23:53 +00:00
freamon
1654dcea0b Consolidate retrieve_mods_and_backfill() functions to support outbox processing for lemmy, peertube, and wordpress 2025-01-20 22:23:41 +00:00
freamon
6ee41578d6 mentions in post bodies - use shared code for outbound federation / notification 2025-01-17 18:54:14 +00:00
freamon
95e99dd286 Change criteria for restricting available cross posts 2025-01-11 18:14:40 +00:00
freamon
463acb67a7 Refactor code to calculate cross posts 2025-01-09 00:56:25 +00:00
mtyton
79b3797b5f Added possibility to edit images in Image posts 2024-12-14 23:30:45 +01:00
rimu
4e87a365b3 svg image support #374 2024-12-06 10:21:44 +13:00
rimu
4f95d1237e avif image support #374 2024-12-06 09:44:56 +13:00
rimu
7a7a1fe0d4 check community.ap_outbox_url 2024-11-30 14:22:48 +13:00
rimu
3fb6a9e0bf increase http post timeout to 10 seconds 2024-11-16 21:53:18 +13:00
rimu
53e90bb8c1 use separate DB session for common celery tasks to reduce conflicts 2024-11-14 16:28:38 +13:00
rimu
f4e2dfa691 edit post with hashtags 2024-10-30 09:21:54 +13:00
rimu
bcbb9f83e9 Merge remote-tracking branch 'origin/main' 2024-10-30 09:19:44 +13:00
rimu
ea4df1d2f0 edit post with hashtags 2024-10-30 09:19:32 +13:00
freamon
899bf834cd post soft-deletion: delay calling delete_dependencies until a post is purged, to allow for restoration 2024-10-26 03:55:21 +00:00
rimu
156c328c6f tidy up calls to obsolete post_ranking 2024-10-22 19:51:37 +13:00
rimu
42439fb90a Merge branch 'refactor-post-new' 2024-10-21 09:56:20 +13:00
freamon
a2a81e5726 post-reply soft-deletion: don't overwrite content, so it can be restored 2024-10-19 17:26:26 +00:00
rimu
feca5992af refactor post-new wip 2024-10-16 21:42:30 +13:00
rimu
deb14b73f3 generate medium sized image even when source image is small #332 2024-10-01 09:23:26 +13:00
rimu
fd9d744111 strip post title 2024-09-29 17:13:30 +13:00
freamon
a14a41c18e Include check for post.deleted when looking for cross posts 2024-09-27 10:12:46 +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
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
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
8fbf59e189 don't send to banned instances 2024-08-19 10:24:49 +12:00
Alan Roberts
013f33b5d3 Adjusting the post editing for images to display the existing image 2024-08-17 09:42:07 -04:00
rimu
d0cc79f8ad accept mastodon replies 2024-08-17 10:26:33 +12:00
rimu
6f4ea028f7 federate auto-deletes 2024-08-16 16:10:09 +12:00
rimu
4cf7e067d6 stop 'add remote' from duplicating local communities 2024-08-16 11:49:14 +12:00
rimu
6d555c4c54 when adding moderators do a fuzzy search and present a list of people to add. fixes #248 2024-07-14 14:01:22 +08:00
Hendrik L
7219926bfd update routes after post_edit template cleanup 2024-07-08 16:18:49 +02:00
Hendrik L
a1fa74d3ba move all post_edit templates into one 2024-07-08 15:14:24 +02:00
rimu
47dd776ca6 bigger thumbnail files to match bigger display size #241 2024-07-01 20:44:08 +08:00
rimu
a767a96dcd accept mpo images fixes #218 2024-06-29 11:51:31 +08:00
rimu
be41133dd9 image upload bugfixes #218 2024-06-25 21:11:57 +08:00
rimu
115247f422 improve thumbnail generation reliability 2024-06-22 14:18:26 +08:00
rimu
e2ce7c832f better image handling - use content-type header instead of extension #fixes 37 2024-06-19 13:46:36 +08:00
rimu
3203ac5506 oh boy, this sucks #194 2024-06-05 13:21:41 +12:00
rimu
f101a56fe2 profile_id or user_name.lower() everywhere #194 2024-06-04 09:53:13 +12:00
rimu
2380a3ae61 soft deletes and deleted content admin area #193 2024-06-02 16:45:21 +12:00
freamon
7c33c40f09 Bugfix for poll edits 2024-05-31 22:30:36 +01:00
freamon
ae68eecb65 Only duplicate title into body for Polls if it's not already in there 2024-05-31 22:30:21 +01:00
freamon
d6aed72b3c Duplicate Poll title into body so it appears in content
required for Mastodon to accept
2024-05-31 22:28:43 +01:00
freamon
788cad653b Clobber PeerTube communitites to restrict posting to mods irrespective of what JSON says 2024-05-28 20:44:06 +01:00
freamon
564323d650 PeerTube: process page 1 of outbox for 'Video' type 2024-05-26 01:37:14 +01:00
freamon
92cda776fa Bugfix: sleep() imports in community/util 2024-05-22 12:16:35 +01:00