Commit graph

45 commits

Author SHA1 Message Date
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
Laura Hausmann
f6847e9a3e
[backend/database] Increase migrations command timeout 2024-02-13 23:13:38 +01:00
Laura Hausmann
66c6f5be6f
[backend/services] Add object storage service (ISH-10) 2024-02-09 17:28:02 +01:00
Laura Hausmann
23e7630ca6
[backend/startup] Exit with error if database has pending migrations 2024-02-08 01:26:33 +01:00
Laura Hausmann
46820efbea
[swagger] Fix regressions 2024-02-08 00:11:54 +01:00
Laura Hausmann
94820c2b71
[backend] Add request duration header for non-timing-sensitive (cryptography-related) endpoints 2024-02-06 02:42:35 +01:00
Laura Hausmann
e31a0719f4
[backend] Replace mastodon-specific middleware with modes triggered on MastodonApiControllerAttribute 2024-02-05 21:08:20 +01:00
Laura Hausmann
4620758701
[backend] Add disclaimer when running in Development environment 2024-02-03 23:14:52 +01:00
Laura Hausmann
b72a22b9b0
[backend] Reject requests if Host header doesn't match configured WebDomain or AccountDomain 2024-02-03 22:57:35 +01:00
Laura Hausmann
f5c2ed46c8
Add Mastodon OAuth implementation 2024-01-30 21:49:50 +01:00
Laura Hausmann
c961111d55
Add authorization options to swagger-ui 2024-01-28 03:33:20 +01:00
Laura Hausmann
64a70e688c
Split authentication and authorization 2024-01-28 00:42:22 +01:00
Laura Hausmann
e755f9f96f
Add basic authentication system 2024-01-28 00:31:54 +01:00
Laura Hausmann
6de8ea12e6
Add redis cache 2024-01-27 22:38:06 +01:00
Laura Hausmann
f15fd9cc79
Implement exception handler 2024-01-24 04:11:56 +01:00
Laura Hausmann
7524c5acc7
Add authorized fetch middleware 2024-01-24 03:03:20 +01:00
Renamed from Iceshrimp.Backend/Core/Helpers/WebApplicationExtensions.cs (Browse further)