Bond_009
7bb504d491
Create a new HttpMethod from the function name
2019-07-13 17:12:06 -04:00
Bond_009
b1bd062709
Properly set content type
2019-07-13 17:12:06 -04:00
Bond_009
5fc4ad6c4e
Address comments
2019-07-06 20:04:45 +02:00
Bond_009
b117b364f2
Remove duplicate code
2019-07-06 20:04:45 +02:00
Bond_009
3603c64fa6
Use HttpResponseHeaders instead of a dictionary
2019-07-06 20:04:45 +02:00
Bond_009
d405a400aa
Fixes issues with HttpClientManager
2019-07-06 20:04:42 +02:00
Bond-009
0a5550b13d
Remove more unused stuff
2019-06-18 22:20:34 -04:00
Bond-009
067200be83
Remove usage of depricated 'WebRequest'
...
Ref: https://docs.microsoft.com/en-us/dotnet/api/system.net.webrequest?view=netframework-4.7.2
2019-06-17 19:35:05 -04:00
Claus Vium
78742b8e4c
Switch to HeaderNames instead of hardcoded strings (and other header related fixes)
2019-03-05 19:20:28 +01:00
Claus Vium
f1c93ae618
Remove SetContentLength and company
2019-02-26 22:11:21 +01:00
Claus Vium
4db31acff9
Begin removing System.Net sources
2019-02-26 22:11:21 +01:00
Claus Vium
fb7de2f966
Remove duplicate code and use using to properly dispose the response stream
2019-02-22 20:24:42 +01:00
Claus Vium
2845e7e101
Properly dispose HttpWebResponse when the request failed to avoid 'too many open files'
2019-02-15 08:56:08 +01:00
Bond-009
1ea219bf3f
Merge branch 'master' into culture
2019-01-30 16:57:15 +01:00
Erwin de Haan
d7c6d16250
Unwrapped CreateDirectory and DeleteDirectory
2019-01-28 22:09:56 +01:00
Erwin de Haan
3a831994f6
Unwrapped GetDirectoryName and DirectorySeperatorChar
2019-01-28 22:06:34 +01:00
Bond_009
ffe79c8982
Check if file exists instead of catching exceptions
2019-01-27 17:00:17 +01:00
Bond_009
a709cbdc64
Fix more analyzer warnings
2019-01-27 12:12:44 +01:00
Andrew Rabert
803bf563d7
Merge pull request #621 from Bond-009/perf
...
Minor improvements to library scan code
2019-01-20 18:13:49 -05:00
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
Bond_009
35d97dc949
Minor improvements to library scan code
2019-01-20 19:40:37 +01:00
Erwin de Haan
d116efe1f7
Merge branch 'dev' into reformat
2019-01-18 17:04:01 +01:00
Bond-009
900dc851e6
Merge branch 'dev' into cleanup
2019-01-16 19:10:42 +01: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
e566d9a231
Find+Sed BOM removal *.cs: BDInfo-Emby.XmlTv
2019-01-13 20:54:44 +01:00
Erwin de Haan
c5c7a3c4ee
Visual Studio Reformat: Emby.Server.Implementations Part De-H
2019-01-13 20:20:41 +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
07a8e49c4b
Cleanup some small things
2019-01-06 20:35:36 +01:00
Bond_009
3d6dac26f4
Don't dispose the object we are returning
2019-01-03 18:28:01 +01:00
Bond_009
0bbc4f8219
Figure out why it's failing
2019-01-03 18:24:26 +01:00
Bond_009
a1b96a3135
Clean up HttpClientManager, LiveTvManager and InstallationManager
2019-01-03 18:24:26 +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
stefan
48facb797e
Update to 3.5.2 and .net core 2.1
2018-09-12 19:26:21 +02:00
Luke Pulverenti
0d28929e17
update download progress reporting
2017-11-03 14:11:04 -04:00
Luke Pulverenti
ca2e7a4195
deprecate localized guids config switch
2017-10-26 23:49:56 -04:00
Luke Pulverenti
b54046a6de
adjust header values
2017-10-22 19:36:22 -04:00
Luke Pulverenti
c2361db772
separate encoding from content type values
2017-10-22 19:27:09 -04:00
Luke Pulverenti
060215143f
improve httpclient resource disposal
2017-10-20 12:16:56 -04:00
Luke Pulverenti
164e7dc896
improve live tv direct play
2017-10-14 02:52:56 -04:00
Luke Pulverenti
49b799adbe
3.2.30.8
2017-09-05 15:49:02 -04:00
Luke Pulverenti
a7dcf7191a
add fixes for .net core
2017-08-17 16:19:02 -04:00
Luke Pulverenti
bfcd1b520f
merge common implementations and server implementations
2017-08-16 02:43:41 -04:00