Commit graph

1241 commits

Author SHA1 Message Date
Hazelnoot
1a964cb6c0 pcleanup dependencies:
* Consolidate multiple different HTML/XML/RSS libraries to use the Cheerio stack
* Remove unused deps
* Move dev dependencies to correct section
* Pin versions where missing
2025-06-12 21:11:16 -04:00
Hazelnoot
55551a5a8a merge: Avoid more N+1 queries in NoteEntityService and UserEntityService (!1099)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1099

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-06-12 15:42:39 +00:00
Hazelnoot
8f5212e453 enforce DM visibility in notes/mentions 2025-06-10 20:07:01 -04:00
Hazelnoot
fa68751a19 normalize userFollowingsCache / userFollowersCache and add hibernatedUserCache to reduce the number of cache-clears and allow use of caching in many more places 2025-06-09 11:02:51 -04:00
Hazelnoot
853b548a43 re-type userFollowingsCache to match the others 2025-06-09 11:02:36 -04:00
Hazelnoot
bd8cd8c4e4 use more bulk hints in NoteEntityService / UserEntityService, and run the packMany queries in parallel 2025-06-09 11:02:36 -04:00
Hazelnoot
46a6612dc0 convert many RedisKVCaches to QuantumKVCache or MemoryKVCache 2025-06-09 11:02:36 -04:00
Hazelnoot
00c0bdbc94 merge: Reduce log spam (!1004)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1004

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-06-09 10:53:59 +00:00
Hazelnoot
16858cf2f7 fix response type of i/registry/get endpoint 2025-06-07 20:22:40 -04:00
Hazelnoot
735cd12654 fix array length check in i/update attributionDomains parameter 2025-06-07 18:59:02 -04:00
Hazelnoot
73eeabc118 add ActivityPub representation to admin-user.vue 2025-06-07 18:49:37 -04:00
Hazelnoot
2cba0ada3c more use of identifiable errors, improvements to inner error rendering, and more heuristics for is-retryable-error 2025-06-06 22:20:17 -04:00
Hazelnoot
ce08bd1b42 reduce, clarify, and normalize more error messages 2025-06-06 22:20:16 -04:00
Hazelnoot
82b7768ab2 fix error logs and response in drive/files/create.ts 2025-06-06 22:19:49 -04:00
Hazelnoot
f644972760 emit IdentifiableErrors from validator.ts 2025-06-06 22:19:49 -04:00
Hazelnoot
3bf0a737c8 match attributionDomains entity to database schema 2025-06-06 13:17:20 -04:00
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
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
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
Hazelnoot
d4ea917869 remove incorrect requireSigninToViewContents check in bubble-timeline.ts 2025-06-02 17:30:34 -04:00