Hazelnoot
15ebb0ef85
more QueryService fixes
2025-06-03 15:12:59 -04:00
Hazelnoot
7ab5ce1537
replace generateBlockedHostQueryForNote allowSilenced parameter with generateSilencedUserQueryForNotes
2025-06-02 23:48:12 -04:00
Hazelnoot
0b9c0a6bc7
fix andWhere/orWhere in QueryService.ts
2025-06-02 22:51:10 -04:00
Hazelnoot
cbefbd2a33
refactor QueryService to use EXISTS instead of IN for most queries
2025-06-02 16:58:54 -04:00
Marie
a7ba809df4
merge: allow fragments in AP ID URLs - fixes polls ( !1076 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1076
Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2025-06-02 18:49:23 +00:00
Hazelnoot
d6156c5913
merge: Reduce overhead and DB error spam when a user changes their reaction ( !1082 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1082
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-06-02 15:41:00 +00:00
Hazelnoot
3907355a48
replace upsert with insert+fetch and delete+insert
2025-06-01 19:56:42 -04:00
Hazelnoot
39fcdcae25
merge: Allow unauthenticated (logged-out) users to translate notes ( !1055 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1055
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-06-01 20:52:19 +00:00
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
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
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
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
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