Commit graph

303 commits

Author SHA1 Message Date
Laura Hausmann
c7d0280eb6
[backend] Use SemaphorePlus instead of SemaphoreSlim 2024-07-22 05:59:41 +02:00
Laura Hausmann
0e9a15e9dd
[backend/masto-client] Trim ':' character from custom emoji names
Some clients don't expect this and will duplicate the leading/trailing colon.
2024-07-14 22:34:34 +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
6b6bb53668
[backend/masto-client] Add note mute/unmute endpoints (ISH-417) 2024-07-14 22:06:29 +02:00
Laura Hausmann
f45b020699
[backend/masto-api] Fix hideInaccessible not being respected in streaming connection updates 2024-07-14 20:41:05 +02:00
Laura Hausmann
9233e43b81
[backend/api-shared] Don't dispose DbContext prematurely in streaming connection handlers 2024-07-13 15:59:35 +02:00
Laura Hausmann
1d43f2c30b
[backend/api-shared] Add thread mute support (ISH-172) 2024-07-13 01:35:28 +02:00
Laura Hausmann
f42aeee2fd
[backend/api] Add filter endpoints (ISH-339) 2024-07-13 00:36:49 +02:00
Laura Hausmann
b504bf2548
[backend/masto-client] Support client_credentials grant type (ISH-416) 2024-07-12 18:18:09 +02:00
Laura Hausmann
9c8debb5ed
[backend/masto-client] Improve error message when requesting an oauth token with a grant_type other than authorization_code 2024-07-12 17:48:54 +02:00
Laura Hausmann
81974db0f7
[backend/api] Expose new user_settings flags in SettingsController 2024-07-10 02:55:57 +02:00
Laura Hausmann
09cda1a89e
[backend/database] Move user_profile columns that only concern local users to user_settings
This commit also removes a bunch of obsolete user_profile columns.
2024-07-10 02:55:57 +02:00
Laura Hausmann
0776a50cbe
[backend/asp] Refactor controllers
This commit aims to improve readability of MVC controllers & actions. The main change is the switch to custom [ProducesResults] and [ProducesErrors] attributes.
2024-07-06 17:12:22 +02:00
Laura Hausmann
374d9d5ebf
[backend/api] Add note refetch endpoint (ISH-352) 2024-07-04 18:57:17 +02:00
Laura Hausmann
0a89a228e3
[backend] Refactor Controllers folder 2024-07-04 18:17:50 +02:00
Laura Hausmann
9c7c5595f3
[backend/masto-client] Fix quote/renote indicators sometimes being rendered incorrectly 2024-07-04 00:38:46 +02:00
Laura Hausmann
566ae8adfd
[backend/masto-client] Render quotes & quote/reply inaccessible indicators for notes with no text 2024-07-04 00:18:18 +02:00
Laura Hausmann
d2e7753dd1
[backend/masto-client] Add FollowRequestCount to AccountSource 2024-07-02 22:43:36 +02:00
Laura Hausmann
df3a7bdfe5
[backend] Apply formatting rules 2024-06-29 01:06:19 +02:00
Laura Hausmann
e65c678a35
[backend/core] Revert to heuristic-based home timeline query
There can be performance issues with the other query, so we have to revert this for now.
2024-06-26 22:56:36 +02:00
Laura Hausmann
d0eaf13b6b
[backend] Code cleanup 2024-06-26 21:57:22 +02:00
Laura Hausmann
46644b2ab1
[backend/core] Switch to universal home timeline query 2024-06-26 21:54:54 +02:00
Laura Hausmann
7a57862048
[backend/core] Improve heuristics query performance, move timeline-related extensions into its own file 2024-06-26 21:54:16 +02:00
pancakes
6b5a5a1a09
[backend/masto-client] Set category for emojis 2024-06-24 17:02:52 +10:00
Laura Hausmann
36296cd28c
[backend/masto-client] Fix poll endpoint authentication (ISH-377) 2024-06-20 19:38:16 +02:00
Laura Hausmann
8d4dd6ab52
[backend/masto-client] Fix rendering of quote-renotes causing InvalidOperationException during database access 2024-06-20 13:34:01 +02:00
Laura Hausmann
24bde5ad29
[backend] Use User.IsLocalUser / .IsRemoteUser instead of null-checks where applicable (ISH-370) 2024-06-17 17:25:29 +02:00
Laura Hausmann
364d0c54a0
[backend/masto-client] Paginate note likes & renotes correctly (ISH-362) 2024-06-15 17:30:12 +02:00
Laura Hausmann
8b36f1aecf
[backend/masto-client] Paginate likes & bookmarks based on their identifier (instead of the note identifier) 2024-06-15 16:57:06 +02:00
Laura Hausmann
c7bacc2856
[backend/masto-client] Ignore App.website property when it only contains whitespace 2024-06-14 21:45:29 +02:00
Laura Hausmann
33a3601a79
[backend/masto-client] Improve user lookup regex 2024-06-08 00:58:06 +02:00
Laura Hausmann
68528b6785
[backend/masto-client] Return empty result set for resolve searches with offset > 0 2024-06-08 00:51:41 +02:00
Laura Hausmann
699e0237b0
[backend/masto-client] Return 404 for /media/v2/{id} endpoints (ISH-356)
This fixes media uploads with alt text in some clients (like Enafore).
2024-06-07 19:07:36 +02:00
Laura Hausmann
c46a5bd93d
[backend/masto-client] Correctly handle offset pagination (ISH-358) 2024-06-07 18:44:48 +02:00
Laura Hausmann
fc2dcb5e97
[backend/masto-client] Revert NoteRenderer url/uri changes 2024-06-07 17:35:45 +02:00
Laura Hausmann
8e20916c9a
[backend/api-shared] Make FTS support filtering by local instance web/account domain 2024-06-06 20:53:33 +02:00
Laura Hausmann
9fe28d14d8
[backend/masto-client] Fix typo 2024-06-05 17:46:11 +02:00
Laura Hausmann
004d89e78a
[backend/masto-client] Improve account/status url/uri field compatibility 2024-06-05 17:44:48 +02:00
Laura Hausmann
24fd34755a
[backend/masto-client] Set StatusEntity.IsMuted to false instead of null 2024-06-05 17:40:47 +02:00
Laura Hausmann
dba4196655
[backend/core] Track poll votersCount for local & remote polls 2024-06-05 15:26:25 +02:00
Laura Hausmann
9e1e23f6b9
[backend/masto-client] Display non-zero voter count for multi-choice polls 2024-06-05 13:59:34 +02:00
Laura Hausmann
28fa7eb5de
[backend/masto-client] Send empty string content for notes without text 2024-06-04 17:43:10 +02:00
Laura Hausmann
167fd5f0d6
[backend/api] Add renote endpoints (ISH-341) 2024-05-23 19:37:56 +02:00
Laura Hausmann
4c342b0657
[backend/masto-client] Add direct streaming channel (ISH-332) 2024-05-23 17:24:06 +02:00
Laura Hausmann
434d532318
[backend/streaming] Respect list members that are hidden from home in streaming connections 2024-05-23 17:23:50 +02:00
Laura Hausmann
dc09a4ada2
[backend/masto-client] Add list streaming channel (ISH-332) 2024-05-23 17:10:36 +02:00
Laura Hausmann
a4087a4c81
[backend/masto-client] Add hashtag streaming channel (ISH-332) 2024-05-23 17:10:32 +02:00
Laura Hausmann
a5c1f063d2
[backend/swagger] Fix form file annotations 2024-05-23 16:13:39 +02:00
Laura Hausmann
329f677075
[backend/masto-client] Fix IsApplicableBool check in UserChannel 2024-05-23 14:48:16 +02:00
Laura Hausmann
9636a096fc
[backend/masto-client] Respect filters in WebSocket connections (ISH-328) 2024-05-17 19:21:41 +02:00