Commit graph

31985 commits

Author SHA1 Message Date
Marie
7b0ee41c77 merge: Cache note translations in Redis (!1027)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1027

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-05-14 18:36:53 +00:00
Hazelnoot
c8d3ee5500 merge: Allow custom timeouts for translation API requests (!1026)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1026

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-05-14 18:36:30 +00:00
dakkar
e0e9719555 extra safety check in toggleSuspended
if the instance is `softwareSuspended` (i.e. it's running code that we
don't want to federate with), manually toggling its suspension state
makes little sense

the actual control (`MkSwitch`) was already disabled in this case
2025-05-14 13:54:55 +01:00
dakkar
0d55090f0b fix accidental version downgrade of sharp-read-bmp 2025-05-14 13:54:55 +01:00
Hazelnoot
8348a36f24 cleanup, simplify, and merge duplicate word mute implementations 2025-05-13 22:58:24 -04:00
Hazelnoot
9a792c32c2 improve wording of translation timeout caption 2025-05-13 22:33:09 -04:00
Hazelnoot
e7db6e5569 remove use of watch in external-services.vue 2025-05-13 22:32:49 -04:00
Hazelnoot
dc79244f5b fix parsing bare IPs 2025-05-13 22:28:19 -04:00
Hazelnoot
b888ff931d fix unit tests for HttpRequestService.ts 2025-05-13 22:27:18 -04:00
Hazelnoot
e914be3694 fix "network" property in allowedPrivateNetworks 2025-05-13 22:24:48 -04:00
Hazelnoot
ebd4ccdd55 enforce port restrictions against requests that happen to be missing the port 2025-05-13 22:22:40 -04:00
Hazelnoot
4ddb16aa9a rename "mask" to "prefixLength" for clarity 2025-05-13 22:21:03 -04:00
Hazelnoot
5116586d79 improve YAML syntax for defining allowed IPs 2025-05-13 22:19:24 -04:00
dakkar
94b07b2bc3 linting 2025-05-13 16:30:41 +01:00
dakkar
8e31774670 fix packed user schema 2025-05-13 16:27:35 +01:00
dakkar
1b27fb1a65 fix types in test/utils.ts 2025-05-13 16:13:15 +01:00
dakkar
00f3a1b479 fix types in api-visibility.ts 2025-05-13 16:13:05 +01:00
dakkar
46b1cb62b3 run e2e tests in CI 2025-05-13 15:43:23 +01:00
dakkar
da9ebb9f0a fix test/e2e/nodeinfo.ts 2025-05-13 15:35:53 +01:00
dakkar
64d254f07f fix test/e2e/fetch-validate-ap-deny.ts 2025-05-13 15:35:03 +01:00
dakkar
bc1cd86b10 fix test/e2e/blocks.ts
by adding a note visibility check on the backend
2025-05-13 15:29:38 +01:00
dakkar
76b5ec5264 fix test/e2e/well-known.ts 2025-05-13 15:15:30 +01:00
dakkar
cd728bee22 fix test/e2e/fetch-resource.ts 2025-05-13 15:12:34 +01:00
dakkar
a9b6cc1c00 fix test/e2e/streaming.ts
that was a race condition
2025-05-13 14:56:44 +01:00
dakkar
3ce3c42f31 fix test/e2e/api-visibility.ts
impressive that, on plain Misskey, un-authed calls to `notes/show`
will happily return DMs as long as you know the note id
2025-05-13 14:48:18 +01:00
dakkar
7a2958f356 fix test/e2e/antennas.ts 2025-05-13 14:36:01 +01:00
dakkar
2175181fa6 skip OAuth e2e tests 2025-05-13 14:27:14 +01:00
dakkar
8520917167 fix test/e2e/endpoints.ts 2025-05-13 14:27:02 +01:00
dakkar
e69e849e25 fix test/e2e/users.ts 2025-05-13 14:17:52 +01:00
dakkar
3e003ddf67 fix test/e2e/timelines.ts 2025-05-13 13:28:54 +01:00
dakkar
962cbfe572 fix linting in backend 2025-05-13 11:56:10 +01:00
dakkar
7ca39e2d40 use MkResult in all our code 2025-05-13 11:42:15 +01:00
dakkar
21eedda334 re-gen translation index 2025-05-13 11:35:45 +01:00
dakkar
caa524e557 fix radius for result icons 2025-05-13 11:31:08 +01:00
dakkar
bd90a5aeaa Merge tag '2025.5.0' into upstream/2025.5.0 2025-05-13 11:29:59 +01:00
Hazelnoot
b52db71e18 factor out shared word mute logic 2025-05-12 23:28:55 -04:00
Hazelnoot
f62249635f add manual save button to translation timeout field 2025-05-12 21:56:59 -04:00
Hazelnoot
e7ee2cc398 add configurable timeout for note translations 2025-05-12 21:48:21 -04:00
Hazelnoot
1a3c6f25a2 simplify access to showSoftWordMutedWord 2025-05-12 21:46:03 -04:00
Hazelnoot
5cb0129c49 show muted words in following feed 2025-05-12 21:46:03 -04:00
Hazelnoot
05e5be8218 show muted words in NoteDetailed / NoteSub components 2025-05-12 21:46:03 -04:00
Hazelnoot
7cd1d9ad93 return actual muted word from check-word-mute.ts 2025-05-12 21:46:03 -04:00
Hazelnoot
fb63167d85 allow private IP ranges to specify allowed ports 2025-05-12 21:44:45 -04:00
Hazelnoot
7b54a3ca48 allow user to be deleted if profile is missing 2025-05-12 21:38:11 -04:00
Hazelnoot
0a7ef89a17 delete user registry items 2025-05-12 21:38:11 -04:00
Hazelnoot
fdf67f6fc7 don't sent account deletion notice until after it actually completes 2025-05-12 21:38:11 -04:00
Hazelnoot
7cf293de94 add more manual steps to process account deletion in smaller chunks 2025-05-12 21:38:11 -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
Hazelnoot
077096d04e use deliverMany to reduce overhead of account deletion queue 2025-05-12 21:38:11 -04:00