Commit graph

355 commits

Author SHA1 Message Date
Laura Hausmann
6124eadb53
[backend/drive] Add storage cleanup startup command 2024-10-18 23:18:45 +02:00
Laura Hausmann
9275e3b21a
[backend/drive] Add fixup-media startup command (ISH-520) 2024-10-18 22:43:25 +02:00
Laura Hausmann
3a346d5a22
[backend/razor] Add admin dashboard (Admin-FE)
Currently available sections: instance metadata, user management, federation control, relays, plugins & queue dashboard.
Planned: sections: configuration, logs, policies & reports.
2024-10-11 05:41:52 +02:00
kopper
8998cd2874
[backend] Also search in alt text 2024-10-09 18:31:16 +02:00
Laura Hausmann
dc77c48005
[backend/core] Allow configuring arbitrary reject/rewrite policies, add default configuration values to all policies (ISH-16) 2024-10-09 05:46:18 +02:00
Laura Hausmann
a5a2c0b169
[backend/core] Add basic reject policies, along with a highly extensible system for rewrite policies (ISH-16) 2024-10-09 04:34:23 +02:00
Laura Hausmann
b5ad7649ea
[backend/startup] Remove debug code 2024-10-06 00:07:44 +02:00
Laura Hausmann
d62ac94d5e
[backend/core] Fix migrations that move more than 50 followers failing 2024-10-05 23:46:09 +02:00
Laura Hausmann
c1e348b0d5
[backend/asp] Increase JsonSerializer MaxDepth to 256
200 is the maximum required by the note descendants/ascendants tree, so 256 is that + some margins. Cycle detection is unaffected by this change.
2024-10-03 00:47:30 +02:00
Laura Hausmann
9d1a21e2d9
[backend/razor] Move public preview to Blazor SSR (razor components) 2024-10-02 02:17:51 +02:00
Laura Hausmann
7662c28745
[backend/database] Canonicalize punycode host representations to lowercase 2024-10-02 01:16:25 +02:00
Laura Hausmann
df26db0585
[backend/federation] Add relay support (ISH-266) 2024-09-28 00:32:43 +02:00
Laura Hausmann
f1b7218c60
[backend/api-shared] Fix typo 2024-09-27 19:52:41 +02:00
Laura Hausmann
5192b58150
[backend/api-shared] Also filter renotes & quotes mentioning muted/blocked users 2024-09-27 19:50:39 +02:00
Laura Hausmann
9d18a145ed
[backend/core] Fix typo 2024-09-26 02:52:14 +02:00
Laura Hausmann
c68e0bbd94
[backend/core] Fix AsChunkedAsyncEnumerable pagination 2024-09-26 02:14:20 +02:00
Laura Hausmann
9789c8452e
[backend/razor] Show login button when displaying public preview disabled error page 2024-09-24 02:36:29 +02:00
Laura Hausmann
304d9f2750
[backend/masto-client] Enforce RestrictedNoMedia public preview mode 2024-09-24 01:02:05 +02:00
Laura Hausmann
1c2079e1ee
[backend] Rework GracefulException throws without additional detail 2024-09-24 00:45:18 +02:00
Laura Hausmann
2bf714b8e1
[backend/core] Fix typo 2024-09-23 00:47:43 +02:00
Laura Hausmann
1d9864a214
[backend/federation] Handle incoming ASMove activities (ISH-118) 2024-09-23 00:21:57 +02:00
Laura Hausmann
9f2cb34d0e
[backend/razor] Add basic user page public preview, handle user id redirects correctly 2024-09-16 00:53:23 +02:00
Laura Hausmann
892da3a473
[backend/startup] Exit if started with --migrate and no migrations are pending 2024-09-15 21:35:40 +02:00
Kopper
83e830b5df
[backend/configuration] Add configuration for backfill of note replies 2024-09-15 02:05:18 +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
079dd8a8e5
[backend/configuration] Set base path to working directory instead of assembly dir 2024-09-13 21:56:33 +02:00
Laura Hausmann
afe62b0aab
[sln] Code cleanup 2024-09-13 21:44:31 +02:00
Kopper
9d6d892091 [backend/akko-client] Fix notifications, including emoji reaction notifications 2024-09-13 17:30:05 +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
91a7b2554f
[backend/logging] Add LOG_TIMESTAMPS environment variable 2024-08-14 04:40:55 +02:00
Laura Hausmann
fbebc91983
[backend/logging] Allow colorful systemd output
Since journalctl strips them by default, there's no reason not to include them for compatibility reasons. This change also simplifies the custom logger code greatly.
2024-08-14 04:25:11 +02:00
Laura Hausmann
4f98fa8461
[backend/federation] Fix possibly unbounded UserResolver recursion 2024-08-14 03:44:14 +02:00
Laura Hausmann
92f957a536
[backend/federation] Use content negotiation for host-meta responses 2024-08-14 03:23:25 +02:00
Laura Hausmann
b37f02846b
[backend/federation] Add support for returning xrd+xml WebFinger responses for local users 2024-08-14 02:01:56 +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
649fc267c8
[backend/core] Fix typo 2024-08-13 04:50:18 +02:00
Laura Hausmann
3132b6b8c9
[backend/core] Fix note thread mute handling inconsistencies 2024-08-13 03:11:09 +02:00
Laura Hausmann
67a62fadc9
[backend/drive] Move ImageProcessor.cs into the ImageProcessing subfolder 2024-08-12 03:21:04 +02:00
Laura Hausmann
e379ff3f60
[backend/configuration] Add config validation for the image processing pipeline 2024-08-12 03:21:04 +02:00
Laura Hausmann
807a6fc95d
[backend] Refactor dictionary initializers to use the new syntax 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
ca9a2b77e9
[backend/masto-client] Respect renoteUri/replyUri on /accounts/{id}/statuses when exclude_replies or exclude_reblogs are set 2024-07-30 02:05:02 +02:00
Laura Hausmann
7e4282b386
[backend/drive] Switch to stream processing for remote media
This makes sure that files larger than the configured maximum remote media cache size are not loaded into memory (if the size is known), or are only loaded into memory until the configured maximum size before getting discarded (if the size is not known)
2024-07-28 23:32:04 +02:00
Laura Hausmann
15d955c478
[backend/core] Limit HttpClient buffer size to 1MiB, except DriveService from this policy (until proper limits are in place there) 2024-07-28 22:06:33 +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
1f5171eacc
[backend/startup] Add iceshrimp-js migration assistant 2024-07-20 17:10:33 +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
1d43f2c30b
[backend/api-shared] Add thread mute support (ISH-172) 2024-07-13 01:35:28 +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