Commit graph

4233 commits

Author SHA1 Message Date
Hazelnoot
f42f9ee0b5 reduce log spam from FetchInstanceMetadataService.ts 2025-06-06 22:20:16 -04:00
Hazelnoot
bcd9f1247e minimize logs from node-fetch FetchErrors 2025-06-06 22:20:16 -04:00
Hazelnoot
75b85eb165 record details of recursive proxy rejections 2025-06-06 22:20:16 -04:00
Hazelnoot
a78ca52bf6 log source URL when failing resolution for a response with missing AP ID 2025-06-06 22:20:16 -04:00
Hazelnoot
291faeb00f clarify logs and reduce spam from RemoteUserResolveService.ts 2025-06-06 22:20:16 -04:00
Hazelnoot
fac3e8df5b avoid "unhandled rejection" errors from updatePerson 2025-06-06 22:20:16 -04:00
Hazelnoot
72e95b66a2 suppress large error messages from Got 2025-06-06 22:20:16 -04:00
Hazelnoot
ce08bd1b42 reduce, clarify, and normalize more error messages 2025-06-06 22:20:16 -04:00
Hazelnoot
b2c5029c3e render condensed errors when fetching following/followers/featured/outbox/emojis/banner/header/avatar 2025-06-06 22:20:12 -04:00
Hazelnoot
fd41332a85 do not retry SyntaxErrors 2025-06-06 22:19:50 -04:00
Hazelnoot
7a2abb1bf5 fix lint errors in ApPersonService.ts 2025-06-06 22:19:50 -04:00
Hazelnoot
61d0aeba2e add renderInlineError to serialize errors in a consistent way 2025-06-06 22:19:50 -04:00
Hazelnoot
3808502f86 improve retryable error detection in ApPersonService.ts 2025-06-06 22:19:49 -04:00
Hazelnoot
41dfe7e329 remove duplicate error checking blocks from ApInboxService.ts 2025-06-06 22:19:49 -04:00
Hazelnoot
f2033ecdc6 recognize FetchError as retryable 2025-06-06 22:19:49 -04:00
Hazelnoot
a10885ae95 recognize more retryable errors when resolving actor for signature verification 2025-06-06 22:19:49 -04:00
Hazelnoot
1c48d3eef9 ensure that permanent errors always terminate the inbox job 2025-06-06 22:19:49 -04:00
Hazelnoot
d53ff4097a improve "condensed line" error logging in QueueProcessorService.ts 2025-06-06 22:19:49 -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
5f51f7878e create IDX_note_url over note.url 2025-06-06 13:03:25 -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
c76a5467f6 use index when checking visibleUserIds and mentions in generateVisibilityQuery 2025-06-05 00:30:58 -04:00
Hazelnoot
9dc74f6f33 add threadId to IDX_note_for_timelines 2025-06-05 00:30:27 -04:00
Hazelnoot
d86530a069 remove unused fields from WebhookTestService.ts 2025-06-04 10:48:24 -04:00
Hazelnoot
a91c0de9b5 cache alternate URLs in UrlPreviewService 2025-06-04 10:47:19 -04:00
Hazelnoot
865b198ab3 redirect to exclude hash from preview URL 2025-06-04 10:47:19 -04:00
Hazelnoot
f601cff5c5 check input URL scheme before continuing 2025-06-04 10:47:19 -04:00
Hazelnoot
f4107b1c2b check if previews are disabled before anything else 2025-06-04 10:47:19 -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
838ac6daa9 fix unit tests 2025-06-04 10:47:19 -04:00
Hazelnoot
ee3cd216f7 fix TS errors in ReversiService 2025-06-04 10:47:19 -04:00
Hazelnoot
f17e464188 fix WebhookTestService again 2025-06-04 10:47:15 -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
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