Laura Hausmann
b49be2f904
[backend/database] Fix efcore.pg v9 enum mapping
2024-11-18 19:02:41 +01: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
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
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
478efdc4c7
[iceshrimp/database] Add plugin store table (ISH-424)
2024-07-13 23:04:55 +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
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
3e0a5b5759
[backend/configuration] Allow configuring of parameter logging for database exceptions
2024-06-21 16:24:03 +02:00
Laura Hausmann
0bbdbbe7f3
[backend/database] Remove unused db function reference
2024-06-19 14:04:13 +02:00
Laura Hausmann
3467fe952c
[backend/database] Add support for connection multiplexing
2024-06-10 19:26:21 +02:00
Laura Hausmann
e77c768882
[backend/database] Switch job identifier generation scheme to from UUIDv4 to ULID
2024-05-27 22:11:18 +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
d54cb5c391
[backend/database] Add renoteUri and replyUri properties to the note table
2024-04-30 00:15:58 +02:00
Laura Hausmann
61adc27b18
[backend/masto-client] Use new defaultRenoteVisibility user setting instead of defaulting to followers if not explicitly specified (ISH-290)
2024-04-28 23:09:20 +02:00
Laura Hausmann
bee733b3da
[backend/database] Rename DataProtectionKeys table to data_protection_keys for consistency
2024-04-28 20:15:56 +02:00
Laura Hausmann
0b77107b1e
[backend/database] Add connection pool size configuration option
2024-04-27 20:05:42 +02:00
Laura Hausmann
fe68c03428
[backend/database] Fail gracefully if initial migration is pending and database is not empty (ISH-265)
2024-04-18 18:51:07 +02:00
Laura Hausmann
969622bfc7
[backend/api] Return note descendants in tree form (ISH-242)
...
This also partially addresses thread ordering in the Mastodon client API.
2024-04-07 20:43:28 +02:00
Laura Hausmann
62dde50af2
[backend/core] Support note filters (ISH-97)
2024-03-31 23:56:55 +02:00
Laura Hausmann
abf92b8ea5
[backend/queue] Increase heartbeat grace period from 15s to 60s
2024-03-28 13:21:51 +01:00
Laura Hausmann
65e0ad58f7
[backend/database] Make helper methods private
2024-03-26 17:37:00 +01:00
Laura Hausmann
f24c7dff08
[backend/database] Move queue job queries into DatabaseContext
2024-03-26 17:35:20 +01:00
Laura Hausmann
a4ae25d5f3
[backend/queue] Initial clustering support (ISH-141, ISH-220)
2024-03-26 17:08:43 +01:00
Laura Hausmann
a67fe3722d
[backend] Code cleanup
2024-03-24 14:17:02 +01:00
Laura Hausmann
9698e3d36d
[backend/core] Replace redis-based queue system with a postgres-based one (ISH-212)
2024-03-24 00:17:28 +01:00
Laura Hausmann
c6300d1c96
[backend/core] Replace IDistributedCache with postgres k/v cache (ISH-212)
2024-03-23 19:10:27 +01:00
Laura Hausmann
82dfd5db1b
[backend/database] Revert "Remove configuration parsing for DesignTimeDbContext, as we don't need a valid database connection string"
...
This change made migration reverts impossible.
This reverts commit 64ef76be10
.
2024-03-22 21:42:36 +01:00
Laura Hausmann
d5e0587048
[backend/database] Fix IDesignTimeDbContextFactory method
2024-03-21 16:34:08 +01:00
Laura Hausmann
64ef76be10
[backend/database] Remove configuration parsing for DesignTimeDbContext, as we don't need a valid database connection string
2024-03-21 16:33:07 +01:00
Laura Hausmann
a408fa247a
[backend] Code cleanup
2024-03-17 13:36:08 +01:00
Laura Hausmann
be27893c32
[backend/core] Improve meta store (ISH-133)
2024-03-16 13:19:02 +01:00
Laura Hausmann
c0cd136140
[backend/core] Add very basic metadata store (ISH-133)
2024-03-15 19:55:14 +01:00
Laura Hausmann
a623b870cd
[backend/masto-client] Add push notification support (ISH-182)
2024-03-15 19:20:48 +01:00
Laura Hausmann
4f8460914d
[backend/database] Also index & query note.cw for full text search (ISH-129)
2024-03-13 00:34:29 +01:00
Laura Hausmann
e59526592c
[backend/database] Cleanup tables, set delete constraints correctly on all tables (ISH-78)
2024-03-04 22:57:37 +01:00
Laura Hausmann
92d229ad63
[backend/federation] Properly handle hashtags in notes & user profiles (ISH-114, ISH-125)
2024-03-04 21:54:46 +01:00
Laura Hausmann
e42812d2b0
[backend/core] Denormalize like counts (ISH-110)
2024-03-04 02:42:35 +01:00
Laura Hausmann
6a10d408f9
[backend/masto-client] Use the F# SearchQuery parser for FTS queries (ISH-11)
2024-03-04 00:12:22 +01:00
Laura Hausmann
b979605470
[backend/database] Remove HTML cache tables
2024-03-01 21:44:06 +01:00
Laura Hausmann
ab5258237d
[backend/database] Fix DatabaseContext.ReloadEntityRecursivelyAsync
2024-03-01 19:46:05 +01:00
Laura Hausmann
18bcba7e30
[backend/core] Fix entity reloading from database
2024-03-01 18:24:01 +01:00
Laura Hausmann
c87fa00864
[backend/core] Cleanup instance counters code
2024-02-29 19:40:22 +01:00
Laura Hausmann
ad21897928
[backend/core] Add user settings store (ISH-106)
2024-02-29 18:49:02 +01:00
Laura Hausmann
644fed46eb
[backend/core] Add markers table & respective endpoints (ISH-91)
2024-02-27 02:15:40 +01:00
Laura Hausmann
82ff329e34
[backend/mastodon-client] Implement conversations endpoints
2024-02-27 01:07:12 +01:00