Commit graph

31680 commits

Author SHA1 Message Date
Hazelnoot
82ec78ef73 improvements to MkAbuseReport:
* Improved styling for user/instance IDs
* Show target instance as a section
* Load reports and sections faster
* Rename "moderation note" to "staff notes" for clarity
* Preview reported notes directly
2025-06-04 10:47:06 -04:00
Hazelnoot
ffa0f06ea0 allow callers to pass in hint objects to admin-user and instance-info 2025-06-04 10:46:50 -04:00
Hazelnoot
645e27fc9e add date separation to report UI 2025-06-04 10:46:50 -04:00
Hazelnoot
4da3f29728 implement SkDateSeparatedList 2025-06-04 10:46:50 -04:00
Hazelnoot
c18edd106b implement de-duplication for MkUrlPreview 2025-06-04 10:46:48 -04:00
Hazelnoot
b05ccbc3ac add relations from abuse_user_report->user_profile to speed up admin/abuse-user-reports endpoint 2025-06-04 10:45:21 -04:00
Hazelnoot
23302fe7d8 add relation from user->user_profile to speed up UserEntityService.pack and packMany 2025-06-04 10:45:18 -04:00
Hazelnoot
71f60d519b add targetInstance to abuse report schema 2025-06-04 10:45:05 -04:00
Hazelnoot
cfbf2c9c8e pack users with "me" context in AbuseUserReportEntityService 2025-06-04 10:45:05 -04:00
Hazelnoot
36d7126992 implement InstanceEntityService.fetchInstancesByHost 2025-06-04 10:45:05 -04:00
Hazelnoot
6fe335f843 fix performance drop in notes/mentions endpoint 2025-06-04 10:40:07 -04:00
Hazelnoot
dae544b353 merge: Rework queries and add indexes to improve timeline performance (!1091)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1091

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-06-04 12:40:13 +00:00
Hazelnoot
52c9a94614 merge: Fix error caused by activity type confusion (!1090)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1090

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-06-04 12:38:20 +00:00
dakkar
e9a038b244 merge: Link attributions (!1048)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1048

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Hazelnoot <acomputerdog@gmail.com>
2025-06-04 12:35:20 +00:00
dakkar
1ba4ca95af merge: Add delay and retry to Page's embedded note loading (!1072)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1072

Closes #853

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: dakkar <dakkar@thenautilus.net>
2025-06-04 08:04:26 +00:00
Outvi V
909239bbe5 chore: add per comments 2025-06-04 09:23:15 +08:00
Hazelnoot
97f8e054ce restore join to note.channel in channel/timeline.ts 2025-06-03 20:20:57 -04:00
piuvas
f0a3b595ff
remove unused import. 2025-06-03 20:54:22 -03:00
Hazelnoot
e138495371 verify type of activity.actor before processing activity 2025-06-03 19:43:04 -04:00
Hazelnoot
d203e086f1 harden getApId and getNullableApId against type confusion 2025-06-03 19:42:43 -04:00
Hazelnoot
fb61668866 create note/instance statistics 2025-06-03 19:15:19 -04:00
Hazelnoot
d34c4df031 create IDX_instance_host_filters 2025-06-03 19:08:20 -04:00
Hazelnoot
99e3d45062 create IDX_note_for_timelines 2025-06-03 19:05:24 -04:00
Hazelnoot
8802fbb34d fix query plans with IDX_instance_host_key 2025-06-03 18:47:02 -04:00
Hazelnoot
9d45041bd8 replace index on note.userHost 2025-06-03 18:43:42 -04:00
Hazelnoot
5236d30ec5 copy changes to list channel 2025-06-03 18:00:06 -04:00
Hazelnoot
5bd49d4aab fix user-list channel auth 2025-06-03 17:59:46 -04:00
Hazelnoot
00a9233229 copy changes to role channel 2025-06-03 17:59:25 -04:00
Hazelnoot
2e5792f213 copy changes to bubble channel 2025-06-03 17:58:57 -04:00
Hazelnoot
0866e87ce6 fix null check in local/global/list channels 2025-06-03 17:48:49 -04:00
Hazelnoot
5035287571 copy changes to global channel 2025-06-03 17:46:49 -04:00
Hazelnoot
4484396660 copy changes to hybrid channel 2025-06-03 17:43:18 -04:00
Hazelnoot
a9d4112bef copy changes to local channel 2025-06-03 17:40:21 -04:00
Hazelnoot
0751600c43 remove duplicate checks from home channel 2025-06-03 17:40:14 -04:00
Hazelnoot
ebee663410 copy changes to main channel 2025-06-03 17:33:12 -04:00
Hazelnoot
324217d102 handle silenced notes in Channel.isNoteMutedOrBlocked 2025-06-03 17:32:42 -04:00
Hazelnoot
333b117a2b fix antenna channel 2025-06-03 17:21:11 -04:00
Hazelnoot
6c58171c41 copy changes to home channel 2025-06-03 17:12:16 -04:00
Hazelnoot
472c7b7f34 add instance.isSilenced to PackedUserLite 2025-06-03 17:11:51 -04:00
Hazelnoot
96d186589a add Channel.isNoteVisibleToMe utility function 2025-06-03 17:11:28 -04:00
Hazelnoot
eebdc2957d copy changes to antenna channel 2025-06-03 17:05:28 -04:00
Hazelnoot
8f466e8ac5 copy changes to notes/following.ts 2025-06-03 15:56:20 -04:00
Hazelnoot
b6b44758d1 copy changes to roles/notes.ts 2025-06-03 15:52:31 -04:00
Hazelnoot
6b8766616c copy changes to channels/timeline.ts 2025-06-03 15:50:19 -04:00
Hazelnoot
285a4748c3 copy changes to user-list-timeline.ts 2025-06-03 15:47:55 -04:00
Hazelnoot
6896bcea9d copy changes to mentions.ts 2025-06-03 15:44:50 -04:00
Hazelnoot
023924fe9a copy changes to antennas/notes.ts 2025-06-03 15:36:56 -04:00
Hazelnoot
66572d16a8 copy changes to timeline.ts 2025-06-03 15:32:27 -04:00
Hazelnoot
ef3b5541f8 copy changes to hybrid-timeline.ts 2025-06-03 15:29:42 -04:00
Hazelnoot
c3ba139655 copy changes to local-timeline.ts 2025-06-03 15:21:42 -04:00