Bond_009
7e8428e588
Enable nullable reference types for Emby.Server.Implementations
4 years ago
Patrick Barron
5790db05ba
Clean up DeviceManager and don't store capabilities on disk
4 years ago
Patrick Barron
ca1f15af19
Move GenericEventArgs to Jellyfin.Data.Events
4 years ago
Patrick Barron
bea519de5b
Fix MemoryCache Usage.
4 years ago
Patrick Barron
a97f98fbd5
Use MemoryCache in DeviceManager
4 years ago
telans
247f9c61e6
fix SA1513/SA1516
4 years ago
telans
acd4389653
fix SA1005
4 years ago
Patrick Barron
42b4f0aa2e
Merge branch 'master' into userdb-efcore
...
# Conflicts:
# Emby.Server.Implementations/Library/UserManager.cs
# Jellyfin.Data/Jellyfin.Data.csproj
4 years ago
crobibero
44957c5a9a
Use typed logger where possible
4 years ago
Patrick Barron
06f9cde22f
Merge branch 'master' into userdb-efcore
...
# Conflicts:
# Emby.Server.Implementations/EntryPoints/ServerEventNotifier.cs
# Emby.Server.Implementations/Library/UserManager.cs
# Emby.Server.Implementations/Sorting/IsFavoriteOrLikeComparer.cs
# Emby.Server.Implementations/Sorting/IsPlayedComparer.cs
# Emby.Server.Implementations/Sorting/IsUnplayedComparer.cs
# Emby.Server.Implementations/TV/TVSeriesManager.cs
# Jellyfin.Server.Implementations/Users/DefaultAuthenticationProvider.cs
4 years ago
Bond_009
7439e095e2
Merge branch 'master' into nullable3
5 years ago
Patrick Barron
d72ea70995
Document user class and fix a few minor issues
5 years ago
Patrick Barron
aca7e221d8
Merge branch 'master' into userdb-efcore
...
# Conflicts:
# Emby.Server.Implementations/Activity/ActivityLogEntryPoint.cs
# Emby.Server.Implementations/ApplicationHost.cs
# Emby.Server.Implementations/Devices/DeviceManager.cs
# Jellyfin.Server/Jellyfin.Server.csproj
# Jellyfin.Server/Migrations/MigrationRunner.cs
# MediaBrowser.Controller/Devices/IDeviceManager.cs
5 years ago
Patrick Barron
9925742918
Implement more review suggestions
5 years ago
Patrick Barron
1e9b2613c6
Remove more unused code
5 years ago
Patrick Barron
511d20a100
Apply review suggestions
5 years ago
Patrick Barron
9ad839c776
Initial migration code
5 years ago
Bond_009
30ce346f34
Enable nullabe reference types for MediaBrowser.Model
5 years ago
Mark Monteiro
71c84905de
Register IDeviceManager correctly
5 years ago
Bond-009
94fe9b8f6d
Merge branch 'master' into warn17
5 years ago
Mark Monteiro
b67e9cde8c
Replace ILogger with ILogger<T> wherever possible
...
Log entries will contain additional class context when using this interface
5 years ago
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
5 years ago
Bond_009
adc9fc282c
Minor improvements
5 years ago
Bond-009
c8409d2ea1
Remove FileSystem.GetStream
5 years ago
Bond_009
2ef4ffd698
More warnings (removed)
5 years ago
Bond_009
42ffddc269
Fix more warnings
5 years ago
Bond-009
b477b3874e
Fix some warnings
5 years ago
Bond-009
6032f31aa6
Use CultureInvariant string conversion for Guids
5 years ago
Bond_009
a6a4cd5667
Removed some unused fields
6 years ago
Joshua M. Boniface
c4f51e16a5
Merge pull request #736 from Bond-009/startasync
...
Start startup tasks async
6 years ago
Erwin de Haan
b9a111432a
Unwrapped all /(Write|Read)All(Text|Bytes)/ functions.
6 years ago
Erwin de Haan
581a7fe078
Unwrapped `MoveDirectory`, `DirectoryExists`, `FileExists` & removed `MoveFile`
6 years ago
Erwin de Haan
d7c6d16250
Unwrapped CreateDirectory and DeleteDirectory
6 years ago
Erwin de Haan
3a831994f6
Unwrapped GetDirectoryName and DirectorySeperatorChar
6 years ago
Bond_009
85a58fd655
Start startup tasks async
6 years ago
William Taylor
65cd3ed597
Replaced injections of ILogger with ILoggerFactory
...
This makes resolving dependencies from the container much easier as
you cannot resolve with primitives parameters in a way that is any
more readable.
The aim of this commit is to change as little as possible with the end
result, loggers that were newed up for the parent object were given the same
name. Objects that used the base or app loggers, were given a new logger with
an appropriate name.
Also removed some unused dependencies.
6 years ago
Erwin de Haan
e867446437
ReSharper format: conform inline 'out' parameters.
6 years ago
Erwin de Haan
c5c7a3c4ee
Visual Studio Reformat: Emby.Server.Implementations Part De-H
6 years ago
Erwin de Haan
846456b41e
Reformatted the files with notes.
6 years ago
Erwin de Haan
e2751d42e8
Merge branch 'dev' into code-cleanup
6 years ago
Erwin de Haan
ec1f5dc317
Mayor code cleanup
...
Add Argument*Exceptions now use proper nameof operators.
Added exception messages to quite a few Argument*Exceptions.
Fixed rethorwing to be proper syntax.
Added a ton of null checkes. (This is only a start, there are about 500 places that need proper null handling)
Added some TODOs to log certain exceptions.
Fix sln again.
Fixed all AssemblyInfo's and added proper copyright (where I could find them)
We live in *current year*.
Fixed the use of braces.
Fixed a ton of properties, and made a fair amount of functions static that should be and can be static.
Made more Methods that should be static static.
You can now use static to find bad functions!
Removed unused variable. And added one more proper XML comment.
6 years ago
hawken
bd169e4fd4
remove trailing whitespace
6 years ago
hawken
ba1794f64b
Remove tabs and trailing whitespace
6 years ago
Bond_009
a997bb609f
Remove unnecessary using statements
6 years ago
Bond_009
391b48614d
Remove FireEventIfNotNull
...
It's a pretty useless "helper" class
6 years ago
Claus Vium
1d6987c713
added todo
6 years ago
Bond_009
ea4c914123
Fix exception logging
6 years ago
Bond_009
0f8b3c6347
Use Microsoft.Extensions.Logging abstraction
6 years ago
Bond_009
6e5d2aadaa
Remove custom ToArray extension
6 years ago
stefan
48facb797e
Update to 3.5.2 and .net core 2.1
6 years ago