Commit graph

1602 commits

Author SHA1 Message Date
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
b7abc5b3b4 fix withRenotes check in generateMutedUserRenotesQueryForNotes 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
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
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
PrivateGER
f0207211d9
Import fs module with new syntax 2025-05-30 20:41:51 +02:00
Hazelnoot
b0a5efb357 block remote interactions with local-only posts 2025-05-30 13:10:46 -04: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
979c7628b1 disable status badge strip in admin-user and instance-info 2025-05-29 22:20:21 -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
PrivateGER
7cba9c11d4
Add web optimization for video files during processing 2025-05-29 20:29:42 +02:00
Hazelnoot
4738b14d1c fix TypeORM error from MetaService.fetch 2025-05-28 21:31:40 -04:00
Hazelnoot
35dfde838b add function diffArraysSimple for more efficient change detection 2025-05-28 21:31:40 -04:00
Hazelnoot
788e59f046 fix type errors caused by new User, Note, and Instance fields 2025-05-28 21:31:40 -04:00
Hazelnoot
7385f30903 clear federatedInstanceCache when meta host lists change 2025-05-28 21:31:40 -04:00
Hazelnoot
3e7ab07b3c avoid race conditions in meta / instance insert 2025-05-28 21:31:40 -04:00
Hazelnoot
08834f1722 register instances before creating a user 2025-05-28 21:31:40 -04:00
Hazelnoot
7064150144 use instance block columns instead of checking meta columns 2025-05-28 21:31:40 -04:00
Hazelnoot
fad82000f0 fix lint error in MetaService 2025-05-28 21:31:40 -04:00
Hazelnoot
abac2f785a fix QueryService.generateMutedUserRenotesQueryForNotes to properly exclude quotes 2025-05-28 21:31:40 -04:00
Hazelnoot
f3eca0b5cf populate block fields when registering a new instance 2025-05-28 21:31:40 -04:00
Hazelnoot
b422d5bc9d add utility service overloads for quickly checking hosts against meta values 2025-05-28 21:31:40 -04:00
Hazelnoot
305250d073 persist changes to meta host lists to instance table 2025-05-28 21:31:40 -04:00
Hazelnoot
13d7326506 fix type errors 2025-05-26 22:55:10 -04:00
Marie
2ce8a9b9a7 merge: handle "follow" notifs from deleted user (!1032)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1032

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2025-05-26 18:34:11 +00:00
Hazelnoot
a3f9ff68fa resolve collection items in parallel 2025-05-26 13:08:05 -04:00
Hazelnoot
1ab5ceb65a fix ID checks in resolveCollectionItems 2025-05-26 11:34:46 -04:00
Hazelnoot
facedd3646 allow anonymous objects in secureResolve 2025-05-26 11:33:53 -04:00
Hazelnoot
02787f75ef add JSDocs to resolveCollectionItems 2025-05-26 11:23:07 -04:00
Hazelnoot
bdccb203ea resolve collection items in ApInboxService 2025-05-26 11:17:01 -04:00
Hazelnoot
5f0bb5dcd7 implement resolver.resolveCollectionItems 2025-05-26 11:16:48 -04:00
Hazelnoot
b506dd564b support fetching anonymous AP objects 2025-05-26 11:15:59 -04:00
Ruby Iris Juric
4291a3d648
add mediaDirectory config option to configure location of uploaded media 2025-05-26 22:52:00 +10:00
dakkar
28aa62f988 handle EntityNotFoundError on all calls to *.pack() 2025-05-25 12:42:59 +01:00
Hazelnoot
7f5e43530f enforce HTTPS for all federation 2025-05-25 00:04:27 -04:00
Hazelnoot
a2a38c78db merge: Experimental improvements to Delete Account process (maybe resolves #1035) (!1021)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1021

Closes #1035

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-05-15 13:00:47 +00:00
Hazelnoot
dee2e19b63 don't trend notes from non-explorable or non-trendable users 2025-05-14 23:24:51 -04:00
Hazelnoot
b4bce57fcb update user activity on Renote, Un-Renote, Note Edit, React, and Un-React 2025-05-14 23:24:51 -04:00
Hazelnoot
b22b5577b4 also delete AP logs for cascading notes 2025-05-14 23:24:51 -04:00
Hazelnoot
7cb7ed6fc9 decrement quote count correctly 2025-05-14 23:24:51 -04:00