Commit graph

1210 commits

Author SHA1 Message Date
Laura Hausmann
030aef6c8d
[backend/core] Improve handling of UniqueConstraintExceptions in UserService.CreateUserAsync 2024-07-13 16:42:22 +02:00
Laura Hausmann
9233e43b81
[backend/api-shared] Don't dispose DbContext prematurely in streaming connection handlers 2024-07-13 15:59:35 +02:00
Laura Hausmann
248543528b
[backend/api] Mark entire note as sensitive when any attachments are marked as such 2024-07-13 01:47:53 +02:00
Laura Hausmann
1dc942c78c
[backend/api] Fix typo 2024-07-13 01:35:45 +02:00
Laura Hausmann
1d43f2c30b
[backend/api-shared] Add thread mute support (ISH-172) 2024-07-13 01:35:28 +02:00
Laura Hausmann
bc26e39812
[backend/configuration] Update default configuration 2024-07-13 01:02:36 +02:00
Laura Hausmann
f42aeee2fd
[backend/api] Add filter endpoints (ISH-339) 2024-07-13 00:36:49 +02:00
Laura Hausmann
e4b0f32097
[backend/api] Extract authorize & authenticate attributes to TimelineController 2024-07-13 00:20:47 +02:00
Laura Hausmann
68867aee90
[backend/signalr] Remove ExampleHub 2024-07-12 23:50:20 +02:00
Laura Hausmann
7a67b8a472
[backend/database] Add missing index on User.IsSuspended 2024-07-12 21:10:18 +02:00
Laura Hausmann
b7646f4d6c
[backend/database] Resync constraint/index differences between native .net databases and ones migrated from -js 2024-07-12 21:02:55 +02:00
Laura Hausmann
8cc4a4afc2
[backend/core] Refactor EventHelpers 2024-07-12 18:33:07 +02:00
Laura Hausmann
b504bf2548
[backend/masto-client] Support client_credentials grant type (ISH-416) 2024-07-12 18:18:09 +02:00
Laura Hausmann
9c8debb5ed
[backend/masto-client] Improve error message when requesting an oauth token with a grant_type other than authorization_code 2024-07-12 17:48:54 +02:00
Laura Hausmann
0cd754f4c2
[backend/database] Remove extraneous user table columns 2024-07-11 23:37:55 +02:00
Laura Hausmann
3ac63e1510
[backend/federation] Respect UserSettings.AlwaysMarkSensitive 2024-07-11 23:24:48 +02:00
Laura Hausmann
8f508d0c72
[backend/federation] Respect UserSettings.AutoAcceptFollowed 2024-07-11 23:19:04 +02:00
Laura Hausmann
49f5828a59
[backend] Code cleanup 2024-07-11 17:46:39 +02:00
Laura Hausmann
c67984c411
[backend] Manually reformat difficult-to-read switch expressions that got hard wrapped 2024-07-11 17:46:34 +02:00
Laura Hausmann
d5ce61d901
[backend/core] Update user record with updated lastFetchedAt property in UserResolver.GetUpdatedUser 2024-07-11 02:46:53 +02:00
Laura Hausmann
0f97845b88
[backend/federation] Fix HttpSignature validation on systems using CRLF line endings 2024-07-10 20:16:36 +02:00
Laura Hausmann
88bef87ef5
[backend] Improve client error logging in DeliverQueue 2024-07-10 20:11:39 +02:00
Laura Hausmann
f5520c292a
[backend/startup] Fix IIS compatibility 2024-07-10 18:15:54 +02:00
Laura Hausmann
91acb8ed9e
[backend/federation] Add edition to nodeinfo response 2024-07-10 18:11:17 +02:00
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