Commit graph

742 commits

Author SHA1 Message Date
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
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
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
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
5dbec15876
[backend] Switch to the renamed Iceshrimp.WebPush library 2024-06-11 17:34:47 +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
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
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
c46a5bd93d
[backend/masto-client] Correctly handle offset pagination (ISH-358) 2024-06-07 18:44:48 +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
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
dba4196655
[backend/core] Track poll votersCount for local & remote polls 2024-06-05 15:26:25 +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
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
9949e24c8d
[backend] Miscellaneous refactors 2024-05-28 20:50:04 +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
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
9eb5710e84
[backend] Add codename to assembly metadata 2024-05-24 22:41:43 +02:00
Laura Hausmann
167fd5f0d6
[backend/api] Add renote endpoints (ISH-341) 2024-05-23 19:37:56 +02:00
Laura Hausmann
6386025c24
[backend/core] Update emoji regex for Unicode 15.1, simplify emoji regex, move emoji regex into a GeneratedRegexAttribute property 2024-05-23 18:08:38 +02:00
Laura Hausmann
dc09a4ada2
[backend/masto-client] Add list streaming channel (ISH-332) 2024-05-23 17:10:36 +02:00
Laura Hausmann
a4087a4c81
[backend/masto-client] Add hashtag streaming channel (ISH-332) 2024-05-23 17:10:32 +02:00
Laura Hausmann
2ffededb4d
[backend/database] Add explicit parentheses to Note.IsVisibleFor
This is semantically identical, but should be easier to read.
2024-05-23 15:17:44 +02:00
Laura Hausmann
aa8e3f32c5
[backend/drive] Fix thumbnail url for deduplicated files 2024-05-23 15:15:43 +02:00
Laura Hausmann
0f69013224
[backend/federation] Support resolving actors by aliases not directly resolvable via WebFinger
This fixes resolving pixelfed users by their user-facing uri (instance.tld/username).
2024-05-23 14:07:36 +02:00
Laura Hausmann
9d0ee19922
[backend/drive] Don't store attachments if the download isn't successful 2024-05-23 00:23:54 +02:00