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