Commit graph

127 commits

Author SHA1 Message Date
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
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
e810b00644
[backend/csproj] Add edition to assembly metadata 2024-06-05 15:30:03 +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
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
816e912078
[backend/csproj] Remove trailing whitespace 2024-05-24 22:42:54 +02:00
Laura Hausmann
9eb5710e84
[backend] Add codename to assembly metadata 2024-05-24 22:41:43 +02:00
Laura Hausmann
f6e1274317
[nuget] Update dependencies 2024-05-22 20:44:48 +02:00
Laura Hausmann
db9c4809dd
[backend/drive] Improve object storage migrator (ISH-326)
This commit fixes various bugs related to the object storage migrator.

- Files with a content length of zero bytes can now be migrated
- Deduplicated files now migrate correctly
- The database query no longer skips over files
2024-05-14 21:32:22 +02:00