Laura Hausmann
4af69a6afa
[backend/asp] Add ExceptionVerbosity level Debug
2024-11-18 19:02:43 +01:00
kopper
27ac36d747
[backend] Add config option to sign reply backfills with requesting user
...
Signed-off-by: Laura Hausmann <laura@hausmann.dev>
2024-10-24 21:18:58 +02:00
kopper
7173373330
[backend/federation] Improved reply backfill
...
Instead of backfilling every note we come across that has a reply
collection, only schedule a backfill job if someone wants to see the
replies (on GET MastoAPI /context, or Iceshrimp API /descendants)
Reply backfilling is also done on a ThreadIdOrId basis as opposed to the
previous way of backfilling individual notes. This allows us finer
grained control over the recursion and frees up the job queue, alongside
allowing for easier implementation of context collection backfill in the
future (by mapping each context collection to a thread)
---
Currently, note threads are implicit based on the "threadId" column of a
note, which can be null (where it's the same as the note's "id")
This commit turns note threads into an actual entity, and as a part of
that, makes "threadId" non-nullable (by specifically setting it to "id"
for those cases)
This is done to attach extra metadata to the entire thread, currently
just the time of when it was last backfilled, but more may be added in
the future (the context collection associated with this thread, for example)
---
The data format for backfill jobs have backwards-incompatibly changed
since the introduction of the feature. We can drop all old jobs without
causing too much trouble as they will be re-scheduled on demand
---
Signed-off-by: Laura Hausmann <laura@hausmann.dev>
2024-10-24 21:18:57 +02:00
Laura Hausmann
df26db0585
[backend/federation] Add relay support (ISH-266)
2024-09-28 00:32:43 +02:00
Laura Hausmann
514bf3ff10
[backend/razor] Add option to redirect index page for unauthenticated users (ISH-463)
2024-09-18 20:43:12 +02:00
Kopper
7fd1f81d21
[backend/federation] Limit reply backfill to same instance by default
2024-09-18 18:27:14 +02:00
Kopper
83e830b5df
[backend/configuration] Add configuration for backfill of note replies
2024-09-15 02:05:18 +02:00
Laura Hausmann
13092e0e9a
[backend/configuration] Rename ExtraWebDomains to AdditionalDomains
2024-09-13 18:03:21 +02:00
Kopper
834661981a
[backend] Allow admins to specity extra web domains the instance is accessible from
...
For frontends that expect relative paths
2024-09-13 17:30:05 +02:00
Laura Hausmann
c556d6b701
[backend/configuration] Update comments
2024-08-13 00:11:43 +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
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
4690d5c1fb
[backend/database] Enable connection multiplexing by default
2024-07-25 00:14:16 +02:00
Laura Hausmann
0f400e8023
[backend/queue] Remove cluster mode (ISH-141)
...
This is wontfix for now, though we might reevaluate this later.
2024-07-25 00:00:43 +02:00
Laura Hausmann
2d178e5a9a
[backend/queue] Allow configuring worker types in cluster mode (ISH-141)
2024-07-24 20:39:45 +02:00
Laura Hausmann
bc26e39812
[backend/configuration] Update default configuration
2024-07-13 01:02:36 +02:00
Laura Hausmann
3e0a5b5759
[backend/configuration] Allow configuring of parameter logging for database exceptions
2024-06-21 16:24:03 +02:00
Laura Hausmann
32d6cb555d
[backend/configuration] Allow configuring of queue job retention
2024-06-21 14:42:00 +02:00
Laura Hausmann
173b01fbf3
[backend/database] Disable multiplexing by default
2024-06-10 19:35:42 +02:00
Laura Hausmann
3467fe952c
[backend/database] Add support for connection multiplexing
2024-06-10 19:26:21 +02:00
Laura Hausmann
aa21e4b05a
[backend/queue] Make queue concurrency configurable
2024-06-10 18:18:39 +02:00
Laura Hausmann
5771e43dda
[backend/federation] Add configuration option for limiting the number of concurrent federation requests (ISH-338)
2024-06-10 18:18:23 +02:00
Laura Hausmann
849ecd9841
[backend/core] Don't allow connections to local addresses by default (ISH-330, ISH-331)
2024-05-17 14:19:48 +02:00
Laura Hausmann
40110d4a9b
[backend/configuration] Disable EF Update logging by default
...
This prevents caught exceptions from being logged, and prevents errors being logged twice in all other cases.
2024-05-03 20:58:50 +02:00
Laura Hausmann
744a01d138
[backend/drive] Add several media processing configuration options, replacing constants & assumptions
2024-05-02 19:13:58 +02:00
Laura Hausmann
a2077244f8
[backend/drive] Make image processor pluggable
2024-05-01 21:44:49 +02:00
Laura Hausmann
94ac11db88
[backend/drive] Add option to disable validation of the object storage configuration
2024-04-28 00:34:20 +02:00
Laura Hausmann
0b77107b1e
[backend/database] Add connection pool size configuration option
2024-04-27 20:05:42 +02:00
Laura Hausmann
fd92a0a1fa
[backend/razor] Improve public preview security settings (ISH-210)
2024-04-23 00:40:53 +02:00
Laura Hausmann
adbee189af
[backend/configuration] Rename StorageSection.Mode to StorageSection.Provider
...
The old property remains for configuration backwards compatibility only. Trying to access it throws a compile-time error.
2024-04-22 23:26:29 +02:00
Laura Hausmann
1ce28ee005
[backend/drive] Add configuration option to set ACLs on files uploaded to object storage
2024-04-22 21:29:49 +02:00
Laura Hausmann
66675146d9
[backend/signalr] Add authentication & authorization (ISH-244)
2024-04-03 21:46:05 +02:00
Laura Hausmann
a4baef1b90
[backend/configuration] Add Iceshrimp to default log level configuration
...
This should make it easier to understand how to enable debug logging
2024-03-31 18:10:27 +02:00
Laura Hausmann
2e4700b42b
[backend/razor] Basic public preview (ISH-188)
2024-03-28 14:41:02 +01:00
Laura Hausmann
a4ae25d5f3
[backend/queue] Initial clustering support (ISH-141, ISH-220)
2024-03-26 17:08:43 +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
399595ad1c
[backend/federation] Make LD signatures configurable
2024-02-21 18:56:49 +01:00
Laura Hausmann
70657e1650
[backend/configuration] Allow connecting to redis unix sockets, document connecting to postgres unix sockets (ISH-76)
2024-02-16 01:57:00 +01:00
Laura Hausmann
11caf32ebb
[backend/services] Media cleanup cron task (ISH-66, ISH-27)
2024-02-16 01:21:04 +01:00
Laura Hausmann
bbf1afce5b
[backend/startup] Allow configuring a listen socket instead of a listen address/port (ISH-74)
2024-02-15 22:25:24 +01:00
Laura Hausmann
9099e9d031
[backend/database] Enable EF migrations logger by default
2024-02-13 23:17:46 +01:00
Laura Hausmann
8f948ab130
[backend/drive] Implement basic drive support (ISH-9)
2024-02-09 19:41:46 +01:00
Laura Hausmann
66c6f5be6f
[backend/services] Add object storage service (ISH-10)
2024-02-09 17:28:02 +01:00
Laura Hausmann
c8c09591f9
[backend] Add configurable post character limit (ISH-5)
2024-02-07 20:33:00 +01:00
Laura Hausmann
5978f1abc4
[backend] Implement federation control (ISH-2)
2024-02-07 17:52:41 +01:00
Laura Hausmann
b72a22b9b0
[backend] Reject requests if Host header doesn't match configured WebDomain or AccountDomain
2024-02-03 22:57:35 +01:00
Laura Hausmann
242d01583f
Use WebDomain as fallback redis prefix if none is set explicitly
2024-01-28 18:55:21 +01:00
Laura Hausmann
6a23b915bd
Use relaxed json escaping profile for system.text.json
2024-01-28 01:19:06 +01:00