Niels van Velzen
55916a09eb
Remove some unused client capabilities and sync code ( #10812 )
10 months ago
LJQ
98bc2fea8b
Removed dupe ToDeviceInfo
1 year ago
LJQ
2f9b44fcd0
Switch to LINQ and updated /Device/Info endpoint to return in accordance to the updated API doc
1 year ago
LJQ
259fe4522c
Update /Device endpoint to return CustomName
1 year ago
Bond_009
52230d1c30
Return NotFound when itemId isn't found
2 years ago
Patrick Barron
8479f0f90c
Rename JellyfinDb to JellyfinDbContext
2 years ago
Patrick Barron
f07553abdf
Optimize EF Core queries and remove unnecessary AsQueryable calls
2 years ago
Bond_009
b366dc2e6e
Use ArgumentException.ThrowIfNullOrEmpty
2 years ago
Bond_009
52194f56b5
Replace != null with is not null
2 years ago
Bond_009
c7d50d640e
Replace == null with is null
2 years ago
cvium
b836fe9685
remove JellyfinDbProvider and add second level caching
2 years ago
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);
```
2 years ago
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
3 years ago
Cody Robibero
a60cb280a3
Properly populate QueryResult
3 years ago
Cody Robibero
57db188c2e
Fix device ordering
3 years ago
Bond_009
cbfa355e31
Update StyleCop
3 years ago
cvium
b880dc8a4a
Use our own Contains extension
3 years ago
Patrick Barron
cb52ccc699
Update Jellyfin.Server.Implementations/Devices/DeviceManager.cs
...
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
3 years ago
Patrick Barron
60ce0c9fa9
Add dto for device options
3 years ago
Patrick Barron
06d682c296
Merge remote-tracking branch 'origin/authenticationdb-efcore' into authenticationdb-efcore
3 years ago
Patrick Barron
bbac9ff67e
GetDeviceOptions always returns an instance of DeviceOptions
3 years ago
Patrick Barron
5d1139ec62
Update Jellyfin.Server.Implementations/Devices/DeviceManager.cs
...
Co-authored-by: Cody Robibero <cody@robibe.ro>
3 years ago
Patrick Barron
3884837513
Convert method group to lambda in DeviceManager
3 years ago
Patrick Barron
67308f489f
Implement DeleteDevice
3 years ago
Patrick Barron
2a9474f6e7
Count records before skipping
3 years ago
Patrick Barron
6b24cc6d1f
Fix UpdateDeviceOptions
3 years ago
Patrick Barron
54fdc2fd88
Use ExecuteSqlInterpolated instead of ExecuteSqlRaw
...
oop
3 years ago
Patrick Barron
a0c6f72762
Migrate authentication db to EF Core
4 years ago
Patrick Barron
e1f7086077
Remove unnecessary query class
4 years ago
Patrick Barron
ed0b5ff017
Fix builds
4 years ago
Patrick Barron
8607b52541
Make device/session code async
4 years ago
Patrick Barron
44e71774b1
Rewrite device manager using EF Core
4 years ago