Laura Hausmann
5182d1bbbb
[backend/federation] Fixup hashtags in incoming notes (ISH-421)
2024-07-14 21:28:20 +02:00
Laura Hausmann
3ac63e1510
[backend/federation] Respect UserSettings.AlwaysMarkSensitive
2024-07-11 23:24:48 +02:00
Laura Hausmann
4a2ee992c2
[backend] Disable code formatting in some regions for better readability
2024-07-04 19:14:26 +02:00
Laura Hausmann
374d9d5ebf
[backend/api] Add note refetch endpoint (ISH-352)
2024-07-04 18:57:17 +02:00
Laura Hausmann
df3a7bdfe5
[backend] Apply formatting rules
2024-06-29 01:06:19 +02:00
Laura Hausmann
a253e83176
[backend/federation] Refactor ActivityRenderer
2024-06-21 14:28:29 +02:00
Laura Hausmann
24bde5ad29
[backend] Use User.IsLocalUser / .IsRemoteUser instead of null-checks where applicable (ISH-370)
2024-06-17 17:25:29 +02:00
Laura Hausmann
95592df2ca
[backend/core] Don't create reply notifications on note update
...
This prevents erroneous duplicate notifications from being created.
2024-06-16 23:36:39 +02:00
Laura Hausmann
a703b63876
[backend/core] Ignore poll options consisting only of whitespace
...
This fixes compatibility with certain mastodon clients that send an extra empty-string poll option.
2024-06-14 20:04:38 +02:00
Laura Hausmann
dc8511632b
[backend/core] Replace sync DB call with async equivalent
2024-06-10 19:42:06 +02:00
Laura Hausmann
dba4196655
[backend/core] Track poll votersCount for local & remote polls
2024-06-05 15:26:25 +02:00
Laura Hausmann
1ef5be8917
[backend/core] Correctly handle remote AP redirects to local notes
2024-06-04 19:39:07 +02:00
Laura Hausmann
bcdcce80c9
[backend/core] Set note.text to null if it's whitespace on note creation & update
2024-06-04 17:51:00 +02:00
Laura Hausmann
117443b802
[backend/core] Fix typo
2024-05-30 13:35:31 +02:00
Laura Hausmann
6fdc8b73f7
[backend/core] Improve resolution of notes with pending reply/renote targets on note create
...
This fixes missing metadata (reply/renote user id/host), as well as stale reply/renote counts for replies/renotes processed out of order.
2024-05-30 12:30:45 +02:00
Laura Hausmann
167fd5f0d6
[backend/api] Add renote endpoints (ISH-341)
2024-05-23 19:37:56 +02:00
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