Commit graph

4472 commits

Author SHA1 Message Date
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
Marie
1a9f8f782a merge: Allow port ranges in allowedPrivateIps (!1025)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1025

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-05-14 18:40:19 +00:00
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
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