Cody Robibero
88ceaa39b0
Implement limiting caches ( #13605 )
...
* Implement basic expiring cache for LibraryManager
* Add expiring cache to more places
* Rider why
* Make DirectoryService caches static
* Use FastConcurrentLru
* Reduce default cache size
* Simplify DirectoryService caches
* Make directory service cache size at least 128
2025-03-27 18:16:54 -06:00
JPVenson
42bdb22bfb
Fixed namespaces
2025-03-25 16:45:00 +01:00
JPVenson
160020c551
WIP fixed namespaces
2025-03-25 15:30:22 +00:00
JPVenson
2f306358c0
applied review comments
2025-01-18 16:17:26 +00:00
JPVenson
96e4d8ca78
worsen comment
2025-01-17 19:19:24 +00:00
JPVenson
b33810534b
Applied review comments
2025-01-15 20:12:41 +00:00
JPVenson
427359deee
Merge branch 'master' into feature/EFUserData
2024-11-17 01:23:26 +01:00
Bond-009
ceb850c770
Update projects to .NET 9 ( #13023 )
2024-11-16 10:11:01 -07:00
JPVenson
37129f7952
Fixed Transaction for Userdata
2024-11-14 21:48:21 +00:00
JPVenson
d3174b5171
Fixed userdata lookup
2024-11-12 16:14:17 +00:00
JPVenson
508b27f156
Fixed Duplicate returns on grouping
...
Fixed UserDataKey not stored
2024-11-11 17:39:50 +00:00
JPVenson
2d4f7f725f
Fixed TopParent not beeing migrated
2024-11-11 00:27:30 +00:00
JPVenson
c2a0dfb1e5
Reodered Context creation
2024-10-22 10:53:39 +00:00
JPVenson
e331dc35ac
Fixed tests
2024-10-20 11:04:54 +00:00
JPVenson
10a2a316a4
i have too much time.
...
Refactored BaseItem and UserData relation
2024-10-20 10:11:24 +00:00
JPVenson
d0b4b2ddb3
Migrated UserData from library sqlite db to jellyfin.db
2024-09-07 19:07:34 +00:00
Bond_009
277830855d
Clean up UserDataManager
...
* enable nullable
* remove unused methods
* fix warnings and docs
2024-08-30 15:08:56 +02:00
ArabCoders
c4013d2e10
Updated the summary and the Dto name.
2023-11-15 13:55:14 +03:00
ArabCoders
07db2025a1
Refactored the code to not use reflection.
2023-11-13 17:32:24 +03:00
ArabCoders
2a25c5a2e3
Refactored api call logic handling.
2023-11-13 15:51:06 +03:00
Bond_009
52194f56b5
Replace != null with is not null
2022-12-05 15:01:13 +01:00
Bond_009
a9a5fcde81
Use ArgumentNullException.ThrowIfNull helper method
...
Did a simple search/replace on the whole repo (except the RSSDP project)
This reduces LOC and should improve performance (methods containing a throw statement don't get inlined)
```
if \((\w+) == null\)
\s+\{
\s+throw new ArgumentNullException\((.*)\);
\s+\}
```
```
ArgumentNullException.ThrowIfNull($1);
```
2022-10-06 20:21:23 +02:00
Bond_009
ea8f40e84a
More cleanup
2021-12-27 14:20:05 +00:00
Patrick Barron
876a902356
Fix warnings in Library
2021-10-03 21:41:22 -04:00
Bond_009
637e86478f
Fix some warnings
2021-09-03 19:32:11 +02:00
Claus Vium
9f2e8063ec
Merge pull request #5997 from JKI12/master
...
Fixes for Book Progress
2021-05-24 08:52:38 +02:00
Bond_009
7e8428e588
Enable nullable reference types for Emby.Server.Implementations
2021-05-20 22:48:53 +02:00
Jake King
bc017737e6
Changed condition for readbility
...
- Refactored check if item is not audio book or book to be more readable
2021-05-07 10:35:03 +01:00
Jake King
3cd57cb287
Fixes for Book Progress
...
- Ignore Books when checking for minium progress
2021-05-06 19:50:00 +01:00
artiume
005ae80b31
Update var names
2021-04-21 07:11:14 -04:00
artiume
dcd96909cd
Fix Audiobook Resume
...
https://github.com/jellyfin/jellyfin/issues/5703
2021-04-20 19:28:18 -04:00
BaronGreenback
bc1cc2d04a
Remove unused using directives
2021-04-17 11:37:55 +01:00
artiume
f411353c8c
Update Emby.Server.Implementations/Library/UserDataManager.cs
...
Co-authored-by: Bond-009 <bond.009@outlook.com>
2020-12-30 09:30:02 -05:00
artiume
c7cb177260
Update Emby.Server.Implementations/Library/UserDataManager.cs
...
Co-authored-by: Bond-009 <bond.009@outlook.com>
2020-12-30 09:12:36 -05:00
artiume
77b478c726
Update Emby.Server.Implementations/Library/UserDataManager.cs
...
Co-authored-by: Bond-009 <bond.009@outlook.com>
2020-12-30 09:12:13 -05:00
artiume
99adbf0497
Split resume function for Audiobooks
2020-12-30 08:48:33 -05:00
Patrick Barron
0aa349fe40
Remove unused dependencies.
2020-07-23 21:42:36 -04:00
telans
9018f8d8be
Add full stop at end of comments (SA1629)
2020-06-16 10:37:52 +12:00
Patrick Barron
42b4f0aa2e
Merge branch 'master' into userdb-efcore
...
# Conflicts:
# Emby.Server.Implementations/Library/UserManager.cs
# Jellyfin.Data/Jellyfin.Data.csproj
2020-06-13 19:41:05 -04:00
dkanada
403cd3205f
Merge pull request #3254 from crobibero/ilogger
...
Use typed logger where possible
2020-06-13 00:29:43 +09:00
Patrick Barron
fc02157b42
Fix build errors
2020-06-11 18:28:49 -04:00
Patrick Barron
7a115024aa
Merge branch 'master' into userdb-efcore
...
# Conflicts:
# MediaBrowser.Controller/Library/ILibraryManager.cs
# MediaBrowser.Providers/Users/UserMetadataService.cs
2020-06-11 18:23:12 -04:00
Daniyar Itegulov
613748b45d
Make books resumable and have duration of 1 second
2020-06-06 18:50:28 +10:00
crobibero
44957c5a9a
Use typed logger where possible
2020-06-05 18:15:56 -06:00
Patrick Barron
c464f700db
Remove redundant qualifiers
2020-05-20 13:07:53 -04:00
Patrick Barron
9ad839c776
Initial migration code
2020-05-12 22:10:35 -04:00
Mark Monteiro
615717e562
Register and construct IUserDataManager and IUserDataRepository correctly
2020-04-04 19:57:26 -04:00
Bond_009
07cc4be6a7
Fix some warnings
...
* Add analyzers to MediaBrowser.XbmcMetadata
* Enable TreatWarningsAsErrors for MediaBrowser.XbmcMetadata
* Add analyzers to MediaBrowser.WebDashboard
* Enable TreatWarningsAsErrors for MediaBrowser.WebDashboard
* Disable SA1600 in favor of CS1591
2020-02-23 12:11:43 +01:00
Bond_009
7f5a174dff
Merge branch 'master' into warn12
2019-12-20 19:43:57 +01:00
dkanada
02928128b9
track progress for any item that supports the feature
2019-12-14 11:36:06 +09:00