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