Commit graph

2280 commits

Author SHA1 Message Date
Laura Hausmann
3119c08a11
[backend/razor] Use new favicon 2024-11-19 23:05:17 +01:00
Lilian
ef753be067
[frontend] Code cleanup 2024-11-19 23:05:16 +01:00
Lilian
a5f8583d1f
[backend/web] Directly return VersionResponse 2024-11-19 23:05:16 +01:00
Lilian
dc12aa0915
[frontend/components] Allow opening notes in profile view 2024-11-19 23:05:16 +01:00
Lilian
9d3d8bf64b
[frontend/components] Adjust fetch priority for attachments 2024-11-19 23:05:16 +01:00
Lilian
1e680bd382
[frontend/components] Fix error handling when checking for updates. 2024-11-19 23:05:16 +01:00
Lilian
6a6961baa1
[frontend/components] Change banner notification location 2024-11-19 23:05:16 +01:00
Lilian
9a3a79ed2c
[frontend/components] Check for updates when opening about page 2024-11-19 23:05:16 +01:00
Lilian
bd6972a0c3
[frontend] Set theme-color meta tag to --background-color 2024-11-19 23:05:16 +01:00
Lilian
1a39b2856a
[frontend] Make nav-bar respect safe-area-inset 2024-11-19 23:05:15 +01:00
Lilian
1da774b8f2
[frontend] Add update checking and banner notifications 2024-11-19 23:05:15 +01:00
Lilian
aac01b6abf
[backend/web] Add controller for Webmanifest 2024-11-19 23:05:15 +01:00
Lilian
88bf04a54c
[frontend/core] Add version controller model 2024-11-19 23:05:15 +01:00
Lilian
aa72e52124
[backend/web] Add version endpoint 2024-11-19 23:05:15 +01:00
Lilian
8b9019b76e
[frontend] Initial PWA enablement 2024-11-19 23:05:15 +01:00
Laura Hausmann
55f7b48d80
[backend/asp] Fix BlazorSsrHandoffMiddleware not getting triggered 2024-11-19 20:06:06 +01:00
Jeder
1cccdcb832 [frontend/components] Refactor notifications 2024-11-19 20:00:19 +01:00
Laura Hausmann
579f8c233a
[backend/core] Code cleanup 2024-11-19 19:38:31 +01:00
Laura Hausmann
7eb220b43d
[sln] Update dependencies 2024-11-19 19:12:28 +01:00
Laura Hausmann
6240dc8e30
[build] Always use -O3 for WASM AOT builds 2024-11-19 04:35:16 +01:00
Laura Hausmann
e128182934
[build] Fix typo 2024-11-19 04:22:42 +01:00
Laura Hausmann
77bc189bbc
[build] Fix typo 2024-11-19 04:21:12 +01:00
Laura Hausmann
4f7b75b5c2
[build] Use correct defaults for WasmOptLevel 2024-11-19 04:14:06 +01:00
Laura Hausmann
3dd85deb0d
[build] Fix static assets not being mapped correctly 2024-11-19 04:06:51 +01:00
Laura Hausmann
764e1a01ec
[build] Build release builds with WasmOptLevel 3 and native wasm linking 2024-11-19 03:53:59 +01:00
Laura Hausmann
9ba4390a87
[backend/csproj] Don't copy build files to output directory 2024-11-19 03:24:32 +01:00
Laura Hausmann
eba2ce0119
[sln] Add solution folders 2024-11-19 03:14:24 +01:00
Laura Hausmann
ee9279bb5f
[build] Disable gzip compression during build 2024-11-19 03:14:13 +01:00
Laura Hausmann
1511692b1e
[docker] Add workaround for wasm-opt stack size issue 2024-11-18 22:49:32 +01:00
Laura Hausmann
8d469b07df
[docker] Add python3 to iceshrimp/dotnet-sdk:9.0-alpine-wasm
This partially fixes AOT docker builds (it doesn't fix the emcc segfault, though)
2024-11-18 19:43:19 +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
b4ebe00cdb
[docker] Copy build task files before building 2024-11-18 19:15:14 +01:00
Laura Hausmann
c3cfbbcbee
[docker] Add missing dependency reference 2024-11-18 19:13:52 +01:00
Laura Hausmann
8926081d11
[docker] Update dockerfile 2024-11-18 19:11:43 +01:00
Laura Hausmann
dd7b7634c6
[backend/core] Convert scoped services with request-specific properties to singletons by utilizing AsyncLocal<T> 2024-11-18 19:02:44 +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
70c692e1cb
[backend/razor] Add error code to ErrorPage title 2024-11-18 19:02:43 +01:00
Laura Hausmann
4af69a6afa
[backend/asp] Add ExceptionVerbosity level Debug 2024-11-18 19:02:43 +01:00
Laura Hausmann
f252c1a85e
[backend] Code cleanup 2024-11-18 19:02:43 +01:00
Laura Hausmann
86762dc386
[backend/asp] Make BlazorSsrHandoffMiddleware less hacky 2024-11-18 19:02:43 +01:00
Laura Hausmann
3b8a4b89a9
[backend/openapi] Replace ConsumesHybrid condition with FromHybrid 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
84b8553a40
[backend/database] Switch to in-model entity configuration 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
1200bcbba5
[make] Compile database model in release builds
Ideally we'd want to do this during publish, however due to upstream issues with the MSBuild task, this will suffice for now.

Reduces startup time by ~500ms.
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
762278426f
[backend/csproj] Update in-house dependencies to net90 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
6b4e372973
[backend/razor] Strip all non-brotli-compressed static assets, not just blazor framework ones 2024-11-18 19:02:42 +01:00