Commit graph

597 commits

Author SHA1 Message Date
rimu
f16b23bcd8 do not mix model objects from different sessions 2024-11-14 16:51:48 +13:00
rimu
c746be51c9 oops, don't close session too soon 2024-11-14 16:43:17 +13:00
rimu
53e90bb8c1 use separate DB session for common celery tasks to reduce conflicts 2024-11-14 16:28:38 +13:00
rimu
70bb9ab68f finesse my earlier fix 2024-11-06 14:38:58 +13:00
rimu
a056a02ac3 avoid invalid post urls 2024-11-05 17:09:48 +13:00
rimu
122941b696 local variable 'server' referenced before assignment 2024-11-02 16:39:39 +13:00
rimu
21ae50f6ff post licence - save and display 2024-11-02 16:02:29 +13:00
freamon
aa754cbd45 Use community linked to_delete or to_restore instead of one mentioned in request JSON 2024-10-30 15:27:18 +00:00
freamon
1611875936 Move cross-post logic out of routes and into util for delete/restore 2024-10-30 15:26:58 +00:00
freamon
bdbd33f513 Remove celery selection functions for delete/restore because decision was already made for calling function 2024-10-30 15:26:45 +00:00
freamon
e2d3f6d23d Exclude blocked instances from linked instances in federated_instances response 2024-10-29 10:34:19 +00:00
freamon
502e6ff0f6 post soft-deletion: add options to restore or purge deleted posts 2024-10-26 03:55:56 +00: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
401df0cc58 nodeinfo - open registrations 2024-10-23 16:08:24 +13:00
freamon
af3bc4f0dd post-reply soft-deletion: activitypub restorations 2024-10-21 22:20:33 +00:00
freamon
1a0ad888db post-reply soft-deletion: remote users in local communities 2024-10-21 22:20:20 +00:00
freamon
0220739d16 post-reply soft-deletion: add info to activitypublog for deletions 2024-10-21 22:19:43 +00:00
rimu
384d8077be avoid trying to delete already deleted posts 2024-10-21 10:22:59 +13:00
rimu
42439fb90a Merge branch 'refactor-post-new' 2024-10-21 09:56:20 +13:00
freamon
a627de0985 post-reply soft-deletion: also replace content for activitypub retrievals 2024-10-19 21:56:01 +00:00
freamon
3196c2cb79 post-reply soft-deletion: activitypub fixes 2024-10-19 21:19:35 +00: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
77172f1d9c minor bugfixes via sentry 2024-10-16 21:55:41 +13:00
rimu
cec844ec4f refactor post-new wip 2024-10-14 15:37:00 +13:00
rimu
f1ddbcf008 populate deleted_by field 2024-10-14 12:35:24 +13:00
rimu
4d285e6871 FEP-268d - federation 2024-10-13 10:57:33 +13:00
rimu
955af755de FEP-268d: Search consent signals for objects 2024-10-13 10:51:50 +13:00
rimu
1f18a05a4d sanitize user display names #336 2024-10-10 19:46:55 +13:00
rimu
29f48f58b3 accept alt text 2024-10-08 07:47:43 +13:00
freamon
75d5c821a0 Also increment author's post_count when backfilling 2024-10-06 13:09:48 +00:00
freamon
4cfcc69648 Update if account is a bot or not when refreshing user profiles #334 2024-10-04 10:51:29 +00:00
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