Commit graph

31583 commits

Author SHA1 Message Date
Hazelnoot
cb8ae13685 merge: Fix regressions and missing parts of recent work (!1102)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1102

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-06-08 17:42:29 +00:00
Hazelnoot
3d804c560d use SKUrlPreviewGroup in more places 2025-06-07 20:54:21 -04:00
Hazelnoot
e3668be8f4 fix race conditions and bugs in pref-migrate.ts 2025-06-07 20:25:18 -04:00
Hazelnoot
4085c8a4f1 integrate localStorage options into preference system 2025-06-07 20:24:44 -04: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
36b85d62c2 check that detected AP object is actually a note before recording it in UrlPreviewService 2025-06-07 18:50:28 -04:00
Hazelnoot
73eeabc118 add ActivityPub representation to admin-user.vue 2025-06-07 18:49:37 -04:00
Marie
3f8dcbf4bb merge: Update file th-TH.yml (!1101)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1101

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2025-06-07 18:49:25 +00:00
Ahri Enby
f4f893dacf Update file th-TH.yml 2025-06-07 15:14:18 +01:00
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