Laura Hausmann
1c2079e1ee
[backend] Rework GracefulException throws without additional detail
2024-09-24 00:45:18 +02:00
Laura Hausmann
13614c2201
[backend] Reformat code
2024-09-23 02:00:34 +02:00
Laura Hausmann
07ed0f5651
[backend/core] Enforce local-only for renotes & replies of local-only notes
2024-09-23 02:00:27 +02:00
Laura Hausmann
0b31329067
[backend/drive] Fix leading dashes on non-image attachments
2024-09-23 01:35:58 +02:00
Laura Hausmann
1d9864a214
[backend/federation] Handle incoming ASMove activities (ISH-118)
2024-09-23 00:21:57 +02:00
Kopper
91aab7c8d6
[backend/federation] Limit the maximum number of replies to backfill per post
2024-09-18 18:27:14 +02:00
Kopper
7fd1f81d21
[backend/federation] Limit reply backfill to same instance by default
2024-09-18 18:27:14 +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
522d874027
[backend/federation] Fix typo
...
Somehow, I forgot to populate this function.
2024-09-15 17:07:56 +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
83e830b5df
[backend/configuration] Add configuration for backfill of note replies
2024-09-15 02:05:18 +02:00
Kopper
d6a8282a18
[backend/federation] Try using the original collection object when possible
2024-09-15 01:49:42 +02:00
Kopper
deabdc4eec
[backend/federation] Update replies collections of edited notes
...
This is mainly so we can backfill older posts before the reply
collections were saved in the database.
2024-09-15 01:47:41 +02:00
Kopper
23adf8bce6
[backend/federation] Delay backfilling for new notes to allow them time to collect replies
2024-09-15 01:47:41 +02:00
Kopper
024de937d0
[backend/federation] Backfill replies
2024-09-15 01:47:41 +02:00
Kopper
ade4481ae9
[backend/federation] Attempt to make id optional for some object types
2024-09-15 01:47:41 +02:00
Kopper
8c1a635027
[backend/federation] Refactor collection iteration
...
Collection iteration is extracted into a seprate IAsyncEnumerable from
the currently only place where it happens. This is in preparation for
handling paginated collections.
2024-09-15 01:47:40 +02:00
Laura Hausmann
b51d3826ed
[backend/core] Fail early when user with acct already exists
2024-09-14 02:54:32 +02:00
Laura Hausmann
14f078d145
[backend/core] Don't generate reply notifications for remote users
2024-09-14 02:42:44 +02:00
Laura Hausmann
afe62b0aab
[sln] Code cleanup
2024-09-13 21:44:31 +02:00
Kopper
356f5f17ed
[backend/masto-client] Expose emoji in reaction push notification
2024-09-13 17:30:05 +02:00
Kopper
7f4c95d7d0
[backend/akko-client] Fix reaction notifications for remote custom emoji
2024-09-13 17:30:05 +02:00
Kopper
9d6d892091
[backend/akko-client] Fix notifications, including emoji reaction notifications
2024-09-13 17:30:05 +02:00
Laura Hausmann
10650c55b8
[backend/core] Fix typo
2024-09-10 02:42:34 +02:00
Laura Hausmann
7627219322
[backend/federation] Discard note updates with nonsensical update stamp
2024-08-18 19:25:07 +02:00
Laura Hausmann
2f3408f3d7
[backend/federation] Implement quotes as object links (FEP-e232)
2024-08-18 17:54:44 +02:00
Laura Hausmann
093abe82b8
[backend/core] Also use the NoteService KeyedLocker when it's called from ActivityHandlerService
...
This fixes sporadic "Unique constraint violation" exceptions on the "IX_note_uri" index.
2024-08-18 00:22:09 +02:00
Laura Hausmann
19b6b50db5
[backend/core] Canonicalize 'heavy black heart' reactions to 'red heart emoji'
...
Misskey incorrectly sends these without the emoji version selector, so we have to canonicalize them.
2024-08-17 01:07:52 +02:00
Laura Hausmann
05f6546f48
[backend/core] Improve emoji detection regex, add unit tests
2024-08-16 20:54:24 +02:00
Laura Hausmann
173fbfb835
[backend/asp] Return error responses as HTML/XML/JSON depending on accept header
2024-08-16 01:00:43 +02:00
Laura Hausmann
8889510811
[backend/drive] Fix ImageSharp image scaling for horizontal images
2024-08-14 21:15:33 +02:00
Laura Hausmann
8267bc06de
[backend] Code cleanup
2024-08-14 03:53:15 +02:00
Laura Hausmann
4f98fa8461
[backend/federation] Fix possibly unbounded UserResolver recursion
2024-08-14 03:44:14 +02:00
Laura Hausmann
c3eacb34c2
[backend/federation] Add support for hubzilla's hashtag formatting
...
A bit strange but here we are
2024-08-14 02:01:56 +02:00
Laura Hausmann
b69f92dbdc
[backend/core] Stricter local user username validation
2024-08-14 00:40:58 +02:00
Laura Hausmann
acbedd3bae
[backend/federation] Support WebFinger reverse discovery (ISH-364)
...
This resolves federation issues with old versions of pixelfed, as well as various AP implementations that are not widely deployed.
2024-08-13 23:58:46 +02:00
Laura Hausmann
2506e42733
[backend/core] Remove no-duplicate request/job id from log messages
2024-08-13 20:57:06 +02:00
Laura Hausmann
dba3fc1a6a
[backend/core] Add request/job id to logs, improve log formatting
2024-08-13 20:47:06 +02:00
Laura Hausmann
f7a5d86326
[backend/drive] Fix LibVips autorot error
...
The error message said that the operation must be mutable, but it only works when the operation is not mutable. Oh well.
2024-08-12 03:21:04 +02:00
Laura Hausmann
871c20c3fa
[backend/drive] Add warning logs when no image processor supports encoding the selected format
2024-08-12 03:21:04 +02:00
Laura Hausmann
67a62fadc9
[backend/drive] Move ImageProcessor.cs into the ImageProcessing subfolder
2024-08-12 03:21:04 +02:00
Laura Hausmann
1d31553199
[backend/drive] Add option to reject images that exceed the maximum media processing resolution
2024-08-12 03:21:03 +02:00
Laura Hausmann
f903a1d8a4
[backend/drive] Fix missing image processing resolution check
2024-08-12 03:21:03 +02:00
Laura Hausmann
7b3e9bbbca
[backend/drive] Fix duplicated dots in file extensions in some circumstances
2024-08-12 03:21:03 +02:00
Laura Hausmann
aac4be5893
[backend/drive] Add MIME detection capabilities to LibVips
2024-08-12 03:21:03 +02:00
Laura Hausmann
807a6fc95d
[backend] Refactor dictionary initializers to use the new syntax
2024-08-12 03:21:03 +02:00
Laura Hausmann
1fba1ab119
[backend/drive] Add ImageProcessorConcurrency configuration option, default it to 8 (was: unrestricted)
2024-08-12 03:21:03 +02:00
Laura Hausmann
aaf3be209d
[backend/drive] Add advanced image processing pipeline configuration options (ISH-436, ISH-446)
...
This commit allows advanced configuration of the image processing pipeline. Exposed options include the format (WebP, AVIF & JXL), as well as encoding parameters. These can be set individually for any combination of image version (original/thumbnail/public) & image origin (local/remote).
2024-08-12 03:21:03 +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
8e99012790
[backend] Fix build
...
This reverts commit 05e6e40d7e
.
2024-08-07 01:05:57 +02:00