Commit graph

4035 commits

Author SHA1 Message Date
dakkar
bba8e9fc79 merge: Add web optimization for video files during processing (!1054)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1054

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: dakkar <dakkar@thenautilus.net>
2025-05-30 19:24:05 +00:00
PrivateGER
f0207211d9
Import fs module with new syntax 2025-05-30 20:41:51 +02: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
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
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
Hazelnoot
4ed1ea8f89 increase chart rate limits to max=200 and rate=5/s 2025-05-25 18:49:42 -04: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
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
81910cf725 add new featured tab for "users popular locally" 2025-05-14 23:24:48 -04:00
Hazelnoot
2e4ec0dd9e add role policy to allow note trending 2025-05-14 23:24:24 -04:00