Commit graph

1186 commits

Author SHA1 Message Date
Laura Hausmann
c87e084069
[backend/csproj] Bump System.Text.Json version
This addresses https://github.com/advisories/GHSA-hh2w-p6rv-4g7w
2024-07-10 15:55:33 +02:00
Laura Hausmann
81974db0f7
[backend/api] Expose new user_settings flags in SettingsController 2024-07-10 02:55:57 +02:00
Laura Hausmann
33dd7172b6
[backend/api] Add user profile endpoints (ISH-348) 2024-07-10 02:55:57 +02:00
Laura Hausmann
769a94d83c
[backend/asp] Improve validation error handling 2024-07-10 02:55:57 +02:00
Laura Hausmann
09cda1a89e
[backend/database] Move user_profile columns that only concern local users to user_settings
This commit also removes a bunch of obsolete user_profile columns.
2024-07-10 02:55:57 +02:00
Laura Hausmann
10cc6232f3
[backend/database] Fix heuristic query causing EF Core warnings 2024-07-10 00:50:49 +02:00
Laura Hausmann
0668c6b360
[backend/drive] Improve media filename handling
This commit adds support for remote Content-Disposition headers giving information on attachment filenames, as well as providing this information when serving locally stored files. It also passes on any filename metadata to the object storage provider, if configured as the storage backend.
2024-07-09 23:44:34 +02:00
Laura Hausmann
60a28c314c
[backend/asp] Fix link header pagination 2024-07-09 22:30:57 +02:00
Laura Hausmann
91b5021e4c
[shared] Refactor assembly version info
Because our frontend assembly now also knows its version, we no longer have to rely on meta tags to pass the version on to the frontend.

Since the HTML skeleton no longer includes version information, the nodeinfo response has been amended with the now-absent properties.
2024-07-09 21:50:06 +02:00
Laura Hausmann
b626ecd5f3
[sln] Extract common build properties into Directory.Build.props 2024-07-09 21:48:15 +02:00
Laura Hausmann
557280fce3
[backend/core] Refactor TaskExtensions.QueueMany for improved performance 2024-07-09 20:50:08 +02:00
Laura Hausmann
091e7ba14d
[backend] Refactor Task.ContinueWith(p => p.Result) calls to Task.ContinueWithResult 2024-07-09 16:21:22 +02:00
Laura Hausmann
d50e821ce0
[backend/csproj] Remove extraneous Include directive 2024-07-09 15:19:05 +02:00
Laura Hausmann
ae7fa0021c
[backend] Convert configuration and preloaded contexts into embedded resources 2024-07-09 15:13:43 +02:00
Laura Hausmann
c4d2317897
[openapi] Move specification files to /openapi 2024-07-09 01:12:57 +02:00
Laura Hausmann
0776a50cbe
[backend/asp] Refactor controllers
This commit aims to improve readability of MVC controllers & actions. The main change is the switch to custom [ProducesResults] and [ProducesErrors] attributes.
2024-07-06 17:12:22 +02:00
pancakes
998c585897
[backend/api] Clean up EmojiController, EmojiImportService, and EmojiService 2024-07-06 00:15:15 +10:00
pancakes
41fd8145a3
[backend/api] Set cloned emoji URI and return EmojiResponse instead of DB Emoji 2024-07-05 16:38:41 +10:00
Laura Hausmann
9b772066a7
[backend/api] Load in missing relations in FollowRequestController 2024-07-05 04:22:57 +02:00
Laura Hausmann
ba1a695d53
[backend/api] Refactor FollowRequestResponse 2024-07-05 04:16:19 +02:00
Laura Hausmann
226a95d0ed
[backend/api] Add follow request endpoints (ISH-395) 2024-07-05 04:09:25 +02:00
Laura Hausmann
0b90e27138
[backend/razor] Import ph-fill icon variant 2024-07-04 21:18:24 +02:00
Laura Hausmann
c471070162
[backend/razor] Add feature flags toggles to /oauth/authorize 2024-07-04 21:07:54 +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
Laura Hausmann
6ba71b0511
[backend/core] Improve logging in SystemUserService 2024-07-04 01:30:51 +02:00
Laura Hausmann
4684425e87
[backend/core] Fix sporadic GetOrCreateSystemUserAndKeypairAsync failures when another instances' instance.actor is contained in the change tracker 2024-07-04 01:23:56 +02:00
Laura Hausmann
17b446bfa0
[backend/core] Make sure emoji regex is anchored 2024-07-04 01:16:52 +02:00
Laura Hausmann
9c7c5595f3
[backend/masto-client] Fix quote/renote indicators sometimes being rendered incorrectly 2024-07-04 00:38:46 +02:00
Laura Hausmann
566ae8adfd
[backend/masto-client] Render quotes & quote/reply inaccessible indicators for notes with no text 2024-07-04 00:18:18 +02:00
Laura Hausmann
d7f39ecdae
[backend/api] Allow resolving local users by their fqn (ISH-403) 2024-07-03 22:14:53 +02:00
Laura Hausmann
aee7b28e3c
[backend/federation] Fix custom emoji in display name & bio not federating correctly 2024-07-03 21:59:14 +02:00
Laura Hausmann
e30dbc5753
[backend/api] Fix emoji delete endpoint having emoji twice in the route 2024-07-03 18:35:00 +02:00
Laura Hausmann
438e785c96
Release: v2024.1-beta2 2024-07-03 01:33:32 +02:00
Laura Hausmann
97f0b14087
[backend] Code cleanup 2024-07-03 01:06:16 +02:00
Kopper
27f6e3790f [backend/api] Add emoji pack importer 2024-07-03 00:57:47 +02:00
Laura Hausmann
70f822ab3d
[backend/core] Don't try to delete remote files from local/object storage 2024-07-02 23:34:16 +02:00
Laura Hausmann
de8bf3c632
[backend/core] Improve logging in MediaCleanupTask 2024-07-02 23:34:16 +02:00
Kopper
ab3f3783e8 [backend/api] Create endpoint to clone remote emoji 2024-07-02 23:00:01 +02:00
Laura Hausmann
d2e7753dd1
[backend/masto-client] Add FollowRequestCount to AccountSource 2024-07-02 22:43:36 +02:00
Lilian
ab2d02cfd3
[backend/api] Add Note delete endpoint (ISH-394)
Co-authored-by: Lilian <lilian@blahaj.space>
Co-committed-by: Lilian <lilian@blahaj.space>
2024-07-01 22:35:46 +02:00
Laura Hausmann
3d4cacb6d6
[backend/core] Make MediaCleanupTask print a log message on success 2024-07-01 00:43:13 +02:00
Laura Hausmann
6379a09c12
[backend/configuration] Make user-agent standards compliant 2024-07-01 00:42:56 +02:00
Laura Hausmann
8a5fc3d096
[backend/api] Add missing EmojiController AuthorizeAttribute 2024-06-29 13:47:13 +02:00