Commit graph

65 commits

Author SHA1 Message Date
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
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
86762dc386
[backend/asp] Make BlazorSsrHandoffMiddleware less hacky 2024-11-18 19:02:43 +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
4186388d4c
[backend/openapi] Add scalar-ui, add OpenAPI overview page 2024-11-18 19:02:42 +01:00
Laura Hausmann
4b01ecddfa
[backend/startup] Reference help shortlinks instead of directing to the wiki 2024-11-05 23:41:20 +01:00
Laura Hausmann
6124eadb53
[backend/drive] Add storage cleanup startup command 2024-10-18 23:18:45 +02:00
Laura Hausmann
9275e3b21a
[backend/drive] Add fixup-media startup command (ISH-520) 2024-10-18 22:43:25 +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
b5ad7649ea
[backend/startup] Remove debug code 2024-10-06 00:07:44 +02:00
Laura Hausmann
d62ac94d5e
[backend/core] Fix migrations that move more than 50 followers failing 2024-10-05 23:46:09 +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
892da3a473
[backend/startup] Exit if started with --migrate and no migrations are pending 2024-09-15 21:35:40 +02:00
Laura Hausmann
67a62fadc9
[backend/drive] Move ImageProcessor.cs into the ImageProcessing subfolder 2024-08-12 03:21:04 +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
1f5171eacc
[backend/startup] Add iceshrimp-js migration assistant 2024-07-20 17:10:33 +02:00
Laura Hausmann
c4d2317897
[openapi] Move specification files to /openapi 2024-07-09 01:12:57 +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
5dbec15876
[backend] Switch to the renamed Iceshrimp.WebPush library 2024-06-11 17:34:47 +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
068b318c19
[backend/startup] Add debug logging for loaded configuration files & allow configuration via environment variables 2024-06-07 20:02:46 +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
b1803ce6bf
[backend/drive] Add purge argument & additional error handling to object storage migrator 2024-05-28 15:35:39 +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
a2077244f8
[backend/drive] Make image processor pluggable 2024-05-01 21:44:49 +02:00
Laura Hausmann
7af0c6f1a7
[backend/drive] Improve VIPS logger 2024-05-01 01:57:01 +02:00
Laura Hausmann
eab5e02b70
[backend/drive] Better error handling & logging 2024-05-01 01:44:52 +02:00
Laura Hausmann
d56eda8464
[backend/drive] Fix ImageSharp memory leak, improve image processing memory footprint, don't generate thumbnails for animated images 2024-04-30 20:40:46 +02:00
Laura Hausmann
f9cc63a179
[backend] Add object storage migrator (ISH-30) 2024-04-23 01:23:34 +02:00
Laura Hausmann
adbee189af
[backend/configuration] Rename StorageSection.Mode to StorageSection.Provider
The old property remains for configuration backwards compatibility only. Trying to access it throws a compile-time error.
2024-04-22 23:26:29 +02:00
Laura Hausmann
fe68c03428
[backend/database] Fail gracefully if initial migration is pending and database is not empty (ISH-265) 2024-04-18 18:51:07 +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
25282f6311
[backend/startup] Add help & printconfig cli arguments 2024-04-15 00:19:25 +02:00
Laura Hausmann
a4ae25d5f3
[backend/queue] Initial clustering support (ISH-141, ISH-220) 2024-03-26 17:08:43 +01:00
Laura Hausmann
c02b2bd34c
[backend/core] Improve handling of explicit service scopes & event logic 2024-03-24 14:13:51 +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
a408fa247a
[backend] Code cleanup 2024-03-17 13:36:08 +01:00
Laura Hausmann
be27893c32
[backend/core] Improve meta store (ISH-133) 2024-03-16 13:19:02 +01:00
Laura Hausmann
c0cd136140
[backend/core] Add very basic metadata store (ISH-133) 2024-03-15 19:55:14 +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
104a2c485d
[backend/startup] Validate configuration on startup (ISH-23) 2024-03-12 22:07:48 +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
a719fc722e
[backend/core] Add instance counters (ISH-107) 2024-02-29 19:25:00 +01:00
Laura Hausmann
9cd99eb244
[backend/startup] Add --recompute-counters argument 2024-02-22 01:44:32 +01:00
Laura Hausmann
d4e1d92771
[backend] Code cleanup: switch to BSD braces style, tweak code style 2024-02-17 02:31:00 +01:00
Laura Hausmann
81e9c7e635
[backend/startup] Support unix sockets on FreeBSD 2024-02-16 05:02:00 +01:00
Laura Hausmann
31807c654d
[backend/startup] Throw exception if SetKestrelUnixSocketPermissions is called on a non-UNIX system 2024-02-16 05:00:12 +01:00
Laura Hausmann
b0b8bfca79
[backend/startup] Set kestrel unix socket permissions to 660 2024-02-16 04:26:56 +01:00