Commit graph

61 commits

Author SHA1 Message Date
Bond_009 3cb49d6df0 Fix option to disable server discovery 2022-02-14 14:39:33 +01:00
Bond_009 2dcb2f8a9f Ban the usage of Task.Result
If the calling function can't be made async easily you can still use
.GetAwaiter().GetResult(), which is way easier to find in the future
2022-01-22 16:48:31 +01:00
Bond_009 cbfa355e31 Update StyleCop 2021-12-24 18:28:27 +01:00
cvium 0485ff1899 Create a store key constant for network 2021-11-24 13:42:14 +01:00
cvium 1c47211a9e Merge remote-tracking branch 'BaronGreenback/TVFix' into TVFix 2021-11-08 10:58:28 +01:00
cvium f03e77a4d5 Merge branch 'master' into TVFix 2021-11-08 10:38:08 +01:00
Claus Vium 5eda5eb636
Merge pull request #6486 from fredriklindberg/support-forwarded-headers-for-api-url 2021-10-25 22:41:32 +02:00
Bond_009 13fbfe6091 Target net6.0 2021-09-24 20:15:46 +02:00
Fredrik Lindberg 90174f68e2 Dynamically populate LocalAddress based on HTTP request
Support populating the LocalAddress field in the system info
endpoint based on the x-forwarded-host and x-forwarded-proto header.

The x-forwarded-host header must contain both the host and port for
the url to be properly constructed.

Behind network configuration option that is disabled by default.
2021-09-14 21:38:11 +02:00
Claus Vium 4f51a22081
Update Jellyfin.Networking/Manager/NetworkManager.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2021-09-07 19:52:17 +02:00
cvium ffe5ae8056 Merge branch 'master' into TVFix 2021-09-05 10:11:17 +02:00
Rich Lander c07e83fdf8
Invert code and style analysis configuration (#6334)
Co-authored-by: Bond-009 <bond.009@outlook.com>
2021-07-30 09:49:28 +02:00
BaronGreenback 7936ea59eb Changed selection method 2021-05-03 17:27:23 +01:00
Bond-009 eeb5d4bd1e
Merge pull request #5842 from BaronGreenback/optimization
Code Clean up: Group Methods
2021-04-29 21:14:57 +02:00
BaronGreenback 5741fa7dfa Fix url for LiveTV 2021-04-26 17:13:45 +01:00
BaronGreenback bc1cc2d04a Remove unused using directives 2021-04-17 11:37:55 +01:00
BaronGreenback bb6fddde9a Group Methods 2021-04-17 11:19:09 +01:00
BaronGreenback 0b774eac12
Enables the ability to bind to loopback address. (#5773) 2021-04-14 11:26:05 +02:00
Joshua M. Boniface 19e7ebb279
Merge pull request #5416 from BaronGreenback/SubnetOverlappFix 2021-04-11 13:29:00 -04:00
BaronGreenback 5d16d1f66d
Merge branch 'master' into RemoteAccessFix 2021-03-22 17:05:44 +00:00
BaronGreenback 4c7680e186 Merge remote-tracking branch 'upstream/master' into SubnetOverlappFix 2021-03-14 18:40:44 +00:00
BaronGreenback 6087831aa6 Fixed selection of correct interface ip 2021-03-14 17:30:25 +00:00
Bond_009 a8ed753f6c FxCop -> Net Analyzers (part 2) 2021-03-13 22:33:28 +01:00
BaronGreenback 4cf88f67ba
Update NetworkManager.cs 2021-03-12 14:58:04 +00:00
BaronGreenback 3fa84500cf
Update Jellyfin.Networking/Manager/NetworkManager.cs
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2021-03-11 22:46:24 +00:00
BaronGreenback f66cb9777d
Update Jellyfin.Networking/Manager/NetworkManager.cs
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2021-03-11 22:46:07 +00:00
BaronGreenback 3fdf0de6e3 Fix remote access 2021-03-11 21:36:58 +00:00
BaronGreenback 2fe26ef136 removed parameter preset 2021-03-10 13:28:18 +00:00
Bond_009 9ed7f429c0 FxCop -> Net Analyzers (part 1) 2021-03-09 03:04:47 +01:00
BaronGreenback a031f7e410 Fix for multiple ip's in the same subnet per interface. 2021-03-09 00:07:21 +00:00
BaronGreenback 5942948714 Kestrel workaround 2021-03-01 23:42:04 +00:00
BaronGreenback dedc94ec91 correction of ip6 loopback 2021-03-01 21:32:49 +00:00
BaronGreenback cc19d281e7
Update Jellyfin.Networking/Manager/NetworkManager.cs
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2021-02-27 19:10:58 +00:00
BaronGreenback d99d95422e
Update Jellyfin.Networking/Manager/NetworkManager.cs
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2021-02-27 19:10:53 +00:00
BaronGreenback 039a4fb22d renamed method 2021-02-24 11:42:09 +00:00
BaronGreenback b5c6e5fb97
Update Jellyfin.Networking/Manager/NetworkManager.cs
Co-authored-by: Bond-009 <bond.009@outlook.com>
2021-02-23 20:34:42 +00:00
BaronGreenback f67137004c
Update Jellyfin.Networking/Manager/NetworkManager.cs
Co-authored-by: Bond-009 <bond.009@outlook.com>
2021-02-23 20:34:32 +00:00
BaronGreenback ff7cae8a13 renamed method 2021-02-23 17:06:40 +00:00
BaronGreenback 5756c6dbad
Merge branch 'master' into bindfix 2021-02-21 00:44:14 +00:00
BaronGreenback cb09096a59 optimized 2021-02-21 00:42:06 +00:00
BaronGreenback b03bd7a299 Fix testing 2021-02-21 00:41:14 +00:00
BaronGreenback 605bd80251 Fix for ignoreVirtualInterfaces 2021-02-20 22:46:16 +00:00
Claus Vium 14bd4a110f
Merge pull request #4978 from BaronGreenback/MultipeProxies 2021-01-19 20:55:21 +01:00
BaronGreenback 9db8a4d88d reverted 2021-01-19 13:56:16 +00:00
BaronGreenback 82d365045a Removed systemIp6 functionality. 2021-01-19 12:50:11 +00:00
BaronGreenback 6a7623da02 Simplified Code 2021-01-19 10:36:37 +00:00
BaronGreenback 08e83cfa54 Remove additional debug logging. 2021-01-12 18:52:48 +00:00
BaronGreenback 35a30c9d09 Impliments KnownNetworks and KnownProxies 2021-01-12 13:07:34 +00:00
BaronGreenback a664aac881 optimization 2021-01-06 20:46:22 +00:00
BaronGreenback 90d72d6628
Update NetworkManager.cs
Changed split character
2021-01-06 20:39:25 +00:00