Commit graph

565 commits

Author SHA1 Message Date
Laura Hausmann
e753bacb1d
[backend] Code cleanup 2024-10-24 01:41:49 +02:00
pancakes
30ff0d77b2 [backend/api] Add bite back endpoint 2024-10-23 05:04:55 +02:00
pancakes
fbbc50e158 [backend] Fix note bite notifications 2024-10-23 05:04:55 +02:00
pancakes
3218de9f56 [backend] Implement RenderBite, BiteService and endpoints for note and user 2024-10-23 05:04:55 +02:00
Laura Hausmann
c55e673cd2
[backend/federation] Don't allow negative voter counts 2024-10-23 04:49:25 +02:00
Laura Hausmann
75042fc5d5
[backend/drive] Fix drive file cleanup job for locally stored files 2024-10-21 22:10:08 +02:00
Laura Hausmann
79014ec4b7
[backend/drive] Report count of orphaned files removed by storage cleanup job on completion 2024-10-19 01:29:25 +02:00
Laura Hausmann
ead9d90029
[backend/drive] Fix drive file expiry leaving orphaned file versions in the storage backend 2024-10-19 01:25:39 +02:00
Laura Hausmann
bfd0feaf95
[backend/drive] Don't fixup media created since the start of the job
This prevents a race condition when the server is running during the operation.
2024-10-19 00:57:44 +02:00
Laura Hausmann
b21d9691e5
[backend/drive] Improve media fixup algorithm 2024-10-19 00:21:01 +02:00
Laura Hausmann
055957f509
[backend/drive] Improve media fixup algorithm performance (ISH-520) 2024-10-18 23:37:19 +02:00
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
b18d24fa57
[backend] Update dependencies 2024-10-18 19:50:02 +02:00
Laura Hausmann
60b18f434f
[backend/queue] Make PostgresJobQueue<T> abstract 2024-10-18 04:32:34 +02:00
Laura Hausmann
6f55afe60a
[backend/core] Improve poll voter count fallback
This should fix erroneous voter counts for polls from instances that don't return as:votersCount.
2024-10-16 22:07:26 +02:00
Laura Hausmann
3c96d98932
[backend/core] Only deliver create/update activities to remote users, unify DeliverToConditionalAsync calls 2024-10-16 20:51:40 +02:00
Laura Hausmann
a951217664
[backend/core] Don't retry jobs with like/unlike note resolution failures 2024-10-15 17:19:42 +02:00
Laura Hausmann
85d9bc597f
[backend/queue] Improve logging for jobs that were queued for more than 10s 2024-10-14 21:46:56 +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
Laura Hausmann
846888b2c7
[backend/core] Prevent system users from authenticating or creating notes 2024-10-09 21:39:36 +02:00
Laura Hausmann
5390990448
[backend/core] Add basic message rewrite policies (ISH-16) 2024-10-09 21:14:50 +02:00
Laura Hausmann
5f5a0c5c0f
[backend/api] Add moderation endpoints (ISH-116) 2024-10-09 19:11:54 +02:00
kopper
8998cd2874
[backend] Also search in alt text 2024-10-09 18:31:16 +02:00
Laura Hausmann
83ab277a7e
[backend/core] Fix policy configuration changes not showing in response 2024-10-09 06:37:10 +02:00
Laura Hausmann
23d2664376
[backend/core] Fix policy configuration endpoint not updating the configuration correctly depending on JSON format 2024-10-09 06:20:09 +02:00
Laura Hausmann
96e2eff2b9
[backend/core] Fix policy configuration endpoint not working 2024-10-09 05:56:58 +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
0962b07021
[backend/core] Catch errors in NoteService.ResolveNoteAsync
This fixes some inbox job failures, for example when a post quoting a deleted post is being ingested.
2024-10-06 14:04:06 +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
5cda865202
[backend/core] Fix migrations causing erroneous "You can't follow yourself" log errors 2024-10-05 23:46:09 +02:00
Laura Hausmann
ee6d80aaa2
[backend/core] Move relationships after sending out the migration activity 2024-10-05 23:46:04 +02:00
pancakes
b3b2adb127 [backend] Add sensitive field to emojis 2024-10-04 00:36:38 +02:00
Laura Hausmann
7662c28745
[backend/database] Canonicalize punycode host representations to lowercase 2024-10-02 01:16:25 +02:00
Laura Hausmann
4cfd4de389
[backend/core] Disallow following of system users 2024-09-28 00:37:36 +02:00
Laura Hausmann
df26db0585
[backend/federation] Add relay support (ISH-266) 2024-09-28 00:32:43 +02:00
Laura Hausmann
7532d5c52a
[backend/queue] Add abandon button for delayed jobs to the queue dashboard 2024-09-27 03:43:17 +02:00
Laura Hausmann
1883f426a7
[backend/federation] Add support for incoming, outgoing & local account migrations (ISH-118) 2024-09-27 03:27:34 +02:00
Laura Hausmann
4448e00333
[backend/core] Fix erroneous attempts to compute instance stats for local instance when creating follow relationship between local users 2024-09-27 03:01:30 +02:00
Laura Hausmann
7c93dcf79d
[backend/queue] Fix duplicate exception logging 2024-09-26 02:54:33 +02:00
Laura Hausmann
efd1878fc1
[backend/queue] Fix erroneous job timeout logs, improve error messages for job timeouts 2024-09-26 02:52:38 +02:00
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