Commit graph

115 commits

Author SHA1 Message Date
freamon
90a89c47e2 Increase exception catching when fetching actors 2024-03-16 20:33:48 +00:00
freamon
9be6ae18f8 Preserve case for fetching actors (req. for KBIN) 2024-03-16 20:17:24 +00:00
rimu
1cb31a0794 improve robustness of handling of 'sensitive' field 2024-03-17 02:55:59 +13:00
rimu
8be165d5eb check for mediaType in request_json['object']['source'] 2024-03-17 02:53:00 +13:00
rimu
884248987e make_image_sizes_async: fall back to parsing the http content type if the url does not contain a file extension 2024-03-17 02:32:17 +13:00
rimu
9291821835 only process post image if post url not banned 2024-03-17 02:22:33 +13:00
rimu
5fb05f3e2f only process post image if post url not banned 2024-03-17 02:21:16 +13:00
freamon
37c9431b4e Borrow code from create_post for post_json_to_model 2024-03-15 23:47:21 +00:00
freamon
c5f0d5175a Add ActivityPub logging to outbox processing 2024-03-15 22:32:48 +00:00
rimu
49db71e05d opt out of search 2024-03-12 20:58:47 +13:00
rimu
0f055f590d better image handling 2024-03-12 09:53:34 +13:00
rimu
6408432da6 properly set create_id and announce_id in community outbox 2024-03-09 19:13:15 +13:00
rimu
3dff7ef2e7 invalid attachment activitypub 2024-03-09 18:19:03 +13:00
rimu
bacc0c81be logging on post_json_to_model 2024-03-09 12:15:58 +13:00
rimu
6914a47206 remove tracking from links fixes #34 2024-03-08 22:01:46 +13:00
freamon
9fa260632a Clean tracking info from youtube links 2024-03-08 01:33:58 +00:00
rimu
b9a88a7fa6 save local copy of link posts where the link is to an image 2024-03-04 10:56:17 +13:00
rimu
2c00577606 update nsfl based on title when post is edited 2024-03-03 13:13:36 +13:00
rimu
6bdc23bad7 sometimes we only want to find a community
this will eliminate a whole raft of issues caused by trying to injest posts from microblogging services which don't have Group actors
2024-03-02 10:20:15 +13:00
rimu
f7ebdec1d5 Microblog posts sometimes get Announced by lemmy. They don't have a title, so we can't use them. 2024-03-02 09:13:49 +13:00
rimu
170a40738e add some debugging logging 2024-02-29 17:10:38 +13:00
rimu
61830e630c fix for lotide posts which are missing commentsEnabled 2024-02-29 12:33:34 +13:00
rimu
e3099a0b66 fix typeerror exceptions 2024-02-29 11:26:45 +13:00
rimu
5df5a77fbc oops 2024-02-27 05:26:06 +13:00
rimu
d600de73e0 refresh community profile 2024-02-27 05:19:52 +13:00
rimu
106ceba33f federate user delete properly 2024-02-25 15:31:16 +13:00
rimu
40de319b9a allow comments on posts in communities that are restricted to mods 2024-02-24 11:07:06 +13:00
rimu
93c52b2a86 debug issues found in production log 2024-02-23 20:23:59 +13:00
rimu
d40ab28ea2 email notifications fixes #18 2024-02-23 16:52:17 +13:00
rimu
46bca83e2a use community outbox properly 2024-02-21 08:36:47 +13:00
rimu
15a18550d9 save larger version of image 2024-02-19 09:02:12 +13:00
rimu
066646b4f6 nsfw and nsfl icons on posts 2024-02-16 06:17:13 +13:00
rimu
2bf1aa23ee make api/v3/instance return correct images #41 2024-02-14 14:53:03 +13:00
rimu
b812694772 make api/v3/instance return a list of admins. fixes #41 2024-02-14 14:38:55 +13:00
rimu
fef3a1e995 remote admins can delete remote posts (not just moderators) 2024-02-14 12:31:44 +13:00
rimu
56f5f0da4c remove incorrectly ussed summary 2024-02-11 20:29:58 +13:00
rimu
3a9b12584d better notifications 2024-02-10 20:06:08 +13:00
rimu
fa649bb8ab better notifications 2024-02-10 19:58:34 +13:00
rimu
4974d2cddb remove func.lower which was bad for DB perf 2024-02-10 16:29:03 +13:00
rimu
375600b382 stats 2024-02-10 11:42:18 +13:00
rimu
639d920d05 reduce storage usage by user banners 2024-02-10 06:41:24 +13:00
rimu
45d8b042a5 remove 'ilike' for most case insensitive searches - too slow 2024-02-09 14:58:51 +13:00
rimu
d7e7d79419 calculate local post stats 2024-02-08 12:46:41 +13:00
rimu
1a50509465 improve compatibility with python 3.11 refs #36 2024-02-06 17:40:03 +13:00
rimu
b7e40fb35c notify admin when new registration is waiting 2024-02-05 16:22:17 +13:00
rimu
cb2762e15e date format of updated 2024-02-03 10:36:19 +13:00
rimu
212e1bd6d9 detect nsfl posts based on title and hide post from lists based on user setting 2024-02-01 11:59:09 +13:00
rimu
fec2d24e6d beware of upper and lower case in user_names and community AP ids 2024-01-29 08:47:36 +13:00
rimu
04a4abe9d5 local only communities - do not federate 2024-01-27 12:22:35 +13:00
rimu
2f947e6d0d alt text on images 2024-01-26 17:15:43 +13:00