Commit graph

112 commits

Author SHA1 Message Date
Laura Hausmann
23355f985b
wip: otlp 2024-07-26 23:35:53 +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
Laura Hausmann
a2077244f8
[backend/drive] Make image processor pluggable 2024-05-01 21:44:49 +02:00
Laura Hausmann
e1d8be1145
[backend/masbuild] Split native deps conditionals by os/arch 2024-05-01 02:59:12 +02:00
Laura Hausmann
ad9384193a
[backend] Reference architecture-specific libvips dependencies explicitly 2024-05-01 02:37:30 +02:00
Laura Hausmann
facc7eb337
[backend/drive] Use libvips instead of imagesharp for most of the image processing pipeline 2024-05-01 01:21:08 +02:00
Laura Hausmann
f1a1716f16
[backend] Enable DATAS for reduced memory footprint 2024-04-29 02:42:19 +02:00
Laura Hausmann
953b317738
[backend/drive] Switch to Iceshrimp.ObjectStorage 2024-04-22 21:10:51 +02:00
Laura Hausmann
156735f40b
[backend/federation] Refactor LdHelpers, move contexts to non-nested directory, load contexts relative to assembly location instead of working directory 2024-04-19 23:44:01 +02:00
Laura Hausmann
cb535febb8
[backend] Exclude prune-designer-cs-files.sh from build 2024-04-19 20:30:36 +02:00
Laura Hausmann
dca09cef56
[sln] Set DebugType to embedded in Release configuration 2024-04-17 00:53:59 +02:00
Laura Hausmann
3f1fb87aab
[sln] Remove reference to removed file 2024-04-16 23:15:36 +02:00
Laura Hausmann
8fcb9a668d
[backend/msbuild] Fix KeepOnlyBrotliCompressedStaticAssets target for publish with alternate output directory 2024-04-16 22:54:09 +02:00
Laura Hausmann
5564f29b8b
[backend/middleware] Dynamically decompress brotli assets instead of storing uncompressed ones (ISH-264) 2024-04-16 22:20:29 +02:00
Laura Hausmann
47d4100ec9
[nuget] Update dependencies 2024-04-16 16:21:34 +02:00
Laura Hausmann
10561ffdc5
[sln] Refactor project files 2024-04-15 00:19:41 +02:00
Laura Hausmann
a10d7bf330
[nuget] Update framework dependencies to 8.0.4 2024-04-13 01:32:55 +02:00