1
0
Commit Graph

1650 Commits

Author SHA1 Message Date
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 034bfc02bd allow fragments in AP ID URLs - fixes polls
our own `renderVote` generates IDs like
`${this.config.url}/users/${user.id}#votes/${vote.id}/activity`

also `renderUpdate` generates
`${this.config.url}/users/${user.id}#updates/${new Date().getTime()}`

so we can't reject IDs with fragments
2025-06-01 14:06:04 +01: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
Hazelnoot 693cdde327 upsert reactions to avoid error+retry overhead 2025-05-30 15:37:27 -04: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
Hazelnoot c13beacb3a change default value of canUseTranslator to false 2025-05-30 12:35:31 -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
piuvas eb88920f41 requested changes. 2025-05-28 19:55:40 -03:00
piuvas 79c4c79386 fix lint and typecheck. 2025-05-27 14:08:00 -03:00
Hazelnoot 13d7326506 fix type errors 2025-05-26 22:55:10 -04:00
piuvas ca32c231d0 initial link attributions work. 2025-05-26 22:44:29 -03: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
Hazelnoot 60373cb24f fix references to userOrId 2025-05-14 23:24:51 -04:00
Hazelnoot 57d32ea900 enforce "can trend" role policy in trending user page 2025-05-14 23:24:51 -04:00