Commit graph

130 commits

Author SHA1 Message Date
Laura Hausmann
ea8ff6495c
[backend/core] Fix editing of polls with no recorded votes 2024-05-16 18:56:04 +02:00
Laura Hausmann
1fae913a32
[backend/federation] Fix acceptance of poll vote activities without publishedAt 2024-05-16 18:55:46 +02:00
Laura Hausmann
2519f382c5
[backend/federation] Include fully rendered renote target in rendered activity when renote user matches 2024-05-07 01:11:20 +02:00
Laura Hausmann
fe7d85fa91
[backend/core] Fix polls originating from masto-api 2024-05-06 23:40:47 +02:00
Laura Hausmann
b6304dc882
[backend/federation] Fix media being incorrectly classified as sensitive
Some AP implementations send an empty string as content warning when they mean no content warning, this is handled correctly by CreateNoteAsync and UpdateNoteAsync but wasn't respected in the attachment processing code paths. This commit resolves that issue.
2024-05-06 16:44:56 +02:00
Laura Hausmann
fee5296cd9
[backend/core] Check for blocked instance early on user & note creation 2024-05-02 20:31:37 +02:00
Laura Hausmann
d31860dbb3
[backend/core] Track renote/reply uri for notes where the target is inaccessible at time of ingestion (ISH-287) 2024-04-30 00:15:58 +02:00
Laura Hausmann
fd0d6b4fea
[backend/core] Disallow quoting of notes with specified visibility 2024-04-29 16:03:28 +02:00
Laura Hausmann
50cfc6df92
[backend/core] Limit renote visibility to the visibility of the original note (ISH-290) 2024-04-28 23:34:58 +02:00
Laura Hausmann
cf215b3d57
[backend/federation] Handle ASDelete activities of ASNote objects
Some implementations seem to send deletes of ASNote objects instead of ASTombstone objects.
2024-04-25 19:13:57 +02:00
Laura Hausmann
40af9913b6
[backend/core] Handle emoji node for locally originating note create/update & user update events (ISH-271) 2024-04-25 17:35:38 +02:00
Laura Hausmann
d060d076c1
[backend/core] Refactor DeleteNoteAsync and DeleteUserAsync for improved code reuse (ISH-239) 2024-04-24 21:43:45 +02:00
Laura Hausmann
10d1cb4768
[backend/core] Emit note edit notification for polls that have been voted in 2024-04-24 21:43:45 +02:00
Laura Hausmann
081f1ac646
[backend/core] Refactor NoteService for improved code reuse (ISH-239) 2024-04-24 21:43:45 +02:00
Laura Hausmann
58d78b568a
[backend/core] Fix remote renotes being registered without a URI 2024-04-24 03:32:05 +02:00
Laura Hausmann
36fe68ad4f
[backend/core] Set userHost to user.Host instead of null
This fixes remote renotes having their userHost set to null
2024-04-24 02:49:50 +02:00
Laura Hausmann
7529ebea72
[backend/federation] Don't register misskey reactions as likes 2024-04-17 00:09:46 +02:00
Laura Hausmann
933361b0c6
[backend/federation] Fetch featured notes as following user, if one is available (ISH-262)
This is the same logic Mastodon uses to ensure follower-only pinned notes can be resolved.
2024-04-16 18:19:29 +02:00
Laura Hausmann
08ced32e4d
[backend/federation] Enforce VerifiedFetch in ResolveNoteAsync instead of in calling methods (ISH-262) 2024-04-16 18:15:22 +02:00
Laura Hausmann
07f79ae77b
[backend/federation] Ensure pinned notes belong to the actor whose collection they're contained in 2024-04-16 02:50:29 +02:00
Laura Hausmann
c5bd380344
[backend] Improved debug logging (ISH-238) 2024-04-10 00:15:46 +02:00
Laura Hausmann
22a4de63f3
[backend/masto-client] Add & populate MastoReplyUserId column (ISH-247) 2024-04-07 21:07:04 +02:00
Laura Hausmann
cabe5d52e7
[backend/drive] Inhibit logging of unchanged files on user/note update (ISH-240) 2024-03-29 18:25:55 +01:00
Laura Hausmann
7c6d55739e
[backend/core] Use AsyncKeyedLocker in NoteService (ISH-227) 2024-03-27 18:46:05 +01:00
Laura Hausmann
90768d1211
[backend/core] Reject mentioning of blocked users with 403 (ISH-226) 2024-03-26 21:29:48 +01:00
Laura Hausmann
e1bdd7d0f4
[backend/core] Fix race condition in NoteResolver.UpdatePinnedNotesAsync 2024-03-25 19:42:55 +01:00
Laura Hausmann
7e93059368
[backend/core] Fix typo 2024-03-25 18:48:22 +01:00
Laura Hausmann
4332d23b32
[backend/core] Use upsert when inserting hashtags
This fixes a race condition.
2024-03-25 17:48:18 +01:00
Laura Hausmann
8ff938639b
[backend/federation] Improve ASUpdate handling (ISH-223)
This fixes federation of note updates with some AP implementations
2024-03-25 13:51:50 +01:00
Laura Hausmann
9bd421c3a0
[backend] Replace old MfmParser with the new F# implementation (ISH-112) 2024-03-24 23:10:39 +01:00
Laura Hausmann
9698e3d36d
[backend/core] Replace redis-based queue system with a postgres-based one (ISH-212) 2024-03-24 00:17:28 +01:00
Laura Hausmann
0519cf6e79
[backend/core] Enforce character limit for text + cw (instead of text/cw individually) 2024-03-23 16:40:26 +01:00
Laura Hausmann
21580a3678
[backend/core] Fix threadId logic in ProcessNoteAsync 2024-03-17 16:46:55 +01:00
Laura Hausmann
a408fa247a
[backend] Code cleanup 2024-03-17 13:36:08 +01:00
Laura Hausmann
6dc4b29eba
[backend/federation] Correctly handle multiple pinned notes in the same thread 2024-03-16 18:22:46 +01:00
Laura Hausmann
7564c67371
[backend/federation] Fix delivery to specified recipients (ISH-193) 2024-03-16 17:44:40 +01:00
Laura Hausmann
3ab36f7d70
[backend/core] Enforce blocks & mutes everywhere (ISH-189) 2024-03-14 17:02:29 +01:00
Laura Hausmann
a2075d4c63
[backend/masto-client] Add missing media endpoints, handle media_attributes on status update (ISH-155) 2024-03-14 12:10:03 +01:00
Laura Hausmann
91137b7fd9
[backend/api] Add reactions endpoints & return reaction data with note & timeline responses (ISH-156) 2024-03-11 05:20:07 +01:00
Laura Hausmann
4d21aa1670
[backend/federation] Fix remote custom emoji reactions (ISH-154) 2024-03-11 04:00:40 +01:00
Laura Hausmann
58a514394c
[backend/federation] Support Misskey-style emoji reactions (ISH-148) 2024-03-11 02:54:58 +01:00
Laura Hausmann
12bec02cfd
[backend/core] Reject like/bookmark/pin/react actions for puree renotes (ISH-167) 2024-03-11 02:41:11 +01:00
Laura Hausmann
bef11d5cca
[backend/masto-client] Add local_only & quote_id parameters on POST /statuses (ISH-146) 2024-03-11 02:32:18 +01:00
Laura Hausmann
b7ddbdcbaa
[backend/federation] Fix polls being falsely marked as edited when results become available (ISH-128) 2024-03-11 02:04:50 +01:00
Laura Hausmann
aaec212a08
[backend/core] Trim whitespace around note text & cw (ISH-150) 2024-03-09 01:36:55 +01:00
Laura Hausmann
52a7f90697
[backend/federation] Add reactions support (ISH-69) 2024-03-09 01:16:57 +01:00
Laura Hausmann
2c529495f3
[backend] Code cleanup 2024-03-07 21:26:12 +01:00
Laura Hausmann
57ac4750ad
[backend/core] Allow editing of locally originated polls (ISH-136)
This also improves the behavior of handling remotely originating poll edits.
2024-03-07 20:17:58 +01:00
Laura Hausmann
679a6fe6c6
[backend/api] Implement next batch of web api endpoints (ISH-134) 2024-03-07 05:27:26 +01:00
Laura Hausmann
6d06afd5cb
[backend/federation] Fix user pinned notes throwing an exception in edge cases 2024-03-07 04:17:54 +01:00