Commit graph

31573 commits

Author SHA1 Message Date
Hazelnoot
c71f816be2 fix TS errors about user, info, and init 2025-06-07 00:39:30 -04:00
Hazelnoot
c21209152c add missing awaits in admin-user.vue 2025-06-07 00:31:13 -04:00
Hazelnoot
f3b3609950 harden Resolver.parseLocal against local URls to remote content 2025-06-06 23:36:16 -04:00
Hazelnoot
4b751bf28a fix admin-user AP fetch 2025-06-06 23:35:48 -04:00
Hazelnoot
d0cf1cc15f remove IDX_instance_host_filters as it slowed down queries more than it helped 2025-06-06 23:35:25 -04:00
Marie
24b0d7a376 merge: Fix performance regression in URL previews (resoles #1091) (!1096)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1096

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-06-06 20:09:28 +00: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
c6874c4983 merge: Allow note footer bar to shrink responsively and scroll on overflow (resolves #1057) (!1094)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1094

Closes #1057

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-06-05 11:55:18 +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
25174e837a allow note toolbar to scroll
https://developer.mozilla.org/en-US/docs/Web/CSS/overflow#accessibility
2025-06-04 19:09:03 -04:00
Hazelnoot
4d024d1165 use responsive gaps between note toolbar items 2025-06-04 19:07:57 -04:00
Hazelnoot
dc35731589 merge: Add option to keep CWs with "RE:" prefix (!1093)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1093

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-06-04 19:48:00 +00:00
Hazelnoot
5561dc2778 merge: Fix performance regression in notes/mentions endpoint (!1092)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1092

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-06-04 19:47:47 +00:00
Hazelnoot
2c449ce85c clarify option wording 2025-06-04 14:21:47 -04:00
Hazelnoot
3bf1cb1545 add option to keep CWs with "RE:" prefix 2025-06-04 14:20:06 -04:00
Hazelnoot
bae4c07bb3 support link attributions in SkUrlPreviewGroup 2025-06-04 11:15:42 -04:00
Hazelnoot
b811a8f0ab use correct code style for dynamic classes in PageWithHeader.vue 2025-06-04 10:48:25 -04:00
Hazelnoot
d86530a069 remove unused fields from WebhookTestService.ts 2025-06-04 10:48:24 -04:00
Hazelnoot
876ec968bd consider duplicate previews where one URL can't be resolved, but another URL resolves to a local copy of the same note 2025-06-04 10:48:24 -04:00
Hazelnoot
2536768133 check for note in initial de-duplication pass 2025-06-04 10:48:24 -04:00
Hazelnoot
919b97131b factor out getNoteUrls function 2025-06-04 10:48:24 -04:00
Hazelnoot
7a10d9b43f add withHint to instance-info.vue 2025-06-04 10:48:24 -04:00
Hazelnoot
5389e5e301 reduce empty space around report user / instance 2025-06-04 10:48:24 -04:00
Hazelnoot
1bd6f15868 add "spacer" option to PageWithHeader 2025-06-04 10:48:24 -04:00
Hazelnoot
6a75dd1a63 remove vertical size limit on report sections 2025-06-04 10:48:24 -04:00
Hazelnoot
69ed5611cf re-implement preview groups as SkUrlPreviewGroup 2025-06-04 10:48:21 -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
067c5d4500 pass index through SkDateSeparatedList.vue 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
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