kopper
7173373330
[backend/federation] Improved reply backfill
...
Instead of backfilling every note we come across that has a reply
collection, only schedule a backfill job if someone wants to see the
replies (on GET MastoAPI /context, or Iceshrimp API /descendants)
Reply backfilling is also done on a ThreadIdOrId basis as opposed to the
previous way of backfilling individual notes. This allows us finer
grained control over the recursion and frees up the job queue, alongside
allowing for easier implementation of context collection backfill in the
future (by mapping each context collection to a thread)
---
Currently, note threads are implicit based on the "threadId" column of a
note, which can be null (where it's the same as the note's "id")
This commit turns note threads into an actual entity, and as a part of
that, makes "threadId" non-nullable (by specifically setting it to "id"
for those cases)
This is done to attach extra metadata to the entire thread, currently
just the time of when it was last backfilled, but more may be added in
the future (the context collection associated with this thread, for example)
---
The data format for backfill jobs have backwards-incompatibly changed
since the introduction of the feature. We can drop all old jobs without
causing too much trouble as they will be re-scheduled on demand
---
Signed-off-by: Laura Hausmann <laura@hausmann.dev>
2024-10-24 21:18:57 +02:00
Laura Hausmann
304d9f2750
[backend/masto-client] Enforce RestrictedNoMedia public preview mode
2024-09-24 01:02:05 +02:00
Laura Hausmann
1c2079e1ee
[backend] Rework GracefulException throws without additional detail
2024-09-24 00:45:18 +02:00
Laura Hausmann
afe62b0aab
[sln] Code cleanup
2024-09-13 21:44:31 +02:00
Kopper
7cd5f0776b
[backend/akko-client] Cleanup and reformat
2024-09-13 17:30:05 +02:00
Kopper
e01e241fc7
[backend/akko-client] Un-break Moshidon
2024-09-13 17:30:05 +02:00
Kopper
bfa69933c5
[backend/akko-client] Fix reaction notifications for custom emoji
2024-09-13 17:30:05 +02:00
Kopper
16c0cba1f4
[backend/akko-client] Attempt to fix reaction account IDs
2024-09-13 17:30:05 +02:00
Kopper
9d6d892091
[backend/akko-client] Fix notifications, including emoji reaction notifications
2024-09-13 17:30:05 +02:00
Kopper
fefe599d32
[backend/akko-client] Add reaction endpoints
2024-09-13 17:30:05 +02:00
Kopper
3fb8fea316
[backend/akko-client] Expose conversation ID
2024-09-13 17:30:05 +02:00
Kopper
e3a41c6190
[backend/akko-client] Expose required pleroma.emoji_reactions field
2024-09-13 17:30:05 +02:00
Laura Hausmann
c07bb35548
[backend/drive] Refactor ImageProcessor into a modular system
...
This commit lays the groundwork for a user-configurable image processing pipeline. It has exactly the same behavior as the old ImageProcessor, just modular & compartmentalized. It also adds support for AVIF & JXL encoding, though no code paths call it just yet.
2024-08-12 03:21:03 +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
6b6bb53668
[backend/masto-client] Add note mute/unmute endpoints (ISH-417)
2024-07-14 22:06:29 +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
pancakes
6b5a5a1a09
[backend/masto-client] Set category for emojis
2024-06-24 17:02:52 +10: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
fc2dcb5e97
[backend/masto-client] Revert NoteRenderer url/uri changes
2024-06-07 17:35:45 +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
9636a096fc
[backend/masto-client] Respect filters in WebSocket connections (ISH-328)
2024-05-17 19:21:41 +02:00
Laura Hausmann
2c7490a304
[backend/masto-client] Always send text property on status entities (ISH-323)
2024-05-15 13:11:24 +02:00
Laura Hausmann
839f93ff66
[backend/api-shared] Fix emoji reactions not being rendered consistently
2024-05-14 16:34:18 +02:00
Laura Hausmann
61d6f73e90
[backend/masto-client] Fix edit history timestamps
2024-05-14 13:50:06 +02:00
Laura Hausmann
0ad4346e51
[backend/masto-client] Add user_settings feature flag for hiding inaccessible notes (ISH-303)
2024-05-02 23:33:41 +02:00
Laura Hausmann
df1c8e5475
[backend/masto-client] Set sensitive property when sensitive media is attached (ISH-292)
2024-05-02 22:34:42 +02:00
Laura Hausmann
baf3138286
[backend/masto-client] Improve inaccessible reply/quote detection
2024-05-01 16:29:27 +02:00
Laura Hausmann
d31860dbb3
[backend/core] Track renote/reply uri for notes where the target is inaccessible at time of ingestion (ISH-287)
2024-04-30 00:15:58 +02:00
Laura Hausmann
8b6812eaf9
[backend] Fix code style
2024-04-28 03:34:14 +02:00
Laura Hausmann
5c9a42a3f6
[backend/masto-client] Return reactions for unauthenticated users
2024-04-28 03:33:33 +02:00
Laura Hausmann
ec6a3f5e73
[backend/masto-client] Return profile fields in /accounts/verify_credentials
2024-04-28 02:03:13 +02:00
Laura Hausmann
4774eb31ed
[backend/masto-client] Render quote-renotes correctly (ISH-281)
...
This time without the typo.
2024-04-28 00:28:17 +02:00
Laura Hausmann
ca56b93524
[backend/masto-client] Render quote-renotes correctly (ISH-281)
2024-04-28 00:03:52 +02:00
Laura Hausmann
5f86ffeffe
[backend/masto-client] Add edit history endpoint (ISH-274)
2024-04-25 02:08:30 +02:00
Laura Hausmann
a56d7f521c
[backend/masto-client] Fix renotes appearing more than once in note responses (ISH-261)
2024-04-16 02:09:02 +02:00
Laura Hausmann
a6dce56e0c
[backend/masto-client] Add quote_id to StatusEntity
2024-04-10 18:22:18 +02:00
Laura Hausmann
22a4de63f3
[backend/masto-client] Add & populate MastoReplyUserId column (ISH-247)
2024-04-07 21:07:04 +02:00
Laura Hausmann
01e640e8e5
[backend/masto-client] Only check filters for the root note
2024-04-05 17:11:03 +02:00
Laura Hausmann
62dde50af2
[backend/core] Support note filters (ISH-97)
2024-03-31 23:56:55 +02:00
Laura Hausmann
02b80a1a2a
[backend/core] Skip database queries for 0 member collections
2024-03-26 20:13:47 +01:00
Laura Hausmann
ff97dfa627
[backend/core] Render renote notifications correctly
2024-03-24 15:07:20 +01:00
Laura Hausmann
62469e2ea4
[backend/api] Use UserRenderer in AuthController instead of instantiating the response object directly (ISH-209)
2024-03-21 16:52:23 +01:00