Commit graph

2067 commits

Author SHA1 Message Date
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
Laura Hausmann
4b5a9386c7
[backend/masto-client] Add /api/v1/preferences endpoint (ISH-746) 2025-03-07 21:56:35 +01:00
pancakes
f639124881
[backend/api] Check reaction name with and without colons 2025-03-07 21:23:57 +01:00
pancakes
091d0e0c3f
[backend/api] Fix endpoint for getting specific reactions on notes not working with Unicode emojis 2025-03-07 21:23:57 +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
ec7056f11a
[backend/csproj] Update ImageSharp version 2025-03-06 18:02:11 +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
4aa548dab4
[backend/razor] Fix details element styles for Chrome >= 131 & future Firefox versions 2025-03-03 18:52:33 +01:00
Laura Hausmann
bcc8377bec
[backend/api] Fix emoji import request size limiter not being disabled 2025-02-27 01:56:18 +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
pancakes
e73c719416
[backend/masto-client] Fix InstanceInfoV2 streaming URL 2025-02-22 23:44:44 +01:00
Laura Hausmann
5bf14a6a06
[backend/core] Fix profile field verification for MFM link node fields 2025-02-22 23:32:08 +01:00
Laura Hausmann
9d480e3fba
[backend/api] Fix API errors on poll vote 2025-02-22 23:18:01 +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
ce20f04e04
[backend/core] Fix erroneous non-updating security configuration references 2025-02-19 20:30:03 +01:00
Laura Hausmann
df3e56f422
[backend/core] Prevent creation of pure renote replies 2025-02-19 16:37:11 +01:00
Lilian
fcc5d555aa
[backend/web] Allow fetching list of remote emoji hosts 2025-02-18 22:49:46 +01:00
Laura Hausmann
8ed309b13d
[backend/razor] Fix navbar overflow handling 2025-02-18 22:33:16 +01:00
Laura Hausmann
80896fcf88
[sln] Update dependencies 2025-02-18 22:02:28 +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
pancakes
318651ac5d
[backend/razor] Set poll percentages to 0 if there are no votes 2025-02-18 17:40:53 +10: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
pancakes
60a38bd768
[backend/api] Batch poll votes query when rendering note poll 2025-02-06 22:41:50 +01:00
pancakes
66f3b23e46
[backend/razor] Add polls to public preview notes 2025-02-06 22:41:50 +01:00
pancakes
6c31197bbc
[backend/api] Don't allow repeated multiple choice votes 2025-02-06 22:41:50 +01:00
pancakes
70e0d45c12
[backend/api] Set minimum poll duration to 5 minutes 2025-02-06 22:41:14 +01:00
pancakes
013f028684
[backend/api] Add endpoint for voting on polls 2025-02-06 22:41:14 +01:00
pancakes
33c850fb2b
[backend/api] Fix crash when rendering notes with no poll 2025-02-06 22:41:14 +01:00
pancakes
735bdfe09a
[backend/api] Add polls to CreateNote 2025-02-06 22:41:14 +01:00
pancakes
189938af13
[backend/api] Render note polls in Web API 2025-02-06 22:41:14 +01:00