Commit graph

1426 commits

Author SHA1 Message Date
Laura Hausmann
80840e4dd6
[backend/logging] Check for TTY instead of console redirection to determine whether to output color 2024-06-16 20:04:37 +02:00
Laura Hausmann
58e9d343ac
[backend/federation] Handle invalid activities in InboxValidationMiddleware more gracefully 2024-06-16 20:04:37 +02:00
Laura Hausmann
8ebef17938
[backend/queue] Fix race condition that could cause temporary queue stalls (until a new job gets queued) 2024-06-16 19:06:53 +02:00
Laura Hausmann
571ef8f027
[backend/queue] Improve logging 2024-06-16 18:55:54 +02:00
Laura Hausmann
07fd0260a8
[backend/queue] Add healthchecks that regularly check for stalled jobs (ISH-361) 2024-06-16 18:07:25 +02:00
Laura Hausmann
7ed39d0c47
[backend/queue] Fix AsyncAutoResetEvent handling, fix stalled queue workers causing no new workers to be spawned 2024-06-16 17:23:28 +02:00
Laura Hausmann
364d0c54a0
[backend/masto-client] Paginate note likes & renotes correctly (ISH-362) 2024-06-15 17:30:12 +02:00
Laura Hausmann
946eed1b03
[backend/federation] Fix remote poll voter counts (ISH-363) 2024-06-15 17:21:43 +02:00
Laura Hausmann
8b36f1aecf
[backend/masto-client] Paginate likes & bookmarks based on their identifier (instead of the note identifier) 2024-06-15 16:57:06 +02:00
Laura Hausmann
9f3bbe6c08
[backend/drive] Fix handling of failed files in object storage migrator
This fixes an edge case that could cause it to enter an infinite loop.
2024-06-15 01:19:37 +02:00
Laura Hausmann
c7bacc2856
[backend/masto-client] Ignore App.website property when it only contains whitespace 2024-06-14 21:45:29 +02:00
Laura Hausmann
a703b63876
[backend/core] Ignore poll options consisting only of whitespace
This fixes compatibility with certain mastodon clients that send an extra empty-string poll option.
2024-06-14 20:04:38 +02:00
Laura Hausmann
ed38dc3788
[backend/database] Fix poll votersCount query for PostgreSQL versions prior to 16 2024-06-14 18:59:36 +02:00
Laura Hausmann
c4190781e3
[backend/core] Generate reply notifications for notes that aren't of specified visibility 2024-06-13 22:54:02 +02:00
Laura Hausmann
b27572bf27
[backend/razor] Update FrontendSPA.cshtml to conform to new code style 2024-06-13 22:42:35 +02:00
Laura Hausmann
35148d7796
[backend/queue] Add queue processor timeout
For now this is hardcoded per queue, but this will be configurable down the line.
2024-06-13 22:41:41 +02:00
Laura Hausmann
a7dcfbe75a
[parsing] Allow termination of mention nodes with any character except : 2024-06-13 22:06:39 +02:00
Laura Hausmann
b84c3b5ff9
[docs] Update README.md 2024-06-13 20:37:38 +02:00
Laura Hausmann
5dbec15876
[backend] Switch to the renamed Iceshrimp.WebPush library 2024-06-11 17:34:47 +02:00
Laura Hausmann
16383211ea
[backend/csproj] Drop libsodium dependency
This is not necessary anymore, as we dropped cuid2 as a dependency, which depended on NSec.Cryptography, which depended on libsodium.
2024-06-11 17:22:37 +02:00
Laura Hausmann
0379624d1d
[sln] Update dependencies 2024-06-11 17:17:27 +02:00
Laura Hausmann
46b6357506
[backend/csproj] Bump dotNetRdf version 2024-06-11 16:59:18 +02:00
Laura Hausmann
e960a059a0
[backend/cron] Fix media cleanup task implicitly using synchronous enumerable
This fixes media cleanup when database connection multiplexing is enabled.
2024-06-11 16:49:31 +02:00
Laura Hausmann
1e0fd2efda
[parsing] Allow termination of mentions with the question mark character 2024-06-11 16:27:23 +02:00
Laura Hausmann
dc8511632b
[backend/core] Replace sync DB call with async equivalent 2024-06-10 19:42:06 +02:00
Laura Hausmann
173b01fbf3
[backend/database] Disable multiplexing by default 2024-06-10 19:35:42 +02:00
Laura Hausmann
3467fe952c
[backend/database] Add support for connection multiplexing 2024-06-10 19:26:21 +02:00
Laura Hausmann
aa21e4b05a
[backend/queue] Make queue concurrency configurable 2024-06-10 18:18:39 +02:00
Laura Hausmann
5771e43dda
[backend/federation] Add configuration option for limiting the number of concurrent federation requests (ISH-338) 2024-06-10 18:18:23 +02:00
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