Bond_009
3c3f0a765e
Use new IPNetwork.TryParse function
2023-11-16 00:50:17 +01:00
Bond_009
0fd36a5bf1
Fix warnings in test projects
2023-11-14 21:14:23 +01:00
Patrick Barron
e463dbda47
Move network configuration to MediaBrowser.Common
2023-11-12 10:24:35 -05:00
Patrick Barron
9595636d61
Move network utilities to MediaBrowser.Common
2023-11-12 10:24:34 -05:00
Tim Eisele
dc27d8f9cd
Refactor URI overrides ( #10051 )
2023-10-11 00:02:37 +02:00
Bond-009
d3c7af0d5c
Fix Jellyfin.Networking.Tests ( #10055 )
2023-07-29 15:52:26 -06:00
Shadowghost
e56275fb46
Extract networking constants
2023-07-03 22:04:59 +02:00
Shadowghost
9b0e44019a
Apply review suggestions
2023-07-02 12:40:49 +02:00
Shadowghost
a5bfeb28aa
Apply review suggestions
2023-02-20 21:51:15 +01:00
Shadowghost
20fd05b050
Consistently write IP in upercase
2023-02-17 19:27:36 +01:00
Shadowghost
42498194d9
Replace ISocket and UdpSocket, fix DLNA and SSDP binding and discovery
2023-02-17 17:39:11 +01:00
Shadowghost
4eba16c672
Apply review suggestions
2023-02-15 22:34:44 +01:00
Shadowghost
3f6354cdb8
Fix .NET 7 compatibility
2022-12-07 17:41:32 +01:00
Shadowghost
f6d6f0367b
Properly handle IPs with subnetmasks
2022-10-17 15:51:09 +02:00
Shadowghost
7b90fcd053
Merge branch 'master' into network-rewrite
2022-10-07 09:16:02 +02:00
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);
```
2022-10-06 20:21:23 +02:00
luz paz
9ec2870b10
Fix various typos
...
Found via `codespell -q 3 -S ./Emby.Server.Implementations/Localization -L allready,doesnt,inh,receivedfrom,whoknows`
2022-08-15 06:48:34 -04:00
Shadowghost
2281b8c997
Move away from using Collection, simplify code, add proper ordering
2022-07-20 14:29:30 +02:00
Shadowghost
bdb1483167
Add generic IPAddress.Parse tests
2022-07-19 23:42:32 +02:00
Shadowghost
997aa3f1e7
Fix build
2022-07-19 21:53:10 +02:00
Shadowghost
066db8ac7f
Migrate NetworkManager and Tests to native .NET IP objects
2022-07-19 21:28:04 +02:00
cvium
f03e77a4d5
Merge branch 'master' into TVFix
2021-11-08 10:38:08 +01:00
KonH
6cbfdea4c0
Fix warning: Type cast is redundant ( #2149 )
2021-10-03 11:05:18 +07:00
cvium
be9663ae89
Use GetSmartApiUrl instead (hopefully it works)
2021-09-07 10:27:55 +02:00
cvium
ffe5ae8056
Merge branch 'master' into TVFix
2021-09-05 10:11:17 +02:00
Bond_009
915855e422
Add property based testing
2021-06-05 13:32:22 +02:00
Bill Thornton
7d8fca92f9
Merge pull request #5762 from BaronGreenback/networkTestHardening
...
Fix network test on dns failure
2021-05-05 00:10:11 -04:00
BaronGreenback
7936ea59eb
Changed selection method
2021-05-03 17:27:23 +01:00
BaronGreenback
2e01fb3cda
Update tests/Jellyfin.Networking.Tests/NetworkParseTests.cs
...
Co-authored-by: David Ullmer <davidullmer@outlook.de>
2021-05-01 17:16:25 +01:00
BaronGreenback
975d1537d4
Update tests/Jellyfin.Networking.Tests/NetworkParseTests.cs
...
Co-authored-by: David Ullmer <davidullmer@outlook.de>
2021-05-01 16:29:28 +01:00
BaronGreenback
b4ab75cd69
Update tests/Jellyfin.Networking.Tests/NetworkParseTests.cs
...
Co-authored-by: David Ullmer <davidullmer@outlook.de>
2021-05-01 16:29:22 +01:00
BaronGreenback
a49ded84c6
Update tests/Jellyfin.Networking.Tests/NetworkParseTests.cs
...
Co-authored-by: David Ullmer <davidullmer@outlook.de>
2021-05-01 16:29:13 +01:00
BaronGreenback
f30bbef781
Fixed test
2021-04-26 17:28:32 +01:00
BaronGreenback
2b85f43cab
removed unused usings
2021-04-26 17:17:48 +01:00
BaronGreenback
5741fa7dfa
Fix url for LiveTV
2021-04-26 17:13:45 +01:00
BaronGreenback
0b774eac12
Enables the ability to bind to loopback address. ( #5773 )
2021-04-14 11:26:05 +02:00
BaronGreenback
10d358c8da
Update tests/Jellyfin.Networking.Tests/NetworkParseTests.cs
...
Co-authored-by: Odd Stråbø <oddstr13@openshell.no>
2021-04-12 10:28:24 +01:00
Joshua M. Boniface
19e7ebb279
Merge pull request #5416 from BaronGreenback/SubnetOverlappFix
2021-04-11 13:29:00 -04:00
BaronGreenback
1fe26fe352
Work through dns failure on test.
2021-04-10 19:44:09 +01:00
Bond-009
ec0ef1530c
Merge pull request #5602 from Ullmie02/IP-string-IP
2021-04-03 00:32:43 +02:00
BaronGreenback
aae2aad0f2
changed split to single quotes
2021-03-27 08:16:48 +00:00
David
c2af50c51d
Add tests for IsInNetwork
2021-03-23 17:39:55 +01:00
BaronGreenback
6765f6ab17
fix compilation
2021-03-23 00:12:14 +00:00
BaronGreenback
7fa525c83b
Added more tests
2021-03-22 17:04:09 +00:00
BaronGreenback
4c7680e186
Merge remote-tracking branch 'upstream/master' into SubnetOverlappFix
2021-03-14 18:40:44 +00:00
BaronGreenback
b7fb152faf
Update tests/Jellyfin.Networking.Tests/NetworkParseTests.cs
...
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2021-03-12 14:44:05 +00:00
BaronGreenback
e5914fd28c
split tests
2021-03-11 22:47:37 +00:00
BaronGreenback
3fdf0de6e3
Fix remote access
2021-03-11 21:36:58 +00:00
Bond_009
9ed7f429c0
FxCop -> Net Analyzers (part 1)
2021-03-09 03:04:47 +01:00