Commit graph

879 commits

Author SHA1 Message Date
Laura Hausmann
c309fb00c9
[backend/plugins] Add PluginStore service 2024-07-13 23:04:55 +02:00
Laura Hausmann
478efdc4c7
[iceshrimp/database] Add plugin store table (ISH-424) 2024-07-13 23:04:55 +02:00
Laura Hausmann
635b5793bf
[backend/plugins] Add backend plugin loader (ISH-382) 2024-07-13 20:27:11 +02:00
Laura Hausmann
030aef6c8d
[backend/core] Improve handling of UniqueConstraintExceptions in UserService.CreateUserAsync 2024-07-13 16:42:22 +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
1d43f2c30b
[backend/api-shared] Add thread mute support (ISH-172) 2024-07-13 01:35:28 +02:00
Laura Hausmann
f42aeee2fd
[backend/api] Add filter endpoints (ISH-339) 2024-07-13 00:36:49 +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
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
91acb8ed9e
[backend/federation] Add edition to nodeinfo response 2024-07-10 18:11:17 +02:00
Laura Hausmann
81974db0f7
[backend/api] Expose new user_settings flags in SettingsController 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
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
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
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
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
aee7b28e3c
[backend/federation] Fix custom emoji in display name & bio not federating correctly 2024-07-03 21:59:14 +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