Commit graph

1707 commits

Author SHA1 Message Date
Hazelnoot
20a2505543 merge: Additional performance fixes (!1095)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1095

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-06-06 06:36:07 +00:00
Hazelnoot
f88253b95f merge: Report admin UX improvements (!1060)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1060

Approved-by: Marie <github@yuugi.dev>
Approved-by: dakkar <dakkar@thenautilus.net>
2025-06-05 08:00:32 +00:00
Hazelnoot
05d7aa0b91 additional fixes and cleanup to all note endpoints 2025-06-05 02:34:57 -04:00
Hazelnoot
65983d0030 fix performance regression in mentions endpoint 2025-06-05 00:35:38 -04:00
Hazelnoot
232894cd86 fix performance regression in home timeline 2025-06-05 00:35:22 -04:00
Hazelnoot
b1876bf06e remove report -> profile relations to avoid TypeORM bug https://github.com/typeorm/typeorm/issues/10469 2025-06-04 10:47:19 -04:00
Hazelnoot
16891f8224 fix relation typo in abuse-user-reports 2025-06-04 10:47:19 -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
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
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
97f8e054ce restore join to note.channel in channel/timeline.ts 2025-06-03 20:20:57 -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
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
Hazelnoot
4b58752a16 copy changes to global-timeline.ts 2025-06-03 15:17:55 -04:00
Hazelnoot
a7069c51b2 sync up bubble timeline endpoint and stream 2025-06-03 15:16:25 -04:00
Hazelnoot
d2c2a82b76 avoid unnecessary set construction in channel.ts 2025-06-03 15:15:28 -04:00
Hazelnoot
38d4ac91ef fix bubble timeline query performance 2025-06-03 15:15:04 -04:00
Hazelnoot
a392865203 replace renotes check with generateExcludedRenotesQueryForNotes in bubble-timeline.ts 2025-06-03 15:14:37 -04:00
Hazelnoot
2258e439af replace silenced users check with generateSilencedUserQueryForNotes in bubble-timeline.ts 2025-06-03 15:14:22 -04:00
piuvas
1120ad19ae
merge develop and fix conflicts. 2025-06-03 10:56:10 -03:00
Hazelnoot
7ab5ce1537 replace generateBlockedHostQueryForNote allowSilenced parameter with generateSilencedUserQueryForNotes 2025-06-02 23:48:12 -04:00
Hazelnoot
51d9b1c8c5 fetch followings asynchronously in bubble-timeline.ts 2025-06-02 17:34:35 -04:00
Hazelnoot
7f0a705612 use generateMatchingHostQuery in bubble-timeline.ts 2025-06-02 17:34:07 -04:00
Hazelnoot
c49341e7be match if(me) formatting of other endpoints in bubble-timeline.ts 2025-06-02 17:32:26 -04:00
Hazelnoot
005b23947e reduce calls to generateMutedUserRenotesQueryForNotes in bubble-timeline.ts 2025-06-02 17:32:06 -04:00
Hazelnoot
0ccbb8f3cf fix hasPoll check in bubble-timeline.ts 2025-06-02 17:31:09 -04:00