Laura Hausmann
2a68a34ba8
[backend/api] Add liked property to NoteBase
2024-04-20 19:18:18 +02:00
Laura Hausmann
d866d360d9
[backend/core] Refactor home timeline heuristic helper function
2024-04-20 02:14:15 +02:00
Laura Hausmann
0784425f6d
[backend/api] Add replies count to NoteBase schema
2024-04-20 01:16:40 +02:00
Laura Hausmann
3bb3ac785e
[backend/api] Add like and renote count to NoteBase schema
2024-04-20 01:15:54 +02:00
Laura Hausmann
156735f40b
[backend/federation] Refactor LdHelpers, move contexts to non-nested directory, load contexts relative to assembly location instead of working directory
2024-04-19 23:44:01 +02:00
Laura Hausmann
cb535febb8
[backend] Exclude prune-designer-cs-files.sh from build
2024-04-19 20:30:36 +02:00
Laura Hausmann
e04665f9d7
[backend/database] Remove redundant index on the marker table
...
This index is identical to the composite primary key, and therefore redundant.
2024-04-19 20:19:51 +02:00
Laura Hausmann
79c3a9c891
[backend/database] Replace complex Index/PrimaryKey/ForeignKey references with their nameof() equivalents
2024-04-19 20:19:51 +02:00
Laura Hausmann
9e11398938
[backend/database] Refactor ForeignKey attributes to use nameof() where applicable (ISH-24)
2024-04-19 20:11:26 +02:00
Laura Hausmann
d10dbec5b7
[backend/database] Refactor Index attributes to use nameof() where applicable (ISH-24)
2024-04-19 20:11:26 +02:00
Laura Hausmann
a1b57c7295
[backend/core] Reject circular redirects in CustomHttpClient
2024-04-19 17:41:19 +02:00
Laura Hausmann
0f0726b172
[backend/core] Add comments for the magic following query constant & function
2024-04-19 02:06:42 +02:00
Laura Hausmann
28414a17fc
[backend/federation] Don't run webfinger validation passes when host matches with the previous step
...
Since queries against resources on the same domain would end up querying the exact same endpoint, these checks are redundant and do not add any security benefits.
2024-04-19 01:37:30 +02:00
Laura Hausmann
f185a061dc
[backend/federation] Improve local instance detection in WebFingerService
2024-04-19 01:21:12 +02:00
Laura Hausmann
e23fc63906
[backend/federation] Fall back to AP URI host on uri mismatch
2024-04-19 01:08:59 +02:00
Laura Hausmann
ebbec76cfe
[backend/federation] Resolve split domain user hosts exactly once (ISH-201)
...
This is necessary, since while the current version is handling split domain instances correctly, previous versions (for users who migrated from iceshrimp-js) may have not done so.
Since account domains never change, we only have to do this once.
2024-04-19 00:55:30 +02:00
Laura Hausmann
7ae4dc4c4f
[backend/federation] Make emoji entities fetchable via ActivityPub
2024-04-18 21:17:57 +02:00
Laura Hausmann
c38ff71791
[backend/database] Move emoji url generation to the Emoji entity
2024-04-18 20:46:46 +02:00
Laura Hausmann
333611f65e
[backend/federation] Send remote reacts as anonymous emoji objects, set correct id for local emoji reacts
2024-04-18 20:39:11 +02:00
Laura Hausmann
523dd80ea9
[backend/startup] Only enable UseWebAssemblyDebugging in Debug configuration
2024-04-18 18:56:58 +02:00
Laura Hausmann
fe68c03428
[backend/database] Fail gracefully if initial migration is pending and database is not empty (ISH-265)
2024-04-18 18:51:07 +02:00
Laura Hausmann
8a48207957
[backend/database] Enforce local-only for authenticated visibility checks as well
2024-04-17 16:49:16 +02:00
Laura Hausmann
66554062f5
[backend/startup] Fix middleware ordering for WASM debugging
2024-04-17 01:20:36 +02:00
Laura Hausmann
dca09cef56
[sln] Set DebugType to embedded in Release configuration
2024-04-17 00:53:59 +02:00
Laura Hausmann
7529ebea72
[backend/federation] Don't register misskey reactions as likes
2024-04-17 00:09:46 +02:00
Laura Hausmann
40296b02f0
[backend/middleware] Move ContentEncodingNegotiator into WebApplicationBlazorFrameworkExtensions.cs
2024-04-16 23:54:29 +02:00
Laura Hausmann
d2e3a89046
[backend/middleware] Return 404 instead of 500 when framework file is not found
2024-04-16 23:52:34 +02:00
Laura Hausmann
3f1fb87aab
[sln] Remove reference to removed file
2024-04-16 23:15:36 +02:00
Laura Hausmann
8fcb9a668d
[backend/msbuild] Fix KeepOnlyBrotliCompressedStaticAssets target for publish with alternate output directory
2024-04-16 22:54:09 +02:00
Laura Hausmann
5564f29b8b
[backend/middleware] Dynamically decompress brotli assets instead of storing uncompressed ones (ISH-264)
2024-04-16 22:20:29 +02:00
Laura Hausmann
66abea2355
[backend] Remove migrate.sql
...
It can now be found on kb.iceshrimp.dev, along with all the other documentation.
2024-04-16 20:50:46 +02:00
Laura Hausmann
62edbb195c
[tests] Remove MfmTests, rename MfmTetssFParsec to MfmTests
2024-04-16 19:41:28 +02:00
Laura Hausmann
5ba2e47426
[backend/core] Don't log AuthFetchExceptions in GetUpdatedUser
2024-04-16 18:38:48 +02:00
Laura Hausmann
672bf57f19
[backend/masto-client] Stub featured_tags endpoint (ISH-263)
2024-04-16 18:30:04 +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
469f02c5ac
[backend/federation] Set VerifiedFetch in FetchNoteAsync (ISH-262)
2024-04-16 18:15:22 +02:00
Laura Hausmann
3fad9632c7
[backend/federation] Rendered featured collections should only contain lite note objects (ISH-262)
2024-04-16 18:06:46 +02:00
Laura Hausmann
0fc834693a
[backend/streaming] Fix pure renote without renote data filters (ISH-260)
2024-04-16 17:07:57 +02:00
Laura Hausmann
f611e01bda
[backend/masto-client] Fix user channel (ISH-260)
2024-04-16 17:01:48 +02:00
Laura Hausmann
47d4100ec9
[nuget] Update dependencies
2024-04-16 16:21:34 +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
a56d7f521c
[backend/masto-client] Fix renotes appearing more than once in note responses (ISH-261)
2024-04-16 02:09:02 +02:00
Laura Hausmann
12ba40d44b
[sln] Add the YouTrack url to the repository
2024-04-16 00:10:38 +02:00
Laura Hausmann
450d859e19
[backend/startup] Move CLI argument parsing to the very beginning of the startup process
...
This allows --printconfig and --help to work correctly despite improper configuration / missing files.
2024-04-15 23:28:16 +02:00
Laura Hausmann
c25b613376
[backend/queue] Improve logging
2024-04-15 18:00:11 +02:00
Laura Hausmann
8fb7c8a93e
[backend/queue] Clear change tracker before saving the job state
...
This prevents a queue worker stall when a job fails to execute due to a database exception (leaving unsaved changes in the DbContext change tracker, preventing the job status from being set as failed)
2024-04-15 17:48:36 +02:00
Laura Hausmann
aec5fa2698
[ci] Use nuget cache
2024-04-15 00:38:45 +02:00
Laura Hausmann
10561ffdc5
[sln] Refactor project files
2024-04-15 00:19:41 +02:00
Laura Hausmann
25282f6311
[backend/startup] Add help & printconfig cli arguments
2024-04-15 00:19:25 +02:00