Laura Hausmann
bef7dd9855
[backend/core] Fix user purge failures (ISH-525)
2024-10-11 19:54:04 +02:00
Laura Hausmann
5f5a0c5c0f
[backend/api] Add moderation endpoints (ISH-116)
2024-10-09 19:11:54 +02:00
Laura Hausmann
99ea086731
[backend/federation] Only forward activities to relays that are addressed to the public audience
2024-09-28 04:21:31 +02:00
Laura Hausmann
df26db0585
[backend/federation] Add relay support (ISH-266)
2024-09-28 00:32:43 +02:00
Laura Hausmann
36f277e0d3
[backend/queue] Improve inbox queue retry mechanism (ISH-503)
...
This retries jobs for a cumulative maximum of 24 hours.
2024-09-26 20:43:45 +02:00
Laura Hausmann
9f39895142
[backend/queue] Improve inbox queue logging
2024-09-26 20:12:40 +02:00
Laura Hausmann
1c2079e1ee
[backend] Rework GracefulException throws without additional detail
2024-09-24 00:45:18 +02:00
Laura Hausmann
d1721d71c2
[backend/federation] Retry inbox jobs with exponential backoff (ISH-499)
...
This should cover most transient failures. If one is missing, we can add it later.
2024-09-24 00:36:18 +02:00
Kopper
48784690c1
[backend/federation] Do not queue backfill jobs that have reached their recursion limit
2024-09-18 18:27:14 +02:00
Laura Hausmann
9481e1d7fb
[backend/federation] Fix instances returning non-HTTP errors not getting marked as unresponsive
...
This fixes e.g. DNS errors from occurring perpetually when trying to federate with dead instances.
2024-09-15 16:49:21 +02:00
Kopper
d6a8282a18
[backend/federation] Try using the original collection object when possible
2024-09-15 01:49:42 +02:00
Kopper
024de937d0
[backend/federation] Backfill replies
2024-09-15 01:47:41 +02:00
Laura Hausmann
9af06c58a9
[backend] Code cleanup
2024-08-18 21:06:54 +02:00
Laura Hausmann
dea43be619
[backend/core] Remove userPrivateKey cache in deliver queue
...
There's no performance difference between fetching just the private key from the user_keypair table and the previous caching implementation, so there's no point in keeping it in the cache.
2024-08-18 21:06:33 +02:00
Laura Hausmann
c07bb35548
[backend/drive] Refactor ImageProcessor into a modular system
...
This commit lays the groundwork for a user-configurable image processing pipeline. It has exactly the same behavior as the old ImageProcessor, just modular & compartmentalized. It also adds support for AVIF & JXL encoding, though no code paths call it just yet.
2024-08-12 03:21:03 +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
88bef87ef5
[backend] Improve client error logging in DeliverQueue
2024-07-10 20:11:39 +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
df3a7bdfe5
[backend] Apply formatting rules
2024-06-29 01:06:19 +02:00
Laura Hausmann
d6c3fb028f
[backend/queue] Fix sporadic background task queue errors
2024-06-28 18:54:29 +02:00
Laura Hausmann
583e954106
[backend/federation] Don't mark client error deliver jobs as successful
2024-06-23 14:45:04 +02:00
Laura Hausmann
d5a5a3d464
[backend/federation] Don't retry deliver jobs that returned a client error (except for HTTP 429)
2024-06-23 14:38:45 +02:00
Laura Hausmann
3599150603
[backend/database] Add Exception column to Job table
2024-06-21 19:18:31 +02:00
Laura Hausmann
19c9b7bf90
[backend/database] Add StackTrace column to Job table
2024-06-21 14:05:34 +02:00
Laura Hausmann
eb167cf482
[backend/federation] Check for Instance.IsSuspended in PreDeliverQueue for ASFollow activities
...
We're not currently using that property, but we may in the future.
2024-06-19 18:37:43 +02:00
Laura Hausmann
9dbc7cfc14
[backend/federation] Filter skipped & blocked instances in PreDeliverQueue (ISH-366)
...
This:
- improves performance (because we can check them in batches)
- improves efficiency (because we don't create deliver jobs that get discarded immediately)
- allows us to check whether the activity is an ASFollow & let it through if it is (for skipped instances filter only)
We still check for blocked instances in the deliver queue in case a deliver job is created via another code path.
2024-06-19 17:37:57 +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
0a5e130783
[backend/federation] Log instance blocked failures in inbox queue as debug
2024-06-16 22:36:38 +02:00
Laura Hausmann
571ef8f027
[backend/queue] Improve logging
2024-06-16 18:55:54 +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
aa21e4b05a
[backend/queue] Make queue concurrency configurable
2024-06-10 18:18:39 +02:00
Laura Hausmann
adba960f8c
[backend/drive] Check for isLink attribute when handling deletion/expiry for deduplicated files (ISH-334)
2024-05-18 15:53:59 +02:00
Laura Hausmann
9dd34aa7e3
[backend/drive] Improve deletion/expiry logic for deduplicated files (ISH-334)
2024-05-18 15:48:25 +02:00
Laura Hausmann
363b0c930c
[backend/core] Add Guid.ToStringLower() extension method
2024-04-25 18:26:42 +02:00
Laura Hausmann
385f5843f7
[backend/helpers] Rename LDHelpers.Compact(ASActivity) to LDHelpers.CompactToPayload
2024-04-24 04:05:26 +02:00
Laura Hausmann
806bfca099
[backend/core] Improve user deletes (ISH-222)
2024-04-10 20:53:50 +02:00
Laura Hausmann
c5bd380344
[backend] Improved debug logging (ISH-238)
2024-04-10 00:15:46 +02:00
Laura Hausmann
60545e25ae
[backend/core] Fix sporadic "key not found" background task failures
2024-04-07 21:37:46 +02:00
Laura Hausmann
62dde50af2
[backend/core] Support note filters (ISH-97)
2024-03-31 23:56:55 +02:00
Laura Hausmann
07eba89fa0
[backend/queue] Fix BackgroundTaskJobData serialization
2024-03-29 16:08:04 +01:00
Laura Hausmann
f39479ca6b
[backend/queue] JobData shouldn't inherit from Job
2024-03-29 15:34:01 +01:00
Laura Hausmann
aad05c0d22
[backend/cron] Fire UserUnmuted event in ProcessMuteExpiry
2024-03-26 19:11:50 +01:00
Laura Hausmann
8ff938639b
[backend/federation] Improve ASUpdate handling (ISH-223)
...
This fixes federation of note updates with some AP implementations
2024-03-25 13:51:50 +01:00
Laura Hausmann
736328078d
[backend/core] Fix non-UTC timestamp in DeliverQueue delayed job handler
2024-03-24 14:18:03 +01:00
Laura Hausmann
a67fe3722d
[backend] Code cleanup
2024-03-24 14:17:02 +01:00
Laura Hausmann
9698e3d36d
[backend/core] Replace redis-based queue system with a postgres-based one (ISH-212)
2024-03-24 00:17:28 +01:00
Laura Hausmann
c6300d1c96
[backend/core] Replace IDistributedCache with postgres k/v cache (ISH-212)
2024-03-23 19:10:27 +01:00
Laura Hausmann
a408fa247a
[backend] Code cleanup
2024-03-17 13:36:08 +01:00
Laura Hausmann
f41be007d7
[backend/core] Add mute support (ISH-169)
2024-03-14 15:33:54 +01:00
Laura Hausmann
921f6a19b3
[backend/federation] Separate authorized fetch & inbox validation (ISH-127)
...
This fixes user creates & sporadic errors resulting from creating users during validation of their deletion
2024-03-13 00:21:51 +01:00