Commit graph

4104 commits

Author SHA1 Message Date
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
f06ca9f7ee merge: Fix bubble timeline logic (!1088)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1088

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-06-01 19:35:25 +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
Hazelnoot
7f976c443b use secureResolve for Actor collections 2025-06-01 15:13:13 -04:00
Hazelnoot
bce38c295f sync up logic between notes/bubble-timeline.ts and channels/bubble-timeline.ts 2025-06-01 15:02:57 -04:00
Hazelnoot
b7abc5b3b4 fix withRenotes check in generateMutedUserRenotesQueryForNotes 2025-06-01 14:42:44 -04:00
Hazelnoot
baf785bdc1 fix withRenotes check in bubble-timeline.ts 2025-06-01 14:42:44 -04:00
Hazelnoot
ac8fad2422 fix logic error in generateBlockedHostQueryForNote that would allow blocked instances if allowSilenced was set to false 2025-06-01 14:34:58 -04:00
Hazelnoot
15c45633e5 fix bad merge in UtilityService.ts 2025-06-01 14:19:39 -04:00
Hazelnoot
8894578b2a merge: Instance admin UX improvements (!1059)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1059

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-06-01 17:59:16 +00:00
Hazelnoot
37be5b1e37 merge: Increase default "max file size" role policy (resolves #1083) (!1078)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1078

Closes #1083

Approved-by: Marie <github@yuugi.dev>
Approved-by: dakkar <dakkar@thenautilus.net>
2025-06-01 17:37:38 +00:00
Hazelnoot
4c99406aa2 merge: Resolve AP collection items (prerequisite for future work) (!1067)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1067

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-06-01 17:34:24 +00:00
Hazelnoot
2db4da48ed reduce default maxFileSize to 25MB 2025-06-01 13:29:26 -04:00
Hazelnoot
e1504cfb88 merge: Persisted instance blocks (!1068)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1068

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-06-01 17:25:52 +00:00
Marie
1022ee32c8 merge: fix DeepLX (!1077)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1077

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2025-06-01 17:25:30 +00:00
Hazelnoot
8cfa19ce33 increase default "max file size" role policy to 100MB, matching "drive capacity" which was the original limit. 2025-06-01 11:39:37 -04:00
dakkar
b13781632f fix DeepLX
`??` binds tighter than `? :`, so that expression was parsed as:

```ts
( deeplFreeInstance ?? this.serverSettings.deeplIsPro )
   ? 'https://api.deepl.com/v2/translate'
	 : 'https://api-free.deepl.com/v2/translate'
```

which ended up calling the non-free DeepL instead of the local DeepLX
2025-06-01 14:44:49 +01:00
Hazelnoot
89586bf790 correctly render reblogs and quotes-with-CW for discord previews 2025-06-01 00:26:21 -04:00
Hazelnoot
a5857d2724 allow passing user/note into convertStatus for performance 2025-06-01 00:25:53 -04:00
Hazelnoot
efd378f963 return typed relations from MastodonDataService note fetchers 2025-06-01 00:25:39 -04:00
Hazelnoot
c41a4a6860 merge: Add configuration option for the "query is slow" warning (!1061)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1061

Approved-by: Marie <github@yuugi.dev>
Approved-by: Julia <julia@insertdomain.name>
2025-05-31 16:48:30 +00:00
dakkar
993bd03134 merge: Block remote interactions with local-only posts (resolves #972) (!1070)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1070

Closes #972

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-05-30 20:45:55 +00:00
dakkar
bba8e9fc79 merge: Add web optimization for video files during processing (!1054)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1054

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: dakkar <dakkar@thenautilus.net>
2025-05-30 19:24:05 +00:00
PrivateGER
f0207211d9
Import fs module with new syntax 2025-05-30 20:41:51 +02:00
Hazelnoot
9c4e3934d1 exclude local notes from bubble timeline 2025-05-30 14:39:37 -04:00
Hazelnoot
b0a5efb357 block remote interactions with local-only posts 2025-05-30 13:10:46 -04:00
Hazelnoot
4637d4eb3f clarify query truncation message 2025-05-30 12:28:01 -04:00
Hazelnoot
dd1969c800 suppress messages from TypeORM migration and schema loading in production 2025-05-30 12:28:01 -04:00
Hazelnoot
3fecde29b5 fix TypeORM logger implementation 2025-05-30 12:28:01 -04:00
Hazelnoot
8e660d2aaf don't highlight queries in production 2025-05-30 12:28:01 -04:00
Hazelnoot
04160af3ae fix TypeORM logging to native console instead of NestJS logger 2025-05-30 12:28:01 -04:00
Hazelnoot
b057d3be0d add slowQueryThreshold setting to configure slow query warning 2025-05-30 12:27:59 -04:00
Marie
5d8a8bba2a merge: Log config file paths at startup (!1066)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1066

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-05-30 16:25:28 +00:00
Marie
544d169884 merge: Increase chart rate limits (!1065)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1065

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-05-30 16:25:01 +00:00
Marie
48f3910036 merge: Add MK_HIDE_WORKER_ID to exclude worker ID from logs (!1063)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1063

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-05-30 16:24:33 +00:00
Marie
4a55692f7a merge: Disable TypeORM's Redis cache by default (!1062)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1062

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-05-30 16:23:53 +00:00
PrivateGER
31f4325e86
make logger property readonly 2025-05-30 18:01:36 +02:00
PrivateGER
8948369a1b
import fs dep at file level 2025-05-30 18:00:12 +02:00
Hazelnoot
1cd0ed3256 add MK_HIDE_WORKER_ID to exclude worker ID from logs 2025-05-30 09:38:33 -04:00
Hazelnoot
43d975896a use standard logger class in config.ts 2025-05-30 09:15:40 -04:00
Hazelnoot
47a81ba235 clarify error when configs fail to load 2025-05-30 09:09:15 -04:00
Hazelnoot
1a414f1cfb log configuration file paths when loading 2025-05-30 09:06:50 -04:00
Hazelnoot
7d79c77842 disable TypeORM query cache by default 2025-05-30 08:01:01 -04:00
Hazelnoot
53ec45482d use more robust fixup in 1748128176881-add_instance_foreign_keys.js 2025-05-30 07:46:23 -04:00
Hazelnoot
979c7628b1 disable status badge strip in admin-user and instance-info 2025-05-29 22:20:21 -04:00
Hazelnoot
548000bb98 fix the AddMissingIndexes1747938628395 migration
- Delete duplicate list memberships
- Drop indexes if they already exist
2025-05-29 17:20:11 -04:00
PrivateGER
7ce8d0de44
Add error handling for video optimization in DriveService 2025-05-29 21:20:46 +02:00
PrivateGER
4ab3abaa14
Move supported MIME types into file-level const 2025-05-29 21:18:02 +02:00
PrivateGER
0bf006b7d7
Fix formatting and import spacing in VideoProcessingService 2025-05-29 20:40:15 +02:00