Commit graph

4366 commits

Author SHA1 Message Date
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
c13beacb3a change default value of canUseTranslator to false 2025-05-30 12:35:31 -04:00
Hazelnoot
50a64f97df allow unauthenticated (logged-out) users to translate notes 2025-05-30 12:35:31 -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
Hazelnoot
eeb175ab2b increase logging indent, since some logger contexts are really long 2025-05-30 12:26:33 -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
PrivateGER
7cba9c11d4
Add web optimization for video files during processing 2025-05-29 20:29:42 +02:00
Hazelnoot
0912a8bb10 fix tests 2025-05-28 21:31:41 -04:00
Hazelnoot
4738b14d1c fix TypeORM error from MetaService.fetch 2025-05-28 21:31:40 -04:00
Hazelnoot
070084889f re-analyze all tables affected by new indexes 2025-05-28 21:31:40 -04:00
Hazelnoot
12c2bbc7de add npm scripts to create or generate a migration 2025-05-28 21:31:40 -04:00
Hazelnoot
9e282b1d10 fix arrays in migration add_instance_block_columns 2025-05-28 21:31:40 -04:00
Hazelnoot
ab96402c2a add backend npm script to roll back a migration 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
8a2ed3bc86 minor optimization to diff-arrays 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
c0ead9cf11 remove broken HTTP users before running add_instance_foreign_keys migration 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
139f458c0b fix following feed performance and bugs 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
51128028f4 add foreign keys to following where instance is referenced 2025-05-28 21:31:40 -04:00
Hazelnoot
59099a2b2a add foreign keys to note/user where instance is referenced 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