Commit graph

25 commits

Author SHA1 Message Date
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.
2019-01-20 21:05:12 +00:00
Erwin de Haan e867446437 ReSharper format: conform inline 'out' parameters. 2019-01-13 21:46:33 +01:00
Erwin de Haan 65bd052f3e ReSharper conform to 'var' settings 2019-01-13 21:37:13 +01:00
Erwin de Haan 39ef1106d7 Visual Studio Reformat: Emby.Server.Implementations Part Liv-P 2019-01-13 20:22:00 +01:00
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.
2019-01-10 20:38:53 +01:00
Bond_009 ea4c914123 Fix exception logging 2018-12-30 22:44:39 +01:00
Bond_009 0f8b3c6347 Use Microsoft.Extensions.Logging abstraction 2018-12-30 22:44:38 +01:00
Bond_009 6e5d2aadaa Remove custom ToArray extension 2018-12-28 16:48:26 +01:00
stefan 48facb797e Update to 3.5.2 and .net core 2.1 2018-09-12 19:26:21 +02:00
Luke Pulverenti d7a1a87009 reduce work done by system info endpoints 2017-12-01 12:03:40 -05:00
Luke Pulverenti 5207067811 fix live tv over dlna 2017-11-29 15:50:18 -05:00
Luke Pulverenti 26edcfefbb cache network data longer 2017-11-27 15:16:41 -05:00
Luke Pulverenti 4f09c1e06d reduce dlna chatter 2017-11-23 10:46:16 -05:00
Luke Pulverenti 711f588084 3.2.36.7 2017-11-10 16:22:38 -05:00
Luke Pulverenti b9c1f61681 update support for moviedb urls in nfo files 2017-11-03 14:11:21 -04:00
Luke Pulverenti 7174ee66d5 allow separate image extractions for each audio book 2017-11-02 12:00:58 -04:00
Luke Pulverenti 8ec8b46394 allow separate configuration of date format 2017-10-30 00:51:43 -04:00
Luke Pulverenti 93676f6838 revise unknown audio stream handling 2017-10-28 23:52:05 -04:00
Luke Pulverenti 44a270fa6f cache subnet results 2017-10-27 00:14:45 -04:00
Luke Pulverenti 88caeaa783 update address detection 2017-10-26 23:43:06 -04:00
Luke Pulverenti 4432b88281 update network detection 2017-10-26 23:05:29 -04:00
Luke Pulverenti 3e0cfd3af3 fixes #1769 - IsInLocalNetwork returns wrong value 2017-10-11 00:45:21 -04:00
randomevents 329305230e Test for matching subnet of IP's (VPN request)
test available ip4 host address against the endpoint (only local addresses, 10 127 192.68 169), if there's a preliminary match, it finds the subnet of the host ip (255.255.255.0) and makes sure's there's a match between host (255.255.255) and endpoint
2017-10-10 23:35:30 -04:00
Luke Pulverenti 9707712d39 update logging 2017-10-05 14:10:46 -04:00
Luke Pulverenti bfcd1b520f merge common implementations and server implementations 2017-08-16 02:43:41 -04:00
Renamed from Emby.Common.Implementations/Networking/NetworkManager.cs (Browse further)