aboutsummaryrefslogtreecommitdiff
path: root/src/Jellyfin.Database
AgeCommit message (Collapse)Author
2026-10-07Merge pull request #17565 from twsouthwick/use-datasourceTaylor Southwick
Use DataSource for sqlite db path
2026-10-05Backport pull request #18276 from jellyfin/release-12.zShadowghost
Make the OwnerId and ExtraType/OwnerId indexes partial so extras lookups keep using them Original-merge: 7cf12e5fb9f2a6bae7cb4196d4bb796ccf79fb0f Merged-by: crobibero <cody@robibe.ro> Backported-by: Cody Robibero <cody@robibe.ro>
2026-10-05Backport pull request #18268 from jellyfin/release-12.zmartimarkov
Fix off-by-one in the optimistic locking retry backoff Original-merge: 765e09e33324b327eb67569fb0feb1124932403b Merged-by: crobibero <cody@robibe.ro> Backported-by: Cody Robibero <cody@robibe.ro>
2026-09-27Backport pull request #18196 from jellyfin/release-12.zShadowghost
Skip statistics on an empty library and refresh them after every scan Original-merge: 83b89218e54754b22831399d592cd0f4b6185812 Merged-by: crobibero <cody@robibe.ro> Backported-by: Cody Robibero <cody@robibe.ro>
2026-09-27Backport pull request #18073 from jellyfin/release-12.zShadowghost
Fix ChangeOwnerIdToGuid migration performance Original-merge: cbee6bd93da515172605b39c82462de2e7a66cd4 Merged-by: crobibero <cody@robibe.ro> Backported-by: Cody Robibero <cody@robibe.ro>
2026-09-15Backport pull request #18003 from jellyfin/release-12.zShadowghost
Check Live TV access for a single user instead of enumerating all users Original-merge: 2bcd3b1efb121ad661495570b43aace247ee0a27 Merged-by: crobibero <cody@robibe.ro> Backported-by: Cody Robibero <cody@robibe.ro>
2026-09-15Backport pull request #17881 from jellyfin/release-12.zShadowghost
Fix /UserViews exhausting memory and reporting random child counts Original-merge: a838a06aa51eac388a76e9e6421f1a80873c417b Merged-by: crobibero <cody@robibe.ro> Backported-by: Cody Robibero <cody@robibe.ro>
2026-09-15Backport pull request #17836 from jellyfin/release-12.zShadowghost
Fix database optimization memory use and pre-migration backup integrity Original-merge: 29ee48a0476910ad0f054bed0ec8baf4a694130e Merged-by: crobibero <cody@robibe.ro> Backported-by: Cody Robibero <cody@robibe.ro>
2026-09-15Backport pull request #17835 from jellyfin/release-12.zShadowghost
Clean up invalid data before running migrations Original-merge: 75d7b2010ea2d75fdb7554c700c4e6981331b484 Merged-by: crobibero <cody@robibe.ro> Backported-by: Cody Robibero <cody@robibe.ro>
2026-09-05Revert to doing after migration and on shutdownShadowghost
2026-09-05Optimize the database on startup instead of before shutdownShadowghost
2026-09-04Optimize database after running migrationsShadowghost
2026-08-22Adapt to masterShadowghost
2026-08-22Merge remote-tracking branch 'upstream/master' into fix-series-mergingShadowghost
2026-08-22Multiple fixes and improvementsShadowghost
Co-Authored-By: Cody Robibero <cody@robibe.ro>
2026-08-22Merge remote-tracking branch 'upstream/master' into optimize-db-helper-memoryShadowghost
# Conflicts: # src/Jellyfin.Database/Jellyfin.Database.Providers.Sqlite/Migrations/JellyfinDbModelSnapshot.cs
2026-08-21Fix series merging leaking across libraries and under-counting merged childrenShadowghost
2026-08-20Stop user updates from orphaning permission and preference rows (#17645)Tim Eisele
* Stop user updates from orphaning permission and preference rows * Make UserId non-nullable * Remove unnecessary ToList * Update Jellyfin.Server.Implementations/Users/UserManager.cs Co-authored-by: Claus Vium <cvium@users.noreply.github.com> --------- Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2026-08-14Count alternate versions in the media filters and align filter conditionsShadowghost
2026-08-14Skip alternate version links when resolving link parentsShadowghost
2026-08-12Fix formattingShadowghost
2026-08-12Make the media stream filter index coveringShadowghost
2026-08-12Resolve link owners from LinkedChildrenShadowghost
2026-08-11Optimize query helper memoryShadowghost
2026-08-10Merge pull request #17570 from Shadowghost/fix-ef-driftv12.0-rc5Cody Robibero
Fix EF core designer drifts
2026-08-10Merge pull request #17582 from Shadowghost/fix-assembliesCody Robibero
Fix assemblies
2026-08-10Merge pull request #17563 from Shadowghost/cleanup-sql-helpersCody Robibero
Cleanup and simplify query helpers
2026-08-08Fix assembliesShadowghost
2026-08-07Merge pull request #17560 from IDisposable/chore/pessimistic-reality-checkCody Robibero
Add warning that PessimisticLockBehavior is unsafe
2026-08-07Merge pull request #17559 from IDisposable/fix/optimistic-lock-behaviorCody Robibero
Fix captured (and discarded) Execute exceptions
2026-08-07Fix EF core designer driftsShadowghost
2026-08-07Apply review suggestionsShadowghost
2026-08-06Cleanup and simplify query helpersShadowghost
2026-08-06Add warning that PessimisticLockBehavior is unsafeMarc Brooks
Since it uses ReaderWriterLockSlim, it gets tripped up if the transaction is continued across an await boundary on a different thread.
2026-08-06Fix captured (and discarded) Execute exceptionsMarc Brooks
Using ExecuteAndCapture (and the async version) requires something to manage the captured exception, which we don't do. Errors would be silently dropped and the writes/deletes treated as if they succeeded.
2026-08-06Switch SQLite connection Cache to PrivateMarc Brooks
If left at Default, sqlite3_enable_shared_cache is process-global, so a plugin enabling it makes these connections share a cache too. Contention then surfaces as SQLITE_LOCKED ("database table is locked"), which the busy handler does not cover, busy_timeout is skipped and the command fails at CommandTimeout instead.
2026-08-02Merge remote-tracking branch 'upstream/master' into fix-byname-queriesShadowghost
2026-08-01Merge remote-tracking branch 'upstream/master' into fix-byname-queriesShadowghost
# Conflicts: # src/Jellyfin.Database/Jellyfin.Database.Providers.Sqlite/Migrations/JellyfinDbModelSnapshot.cs
2026-08-01Merge remote-tracking branch 'upstream/master' into tmdb-missing-episodesShadowghost
# Conflicts: # Jellyfin.Server.Implementations/Item/BaseItemRepository.QueryBuilding.cs
2026-08-01Merge pull request #17416 from Shadowghost/enable-duplicate-playlist-childrenCody Robibero
Allow duplicate LinkedChildren for Playlists
2026-07-28Restrict people, genres, studios and artists to names backed by an item the ↵Shadowghost
user can access
2026-07-28Make the /Persons de-duplication use an index instead of grouping the tableShadowghost
2026-07-25Fix favorite filter performanceShadowghost
2026-07-25Fix DatePlayed sorting performanceShadowghost
2026-07-23Reduce correlated subqueries to improve performanceShadowghost
2026-07-23Allow duplicate LinkedChildren for PlaylistsShadowghost
2026-06-25Add TMDb missing episode providerShadowghost
2026-05-30Merge remote-tracking branch 'upstream/master' into search-rebasedShadowghost
# Conflicts: # Emby.Server.Implementations/Library/LibraryManager.cs # Jellyfin.Server.Implementations/Item/PeopleRepository.cs # MediaBrowser.Controller/Library/ILibraryManager.cs # MediaBrowser.Controller/Persistence/IPeopleRepository.cs
2026-05-29Merge pull request #16177 from theguymadmax/homevideo-viewtypesBond-009
Add new viewtypes options
2026-05-26Backport: Fix/user manager collation (#16919)Bond-009
Backport: Fix/user manager collation