Commit graph

1898 commits

Author SHA1 Message Date
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
dakkar
46bb75d274 Merge branch 'develop' into upstream/2025.5.0 2025-05-30 11:13:37 +01: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
Hazelnoot
2e4ec0dd9e add role policy to allow note trending 2025-05-14 23:24:24 -04:00
Marie
1a9f8f782a merge: Allow port ranges in allowedPrivateIps (!1025)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1025

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-05-14 18:40:19 +00:00
Hazelnoot
ebd4ccdd55 enforce port restrictions against requests that happen to be missing the port 2025-05-13 22:22:40 -04:00
dakkar
8e31774670 fix packed user schema 2025-05-13 16:27:35 +01:00
dakkar
bd90a5aeaa Merge tag '2025.5.0' into upstream/2025.5.0 2025-05-13 11:29:59 +01:00
Hazelnoot
fb63167d85 allow private IP ranges to specify allowed ports 2025-05-12 21:44:45 -04:00
Hazelnoot
a8a8c41a9b allow caller to pass in existing reaction hint to ReactionService.delete 2025-05-12 21:38:11 -04:00
Hazelnoot
fe5def9de0 await delete account in queue in case of errors 2025-05-12 21:38:11 -04:00