Commit graph

4042 commits

Author SHA1 Message Date
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
Hazelnoot
305250d073 persist changes to meta host lists to instance table 2025-05-28 21:31:40 -04:00
Hazelnoot
373c60b521 add diff-arrays utility for efficient array diffs 2025-05-28 21:31:40 -04:00
Hazelnoot
45e5749cca add instance properties for persisted block data 2025-05-28 21:31:39 -04:00
Hazelnoot
566f92ab73 add IDX_instance_host_key 2025-05-28 21:31:39 -04:00
Hazelnoot
5af5414fdf enable TypeScript incremental mode to speed up IDEs 2025-05-28 21:31:39 -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
17a56cb374 merge: add mediaDirectory config option to configure location of uploaded media (!1045)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1045

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: dakkar <dakkar@thenautilus.net>
2025-05-26 14:26:44 +00:00
Ruby Iris Juric
4291a3d648
add mediaDirectory config option to configure location of uploaded media 2025-05-26 22:52:00 +10:00
Ruby Iris Juric
259eab513e
make configuration file directory configurable with MISSKEY_CONFIG_DIR environment variable 2025-05-26 13:39:19 +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
Marie
e59a3ad693 merge: Synchronize database entities and code models (!1040)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1040

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-05-23 23:33:08 +00:00
Marie
b05b4ec74d merge: Cleanup admin user UI (!1012)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1012

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-05-23 11:21:29 +00:00
Hazelnoot
0ae8d85c3f fix TS errors from defaultLike 2025-05-22 16:20:49 -04:00
Hazelnoot
c510cfa312 make meta.defaultLike non-nullable 2025-05-22 16:08:26 -04:00
Hazelnoot
418aea1eef synchronize database entities and code models 2025-05-22 14:34:04 -04:00
Hazelnoot
28551c8103 use config.url instead of "https://${config.host}" 2025-05-21 08:27:23 -04:00
Hazelnoot
3a3f8770d9 factor our cache logic into a separate method 2025-05-19 18:18:55 -04:00
Hazelnoot
3936807184 remove preview ActivityPub flag if we encounter a permanent (non-retryable) error while fetching the note 2025-05-19 18:11:25 -04:00
Hazelnoot
34a6816636 fix error schema for FileServerService rate limit 2025-05-19 17:59:49 -04:00
Hazelnoot
bede498798 add rate limit for URL preview 2025-05-19 17:58:35 -04:00
Hazelnoot
f8c53466ef make sure that the "fetch linked note" button actually remembers that the note is fetched 2025-05-19 10:57:42 -04:00
Ruby Iris Juric
e57616830d
fix MK_CONFIG_MEILISEARCH_APIKEY not correctly setting config 2025-05-19 14:48:22 +10:00
Hazelnoot
228e522081 add "followStats" property to admin/show-user response 2025-05-16 17:39:43 -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
10622ceec7 replace andWhere with where 2025-05-14 23:26:22 -04:00
Hazelnoot
b7b30bde5d use /users endpoint for explore exclusively (restore original behavior) 2025-05-14 23:25:40 -04:00
Hazelnoot
dee2e19b63 don't trend notes from non-explorable or non-trendable users 2025-05-14 23:24:51 -04:00
Hazelnoot
0b8c101d71 check ps.trending before hiding non-explorable users from /users endpoint 2025-05-14 23:24:51 -04:00