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
3a91c37283
Merge branch 'master' into network-rewrite
2 years ago
Shadowghost
4eba16c672
Apply review suggestions
2 years ago
Bond-009
36b7157589
Fix #9300 ( #9312 )
2 years ago
Bond-009
6fb2fac6e4
Always run code analyzers for tests projects ( #9304 )
2 years ago
Zoltan Csizmadia
e0519189b2
Use Directory.Packages.props ( #9135 )
...
Co-authored-by: Zoltan Csizmadia <CsizmadiaZ@valassis.com>
2 years ago
Shadowghost
656a0bff6f
Merge remote-tracking branch 'upstream/master' into network-rewrite
2 years ago
renovate[bot]
e408da4651
chore(deps): update dependency microsoft.codeanalysis.bannedapianalyzers to v3.3.4 ( #9117 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2 years ago
Patrick Barron
663854bc1e
Update test dependencies ( #9094 )
2 years ago
Shadowghost
3f6354cdb8
Fix .NET 7 compatibility
2 years ago
Shadowghost
2c86bd1875
Merge branch 'master' into network-rewrite
2 years ago
Bond_009
236dd650d0
Update projects to .net7
2 years ago
Bond_009
52194f56b5
Replace != null with is not null
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
Shadowghost
4fc52a840c
Merge branch 'master' into network-rewrite
2 years ago
dependabot[bot]
266fb2f81c
Bump Microsoft.NET.Test.Sdk from 17.3.1 to 17.3.2
...
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest ) from 17.3.1 to 17.3.2.
- [Release notes](https://github.com/microsoft/vstest/releases )
- [Commits](https://github.com/microsoft/vstest/compare/v17.3.1...v17.3.2 )
---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2 years ago
dependabot[bot]
62ef93e2ce
Bump xunit from 2.4.1 to 2.4.2
...
Bumps [xunit](https://github.com/xunit/xunit ) from 2.4.1 to 2.4.2.
- [Release notes](https://github.com/xunit/xunit/releases )
- [Commits](https://github.com/xunit/xunit/compare/2.4.1...2.4.2 )
---
updated-dependencies:
- dependency-name: xunit
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2 years ago
dependabot[bot]
1be9eb13ef
Bump Moq from 4.18.1 to 4.18.2
...
Bumps [Moq](https://github.com/moq/moq4 ) from 4.18.1 to 4.18.2.
- [Release notes](https://github.com/moq/moq4/releases )
- [Changelog](https://github.com/moq/moq4/blob/main/CHANGELOG.md )
- [Commits](https://github.com/moq/moq4/compare/v4.18.1...v4.18.2 )
---
updated-dependencies:
- dependency-name: Moq
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2 years ago
dependabot[bot]
a0f873692e
Bump Microsoft.NET.Test.Sdk from 17.2.0 to 17.3.1
...
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest ) from 17.2.0 to 17.3.1.
- [Release notes](https://github.com/microsoft/vstest/releases )
- [Commits](https://github.com/microsoft/vstest/compare/v17.2.0...v17.3.1 )
---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
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
Cody Robibero
a7b1132c92
Merge pull request #7842 from crobibero/dependency-backport
...
(cherry picked from commit df6c5b6d42
)
Signed-off-by: crobibero <cody@robibe.ro>
2 years ago
dependabot[bot]
7ac06429d9
Bump Moq from 4.17.2 to 4.18.1 ( #7820 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years ago
dependabot[bot]
0f6bd264ae
Bump Microsoft.NET.Test.Sdk from 17.1.0 to 17.2.0 ( #7760 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years ago
dependabot[bot]
812841d01e
Bump StyleCop.Analyzers from 1.2.0-beta.406 to 1.2.0-beta.435 ( #7726 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years ago
dependabot[bot]
37b87bc231
Bump xunit.runner.visualstudio from 2.4.3 to 2.4.5 ( #7727 )
...
Bumps [xunit.runner.visualstudio](https://github.com/xunit/visualstudio.xunit ) from 2.4.3 to 2.4.5.
- [Release notes](https://github.com/xunit/visualstudio.xunit/releases )
- [Commits](https://github.com/xunit/visualstudio.xunit/commits )
---
updated-dependencies:
- dependency-name: xunit.runner.visualstudio
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years ago
dependabot[bot]
dde984bd0e
Bump StyleCop.Analyzers from 1.2.0-beta.376 to 1.2.0-beta.406
...
Bumps [StyleCop.Analyzers](https://github.com/DotNetAnalyzers/StyleCopAnalyzers ) from 1.2.0-beta.376 to 1.2.0-beta.406.
- [Release notes](https://github.com/DotNetAnalyzers/StyleCopAnalyzers/releases )
- [Commits](https://github.com/DotNetAnalyzers/StyleCopAnalyzers/compare/1.2.0-beta.376...1.2.0-beta.406 )
---
updated-dependencies:
- dependency-name: StyleCop.Analyzers
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
Bond_009
edeb198313
Add tests for BaseUrl normalization
3 years ago
dependabot[bot]
4c4f5dfe81
Bump Moq from 4.17.1 to 4.17.2 ( #7416 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years ago
dependabot[bot]
ee24b85f49
Bump Moq from 4.16.1 to 4.17.1
...
Bumps [Moq](https://github.com/moq/moq4 ) from 4.16.1 to 4.17.1.
- [Release notes](https://github.com/moq/moq4/releases )
- [Changelog](https://github.com/moq/moq4/blob/main/CHANGELOG.md )
- [Commits](https://github.com/moq/moq4/compare/v4.16.1...v4.17.1 )
---
updated-dependencies:
- dependency-name: Moq
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
dependabot[bot]
06f259001c
Bump Microsoft.NET.Test.Sdk from 17.0.0 to 17.1.0
...
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest ) from 17.0.0 to 17.1.0.
- [Release notes](https://github.com/microsoft/vstest/releases )
- [Commits](https://github.com/microsoft/vstest/compare/v17.0.0...v17.1.0 )
---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
dependabot[bot]
7649391b9d
Bump coverlet.collector from 3.1.1 to 3.1.2
...
Bumps [coverlet.collector](https://github.com/coverlet-coverage/coverlet ) from 3.1.1 to 3.1.2.
- [Release notes](https://github.com/coverlet-coverage/coverlet/releases )
- [Commits](https://github.com/coverlet-coverage/coverlet/commits )
---
updated-dependencies:
- dependency-name: coverlet.collector
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
dependabot[bot]
6af7d5445f
Bump coverlet.collector from 3.1.0 to 3.1.1 ( #7266 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years ago
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
3 years ago
dependabot[bot]
88e02c5290
Bump FsCheck.Xunit from 2.16.3 to 2.16.4
...
Bumps [FsCheck.Xunit](https://github.com/fsharp/FsCheck ) from 2.16.3 to 2.16.4.
- [Release notes](https://github.com/fsharp/FsCheck/releases )
- [Changelog](https://github.com/fscheck/FsCheck/blob/master/FsCheck%20Release%20Notes.md )
- [Commits](https://github.com/fsharp/FsCheck/compare/2.16.3...2.16.4 )
---
updated-dependencies:
- dependency-name: FsCheck.Xunit
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago