Commit graph

91 commits

Author SHA1 Message Date
Laura Hausmann
b5a1c1ba85
[backend/drive] Significantly improve LibVips blurhash performance & memory efficiency
This commit saves ~2.5ms & ~1.4MB of heap allocations during blurhash computation using the LibVips image processor.
2024-08-06 22:25:24 +02:00
Laura Hausmann
a845405c45
[backend/queue] Fix QueueService race condition (properly this time)
While the previous fix was likely enough, there was still a razor-thin theoretical race condition remaining. This commit fixes said race condition, and simplifies some if statements across the file.
2024-07-25 01:29:32 +02:00
Laura Hausmann
7ea2f71abe
[backend/queue] Fix QueueService race condition causing transient queue stalls 2024-07-22 05:59:20 +02:00
Laura Hausmann
1f5171eacc
[backend/startup] Add iceshrimp-js migration assistant 2024-07-20 17:10:33 +02:00
Laura Hausmann
d602d766fa
[backend/plugins] Migrate from Weikio.PluginFramework to Iceshrimp.AssemblyUtils 2024-07-15 01:02:41 +02:00
Laura Hausmann
a73587d142
[backend/plugins] Allow plugins to instantiate cron tasks (ISH-422) 2024-07-13 23:28:41 +02:00
Laura Hausmann
c309fb00c9
[backend/plugins] Add PluginStore service 2024-07-13 23:04:55 +02:00
Laura Hausmann
635b5793bf
[backend/plugins] Add backend plugin loader (ISH-382) 2024-07-13 20:27:11 +02:00
Laura Hausmann
8cc4a4afc2
[backend/core] Refactor EventHelpers 2024-07-12 18:33:07 +02:00
Laura Hausmann
ae7fa0021c
[backend] Convert configuration and preloaded contexts into embedded resources 2024-07-09 15:13:43 +02:00
Laura Hausmann
2c2842de50
[shared] Code cleanup 2024-07-04 18:02:00 +02:00
Laura Hausmann
e0461ee3fd
[shared] Refactor namespaces 2024-07-04 17:53:11 +02:00
Laura Hausmann
9c7c5595f3
[backend/masto-client] Fix quote/renote indicators sometimes being rendered incorrectly 2024-07-04 00:38:46 +02:00
Laura Hausmann
df3a7bdfe5
[backend] Apply formatting rules 2024-06-29 01:06:19 +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
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
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
fd5a524a8c
[backend/libmfm] Add missing @ when rendering unresolved mentions to html 2024-05-17 22:27:16 +02:00
Laura Hausmann
9636a096fc
[backend/masto-client] Respect filters in WebSocket connections (ISH-328) 2024-05-17 19:21:41 +02:00
Laura Hausmann
a1120ac1e1
[backend/libmfm] Replace non-breaking space characters with regular spaces when converting from html 2024-05-16 19:30:27 +02:00
Laura Hausmann
0e6864fe38
[backend/api-shared] Order note ancestors by tree path
Background: the database function might not return these in the correct order, as the ids will almost, but not always be in the right order.
2024-05-01 23:39:49 +02:00
Laura Hausmann
a2077244f8
[backend/drive] Make image processor pluggable 2024-05-01 21:44:49 +02:00
Laura Hausmann
54d3c4e8d3
[backend] Fix build 2024-05-01 16:58:44 +02:00
Laura Hausmann
d31860dbb3
[backend/core] Track renote/reply uri for notes where the target is inaccessible at time of ingestion (ISH-287) 2024-04-30 00:15:58 +02:00
Laura Hausmann
5599805196
[backend/libmfm] Fix code block serialization 2024-04-28 23:46:05 +02:00
Laura Hausmann
8c5358efd9
[backend/libmfm] Correctly handle incoming italic html markup 2024-04-28 20:08:26 +02:00
Laura Hausmann
1a4dd75301
[backend/startup] Add --https flag & corresponding launch profiles for development purposes 2024-04-23 19:24:42 +02:00
Laura Hausmann
f9cc63a179
[backend] Add object storage migrator (ISH-30) 2024-04-23 01:23:34 +02:00
Laura Hausmann
450d859e19
[backend/startup] Move CLI argument parsing to the very beginning of the startup process
This allows --printconfig and --help to work correctly despite improper configuration / missing files.
2024-04-15 23:28:16 +02:00
Laura Hausmann
4ff1b5f4c4
[backend] Implement streaming hub for timelines & notifications (ISH-244) 2024-04-08 20:45:30 +02:00
Laura Hausmann
22a4de63f3
[backend/masto-client] Add & populate MastoReplyUserId column (ISH-247) 2024-04-07 21:07:04 +02:00
Laura Hausmann
969622bfc7
[backend/api] Return note descendants in tree form (ISH-242)
This also partially addresses thread ordering in the Mastodon client API.
2024-04-07 20:43:28 +02:00
Laura Hausmann
62dde50af2
[backend/core] Support note filters (ISH-97) 2024-03-31 23:56:55 +02:00
Laura Hausmann
9bd421c3a0
[backend] Replace old MfmParser with the new F# implementation (ISH-112) 2024-03-24 23:10:39 +01:00
Laura Hausmann
a67fe3722d
[backend] Code cleanup 2024-03-24 14:17:02 +01:00
Laura Hausmann
9698e3d36d
[backend/core] Replace redis-based queue system with a postgres-based one (ISH-212) 2024-03-24 00:17:28 +01:00
Laura Hausmann
f5aa7f6ff6
[backend/libmfm] Improve custom emoji regex 2024-03-17 17:11:47 +01:00
Laura Hausmann
a408fa247a
[backend] Code cleanup 2024-03-17 13:36:08 +01:00
Laura Hausmann
e65c76ca39
[backend/masto-client] Render quote uris inline (ISH-177) 2024-03-13 03:50:55 +01:00
Laura Hausmann
d343c7f469
[backend/libmfm] Improve HashtagNodeParser (ISH-117) 2024-03-04 03:03:31 +01:00
Laura Hausmann
6a10d408f9
[backend/masto-client] Use the F# SearchQuery parser for FTS queries (ISH-11) 2024-03-04 00:12:22 +01:00
Laura Hausmann
24786bb0e7
[backend/libmfm] Implement remaining node types in MfmSerializer (ISH-65) 2024-03-01 23:25:05 +01:00
Laura Hausmann
f07217b390
[backend/masto-client] Respect SupportsHtmlFormatting setting (ISH-88) 2024-03-01 22:37:59 +01:00
Laura Hausmann
341a4a8ee5
[backend/libmfm] Further improve mfm mentions parser 2024-02-26 20:24:56 +01:00
Laura Hausmann
9307023f96
[backend/libmfm] Improve mentions parsing 2024-02-26 19:23:13 +01:00
Laura Hausmann
c450903051
[backend/federation] Handle mentions in non-misskey user bios & user fields correctly (ISH-92) 2024-02-26 19:02:57 +01:00
Laura Hausmann
f83273c150
[backend/helpers] Fix random string lengths, make sure random strings don't contain the = character 2024-02-20 22:56:43 +01:00
Laura Hausmann
d4e1d92771
[backend] Code cleanup: switch to BSD braces style, tweak code style 2024-02-17 02:31:00 +01:00