Commit graph

17 commits

Author SHA1 Message Date
cvium 1009836a79 add IAsyncDisposable to DisplayPreferencesManager
Properly dispose dbcontext
Add IDisposableAnalyzer to Jellyfin.Server.Implementations
2023-10-22 22:28:45 +02:00
Patrick Barron 8479f0f90c Rename JellyfinDb to JellyfinDbContext 2023-01-16 12:14:44 -05:00
Patrick Barron f07553abdf Optimize EF Core queries and remove unnecessary AsQueryable calls 2023-01-16 11:49:59 -05:00
Bond_009 c7d50d640e Replace == null with is null 2022-12-05 15:00:20 +01:00
cvium b836fe9685 remove JellyfinDbProvider and add second level caching 2022-10-21 11:55:32 +02:00
Bond_009 5036afd691 Minor cleanup 2022-08-18 13:56:23 +02:00
Bond_009 f50a250cd9 Optimize Guid comparisons
* Use Guid.Equals(Guid) instead of the == override
* Ban the usage of Guid.Equals(Object) to prevent accidental boxing
* Compare to default(Guid) instead of Guid.Empty
2022-02-21 14:15:09 +01:00
cvium d772fddfb3 make custompref value nullable 2021-04-07 13:09:00 +02:00
Bond_009 a8ed753f6c FxCop -> Net Analyzers (part 2) 2021-03-13 22:33:28 +01:00
crobibero 3db6ae91f6 Add ItemId to all display preferences 2020-12-04 16:00:11 -07:00
crobibero b0c79edd2c Add support for custom item display preferences 2020-12-03 13:51:12 -07:00
Patrick Barron d4a492ef93 Fix activity log query. 2020-10-05 22:51:52 -04:00
Patrick Barron 229a5d9e0b Make DisplayPreferencesManager scoped 2020-08-08 13:39:49 -04:00
Patrick Barron 68a185fd02 Serialize/deserialize new entities properly. 2020-07-27 20:40:21 -04:00
Patrick Barron 5f67ba4d70 Restructure query to avoid extra database access. 2020-07-22 15:21:50 -04:00
Patrick Barron 8a9ec7809f Wrap context creation with using 2020-07-22 15:19:18 -04:00
Patrick Barron 52ebf6ae8f Move DisplayPreferencesManager.cs to Users namespace 2020-07-22 14:53:32 -04:00
Renamed from Jellyfin.Server.Implementations/DisplayPreferencesManager.cs (Browse further)