Commit graph

400 commits

Author SHA1 Message Date
Laura Hausmann
100d74175a
[backend/drive] Switch to ImageSharp fork supporting IsAnimated metadata property
This fixes compatibility with all animated webp/png images.
2024-07-17 21:15:59 +02:00
Laura Hausmann
12cbc40f99
[backend/drive] Add flag that skips image processing; skip image processing for emojis by default 2024-07-17 17:49:43 +02:00
Laura Hausmann
c0835d0cc7
[backend/drive] Correctly process animated PNG images 2024-07-17 17:47:04 +02:00
Laura Hausmann
d602d766fa
[backend/plugins] Migrate from Weikio.PluginFramework to Iceshrimp.AssemblyUtils 2024-07-15 01:02:41 +02:00
Laura Hausmann
1e8f1cb964
[backend/database] Migrate references to Note.ThreadId ?? Note.Id to Note.ThreadIdOrId 2024-07-14 22:06:29 +02:00
Laura Hausmann
5182d1bbbb
[backend/federation] Fixup hashtags in incoming notes (ISH-421) 2024-07-14 21:28:20 +02:00
Laura Hausmann
3cb19f376b
[backend/core] Make ICronTrigger file-scoped 2024-07-13 23:55:42 +02:00
Laura Hausmann
a73587d142
[backend/plugins] Allow plugins to instantiate cron tasks (ISH-422) 2024-07-13 23:28:41 +02:00
Laura Hausmann
c309fb00c9
[backend/plugins] Add PluginStore service 2024-07-13 23:04:55 +02:00
Laura Hausmann
030aef6c8d
[backend/core] Improve handling of UniqueConstraintExceptions in UserService.CreateUserAsync 2024-07-13 16:42:22 +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
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
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
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
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
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
Kopper
ab3f3783e8 [backend/api] Create endpoint to clone remote emoji 2024-07-02 23:00:01 +02:00
Laura Hausmann
df3a7bdfe5
[backend] Apply formatting rules 2024-06-29 01:06:19 +02:00
Laura Hausmann
03f34340cc
[backend/api] Cleanup EmojiService code 2024-06-28 18:46:07 +02:00
pancakes
31c17b333a [backend/api] Delete DriveFile associated with Emoji if possible 2024-06-28 18:42:32 +02:00
pancakes
15ad2e438d [backend/api] Limit DeleteEmoji to local emojis 2024-06-28 18:42:32 +02:00
pancakes
af376ffbe5 [backend/api] Add endpoint for deleting emojis 2024-06-28 18:42:32 +02:00
Laura Hausmann
6743442ce8
[backend/queue] Code cleanup 2024-06-28 18:28:23 +02:00
Laura Hausmann
ca8ce9137d
[backend/queue] Refactor queue job count functions into DatabaseContext 2024-06-28 18:20:59 +02:00
Laura Hausmann
6ba374a681
[backend/queue] Only raise a job queued event for the first matching queue when retrying a job 2024-06-28 18:01:26 +02:00
pancakes
84190fe489 [backend/api] FIx UpdateLocalEmoji and prevent duplicate emoji names 2024-06-23 13:42:33 +02:00
pancakes
51c5ab30cc [backend/api] Refactor UploadEmoji 2024-06-23 13:42:33 +02:00
pancakes
74f094217f [backend/api] Refactor UpdateEmoji 2024-06-23 13:42:33 +02:00
Laura Hausmann
e971a781e6
[backend/queue] Don't reset RetryCount for manually retried jobs 2024-06-23 13:30:31 +02:00
Laura Hausmann
74b2f69b0c
[backend/razor] Add retry job functionality to queue dashboard 2024-06-22 02:17:35 +02:00
Laura Hausmann
f724a55901
[backend/core] Improve logging 2024-06-22 01:17:40 +02:00
Laura Hausmann
07f0223c99
[backend] Code cleanup 2024-06-21 22:06:28 +02:00
Laura Hausmann
2e536bcd47
[backend/core] Refactor GetOrCreateSystemUserAsync 2024-06-21 20:15:36 +02:00
Laura Hausmann
dd3ea49367
[backend/core] Fix edge case in GetOrCreateSystemUserAsync 2024-06-21 20:13:24 +02:00
Laura Hausmann
3599150603
[backend/database] Add Exception column to Job table 2024-06-21 19:18:31 +02:00
Laura Hausmann
8d14b04821
[backend/core] Attach user entity to database change tracker in GetOrCreateSystemUserAsync
This prevents erroneous insert attempts when the data comes from the cache instead of the database.
2024-06-21 17:20:12 +02:00
Laura Hausmann
b23348cde9
[backend/core] Add AsyncKeyedLocker to SystemUserService 2024-06-21 17:01:53 +02:00
Laura Hausmann
596980eb84
[backend/core] Make sure GetOrCreateSystemUserAsync calls username.ToLowerInvariant 2024-06-21 16:04:36 +02:00
Laura Hausmann
a253e83176
[backend/federation] Refactor ActivityRenderer 2024-06-21 14:28:29 +02:00