Commit graph

676 commits

Author SHA1 Message Date
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
61adc27b18
[backend/masto-client] Use new defaultRenoteVisibility user setting instead of defaulting to followers if not explicitly specified (ISH-290) 2024-04-28 23:09:20 +02:00
Laura Hausmann
bee733b3da
[backend/database] Rename DataProtectionKeys table to data_protection_keys for consistency 2024-04-28 20:15:56 +02:00
Laura Hausmann
8c5358efd9
[backend/libmfm] Correctly handle incoming italic html markup 2024-04-28 20:08:26 +02:00
Laura Hausmann
a7898e8aa9
[backend/federation] Enforce federation control in ActivityFetcherService
With this there should be no remaining ways for new activities from blocked instances to make it into the database.
2024-04-28 19:22:18 +02:00
Laura Hausmann
ead8e126f1
[backend/federation] Handle ASImage as ASAttachment
This fixes one of the issues in terms of federation with Pixelfed.
2024-04-28 03:54:34 +02:00
Laura Hausmann
f6bfaa72ad
[backend/federation] Prettier displayUri for profile fields that are links 2024-04-28 02:09:31 +02:00
Laura Hausmann
0414c791e6
[backend/federation] Federate profile fields correctly 2024-04-28 02:02:48 +02:00
Laura Hausmann
94ac11db88
[backend/drive] Add option to disable validation of the object storage configuration 2024-04-28 00:34:20 +02:00
Laura Hausmann
aaa3f91e1f
[backend/api-shared] Add Cache-Control: private, no-store for all authenticated requests 2024-04-27 21:54:11 +02:00
Laura Hausmann
d7a69375b6
[backend/database] Increase instance softwareName and softwareVersion max length to 256 2024-04-27 21:26:54 +02:00
Laura Hausmann
7dd0262333
[backend/federation] Add Cache-Control: no-store to authorized fetch endpoints 2024-04-27 20:32:31 +02:00
Laura Hausmann
a20d50f793
[backend/federation] Improve logging regarding a renamed variable 2024-04-27 20:17:39 +02:00
Laura Hausmann
0b77107b1e
[backend/database] Add connection pool size configuration option 2024-04-27 20:05:42 +02:00
Laura Hausmann
bc1e695193
[backend/masto-client] Don't deliver push notifications from blocked or muted notifiers (ISH-273) 2024-04-27 01:47:16 +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
89a743d121
[backend/federation] Fix possible null dereference 2024-04-25 18:30:35 +02:00
Laura Hausmann
363b0c930c
[backend/core] Add Guid.ToStringLower() extension method 2024-04-25 18:26:42 +02:00
Laura Hausmann
1f3f7ad64d
[backend/federation] Improve logging in ActivityHandlerService 2024-04-25 18:23:30 +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
eba6152493
[backend/database] Add indicies to the instance table 2024-04-25 00:40:51 +02:00
Laura Hausmann
e2a528c8a6
[backend/federation] Refactor AcceptAsync and FollowAsync for improved code reuse 2024-04-24 23:11:31 +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
95c7ff3d54
[backend/core] Fix follow requests getting re-added to the database after they are accepted 2024-04-24 20:46:15 +02:00
Laura Hausmann
b553da9edf
[backend/federation] Make it obvious that ephemeral IDs are, well, ephemeral 2024-04-24 04:06:28 +02:00
Laura Hausmann
bd8d5b20f8
[backend/federation] Use separate renoteUri schema
This allows renoteUris to be fetchable at their canonical uri.
2024-04-24 04:05:58 +02:00
Laura Hausmann
385f5843f7
[backend/helpers] Rename LDHelpers.Compact(ASActivity) to LDHelpers.CompactToPayload 2024-04-24 04:05:26 +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
db49473128
[backend/database] Add index on note.visibility 2024-04-24 02:01:06 +02:00
Laura Hausmann
5fca0620cf
[backend/core] Improve note table query performance by aggregating block/mute checks (ISH-206)
This also implements checking for blocks & mutes users in the mentions field, implementing ISH-225.
2024-04-23 23:04:56 +02:00
Laura Hausmann
1a4dd75301
[backend/startup] Add --https flag & corresponding launch profiles for development purposes 2024-04-23 19:24:42 +02:00
Laura Hausmann
f9cc63a179
[backend] Add object storage migrator (ISH-30) 2024-04-23 01:23:34 +02:00
Laura Hausmann
fd92a0a1fa
[backend/razor] Improve public preview security settings (ISH-210) 2024-04-23 00:40:53 +02:00
Laura Hausmann
b876492ca1
[backend/configuration] Suppress unused property message to prevent accidental removal of backwards compatibility 2024-04-22 23:29:51 +02:00
Laura Hausmann
adbee189af
[backend/configuration] Rename StorageSection.Mode to StorageSection.Provider
The old property remains for configuration backwards compatibility only. Trying to access it throws a compile-time error.
2024-04-22 23:26:29 +02:00
Laura Hausmann
1ce28ee005
[backend/drive] Add configuration option to set ACLs on files uploaded to object storage 2024-04-22 21:29:49 +02:00
Laura Hausmann
953b317738
[backend/drive] Switch to Iceshrimp.ObjectStorage 2024-04-22 21:10:51 +02:00
Laura Hausmann
86c0ab02b5
[backend/api] Switch to a shared JsonSerializerOptions object instead of explicitly specifying json property names via attributes 2024-04-22 19:55:00 +02:00
Laura Hausmann
246a70caf9
[backend/api] Add visibility to NoteCreateRequest, use enum conversions instead of strings to represent note visibility 2024-04-22 17:56:32 +02:00
Laura Hausmann
20f72439c8
[backend/federation] Optimize iceshrimp context
Since we can't automatically strip unused IRI prefix aliases, it's more efficient to inline the ones with less than 3 usages.
2024-04-20 21:29:56 +02:00
Laura Hausmann
d866d360d9
[backend/core] Refactor home timeline heuristic helper function 2024-04-20 02:14:15 +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
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