Commit graph

479 commits

Author SHA1 Message Date
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
Laura Hausmann
19c9b7bf90
[backend/database] Add StackTrace column to Job table 2024-06-21 14:05:34 +02:00
Laura Hausmann
7f14c3df81
[backend/core] Improve handling of voter counts in PollService (ISH-377) 2024-06-20 20:01:08 +02:00
Laura Hausmann
24bde5ad29
[backend] Use User.IsLocalUser / .IsRemoteUser instead of null-checks where applicable (ISH-370) 2024-06-17 17:25:29 +02:00
Laura Hausmann
fc7a1fe95c
[backend/federation] Make sure new follow & unfollow activities have a consistent identifier (ISH-367) 2024-06-17 17:16:27 +02:00
Laura Hausmann
95592df2ca
[backend/core] Don't create reply notifications on note update
This prevents erroneous duplicate notifications from being created.
2024-06-16 23:36:39 +02:00
Laura Hausmann
47ab95cc1b
[backend/queue] Remove trace logging 2024-06-16 21:56:56 +02:00
Laura Hausmann
8ebef17938
[backend/queue] Fix race condition that could cause temporary queue stalls (until a new job gets queued) 2024-06-16 19:06:53 +02:00
Laura Hausmann
571ef8f027
[backend/queue] Improve logging 2024-06-16 18:55:54 +02:00
Laura Hausmann
07fd0260a8
[backend/queue] Add healthchecks that regularly check for stalled jobs (ISH-361) 2024-06-16 18:07:25 +02:00
Laura Hausmann
7ed39d0c47
[backend/queue] Fix AsyncAutoResetEvent handling, fix stalled queue workers causing no new workers to be spawned 2024-06-16 17:23:28 +02:00
Laura Hausmann
946eed1b03
[backend/federation] Fix remote poll voter counts (ISH-363) 2024-06-15 17:21:43 +02:00
Laura Hausmann
9f3bbe6c08
[backend/drive] Fix handling of failed files in object storage migrator
This fixes an edge case that could cause it to enter an infinite loop.
2024-06-15 01:19:37 +02:00
Laura Hausmann
a703b63876
[backend/core] Ignore poll options consisting only of whitespace
This fixes compatibility with certain mastodon clients that send an extra empty-string poll option.
2024-06-14 20:04:38 +02:00
Laura Hausmann
ed38dc3788
[backend/database] Fix poll votersCount query for PostgreSQL versions prior to 16 2024-06-14 18:59:36 +02:00
Laura Hausmann
c4190781e3
[backend/core] Generate reply notifications for notes that aren't of specified visibility 2024-06-13 22:54:02 +02:00
Laura Hausmann
35148d7796
[backend/queue] Add queue processor timeout
For now this is hardcoded per queue, but this will be configurable down the line.
2024-06-13 22:41:41 +02:00
Laura Hausmann
5dbec15876
[backend] Switch to the renamed Iceshrimp.WebPush library 2024-06-11 17:34:47 +02:00
Laura Hausmann
dc8511632b
[backend/core] Replace sync DB call with async equivalent 2024-06-10 19:42:06 +02:00
Laura Hausmann
aa21e4b05a
[backend/queue] Make queue concurrency configurable 2024-06-10 18:18:39 +02:00
Laura Hausmann
317395b36b
[backend/core] Don't deliver poll ended notifications to remote users 2024-06-06 21:25:42 +02:00
Laura Hausmann
066cb7dc19
[backend/core] Send poll ended notification to poll creator even if they didn't vote in the poll 2024-06-06 21:18:32 +02:00