Commit graph

1382 commits

Author SHA1 Message Date
Laura Hausmann
9ff79c92e0
[backend/libmfm] Improve performance of AngleSharp calls for MFM-HTML conversion, improve UrlNode HTML representation
This makes sure the AngleSharp owner document is only created once per application lifecycle, and replaces all async calls with their synchronous counterparts (since the input is already loaded in memory, using async for this just creates overhead)
2025-03-24 18:05:21 +01:00
Laura Hausmann
f1a1ed9039
[backend/api] Rename recommended timeline to bubble timeline for improved clarity 2025-03-23 12:24:53 +01:00
Laura Hausmann
2e911805de
[backend/api] Add all missing timeline endpoints 2025-03-22 23:35:51 +01:00
Laura Hausmann
01cc7b08d9
[backend/cron] Add cron task statistics & drastically improve cron logic (ISH-760) 2025-03-22 23:09:03 +01:00
Laura Hausmann
2f2ec826bc
[backend/core] Handle emoji updates gracefully (ISH-727) 2025-03-22 22:03:14 +01:00
Laura Hausmann
cefbf4f898
[backend/core] Move AsyncLocals to FlagService, fix IsPleroma flag for streaming connections 2025-03-22 20:56:36 +01:00
pancakes
dcc6fd3a19
[backend/database] Add gin_trgm index for Emoji Name and Host 2025-03-21 00:35:46 +01:00
pancakes
af580eeed1
[backend/api] Allow updating remote emojis but limited to sensitive status 2025-03-21 00:35:46 +01:00
Laura Hausmann
c5650fe3ae
[backend/openapi] Switch to native Scalar support for multiple OpenAPI documents 2025-03-19 15:33:14 +01:00
Laura Hausmann
10b74ff0d9
[backend/razor] Add cron tasks page to admin dashboard (ISH-719) 2025-03-15 03:55:09 +01:00
Laura Hausmann
94c07d3d06
[backend/masto-client] Add endpoints for filing reports (ISH-749) 2025-03-15 02:44:43 +01:00
Laura Hausmann
ffcc8d0582
[backend/akko-client] Set status visibility to local when client is marked as isPleroma and note is local only (ISH-658) 2025-03-15 02:13:07 +01:00
Laura Hausmann
2da465307e
[backend/startup] Add user management commands (ISH-504) 2025-03-13 20:14:02 +01:00
Laura Hausmann
46462a7736
[backend/database] Set database connection application name 2025-03-13 18:39:53 +01:00
Laura Hausmann
f3999f80be
[backend/api] Add support for creating, forwarding & resolving reports (ISH-116) 2025-03-11 20:40:23 +01:00
Laura Hausmann
7594c652f5
[backend/api] Add report endpoints (ISH-116) 2025-03-11 20:40:23 +01:00
Laura Hausmann
8bbb5c1f98
[backend/federation] Handle incoming ASFlag activities (ISH-116) 2025-03-11 00:51:10 +01:00
Laura Hausmann
ae5cc2477f
[backend/core] Fix build with LangVersion=preview 2025-03-11 00:47:31 +01:00
Laura Hausmann
78bd70e2ab
[backend/federation] Apply code style in ActivityHandlerService.cs 2025-03-11 00:18:23 +01:00
Tamara Schmitz
caef749fa0
hint to TaskScheduler that queue main tasks and cron tasks are long running
The default TaskScheduler may also mark tasks as long running after a
while and then spawn an extra thread regardless. But this way we make
sure to not block the threadpool by spawning the tasks in separate
threads instead in the normal pool.

Also keep the denychildattach which Run would have added. See:
https://devblogs.microsoft.com/pfxteam/task-run-vs-task-factory-startnew/
2025-03-10 22:46:21 +01:00
Laura Hausmann
72c21ce51c
[backend/database] Move the remaining migrations into their respective versioned folders 2025-03-09 17:21:12 +01:00
Laura Hausmann
65d6edf799
[backend/database] Fix slow AddUserLastNoteAdd migration
This change ensures that the migration doesn't have to read every note in the database, but only up to one per known user.
2025-03-09 02:56:00 +01:00
Kopper
5d27233d08
[backend/masto-client] Expose AccountEntity.last_status_at
For performance reasons (it's set on the same query as the one that
increments the user notes counter) this does not take renotes into
account
2025-03-07 21:22:48 +01:00
Laura Hausmann
a4717da8ab
[backend/core] Fix link verification for sites served with Transfer-Encoding: chunked 2025-03-06 15:52:19 +01:00
Laura Hausmann
57488e5641
[backend/configuration] Allow disabling authorized fetch signature validation 2025-03-05 15:25:10 +01:00
Laura Hausmann
befe550f37
[backend/middleware] Authenticate requests with signature headers when authorized fetch is disabled
This fixes a bug that prevented fetching follower-only posts from remote instances when the local instance has authorized fetch disabled.
2025-03-05 15:25:10 +01:00
Laura Hausmann
0442f676e1
[backend/database] [frontend] [shared] Rename emoji aliases to tags (ISH-717) 2025-03-04 23:28:59 +01:00
Laura Hausmann
220c4b776d
[parsing] Add visibility:local search query filter (ISH-707) 2025-03-04 23:18:00 +01:00
Laura Hausmann
822d5f90d3
[backend/core] Fix negated multi word search query filters (ISH-739) 2025-03-04 23:11:00 +01:00
Laura Hausmann
4a4c674776
[parsing] Add note visibility search query type (ISH-707) 2025-03-04 23:06:09 +01:00
Laura Hausmann
fe24a11ca8
[backend/core] Move mutes on account migration (ISH-721) 2025-03-04 22:54:52 +01:00
Laura Hausmann
ed1623b572
[backend/core] Fix path-style object storage access URLs 2025-02-26 05:06:05 +01:00
Laura Hausmann
bf5f1e927c
[backend/core] Verify object storage credentials & access URL before starting the object storage migration task 2025-02-26 03:07:00 +01:00
Kopper
26d86eee65
[backend/federation] Fix null values in LDLocalizedString 2025-02-26 00:17:20 +01:00
Laura Hausmann
5bf14a6a06
[backend/core] Fix profile field verification for MFM link node fields 2025-02-22 23:32:08 +01:00
pancakes
04a5512c61
[backend/core] Verify links that have a matching link element in their document head 2025-02-21 13:28:35 +10:00
Laura Hausmann
df3e56f422
[backend/core] Prevent creation of pure renote replies 2025-02-19 16:37:11 +01:00
Laura Hausmann
88dee6b410
[backend/api] Replace IEntity with IIdentifiable, move EntityWrapper<T> to shared project 2025-02-18 21:47:33 +01:00
Laura Hausmann
4cdd5e9889
[backend/core] Code cleanup 2025-02-17 23:40:53 +01:00
Laura Hausmann
8b514986a4
[backend/middleware] Require administrator role for masto admin scope endpoints
This isn't currently used anywhere, but may become relevant in the future.
2025-02-17 23:29:05 +01:00
Laura Hausmann
16d62f6c33
[backend/database] Fix emoji type migration for emoji with multiple corresponding drive_file entries 2025-02-17 22:16:58 +01:00
Laura Hausmann
9f33e71b0f
[backend/federation] Wrap ASEmoji with colons on either side
This fixes emoji federation with NodeBB
2025-02-17 20:47:07 +01:00
Laura Hausmann
7c93c5591a
[backend/core] Populate & render emoji media type if available 2025-02-17 20:31:41 +01:00
Laura Hausmann
ca786026c2
[backend/api] Improve emoji alias update algorithm 2025-02-17 19:47:29 +01:00
Laura Hausmann
a143ac8b50
[backend/database] Fixup empty string emoji alias entries 2025-02-17 19:44:20 +01:00
Laura Hausmann
cb0e0dadef
[backend/core] Improve profile field verification error handling 2025-02-13 12:50:44 +01:00
Laura Hausmann
dd8f6b063e
[backend/core] Fix profile field verification handling for non-html links 2025-02-13 12:38:08 +01:00
Laura Hausmann
e1c5a99ab3
[backend/api] Fix remote emoji lookup pagination 2025-02-07 17:14:48 +01:00
Laura Hausmann
e5c2edf8cb
[backend/api] Fix unpaginated remote emoji lookup 2025-02-06 19:31:08 +01:00
pancakes
36c6092fd2
Revert "[backend/api] Add missing inclusions of user avatar and banner"
This reverts commit b4084b8e2222d0935fb536feac78d5ed31dc6fa5.
2025-02-06 13:09:49 +01:00