Laura Hausmann
c9b9a8e45b
[backend] Switch to TimeSpan extension method for easier code readability
2024-10-30 18:27:18 +01:00
Kopper
61bad29c54
[backend/database] Add warning to AddNoteThread migration that it may take a while
2024-10-25 07:13:03 +03:00
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
55530f482d
[backend/api] Add pagination data to note likes and note renotes responses
2024-10-24 18:20:48 +02:00
Laura Hausmann
f19a414b27
[backend/federation] Refactor UserResolver (ISH-548)
2024-10-24 01:48:09 +02:00
Laura Hausmann
bb276c57f3
[backend/database] Add job mutex column
2024-10-22 21:11:57 +02:00
Laura Hausmann
4f4a847621
[backend/database] Increase length of follow request activity id field to 512 characters
...
This should fix federation with brid.gy relays.
2024-10-20 22:05:57 +02:00
Laura Hausmann
3274259f12
[backend/database] Prevent alt text migration from printing the info message twice
2024-10-09 18:39:40 +02:00
kopper
8998cd2874
[backend] Also search in alt text
2024-10-09 18:31:16 +02:00
Laura Hausmann
a5a2c0b169
[backend/core] Add basic reject policies, along with a highly extensible system for rewrite policies (ISH-16)
2024-10-09 04:34:23 +02:00
pancakes
b3b2adb127
[backend] Add sensitive field to emojis
2024-10-04 00:36:38 +02:00
Laura Hausmann
9d1a21e2d9
[backend/razor] Move public preview to Blazor SSR (razor components)
2024-10-02 02:17:51 +02:00
Laura Hausmann
7662c28745
[backend/database] Canonicalize punycode host representations to lowercase
2024-10-02 01:16:25 +02:00
Laura Hausmann
df4eea5c0e
[backend/database] PushSubscription.Types should be a property, not a field
...
This fixes creating migrations failing with an extremely unhelpful error message when using .NET 9.0.
2024-09-28 02:09:11 +02:00
Laura Hausmann
4cfd4de389
[backend/core] Disallow following of system users
2024-09-28 00:37:36 +02:00
Laura Hausmann
df26db0585
[backend/federation] Add relay support (ISH-266)
2024-09-28 00:32:43 +02:00
Laura Hausmann
834119aa38
[backend] Fix typo
2024-09-26 18:40:15 +02:00
Laura Hausmann
8c2a2f0d15
[backend/database] Clarify license wording for prune-designer-cs-files.sh
2024-09-26 18:38:37 +02:00
Laura Hausmann
3fab1a2b8f
[backend/database] License prune-designer-cs-files helper script under MIT in addition to the project-scoped EUPL license
2024-09-26 18:37:34 +02:00
Laura Hausmann
e9ce3f3fa3
[backend/razor] Extract identicon url generation into User.IdenticonUrlPath property
2024-09-18 21:31:27 +02:00
Kopper
024de937d0
[backend/federation] Backfill replies
2024-09-15 01:47:41 +02:00
Laura Hausmann
238b441560
[backend/database] Remove remote user reply notifications
2024-09-14 02:46:31 +02:00
Laura Hausmann
afe62b0aab
[sln] Code cleanup
2024-09-13 21:44:31 +02:00
Laura Hausmann
08621c72a0
[backend/database] Move pleroma migration into the beta4 directory
2024-09-13 18:32:30 +02:00
Kopper
79427e2901
[backend/akko-client] Prune migration designer file
2024-09-13 17:30:05 +02:00
Kopper
26ec42bc62
[backend/akko-client] Put Pleroma quirks behind a feature flag
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
0f400e8023
[backend/queue] Remove cluster mode (ISH-141)
...
This is wontfix for now, though we might reevaluate this later.
2024-07-25 00:00:43 +02:00
Laura Hausmann
ca1f022fc0
[backend/razor] Add overview page to queue dashboard
2024-07-21 23:51:25 +02:00
Laura Hausmann
1f5171eacc
[backend/startup] Add iceshrimp-js migration assistant
2024-07-20 17:10:33 +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
478efdc4c7
[iceshrimp/database] Add plugin store table (ISH-424)
2024-07-13 23:04:55 +02:00
Laura Hausmann
f42aeee2fd
[backend/api] Add filter endpoints (ISH-339)
2024-07-13 00:36:49 +02:00
Laura Hausmann
7a67b8a472
[backend/database] Add missing index on User.IsSuspended
2024-07-12 21:10:18 +02:00
Laura Hausmann
b7646f4d6c
[backend/database] Resync constraint/index differences between native .net databases and ones migrated from -js
2024-07-12 21:02:55 +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
0cd754f4c2
[backend/database] Remove extraneous user table columns
2024-07-11 23:37:55 +02:00
Laura Hausmann
3ac63e1510
[backend/federation] Respect UserSettings.AlwaysMarkSensitive
2024-07-11 23:24:48 +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
5564bb7234
[backend/database] Move migrations into respective version folders
2024-06-29 01:11:46 +02:00
Laura Hausmann
df3a7bdfe5
[backend] Apply formatting rules
2024-06-29 01:06:19 +02:00
Laura Hausmann
ca8ce9137d
[backend/queue] Refactor queue job count functions into DatabaseContext
2024-06-28 18:20:59 +02:00
Laura Hausmann
a0aa632bf4
[backend/core] Make universal home timeline query fast
2024-06-26 21:55:23 +02:00
Laura Hausmann
3599150603
[backend/database] Add Exception column to Job table
2024-06-21 19:18:31 +02:00
Laura Hausmann
3e0a5b5759
[backend/configuration] Allow configuring of parameter logging for database exceptions
2024-06-21 16:24:03 +02:00
Laura Hausmann
19c9b7bf90
[backend/database] Add StackTrace column to Job table
2024-06-21 14:05:34 +02:00
Laura Hausmann
f5c0cc9a38
[backend/database] Add migration that fixes up poll voter counts using the new algorithm (ISH-377)
2024-06-20 20:05:51 +02:00
Laura Hausmann
c4763e9c67
[backend/database] Fix Note.IsQuote not handling cw-only renotes correctly
2024-06-19 14:05:28 +02:00