Commit graph

1657 commits

Author SHA1 Message Date
Hazelnoot
687de6f2f0 don't print massive HTTP errors in drive service 2025-06-06 22:20:17 -04:00
Hazelnoot
6627e8a9b8 add more details to StatusErrors 2025-06-06 22:20:17 -04:00
Hazelnoot
e9eaafae41 normalize use of .info (INFO) instead of .succ (DONE) logging 2025-06-06 22:20:17 -04:00
Hazelnoot
6d6e1dc0c0 reduce log spam from DownloadService 2025-06-06 22:20:16 -04:00
Hazelnoot
2854e15301 reduce log spam from DriveService 2025-06-06 22:20:16 -04:00
Hazelnoot
53fbe87ff2 reduce log spam from ApDbResolverService.refetchPublicKeyForApId 2025-06-06 22:20:16 -04:00
Hazelnoot
2863f343f8 reduce log spam from FileInfoService 2025-06-06 22:20:16 -04:00
Hazelnoot
a3c56529fa remove debug logger printing entire AP object to console 2025-06-06 22:20:16 -04:00
Hazelnoot
f42f9ee0b5 reduce log spam from FetchInstanceMetadataService.ts 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
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
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
05d7aa0b91 additional fixes and cleanup to all note endpoints 2025-06-05 02:34:57 -04:00
Hazelnoot
c76a5467f6 use index when checking visibleUserIds and mentions in generateVisibilityQuery 2025-06-05 00:30:58 -04:00
Hazelnoot
d86530a069 remove unused fields from WebhookTestService.ts 2025-06-04 10:48:24 -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
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
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
piuvas
f0a3b595ff
remove unused import. 2025-06-03 20:54:22 -03:00
Hazelnoot
d203e086f1 harden getApId and getNullableApId against type confusion 2025-06-03 19:42:43 -04:00
Hazelnoot
472c7b7f34 add instance.isSilenced to PackedUserLite 2025-06-03 17:11:51 -04:00
Hazelnoot
15ebb0ef85 more QueryService fixes 2025-06-03 15:12:59 -04:00
piuvas
d8ac2e347d
improve type validation of attributionDomains. 2025-06-03 12:45:42 -03:00
piuvas
fe91db1219
validate type of attributionDomains. 2025-06-03 12:24:42 -03: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
0b9c0a6bc7 fix andWhere/orWhere in QueryService.ts 2025-06-02 22:51:10 -04:00
Hazelnoot
cbefbd2a33 refactor QueryService to use EXISTS instead of IN for most queries 2025-06-02 16:58:54 -04:00
Marie
a7ba809df4 merge: allow fragments in AP ID URLs - fixes polls (!1076)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1076

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2025-06-02 18:49:23 +00:00
Hazelnoot
d6156c5913 merge: Reduce overhead and DB error spam when a user changes their reaction (!1082)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1082

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-06-02 15:41:00 +00:00
Hazelnoot
3907355a48 replace upsert with insert+fetch and delete+insert 2025-06-01 19:56:42 -04:00
Hazelnoot
39fcdcae25 merge: Allow unauthenticated (logged-out) users to translate notes (!1055)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1055

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-06-01 20:52:19 +00:00
Hazelnoot
a5d49c8bbf merge: Use secureResolve for Actor collections (resolves #1087) (!1087)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1087

Closes #1087

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-06-01 20:39:40 +00:00
Hazelnoot
cea594053f merge: Fix logic error in generateBlockedHostQueryForNote (!1085)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1085

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-06-01 19:35:20 +00:00
Hazelnoot
a50a11fb4c remove duplicate isBlocked check from generateBlockedHostQueryForNote 2025-06-01 15:25:54 -04:00