Commit graph

4414 commits

Author SHA1 Message Date
dakkar
0d55090f0b fix accidental version downgrade of sharp-read-bmp 2025-05-14 13:54:55 +01: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
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
bd90a5aeaa Merge tag '2025.5.0' into upstream/2025.5.0 2025-05-13 11:29:59 +01:00
Hazelnoot
e7ee2cc398 add configurable timeout for note translations 2025-05-12 21:48:21 -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
Hazelnoot
7ad772116b delete user reactions before notes 2025-05-12 21:38:10 -04:00
Hazelnoot
4e8993bad7 add debug logging for translation endpoint 2025-05-12 21:35:06 -04:00
Hazelnoot
871a4d3fb1 cache and re-use note translations 2025-05-12 21:35:06 -04:00
Hazelnoot
7db48ffa8d add redis cache for note translations
* Partitioned by target language
* Invalidated if the note is edited
2025-05-12 21:35:06 -04:00
Hazelnoot
03b1960e63 set common default values for RedisKVCache callbacks 2025-05-12 21:35:06 -04:00
Hazelnoot
61aaa586fe add hasText type guard for notes 2025-05-12 21:35:06 -04:00
Hazelnoot
655290f8a4 add "is from local bubble instance" role condition 2025-05-12 13:31:16 -04:00
Hazelnoot
f8b2e272f1 merge: Fix word mute character calculation (resolves #861) (!1018)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1018

Closes #861

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-05-12 10:36:17 +00:00
Hazelnoot
c0c41af5f9 merge: Fix hidden hashtags showing on the explore / trending page (!1014)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1014

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-05-12 10:33:09 +00:00
Marie
4430c12e0e merge: Fix unique constraint error when processing a flurry of note pinning activities (!1024)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1024

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-05-12 10:30:44 +00:00
Hazelnoot
d3a9995d0a use transaction to avoid unique constraint error when processing duplicate Add/Remove pinned note activities 2025-05-11 06:02:52 -04:00
Hazelnoot
0cdb8e5b80 raise default character limit for word mutes 2025-05-10 21:44:25 -04:00
Hazelnoot
a46887d05f fix calculation of word mute 2025-05-10 21:44:10 -04:00
Hazelnoot
40a73bfcbe add new role conditions for local/remote followers/followees 2025-05-10 14:44:17 -04:00
Hazelnoot
9f5c279478 don't show hidden hashtags on the trending page 2025-05-10 14:42:05 -04:00
Hazelnoot
56a8ff4f50 add isFromInstance role condition 2025-05-09 21:03:05 -04:00