gotosocial/internal
kim 84279f6a6a
[performance] cache more database calls, reduce required database calls overall (#3290)
* improvements to caching for lists and relationship to accounts / follows

* fix nil panic in AddToList()

* ensure list related caches are correctly invalidated

* ensure returned ID lists are ordered correctly

* bump go-structr to v0.8.9 (returns early if zero uncached keys to be loaded)

* remove zero checks in uncached key load functions (go-structr now handles this)

* fix issues after rebase on upstream/main

* update the expected return order of CSV exports (since list entries are now down by entry creation date)

* rename some funcs, allow deleting list entries for multiple follow IDs at a time, fix up more tests

* use returning statements on delete to get cache invalidation info

* fixes to recent database delete changes

* fix broken list entries delete sql

* remove unused db function

* update remainder of delete functions to behave in similar way, some other small tweaks

* fix delete user sql, allow returning on err no entries

* uncomment + fix list database tests

* update remaining list tests

* update envparsing test

* add comments to each specific key being invalidated

* add more cache invalidation explanatory comments

* whoops; actually delete poll votes from database in the DeletePollByID() func

* remove added but-commented-out field

* improved comment regarding paging being disabled

* make cache invalidation comments match what's actually happening

* fix up delete query comments to match what is happening

* rename function to read a bit better

* don't use ErrNoEntries on delete when not needed (it's only needed for a RETURNING call)

* update function name in test

* move list exclusivity check to AFTER eligibility check. use log.Panic() instead of panic()

* use the poll_id column in poll_votes for selecting votes in poll ID

* fix function name
2024-09-16 16:46:09 +00:00
..
ap [bugfix] relax missing preferred_username, instead using webfingered username (#3189) 2024-08-13 09:01:50 +00:00
api [performance] cache more database calls, reduce required database calls overall (#3290) 2024-09-16 16:46:09 +00:00
cache [performance] cache more database calls, reduce required database calls overall (#3290) 2024-09-16 16:46:09 +00:00
cleaner [bugfix] fix emoji recaching operations (#3167) 2024-08-03 19:05:38 +02:00
config [performance] cache more database calls, reduce required database calls overall (#3290) 2024-09-16 16:46:09 +00:00
db [performance] cache more database calls, reduce required database calls overall (#3290) 2024-09-16 16:46:09 +00:00
email [bugfix] add Date and Message-ID headers for email (#3031) 2024-06-22 23:36:30 +02:00
federation [performance] cache more database calls, reduce required database calls overall (#3290) 2024-09-16 16:46:09 +00:00
filter [feature] Implement exclusive lists (#3280) 2024-09-09 15:56:58 -07:00
gtscontext [bugfix] httpclient not signing subsequent redirect requests (#2798) 2024-04-02 13:12:26 +02:00
gtserror [experiment] add alternative wasm sqlite3 implementation available via build-tag (#2863) 2024-05-27 17:46:15 +02:00
gtsmodel [performance] cache more database calls, reduce required database calls overall (#3290) 2024-09-16 16:46:09 +00:00
headerfilter [feature] request blocking by http headers (#2409) 2023-12-18 14:18:25 +00:00
httpclient [feature] persist worker queues to db (#3042) 2024-07-30 13:58:31 +02:00
id [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
iotools [performance] update storage backend and make use of seek syscall when available (#2924) 2024-05-22 11:46:24 +02:00
language [feature] Set/show instance language(s); show post language on frontend (#2362) 2023-11-17 11:35:28 +01:00
log [chore] Log less output on failed test (#2804) 2024-04-04 16:42:42 +01:00
media [performance] use single-threaded image transforms (#3252) 2024-08-31 10:41:38 +02:00
messages [bugfix] incorrect AP serialize function used serializing worker data (#3196) 2024-08-12 18:23:24 +02:00
metrics [chore] Update usage of OTEL libraries (#2725) 2024-03-11 15:34:34 +01:00
middleware [feature] Beef up our AI opt-outs (#3165) 2024-08-02 18:22:39 +02:00
oauth [chore] Upgrade our Go version to 1.22 (#2862) 2024-04-26 10:40:29 +02:00
oidc [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
paging [bugfix] flaky paging test (#2888) 2024-05-01 13:29:42 +02:00
processing [performance] cache more database calls, reduce required database calls overall (#3290) 2024-09-16 16:46:09 +00:00
queue [performance] update go-structr and go-mutexes with memory usage improvements (#2909) 2024-05-13 08:05:46 +00:00
regexes [feature] Federate interaction policies + Accepts; enforce policies (#3138) 2024-07-26 12:04:28 +02:00
router [chore] improved startup / shutdown (#2925) 2024-05-29 13:21:04 +02:00
scheduler [feature] add support for polls + receiving federated status edits (#2330) 2023-11-08 14:32:17 +00:00
state [bugfix] Lock when checking/creating notifs to avoid race (#2890) 2024-05-02 13:43:00 +01:00
storage [feature] Object store custom URL (S3) (#3046) 2024-07-31 13:44:18 +01:00
stream [feature] Conversations API (#3013) 2024-07-23 20:44:31 +01:00
text [feature/frontend] Respect prefers-reduced-motion for avatars, headers, and emojis (#3118) 2024-07-21 14:22:08 +02:00
timeline [feature] Interaction requests client api + settings panel (#3215) 2024-08-24 11:49:37 +02:00
tracing [chore] Update usage of OTEL libraries (#2725) 2024-03-11 15:34:34 +01:00
trans [feature] Allow users to export data via the settings panel (#3140) 2024-07-31 15:03:34 +01:00
transport [chore] Close copied request body in SignDelivery (#3254) 2024-08-30 17:00:55 +00:00
typeutils [performance] cache more database calls, reduce required database calls overall (#3290) 2024-09-16 16:46:09 +00:00
uris [feature] Interaction requests client api + settings panel (#3215) 2024-08-24 11:49:37 +02:00
util [performance] cache more database calls, reduce required database calls overall (#3290) 2024-09-16 16:46:09 +00:00
validate [feature] Implement Filter API v2 (#2936) 2024-05-31 12:55:56 +02:00
web [chore] More AI blocking (#3273) 2024-09-07 17:21:36 +02:00
workers [feature] Allow import of following and blocks via CSV (#3150) 2024-08-02 12:41:46 +01:00