Commit graph

184 commits

Author SHA1 Message Date
rimu
d9d69c0b8a caching on home page and posts, especially for anonymous users
the home page and post pages are the most likely to get slashdotted by mastodon.
2024-06-30 15:29:52 +08:00
rimu
eef9b193f4 oops, lol 2024-06-28 13:41:04 +08:00
rimu
9f5bae4ef4 if there is no attributedTo, fall back to the actor on the parent object 2024-06-28 13:03:07 +08:00
rimu
e333193cbc possible causes of celery hangs 2024-06-28 12:30:19 +08:00
freamon
2f6e60ac40 Check if object already exists for Create activity too #216 2024-06-25 17:23:10 +01:00
rimu
a499440374 Don't log successful json - save space 2024-06-23 20:34:53 +08:00
rimu
50bde3ebaf try to avoid occasional deadlocks 2024-06-23 15:59:46 +08:00
freamon
daac5a52c7 Refine local community outbox response 2024-06-20 04:38:51 +01:00
freamon
c69def130a Lemmy can send Announce/Update without ever sending an Announce/Create #212
(non-breaking version)
2024-06-19 01:19:26 +01:00
freamon
e6c65bd393 Only decrement post.reply_count for deletions if reply author wasn't a bot 2024-06-18 16:42:24 +01:00
freamon
63a8ba3960 Avoid announcing activity sent to local users unless it is also in a local community 2024-06-17 19:06:07 +01:00
rimu
b61f467049 disable problematic federation code #201 2024-06-14 21:33:20 +08:00
freamon
537dd41740 Lemmy can send Announce/Update without ever sending an Announce/Create 2024-06-13 19:09:34 +01:00
freamon
45340858a8 Bugfix for Announce: same check for Update/Note as Create/Note 2024-06-12 19:45:24 +01:00
rimu
148183f530 to be sure 2024-06-06 13:35:28 +12:00
freamon
e64ae00a44 Undo some lower() calls 2024-06-06 00:09:17 +01:00
freamon
7db33a084a Share functionality between post_to_activity and post_to_page 2024-06-05 22:45:35 +01:00
freamon
6dc7ac9728 public_url() in JSONs for Accept or Reject of community Follow request 2024-06-05 19:26:03 +01:00
rimu
f859dd8c1f replies collection on outbox and /post/xxx #175 2024-06-05 20:33:23 +12:00
rimu
3203ac5506 oh boy, this sucks #194 2024-06-05 13:21:41 +12:00
rimu
0bde39b8a3 profile_id or user_name.lower() everywhere #194 2024-06-04 09:49:54 +12:00
rimu
cf3dec5768 profile_id or user_name.lower() everywhere #194 2024-06-04 09:44:10 +12:00
rimu
2380a3ae61 soft deletes and deleted content admin area #193 2024-06-02 16:45:21 +12:00
rimu
0a1ea7d0e3 only json serializable objects can be passed to celery tasks (not SQLAlchemy models) #181 2024-06-01 19:52:17 +12:00
freamon
d53d5b1a8d Bugfix: function import 2024-05-31 22:31:35 +01:00
freamon
06edc710d9 Process incoming poll votes 2024-05-31 22:31:11 +01:00
freamon
c5596e2f08 post_to_page: use post.community instead of also passing community 2024-05-31 22:29:13 +01:00
rimu
e8d7aec516 Merge remote-tracking branch 'origin/main'
# Conflicts:
#	app/activitypub/util.py
2024-05-28 15:22:15 +12:00
rimu
1c2be79dab Discourse follow community #111 2024-05-28 15:16:43 +12:00
freamon
3cd74ccc3b PeerTube: easier to just ignore anything from a accounts/peertube actor 2024-05-26 17:22:52 +01:00
freamon
7f2ed0b658 PeerTube: New posts from incoming activity 2024-05-26 15:53:17 +01:00
freamon
21afa9a6aa PeerTube: ignore incoming 'CacheFile' activity 2024-05-26 02:24:11 +01:00
freamon
97d1ba0fbb PeerTube: ignore incoming 'View' activity 2024-05-26 02:19:24 +01:00
freamon
4c1f5cad53 PeerTube: process incoming Update/Video activity 2024-05-26 02:00:05 +01:00
freamon
e83b929a73 PeerTube: 'Accept' sent to user inbox, not shared inbox 2024-05-26 01:37:34 +01:00
freamon
01fd3fa2ea Process Site and Community bans where removeData=True 2024-05-22 22:30:51 +01:00
freamon
b0b1bf68c8 Pass requests to site_inbox on
(used by remote admins to inform of site bans)
2024-05-22 17:04:05 +01:00
rimu
0d9d4f12cb poll - federation #181 2024-05-18 21:06:57 +12:00
rimu
0eadceda63 handle pixelfed follow requests 2024-05-17 21:03:38 +12:00
freamon
b0f6848312 Avoid invoking allowlist_html() twice
(markdown_to_html() already returns the output from that function)

(autotldr username html isn't passed to allowlist_list to avoid getting a target=_blank attribute)
2024-05-14 20:38:16 +01:00
freamon
c77a6de126 Render Markdown soft breaks as new lines for new local content #133 2024-05-14 19:33:08 +01:00
freamon
37b06ef43f Deliver Actor 'summary' info as HTML
(same as Mastodon and Lemmy)
2024-05-14 16:24:05 +01:00
rimu
ade07d2658 stop instances from being flagged as 'gone forever' if they're still sending activities 2024-05-12 16:08:20 +12:00
rimu
af4dee7ea3 add language choices to UI #51 2024-05-09 17:54:30 +12:00
rimu
2d321134e6 when someone is blocked, remove them from followers collection #172 2024-05-08 19:28:49 +12:00
freamon
dff8d5c5bc Fix: don't check signature twice for Likes from User Follows 2024-05-04 23:22:47 +01:00
freamon
b6237e5eac Fix: only write local user's follower URL once 2024-05-04 22:44:51 +01:00
freamon
81af3ebcb5 Use signed Get request for remote actors trying to Follow local ones 2024-05-04 22:32:17 +01:00
freamon
cfef490143 Add instance actor 2024-05-04 21:26:39 +01:00
freamon
c82581462d Move default_context()
(avoid circular dependency for next commits)
2024-05-04 21:16:55 +01:00