Commit graph

1674 commits

Author SHA1 Message Date
Laura Hausmann
e3bce3bc0e
[sln] Update dependencies to their latest non-preview versions (where available) 2024-11-18 19:02:41 +01:00
Laura Hausmann
c0eec686ca
[backend/csproj] Drop DATAS opt-in (enabled by default in .NET 9) 2024-11-18 19:02:41 +01:00
Laura Hausmann
8d288e9f44
[backend/core] Convert GeneratedRegex partial methods to partial properties 2024-11-18 19:02:41 +01:00
Laura Hausmann
c6adb0bee1
[backend/core] Switch to lock objects for locking purposes 2024-11-18 19:02:40 +01:00
pancakes
c11beba8a7
[backend] Add IsLocked to UserProfileResponse 2024-11-19 00:47:36 +10:00
Laura Hausmann
940e6f847e
[backend/drive] Fix errors when uploading files with long names containing unicode characters to object storage 2024-11-17 17:12:19 +01:00
Laura Hausmann
2ef78e3f41
[parsing] Add strike html tag support, keep italic/bold/strike in html tag form when reserializing 2024-11-17 16:44:05 +01:00
pancakes
68684dbfcb
[backend] Add bot and cat fields to users 2024-11-17 13:44:29 +01:00
pancakes
14201c8489
[backend] Add UserProfile.Role 2024-11-17 13:44:29 +01:00
Laura Hausmann
8b3e25e7db
[backend/api] Report errors during acct user lookups to the client
This causes user lookups for blocked users to return a more specific error message than "No result found".
2024-11-15 18:59:28 +01:00
pancakes
28b3b56646 [backend/api] Add instance staff endpoint 2024-11-13 06:55:07 +01:00
Laura Hausmann
b6dddd9439
[backend/core] Trim UserPublicKey before inserting into database 2024-11-12 20:57:16 +01:00
Laura Hausmann
2b046fc444
[parsing] Add support for has:media search query 2024-11-11 01:52:48 +01:00
Laura Hausmann
73783fa0ee
[backend/libmfm] Fix MfmSerializer dropping leading & trailing whitespace on recursive calls 2024-11-10 22:24:55 +01:00
Laura Hausmann
e73b68dc0d
[backend/razor] Reformat code 2024-11-09 19:24:52 +01:00
Laura Hausmann
8a806c611f
[backend/razor] Make expanded navbar hamburger menu full-width 2024-11-09 05:18:57 +01:00
Laura Hausmann
555d1108f5
[backend/razor] Move navbar placeholder into the NavBar component 2024-11-09 05:15:00 +01:00
Laura Hausmann
346803935a
[backend/razor] Add a navigation bar to the admin dashboard
This is implemented using a reusable navigation bar component.
2024-11-09 05:07:04 +01:00
Laura Hausmann
02765568db
[backend/api] Fix DbContext race condition in UserRenderer, refactor to make data flow clearer 2024-11-08 03:07:38 +01:00
pancakes
28548a5770
[backend] Add Emojis to UserResponse 2024-11-08 03:07:37 +01:00
Kopper
11170ffbcc [backend/masto-client] Allow admin:read and admin:write scopes
These aren't actually used anywhere but supported just to make sure
clients that specify them in their scopes can log in successfully.
2024-11-07 21:34:40 +01:00
Kopper
d22a21c7e7
[backend/federation] Render Create in /notes/{id}/activity when not a renote 2024-11-07 20:13:47 +01:00
Laura Hausmann
3e8ba289c3
[backend/drive] Fix incorrect mime type & file extension when converting original files (ISH-593)
Closes #64

Co-authored-by: Tamara Schmitz <tamara.zoe.schmitz@posteo.de>
2024-11-07 20:04:34 +01:00
Laura Hausmann
e34b4f5c1a
[backend/drive] Convert ImageFormat to a closed record 2024-11-07 20:04:34 +01:00
Kopper
94328a3eef [backend] Use a stack instead of queue when backfilling
This makes each reply chain load completely before loading the next
chain, instead of the current behavior that loads all replies of one
depth before loading the next "layer".

This won't make much of a difference *now*, but should result in more
intuitive behavior when live updating of newly loaded replies gets
implemented.
2024-11-06 20:02:29 +01:00
Kopper
40b35a7bd2 [backend/akko-client] Handle "local" visibility (ISH-559) 2024-11-06 13:06:18 +03:00
Laura Hausmann
4b01ecddfa
[backend/startup] Reference help shortlinks instead of directing to the wiki 2024-11-05 23:41:20 +01:00
pancakes
4d85fce1cf
[backend/core] Catch failed resolves in ImportFollowingAsync 2024-11-06 00:32:34 +10:00
Laura Hausmann
ceb8da8f3d
[shared] Only compute version info once 2024-11-03 22:43:28 +01:00
Laura Hausmann
c40c13261d
[shared] Improve fork version string handling 2024-11-03 22:29:19 +01:00
Laura Hausmann
1b885e6ed4
[backend/queue] Also deliver note updates to relays 2024-11-03 19:40:35 +01:00
pancakes
925ba3c751
[backend] Directly render ASReject 2024-11-03 13:02:12 +10:00
pancakes
43307d655f
[backend] Don't include UserProfile 2024-11-03 12:41:43 +10:00
pancakes
e10fafa805
[backend/masto-client] Add accounts/{id}/remove_from_followers 2024-11-03 12:19:33 +10:00
pancakes
dd82e457d0 [backend] Use RenderUnfollow to remove follower 2024-11-03 03:00:58 +01:00
pancakes
02e32c70c7 [backend/api] Check if user is following instead of if user exists 2024-11-03 03:00:58 +01:00
pancakes
ea5408c182 [backend/api] Add remove from followers endpoint 2024-11-03 03:00:58 +01:00
Laura Hausmann
f2853d2d40
[backend] Fix typo 2024-11-02 22:56:52 +01:00
Laura Hausmann
b3f9680845
[backend/core] Also set correct local mention url in other UserProfileMentionsResolver overload 2024-11-02 16:59:13 +01:00
Laura Hausmann
d9fabcb32c
[backend/core] Set correct url for local mentions in user profile 2024-11-02 16:05:30 +01:00
Laura Hausmann
525bd02022
[backend/libmfm] Fix broken rendering of mentions of local users in some circumstances (ISH-567)
This was caused because of an inconsistency of whether to set the account domain as a fallback value or not. Therefore, invocations with the mentioned local user host not having a fallback value would cause broken mention rendering, e.g. in bios/profile fields.
2024-10-31 21:24:07 +01:00
Laura Hausmann
e61e3d2fde
[backend/api] Wait for user mention resolution before returning (ISH-567) 2024-10-31 21:02:56 +01:00
Laura Hausmann
b4709e1e2a
[backend/api] Switch to common user update function in ProfileController.UpdateProfile (ISH-567) 2024-10-31 20:59:02 +01:00
pancakes
71a12261a4
[backend/api] Limit follow list imports to twice every 30 mins 2024-10-31 20:48:52 +01:00
pancakes
95ae04e4af
[backend] Download exported follow list directly instead of storing it as a file 2024-10-31 20:48:51 +01:00
pancakes
137dc0d0e6
[backend/core] Move import/export to ImportExportService and resolve imported users 2024-10-31 20:48:07 +01:00
pancakes
bfc36cbc48
[backend/api] Add follow list export endpoint 2024-10-31 20:48:07 +01:00
pancakes
62aa5f3075
[backend/api] Add follow list import endpoint 2024-10-31 20:48:07 +01:00
Laura Hausmann
8340952653
[backend/signalr] Switch to Lazy<T> for NoteResponses in StreamingService 2024-10-31 18:49:36 +01:00
Laura Hausmann
c9b9a8e45b
[backend] Switch to TimeSpan extension method for easier code readability 2024-10-30 18:27:18 +01:00