Commit graph

108 commits

Author SHA1 Message Date
Laura Hausmann
b4c2712172
[parsing/tests] Fix tests 2024-09-26 18:49:08 +02:00
Laura Hausmann
c02af726e1
[parsing/mfm] Rework codeblock node parsing & serialization 2024-09-26 01:12:21 +02:00
Laura Hausmann
5b3dec0a08
[parsing/mfm] Further improve codeblock newline handling 2024-09-26 00:37:25 +02:00
Laura Hausmann
0fc667527f
[parsing/mfm] Fix handling of newlines surrounding code blocks 2024-09-26 00:33:26 +02:00
Laura Hausmann
1d4ddb1190
[backend/razor] Display emoji in public preview 2024-09-24 02:17:56 +02:00
Laura Hausmann
c3c85419e4
[backend/libmfm] When converting from HTML, shorten http & -s links with identical text and link components 2024-09-23 01:57:33 +02:00
Laura Hausmann
afe62b0aab
[sln] Code cleanup 2024-09-13 21:44:31 +02:00
Kopper
7e1bccadaf [backend/akko-client] Allow 'admin' scope group
Needed for Akkoma-FE to register itself
2024-09-13 17:30:05 +02:00
Laura Hausmann
0d7532cb08
[backend/startup] Set content root path to assembly directory 2024-09-13 17:15:36 +02:00
Laura Hausmann
01b2702af5
[backend/masto-client] Fix blockquote handling for some clients 2024-09-13 02:46:44 +02:00
Laura Hausmann
37707a0712
[backend/mfm] Only use div as root element for public preview in MfmConverter.ToHtmlAsync 2024-09-07 01:57:00 +02:00
Laura Hausmann
ec92483b30
[backend/mfm] Prevent MfmConverter.ToHtmlAsync from generating invalid html trees 2024-09-07 01:57:00 +02:00
Laura Hausmann
4ee4fd53c4
[parsing] Add support for MfmQuoteNode 2024-09-07 01:38:23 +02:00
Laura Hausmann
05f6546f48
[backend/core] Improve emoji detection regex, add unit tests 2024-08-16 20:54:24 +02:00
Laura Hausmann
86a5da5418
[backend/streaming] Switch to WriteLockingHashSet for cached streaming connection data 2024-08-13 17:39:59 +02:00
Laura Hausmann
c07bb35548
[backend/drive] Refactor ImageProcessor into a modular system
This commit lays the groundwork for a user-configurable image processing pipeline. It has exactly the same behavior as the old ImageProcessor, just modular & compartmentalized. It also adds support for AVIF & JXL encoding, though no code paths call it just yet.
2024-08-12 03:21:03 +02:00
Laura Hausmann
d371e6732c
[backend/drive] Significantly improve ImageSharp blurhash performance & memory efficiency 2024-08-06 22:43:04 +02:00
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