Commit Graph

136 Commits

Author SHA1 Message Date
Bond_009 635d67d458 Revert "Use System.Net.IPNetwork"
This reverts commit 117d05d288da1d412159a29c0cb8d5c8259e48ae.
2023-11-14 21:16:33 +01:00
Bond_009 b62b0ec2b5 Fix warnings 2023-11-14 21:14:21 +01:00
Bond_009 99e0d46ad9 Use System.Net.IPNetwork 2023-11-14 21:13:51 +01:00
Bond_009 eb022c49cc Update to .NET 8 2023-11-14 21:12:16 +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
Patrick Barron 223b156270 Move network constants to MediaBrowser.Common 2023-11-12 10:24:34 -05:00
Bond_009 a9ef103c95 Add IDisposableAnalyzers to more projects 2023-11-05 02:01:14 +01:00
Stepan Goremykin 8d7e4229ca Merge branch 'master' into fix-resharper-warnings
# Conflicts:
#	Emby.Server.Implementations/Net/SocketFactory.cs
#	RSSDP/SsdpCommunicationsServer.cs
#	RSSDP/SsdpDeviceLocator.cs
#	RSSDP/SsdpDevicePublisher.cs
2023-10-12 20:11:16 +02:00
Tim Eisele dc27d8f9cd
Refactor URI overrides (#10051) 2023-10-11 00:02:37 +02:00
Stepan Goremykin f84469d500 Remove redundant using directives 2023-10-08 00:50:02 +02:00
Stepan Goremykin 963d8e66a2 Remove redundant type specification 2023-10-08 00:49:18 +02:00
Ikko Eltociear Ashimine 7d649d2f31
Fix typo in NetworkConfiguration.cs
conjuntion -> conjunction
2023-09-04 02:59:13 +09:00
Shadowghost 266d55b7aa Fix bad string interpolation in MaskToCidr 2023-07-07 08:52:14 +02:00
Shadowghost 2bc2848b8e Apply review suggestions 2023-07-04 14:35:51 +02:00
Shadowghost e56275fb46 Extract networking constants 2023-07-03 22:04:59 +02:00
Shadowghost e233a3b074 Apply review suggestions 2023-07-03 15:59:39 +02:00
Shadowghost 32ac3b580c Rename additional values in NetworkConfiguration and add migration for all changed values 2023-07-03 14:03:33 +02:00
Shadowghost 3f65851520 Apply review suggestions 2023-07-03 10:03:39 +02:00
Shadowghost 9b0e44019a Apply review suggestions 2023-07-02 12:40:49 +02:00
Shadowghost c042f20224 Merge branch 'master' into network-rewrite 2023-05-11 15:41:39 +02:00
Cody Robibero e1a30a4aef
Merge pull request #8598 from Neuheit/ipv4fallback 2023-05-11 07:12:34 -06:00
Stepan Goremykin 910617bbc3 Remove redundant 'else' keywords 2023-04-06 19:38:34 +02:00
Stepan Goremykin e74630a613 Use MinBy and MaxBy 2023-04-01 23:00:51 +02:00
Bond_009 d280dc6554 Reduce log spam
Fixes #7801
2023-03-01 16:43:55 +01:00
Shadowghost a5bfeb28aa Apply review suggestions 2023-02-20 21:51:15 +01:00
Bond_009 24a7e210c3 Optimize tryparse
* Don't check for null before
* Don't try different formats when not needed (NumberFormat.Integer is the fast path)
2023-02-19 16:52:29 +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 3a91c37283 Merge branch 'master' into network-rewrite 2023-02-15 22:40:07 +01:00
Shadowghost 4eba16c672 Apply review suggestions 2023-02-15 22:34:44 +01:00
Shadowghost 1cc7572445 Apply review suggestions 2023-02-15 11:31:47 +01:00
Zoltan Csizmadia e0519189b2
Use Directory.Packages.props (#9135)
Co-authored-by: Zoltan Csizmadia <CsizmadiaZ@valassis.com>
2023-02-04 10:15:08 -07:00
Bond-009 e448797df0
Merge pull request #9066 from barronpm/reduce-logspam
Change log level for bind address usage to debug
2023-01-20 13:29:05 +01:00
Shadowghost 343a94f185 Fix CA1851 2023-01-19 10:19:53 +01:00
Shadowghost 656a0bff6f Merge remote-tracking branch 'upstream/master' into network-rewrite 2023-01-19 10:09:32 +01:00
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>
2023-01-18 04:16:59 -07:00
Patrick Barron dfc5a4373f Change log level for bind address usage to debug
Fixes #9024
2023-01-10 19:58:54 -05:00
Bond-009 3462676a8f
Fix debug builds (#8909) 2022-12-14 22:03:03 +01:00
Neuheit 93fe47c7cb
Clarify code comment.
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2022-12-08 16:16:06 -05:00
Neuheit 292c4ebe72
Clarify code comment.
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2022-12-08 16:15:36 -05:00
Neuheit a7fc5e6e12
Add additional awaiter code comment. 2022-12-08 00:17:46 -05:00
Neuheit 9e791a92c3
Add comments explaining GetAwaiter() 2022-12-08 00:16:18 -05:00
Shadowghost 2c86bd1875 Merge branch 'master' into network-rewrite 2022-12-07 17:40:24 +01:00
Bond_009 236dd650d0 Update projects to .net7 2022-12-07 16:42:05 +01:00
Bond_009 52194f56b5 Replace != null with is not null 2022-12-05 15:01:13 +01:00
Bond_009 c7d50d640e Replace == null with is null 2022-12-05 15:00:20 +01:00
Shadowghost 95740ef9a2 Fix build 2022-12-03 12:44:59 +01:00
Shadowghost 36994c17bf Apply review suggestions 2022-11-17 11:34:48 +01:00
Stefan Hendricks 6621121c1b
Add .NET MIT License 2022-10-29 18:54:11 -04:00