Commit graph

108 commits

Author SHA1 Message Date
Laura Hausmann
173fbfb835
[backend/asp] Return error responses as HTML/XML/JSON depending on accept header 2024-08-16 01:00:43 +02:00
Laura Hausmann
e379ff3f60
[backend/configuration] Add config validation for the image processing pipeline 2024-08-12 03:21:04 +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
7e4282b386
[backend/drive] Switch to stream processing for remote media
This makes sure that files larger than the configured maximum remote media cache size are not loaded into memory (if the size is known), or are only loaded into memory until the configured maximum size before getting discarded (if the size is not known)
2024-07-28 23:32:04 +02:00
Laura Hausmann
15d955c478
[backend/core] Limit HttpClient buffer size to 1MiB, except DriveService from this policy (until proper limits are in place there) 2024-07-28 22:06:33 +02:00
Laura Hausmann
0f400e8023
[backend/queue] Remove cluster mode (ISH-141)
This is wontfix for now, though we might reevaluate this later.
2024-07-25 00:00:43 +02:00
Laura Hausmann
4a2ee992c2
[backend] Disable code formatting in some regions for better readability 2024-07-04 19:14:26 +02:00
Laura Hausmann
a911c7c7f6
[backend] Code cleanup 2024-07-04 18:59:05 +02:00
Laura Hausmann
52894f79b0
[backend/asp] Update rate limiting rules 2024-07-04 18:58:57 +02:00
Laura Hausmann
374d9d5ebf
[backend/api] Add note refetch endpoint (ISH-352) 2024-07-04 18:57:17 +02:00
Laura Hausmann
3316a391d5
[backend] Refactor SignalR namespace 2024-07-04 18:27:14 +02:00
Laura Hausmann
0a89a228e3
[backend] Refactor Controllers folder 2024-07-04 18:17:50 +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
Kopper
27f6e3790f [backend/api] Add emoji pack importer 2024-07-03 00:57:47 +02:00
Laura Hausmann
df3a7bdfe5
[backend] Apply formatting rules 2024-06-29 01:06:19 +02:00
Laura Hausmann
259a21b273
[backend/database] Fix possible stall / race condition on first startup in EntityFrameworkCoreXmlRepositoryAsync 2024-06-23 00:54:34 +02:00
Laura Hausmann
3e0a5b5759
[backend/configuration] Allow configuring of parameter logging for database exceptions 2024-06-21 16:24:03 +02:00
Laura Hausmann
32d6cb555d
[backend/configuration] Allow configuring of queue job retention 2024-06-21 14:42:00 +02:00
Laura Hausmann
8732f30563
[backend/logging] Display log level in text form in systemd logs 2024-06-16 21:36:38 +02:00
Laura Hausmann
9c369bdf4a
[backend/logging] Detect whether we're running under systemd & configure logging accordingly 2024-06-16 21:12:35 +02:00
Laura Hausmann
3467fe952c
[backend/database] Add support for connection multiplexing 2024-06-10 19:26:21 +02:00
Laura Hausmann
aa21e4b05a
[backend/queue] Make queue concurrency configurable 2024-06-10 18:18:39 +02:00
Laura Hausmann
5771e43dda
[backend/federation] Add configuration option for limiting the number of concurrent federation requests (ISH-338) 2024-06-10 18:18:23 +02:00
Laura Hausmann
55250e59f0
[backend/swagger] Set SwaggerDoc versions correctly (ISH-350) 2024-05-27 15:21:43 +02:00
Laura Hausmann
ed594731de
[backend/asp] Rate-limit by user, then IP address instead of globally 2024-05-03 17:59:05 +02:00
Laura Hausmann
ba15058e5c
[backend/api] Allow CORS from all origins for FallbackController (ISH-301) 2024-05-02 22:42:45 +02:00
Laura Hausmann
a2077244f8
[backend/drive] Make image processor pluggable 2024-05-01 21:44:49 +02:00
Laura Hausmann
f9cc63a179
[backend] Add object storage migrator (ISH-30) 2024-04-23 01:23:34 +02:00
Laura Hausmann
86c0ab02b5
[backend/api] Switch to a shared JsonSerializerOptions object instead of explicitly specifying json property names via attributes 2024-04-22 19:55:00 +02:00
Laura Hausmann
ae7cdf0f49
[backend/swagger] Mark all non-nullable schema properties as required 2024-04-09 00:12:27 +02:00
Laura Hausmann
4ff1b5f4c4
[backend] Implement streaming hub for timelines & notifications (ISH-244) 2024-04-08 20:45:30 +02:00
Laura Hausmann
66675146d9
[backend/signalr] Add authentication & authorization (ISH-244) 2024-04-03 21:46:05 +02:00
Laura Hausmann
6bc2b8d57c
[frontend] Bootstrap shared DTOs, API abstractions, SignalR & more 2024-04-01 20:22:45 +02:00
Laura Hausmann
a4ae25d5f3
[backend/queue] Initial clustering support (ISH-141, ISH-220) 2024-03-26 17:08:43 +01:00
Laura Hausmann
b9582681d4
[backend/core] Improve MetaService (ISH-217) 2024-03-24 14:46:19 +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
c6300d1c96
[backend/core] Replace IDistributedCache with postgres k/v cache (ISH-212) 2024-03-23 19:10:27 +01:00
Laura Hausmann
b7584674c7
[backend/api] Add notifications endpoints (ISH-202) 2024-03-17 13:30:56 +01:00
Laura Hausmann
f499ed338d
[backend/swagger] Fix reference type nullability hints 2024-03-17 12:40:33 +01:00
Laura Hausmann
c0cd136140
[backend/core] Add very basic metadata store (ISH-133) 2024-03-15 19:55:14 +01:00
Laura Hausmann
a623b870cd
[backend/masto-client] Add push notification support (ISH-182) 2024-03-15 19:20:48 +01:00
Laura Hausmann
921f6a19b3
[backend/federation] Separate authorized fetch & inbox validation (ISH-127)
This fixes user creates & sporadic errors resulting from creating users during validation of their deletion
2024-03-13 00:21:51 +01:00
Laura Hausmann
e626d43627
[backend] Code cleanup 2024-03-12 23:16:45 +01:00
Laura Hausmann
104a2c485d
[backend/startup] Validate configuration on startup (ISH-23) 2024-03-12 22:07:48 +01:00
Laura Hausmann
4c9f3dd6d9
[backend/api] Add user profile endpoint (ISH-157) 2024-03-11 04:47:35 +01:00
Laura Hausmann
9de208b49b
[backend/federation] Initial poll support (ISH-62) 2024-03-06 00:55:53 +01:00
Laura Hausmann
f07217b390
[backend/masto-client] Respect SupportsHtmlFormatting setting (ISH-88) 2024-03-01 22:37:59 +01:00
Laura Hausmann
20155c4bc0
[swagger] Generate separate swagger docs for the Iceshrimp.NET web API, Federation/ActivityPub & the Mastodon client API (ISH-87) 2024-02-29 22:40:03 +01:00
Laura Hausmann
46b60c8779
[backend/federation] Update instance metadata in background when activities are delivered / received (ISH-8) 2024-02-26 22:18:27 +01:00