Commit graph

1297 commits

Author SHA1 Message Date
Laura Hausmann
4adddaec87
[backend/startup] Don't duplicate rate limiting middleware 2024-06-10 16:49:29 +02:00
Laura Hausmann
33a3601a79
[backend/masto-client] Improve user lookup regex 2024-06-08 00:58:06 +02:00
Laura Hausmann
68528b6785
[backend/masto-client] Return empty result set for resolve searches with offset > 0 2024-06-08 00:51:41 +02:00
Laura Hausmann
8f94e56967
[parsing] Fix center nodes being incorrectly parsed as small nodes 2024-06-07 20:18:04 +02:00
Laura Hausmann
80c9a35166
[backend/federation] Handle MFM in ASSource correctly
Some implementations (e.g. firefish) have dropped the _misskey_content property altogether. This improves MFM federation with those instances.
2024-06-07 20:18:03 +02:00
Laura Hausmann
068b318c19
[backend/startup] Add debug logging for loaded configuration files & allow configuration via environment variables 2024-06-07 20:02:46 +02:00
Laura Hausmann
699e0237b0
[backend/masto-client] Return 404 for /media/v2/{id} endpoints (ISH-356)
This fixes media uploads with alt text in some clients (like Enafore).
2024-06-07 19:07:36 +02:00
Laura Hausmann
e1f525a4a3
[backend/asp] Fix api controller fallback action not getting executed (ISH-356)
This fixes a regression introduced in 3d15ed6807.
2024-06-07 19:02:48 +02:00
Laura Hausmann
c46a5bd93d
[backend/masto-client] Correctly handle offset pagination (ISH-358) 2024-06-07 18:44:48 +02:00
Laura Hausmann
fc2dcb5e97
[backend/masto-client] Revert NoteRenderer url/uri changes 2024-06-07 17:35:45 +02:00
Laura Hausmann
317395b36b
[backend/core] Don't deliver poll ended notifications to remote users 2024-06-06 21:25:42 +02:00
Laura Hausmann
066cb7dc19
[backend/core] Send poll ended notification to poll creator even if they didn't vote in the poll 2024-06-06 21:18:32 +02:00
Laura Hausmann
8e20916c9a
[backend/api-shared] Make FTS support filtering by local instance web/account domain 2024-06-06 20:53:33 +02:00
Laura Hausmann
9fe28d14d8
[backend/masto-client] Fix typo 2024-06-05 17:46:11 +02:00
Laura Hausmann
004d89e78a
[backend/masto-client] Improve account/status url/uri field compatibility 2024-06-05 17:44:48 +02:00
Laura Hausmann
24fd34755a
[backend/masto-client] Set StatusEntity.IsMuted to false instead of null 2024-06-05 17:40:47 +02:00
Laura Hausmann
c825ad20c8
[backend/federation] Handle reject activities correctly 2024-06-05 17:21:26 +02:00
Laura Hausmann
39a6ed2215
[backend/database] Fix votersCount getting set for all polls 2024-06-05 15:59:27 +02:00
Laura Hausmann
1e761f5008
[backend/api-shared] Allow searching for notes with polls 2024-06-05 15:54:38 +02:00
Laura Hausmann
e810b00644
[backend/csproj] Add edition to assembly metadata 2024-06-05 15:30:03 +02:00
Laura Hausmann
dba4196655
[backend/core] Track poll votersCount for local & remote polls 2024-06-05 15:26:25 +02:00
Laura Hausmann
9e1e23f6b9
[backend/masto-client] Display non-zero voter count for multi-choice polls 2024-06-05 13:59:34 +02:00
Laura Hausmann
c191f20237
[backend/federation] Fix typo 2024-06-04 19:52:58 +02:00
Laura Hausmann
faa90477bc
[backend/federation] Send AP redirects when remote notes are fetched with their local uri 2024-06-04 19:50:14 +02:00
Laura Hausmann
1ef5be8917
[backend/core] Correctly handle remote AP redirects to local notes 2024-06-04 19:39:07 +02:00
Laura Hausmann
bcdcce80c9
[backend/core] Set note.text to null if it's whitespace on note creation & update 2024-06-04 17:51:00 +02:00
Laura Hausmann
28fa7eb5de
[backend/masto-client] Send empty string content for notes without text 2024-06-04 17:43:10 +02:00
Laura Hausmann
acea67a298
[backend/well-known] Set the version field correctly in nodeinfo responses 2024-06-03 19:19:17 +02:00
Laura Hausmann
07b3ad5bab
[parsing] Allow digits in hashtags 2024-05-31 21:14:07 +02:00
Laura Hausmann
5e7eda1b9a
[backend/core] Fix ASTagConverter edge case 2024-05-31 20:21:08 +02:00
Laura Hausmann
117443b802
[backend/core] Fix typo 2024-05-30 13:35:31 +02:00
Laura Hausmann
6fdc8b73f7
[backend/core] Improve resolution of notes with pending reply/renote targets on note create
This fixes missing metadata (reply/renote user id/host), as well as stale reply/renote counts for replies/renotes processed out of order.
2024-05-30 12:30:45 +02:00
Laura Hausmann
3d15ed6807
[backend/asp] Add explicit routes for matching local and remote users
This is necessary because MapFallbackToPage doesn't apply to routes containing special characters (dots, @ symbol) by default.
2024-05-29 20:04:22 +02:00
Laura Hausmann
581d13bd65
[backend/asp] Revert: Make fallback page route work properly for filename-like routes
This reverts commit 38279a36af.
2024-05-29 19:29:39 +02:00
Laura Hausmann
38279a36af
[backend/asp] Make fallback page route work properly for filename-like routes 2024-05-29 19:14:05 +02:00
Laura Hausmann
9949e24c8d
[backend] Miscellaneous refactors 2024-05-28 20:50:04 +02:00
Laura Hausmann
79c8983015
[parsing] Allow mentions to end with common markup characters 2024-05-28 19:24:25 +02:00
Laura Hausmann
fe3f289903
[backend/api] Fix user profile relations 2024-05-28 16:06:18 +02:00
Laura Hausmann
b1803ce6bf
[backend/drive] Add purge argument & additional error handling to object storage migrator 2024-05-28 15:35:39 +02:00
Laura Hausmann
dd22bd5393
[backend/drive] Fix object storage migrator db query warnings 2024-05-28 15:12:51 +02:00
Laura Hausmann
51f0890c36
[backend/database] Move more migrations into their respective version folder 2024-05-27 22:11:18 +02:00
Laura Hausmann
e77c768882
[backend/database] Switch job identifier generation scheme to from UUIDv4 to ULID 2024-05-27 22:11:18 +02:00
Laura Hausmann
55250e59f0
[backend/swagger] Set SwaggerDoc versions correctly (ISH-350) 2024-05-27 15:21:43 +02:00
Laura Hausmann
d3aed20843
[backend] Replace cuid2 with System.Cryptography-based CSPRNG
This allows us to drop the cuid.net dependency and is ~6x faster while improving security (cuid2 is dubious at best in this regard). We may switch to ULID or UUIDv7 in the future for even higher performance, but this change allows for improving performance and security without any side effects.
2024-05-27 13:27:49 +02:00
Laura Hausmann
cc161f1b32
[parsing] Support mentions of unicode usernames 2024-05-27 11:44:41 +02:00
Laura Hausmann
35153a9080
[backend/queue] Improved AsyncAutoResetEvent implementation
This implementation improves the memory behavior of AsyncAutoResetEvents that fire in rapid succession.
2024-05-25 13:34:06 +02:00
Laura Hausmann
c80630f66f
[backend/razor] Add assembly metadata to FrontendSPA template 2024-05-25 01:10:17 +02:00
Laura Hausmann
9fa414d738
[backend/configuration] Allow accessing full commit hash when available 2024-05-24 22:47:36 +02:00
Laura Hausmann
816e912078
[backend/csproj] Remove trailing whitespace 2024-05-24 22:42:54 +02:00
Laura Hausmann
9eb5710e84
[backend] Add codename to assembly metadata 2024-05-24 22:41:43 +02:00