Commit graph

86 commits

Author SHA1 Message Date
Laura Hausmann
24b412bd75
[sln] Reformat code 2024-11-20 00:48:29 +01:00
Laura Hausmann
7dec2514da
[sln] Apply code style 2024-11-20 00:48:29 +01:00
Laura Hausmann
0ee5ff377e
[backend] Move OutputCacheMiddleware into UseCustomMiddleware to make the order more obvious 2024-11-18 19:20:23 +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
59d14297a3
[backend/startup] Log initialization time during startup 2024-11-18 19:02:43 +01:00
Laura Hausmann
ff59b07035
[backend/federation] Add short-lived cache for non-specific federation requests 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
b6714dbba9
[backend/razor] Switch to MapStaticAssets
This allows for fingerprinted filenames, ETags & enhanced caching.
2024-11-18 19:02:42 +01:00
Laura Hausmann
bf894b3ecd
[backend] Code cleanup 2024-10-21 22:37:37 +02:00
Laura Hausmann
95da1dd59d
[backend/asp] Fix NavigationManager page refreshes using incorrect protocol 2024-10-11 19:44:58 +02:00
Laura Hausmann
3a346d5a22
[backend/razor] Add admin dashboard (Admin-FE)
Currently available sections: instance metadata, user management, federation control, relays, plugins & queue dashboard.
Planned: sections: configuration, logs, policies & reports.
2024-10-11 05:41:52 +02:00
Laura Hausmann
9d1a21e2d9
[backend/razor] Move public preview to Blazor SSR (razor components) 2024-10-02 02:17:51 +02:00
Laura Hausmann
9f2cb34d0e
[backend/razor] Add basic user page public preview, handle user id redirects correctly 2024-09-16 00:53:23 +02:00
Laura Hausmann
0d7532cb08
[backend/startup] Set content root path to assembly directory 2024-09-13 17:15:36 +02:00
Laura Hausmann
92f957a536
[backend/federation] Use content negotiation for host-meta responses 2024-08-14 03:23:25 +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
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
2d178e5a9a
[backend/queue] Allow configuring worker types in cluster mode (ISH-141) 2024-07-24 20:39:45 +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
a73587d142
[backend/plugins] Allow plugins to instantiate cron tasks (ISH-422) 2024-07-13 23:28:41 +02:00
Laura Hausmann
635b5793bf
[backend/plugins] Add backend plugin loader (ISH-382) 2024-07-13 20:27:11 +02:00
Laura Hausmann
68867aee90
[backend/signalr] Remove ExampleHub 2024-07-12 23:50:20 +02:00
Laura Hausmann
f5520c292a
[backend/startup] Fix IIS compatibility 2024-07-10 18:15:54 +02:00
Laura Hausmann
3316a391d5
[backend] Refactor SignalR namespace 2024-07-04 18:27:14 +02:00
Laura Hausmann
2858f66ad4
[backend/federation] Make sure DateTime objects are being converted to Utc when (de)serializing activities 2024-06-26 16:53:21 +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
98ea655d3f
[backend] Fix build 2024-06-16 21:13:16 +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
4adddaec87
[backend/startup] Don't duplicate rate limiting middleware 2024-06-10 16:49:29 +02:00
Laura Hausmann
e1f525a4a3
[backend/asp] Fix api controller fallback action not getting executed (ISH-356)
This fixes a regression introduced in 3d15ed6807.
2024-06-07 19:02:48 +02:00
Laura Hausmann
3d15ed6807
[backend/asp] Add explicit routes for matching local and remote users
This is necessary because MapFallbackToPage doesn't apply to routes containing special characters (dots, @ symbol) by default.
2024-05-29 20:04:22 +02:00
Laura Hausmann
581d13bd65
[backend/asp] Revert: Make fallback page route work properly for filename-like routes
This reverts commit 38279a36af.
2024-05-29 19:29:39 +02:00
Laura Hausmann
38279a36af
[backend/asp] Make fallback page route work properly for filename-like routes 2024-05-29 19:14:05 +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
523dd80ea9
[backend/startup] Only enable UseWebAssemblyDebugging in Debug configuration 2024-04-18 18:56:58 +02:00
Laura Hausmann
66554062f5
[backend/startup] Fix middleware ordering for WASM debugging 2024-04-17 01:20:36 +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
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
5c5e724fd3
[backend/middleware] Make validation errors compliant with (Mastodon)ErrorResponse schemas 2024-04-09 16:30:05 +02:00
Laura Hausmann
1bab1934a8
[backend] Only reference Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation in debug configuration 2024-04-07 22:00:39 +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
e9e45d525d
[frontend] Fixup build 2024-04-01 02:24:00 +02:00
Laura Hausmann
f17aa71038
[frontend] Blazor bootstrap 2024-04-01 01:32:50 +02:00
Laura Hausmann
2e4700b42b
[backend/razor] Basic public preview (ISH-188) 2024-03-28 14:41:02 +01:00
Laura Hausmann
72010f9ee2
[backend/api] Drop /v1/ from /api/iceshrimp routes 2024-03-24 15:26:35 +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
3224186447
[backend/masto-client] Fix query string dictionary handling in FromHybridProvider (ISH-183) 2024-03-13 03:08:18 +01:00