Commit graph

138 commits

Author SHA1 Message Date
Laura Hausmann
3119c08a11
[backend/razor] Use new favicon 2024-11-19 23:05:17 +01:00
Laura Hausmann
7eb220b43d
[sln] Update dependencies 2024-11-19 19:12:28 +01:00
Laura Hausmann
9ba4390a87
[backend/csproj] Don't copy build files to output directory 2024-11-19 03:24:32 +01:00
Laura Hausmann
ee9279bb5f
[build] Disable gzip compression during build 2024-11-19 03:14:13 +01:00
Laura Hausmann
4356a47b9d
[backend/asp] Make services runtime-discoverable 2024-11-18 19:02:44 +01:00
Laura Hausmann
705e061f74
[backend/asp] Refactor middleware stack
This commit splits the request pipeline conditionally instead of invoking every middleware in the stack.

It also simplifies middleware instantiation by using runtime discovery, allowing for Plugins to add Middleware.
2024-11-18 19:02:44 +01:00
Laura Hausmann
2c0e0d0922
[backend/openapi] Don't regenerate OpenAPI schemas files on every request 2024-11-18 19:02:43 +01:00
Laura Hausmann
762278426f
[backend/csproj] Update in-house dependencies to net90 2024-11-18 19:02:42 +01:00
Laura Hausmann
1e5c033fb1
[backend/razor] Add transparent decompression hook to MapStaticAssets, replacing the old BlazorFrameworkFiles hook 2024-11-18 19:02:42 +01:00
Laura Hausmann
6b4e372973
[backend/razor] Strip all non-brotli-compressed static assets, not just blazor framework ones 2024-11-18 19:02:42 +01:00
Laura Hausmann
4186388d4c
[backend/openapi] Add scalar-ui, add OpenAPI overview page 2024-11-18 19:02:42 +01:00
Laura Hausmann
e3bce3bc0e
[sln] Update dependencies to their latest non-preview versions (where available) 2024-11-18 19:02:41 +01:00
Laura Hausmann
c0eec686ca
[backend/csproj] Drop DATAS opt-in (enabled by default in .NET 9) 2024-11-18 19:02:41 +01:00
Laura Hausmann
d2b5cfdadc
[sln] Bump MessagePack dependency version 2024-10-19 00:04:53 +02:00
Laura Hausmann
b18d24fa57
[backend] Update dependencies 2024-10-18 19:50:02 +02:00
Laura Hausmann
afd263839e
[backend] Bump dotNetRdf version to 3.3.1-iceshrimp 2024-10-17 20:03:16 +02:00
Laura Hausmann
f98d9ce711
[sln] Bump dependencies 2024-10-09 05:57:22 +02:00
Kopper
8c1a635027
[backend/federation] Refactor collection iteration
Collection iteration is extracted into a seprate IAsyncEnumerable from
the currently only place where it happens. This is in preparation for
handling paginated collections.
2024-09-15 01:47:40 +02:00
Laura Hausmann
2e42a3ba10
[sln] Prevent unnecessary frontend rebuilds during CI runs
Technically we could've overridden this to false in the parsing and shared projects for the same effect, but it's imo more sensible to opt in to it in the one project where we actually want rebuilds when the architecture changes.
2024-09-13 04:55:46 +02:00
Laura Hausmann
a22e857ed7
[sln] Update dependency versions 2024-09-06 17:01:43 +02:00
Laura Hausmann
4f332391bc
[sln] Update dependency versions 2024-08-19 02:28:36 +02:00
Laura Hausmann
2a389c0d59
[backend/csproj] Update dotNetRdf version
This dependency fixes a bug that prevents loading of remote LD contexts with application/json content type and no Link header.
2024-08-17 01:47:24 +02:00
Laura Hausmann
aac4be5893
[backend/drive] Add MIME detection capabilities to LibVips 2024-08-12 03:21:03 +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
f1b39981c6
[backend/csproj] Bump dotNetRdf version
This resolves a possible DoS attack vector
2024-07-28 20:54:44 +02:00
Laura Hausmann
ff38d35996
[sln] Bump dependency versions 2024-07-23 21:39:53 +02:00
Laura Hausmann
ccdfb75e6d
[backend/csproj] Bump ImageSharp version
3.1.5-iceshrimp (based on upstream 3.1.4) is vulnerable to a DoS attack using specially crafted GIF images. Ref: https://github.com/advisories/GHSA-63p8-c4ww-9cg7
2024-07-23 21:13:16 +02:00
Laura Hausmann
c162f5b69d
[backend/csproj] Bump dotNetRdf version 2024-07-17 22:28:57 +02:00
Laura Hausmann
100d74175a
[backend/drive] Switch to ImageSharp fork supporting IsAnimated metadata property
This fixes compatibility with all animated webp/png images.
2024-07-17 21:15:59 +02:00
Laura Hausmann
a4177a2697
[backend/asp] Remove RazorRuntimeCompilation dependency, since it doesn't support css isolation correctly 2024-07-16 20:31:48 +02:00
Laura Hausmann
d0be98911c
[sln] Apply consistent xml styling in csproj/fsproj files 2024-07-15 20:19:30 +02:00
Laura Hausmann
24d684e498
[sln] Patch vulnerable dependencies 2024-07-15 19:51:31 +02:00
Laura Hausmann
c5d15a6c9a
[sln] Update dependencies 2024-07-15 19:03:48 +02:00
Laura Hausmann
d602d766fa
[backend/plugins] Migrate from Weikio.PluginFramework to Iceshrimp.AssemblyUtils 2024-07-15 01:02:41 +02:00
Laura Hausmann
635b5793bf
[backend/plugins] Add backend plugin loader (ISH-382) 2024-07-13 20:27:11 +02:00
Laura Hausmann
c87e084069
[backend/csproj] Bump System.Text.Json version
This addresses https://github.com/advisories/GHSA-hh2w-p6rv-4g7w
2024-07-10 15:55:33 +02:00
Laura Hausmann
0668c6b360
[backend/drive] Improve media filename handling
This commit adds support for remote Content-Disposition headers giving information on attachment filenames, as well as providing this information when serving locally stored files. It also passes on any filename metadata to the object storage provider, if configured as the storage backend.
2024-07-09 23:44:34 +02:00
Laura Hausmann
b626ecd5f3
[sln] Extract common build properties into Directory.Build.props 2024-07-09 21:48:15 +02:00
Laura Hausmann
d50e821ce0
[backend/csproj] Remove extraneous Include directive 2024-07-09 15:19:05 +02:00
Laura Hausmann
ae7fa0021c
[backend] Convert configuration and preloaded contexts into embedded resources 2024-07-09 15:13:43 +02:00
Laura Hausmann
0a89a228e3
[backend] Refactor Controllers folder 2024-07-04 18:17:50 +02:00
Laura Hausmann
438e785c96
Release: v2024.1-beta2 2024-07-03 01:33:32 +02:00
Laura Hausmann
0e6caa6a4c
Release: v2024.1-beta1 2024-06-29 01:23:04 +02:00
Laura Hausmann
df3a7bdfe5
[backend] Apply formatting rules 2024-06-29 01:06:19 +02:00
Laura Hausmann
4f23e31ab7
[backend/csproj] Bump Iceshrimp.ObjectStorage.S3 version 2024-06-20 21:02:03 +02:00
Laura Hausmann
aed143cc59
[backend/csproj] Depend on in-house builds of NetVips.Native
This bypasses https://github.com/kleisauke/net-vips/issues/233 and allows us to not need separate msbuild options per architecture, greatly simplifying build options.
2024-06-19 16:52:48 +02:00
Laura Hausmann
e4fda75cc9
[backend/logging] Revert "Check for TTY instead of console redirection to determine whether to output color"
This reverts commit 80840e4dd6.
2024-06-16 20:12:47 +02:00
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