audiobookshelf/test/server/models
Kevin Gatera 9a5980e76b
fix user cache misses for mixed-case username and email lookups
getUserByUsername/getUserByEmail normalize to lowercase before the
cache lookup, but the cache comparators matched case-sensitively, so a
mixed-case stored username never cache-hit and every login ran an
unindexed LOWER() scan. Compare case-insensitively inside the cache.
2026-08-02 18:39:42 -04:00
..
MediaProgress.test.js add regression tests for postgres query edge cases 2026-08-02 18:19:05 -04:00
oldJsonSerialization.test.js Add all minified fields to expanded library item JSON so socket updates remain a strict superset of shelf payloads 2026-07-01 22:30:21 +03:00
User.test.js fix user cache misses for mixed-case username and email lookups 2026-08-02 18:39:42 -04:00