Commit graph

369 commits

Author SHA1 Message Date
BaronGreenback 50e375020a
[Fix] NetworkManager binding to [::] (#4549)
* Autodiscovery enable/disable patch

* Fixed [::] issue on bind. Altered test.

* Update UdpServerEntryPoint.cs

* Update Jellyfin.Networking.Tests.csproj

* Update Jellyfin.Networking.Tests.csproj

* Update INetworkManager.cs
2020-11-24 06:11:02 +01:00
Joshua M. Boniface 2c9e355e42
Merge branch 'master' into NetworkPR2 2020-11-21 23:28:15 -05:00
Greenback dc1ad3fe2a Better named tests methods. 2020-11-21 20:31:24 +00:00
BaronGreenback 1e13627a94
Update tests/Jellyfin.Networking.Tests/NetworkTesting/NetworkParseTests.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-11-21 20:05:31 +00:00
BaronGreenback 3f2c331755
Update tests/Jellyfin.Networking.Tests/NetworkTesting/NetworkParseTests.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-11-21 20:05:11 +00:00
BaronGreenback c3fa9d00ae
Update tests/Jellyfin.Networking.Tests/NetworkTesting/NetworkParseTests.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-11-21 20:04:58 +00:00
BaronGreenback e33200db71
Update tests/Jellyfin.Networking.Tests/NetworkTesting/NetworkParseTests.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-11-21 20:04:16 +00:00
BaronGreenback c14f468099
Update tests/Jellyfin.Networking.Tests/NetworkTesting/NetworkParseTests.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-11-21 20:04:02 +00:00
BaronGreenback acb79eb56a
Update tests/Jellyfin.Networking.Tests/NetworkTesting/NetworkParseTests.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-11-21 20:02:36 +00:00
BaronGreenback b4e7032872
Update tests/Jellyfin.Networking.Tests/NetworkTesting/NetworkParseTests.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-11-21 20:02:19 +00:00
BaronGreenback 13162184f4
Update tests/Jellyfin.Networking.Tests/NetworkTesting/NetworkParseTests.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-11-21 20:01:58 +00:00
BaronGreenback 5ac25364db
Update tests/Jellyfin.Networking.Tests/NetworkTesting/NetworkParseTests.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-11-21 20:01:01 +00:00
BaronGreenback ac03516f89
Update tests/Jellyfin.Networking.Tests/NetworkTesting/NetworkParseTests.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-11-21 20:00:37 +00:00
BaronGreenback 23fa9533af
Update tests/Jellyfin.Networking.Tests/NetworkTesting/NetworkParseTests.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-11-21 20:00:17 +00:00
Greenback 9b5ae690c1 renamed file. 2020-11-21 16:17:26 +00:00
Greenback e41d1773ba changes 2020-11-21 16:14:03 +00:00
BaronGreenback 7403b9a9e5
Update tests/Jellyfin.Networking.Tests/NetworkTesting/UnitTesting.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-11-21 16:10:35 +00:00
BaronGreenback 46e6128f6c
Update tests/Jellyfin.Networking.Tests/NetworkTesting/UnitTesting.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-11-21 16:08:19 +00:00
BaronGreenback 56754a2af2
Update tests/Jellyfin.Networking.Tests/NetworkTesting/UnitTesting.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-11-21 16:03:25 +00:00
BaronGreenback ead881d487
Update tests/Jellyfin.Networking.Tests/NetworkTesting/UnitTesting.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-11-21 16:03:16 +00:00
BaronGreenback 7a6063ed41
Merge branch 'master' into NetworkPR2 2020-11-21 00:35:53 +00:00
crobibero f512d5167d Remove broken CleanDateTimes regex 2020-11-20 11:27:37 -07:00
crobibero 5b8e248d72 Merge remote-tracking branch 'upstream/master' into video-resolver 2020-11-20 11:21:24 -07:00
Joshua M. Boniface 7457c4a95d
Merge pull request #4499 from crobibero/more-param
Reduce RequestHelpers.Split usage and remove RequestHelpers.GetGuids
2020-11-20 12:34:18 -05:00
Greenback a3e47f3e4e Updated to latest Unstable. 2020-11-19 18:27:18 +00:00
Anthony Lavado 28da945fe0
Merge pull request #4488 from jellyfin/dependabot/nuget/Moq-4.15.1
Bump Moq from 4.14.7 to 4.15.1
2020-11-17 11:52:06 -05:00
crobibero 3cc0dd7e12 Reduce RequestHelpers.Split usage and remove RequestHelpers.GetGuids usage. 2020-11-16 20:29:46 -07:00
BaronGreenback 2bbfcc264d
Merge branch 'master' into emby-namig-nullable 2020-11-16 19:47:36 +00:00
Greenback 979de240cb Updated tests to .Net5 2020-11-16 17:30:27 +00:00
BaronGreenback d66f88672c
Merge branch 'master' into NetworkPR2 2020-11-16 16:27:37 +00:00
dependabot[bot] cfb7523ea8
Bump Moq from 4.14.7 to 4.15.1
Bumps [Moq](https://github.com/moq/moq4) from 4.14.7 to 4.15.1.
- [Release notes](https://github.com/moq/moq4/releases)
- [Changelog](https://github.com/moq/moq4/blob/master/CHANGELOG.md)
- [Commits](https://github.com/moq/moq4/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-15 20:47:21 +00:00
crobibero 056c44010b Fix tests 2020-11-15 12:19:07 -07:00
crobibero dae4541bad Merge remote-tracking branch 'upstream/master' into dotnet-5 2020-11-15 11:56:35 -07:00
crobibero e8b98265b0 Upgrade Jellyfin.Model.Tests to net5.0 2020-11-13 10:40:09 -07:00
crobibero 445eec7f5f Fix nullability errors in Jellyfin.Api.Tests 2020-11-13 09:21:22 -07:00
crobibero 0c23b8cadf Don't throw exception when converting values using binder or JsonConverter 2020-11-12 08:06:25 -07:00
Stepan 3bca1181b3 Taken suggestions from code review and created test for ExtraRuleType.Regex instead of throwing exception there. 2020-11-12 13:16:33 +01:00
Stepan 195a6261c4 Dummy test case explanation. 2020-11-10 19:28:03 +01:00
Stepan 158eff62d7 Xml-doc part2 2020-11-10 19:23:10 +01:00
crobibero 83629ab6f2 Update packages to net5 2020-11-10 09:52:34 -07:00
Stepan c0747512d6 Merge remote-tracking branch 'jellyfin/master' into emby-namig-nullable 2020-11-10 12:42:49 +01:00
dependabot[bot] e15891df51
Bump Microsoft.NET.Test.Sdk from 16.7.1 to 16.8.0
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 16.7.1 to 16.8.0.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Commits](https://github.com/microsoft/vstest/compare/v16.7.1...v16.8.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-09 12:00:39 +00:00
cvium e78c63c4dc Remove OriginalAuthenticationInfo and add IsAuthenticated property 2020-11-08 16:10:33 +01:00
Claus Vium c17f84ae48
Merge pull request #4330 from crobibero/api-key-auth
Fix ApiKey authentication
2020-11-08 08:20:50 +01:00
Stepan 3d1076ae42 Rest of tests for Emby.Naming code coverage 2020-11-07 12:30:22 +01:00
Stepan f22e0800e2 Episode parsing coverage 2020-11-07 11:02:12 +01:00
crobibero 9056908bc7 Merge remote-tracking branch 'upstream/master' into video-resolver 2020-11-06 14:46:21 -07:00
Claus Vium f172b37401
Merge pull request #4391 from crobibero/converter-ireadonlylist
Support IReadOnlyList for JsonCommaDelimitedArrayConverter
2020-11-06 15:16:14 +01:00
Stepan 3466dc5581 Finish coverage for Emby.Naming.Video 2020-11-05 16:59:15 +01:00
Stepan 5741150367 Enable MultiVersion video tests and added support for naming based on tests 11 & 8 2020-11-05 14:51:27 +01:00
Stepan c96aa0551d Added NamingOptions tests 2020-11-05 13:25:29 +01:00
Greenback 3e62557959 amended testing unit. 2020-11-04 20:30:06 +00:00
BaronGreenback ec245dce90
Merge branch 'master' into NetworkPR2 2020-11-04 20:17:41 +00:00
Stepan aef1fe62c2 Complete test coverage for Emby.Naming.Subtitles 2020-11-03 16:25:33 +01:00
Stepan c060ed1a18 Added resolving of alternative files and extras for audibooks. 2020-11-03 16:24:04 +01:00
Stepan 7b6363b09a Update test for detecting audiobooks extras and alternative files 2020-11-02 23:07:46 +01:00
Stepan 1e71775688 Add Name and Year parsing for audiobooks 2020-11-02 20:03:12 +01:00
crobibero e41e832495 Dependency catch up 2020-11-01 10:52:32 -07:00
Stepan 50a2ef9d8a Simplify Resolve_InvalidExtension Test and created tests for Alternative Versions parsing & Year Extraction for audiobooks 2020-11-01 17:41:47 +01:00
Stepan f39775dc3a Written test to finish coverage for AudioBookListResolver & AudioBookResolver and corrected some logical erros / unhandled exception 2020-11-01 17:10:48 +01:00
Stepan 60b49e67ea Re-Sharper inspection issues 2020-11-01 11:19:22 +01:00
Stepan 59619b6ea7 Enable nullable in Emby.Naming 2020-11-01 10:47:31 +01:00
Greenback f06e4826c7 Fixed testing units 2020-10-31 19:16:28 +00:00
Greenback 83af636c61 Updated with new NetManager 2020-10-31 18:21:46 +00:00
Greenback 6dc2936d9c Merge remote-tracking branch 'upstream/master' into NetworkPR2 2020-10-30 13:54:46 +00:00
crobibero 42c2ab97e7 Support IReadOnlyList for JsonCommaDelimitedArrayConverter 2020-10-29 11:32:02 -06:00
dkanada ec5fadc64e
Merge pull request #4347 from jellyfin/dependabot/nuget/Moq-4.14.7
Bump Moq from 4.14.6 to 4.14.7
2020-10-29 14:59:01 +09:00
crobibero 8b83e4e972 Fix tests 2020-10-28 17:57:16 -06:00
Bond-009 be2f27a069
Merge pull request #4312 from crobibero/json-array-converter
Add comma delimited string to array json converter
2020-10-27 19:36:37 +01:00
BaronGreenback 0b5ddc90ff
Merge branch 'master' into NetworkPR2 2020-10-26 13:21:48 +00:00
dependabot[bot] ed8899da4c
Bump Moq from 4.14.6 to 4.14.7
Bumps [Moq](https://github.com/moq/moq4) from 4.14.6 to 4.14.7.
- [Release notes](https://github.com/moq/moq4/releases)
- [Changelog](https://github.com/moq/moq4/blob/master/CHANGELOG.md)
- [Commits](https://github.com/moq/moq4/compare/v4.14.6...v4.14.7)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-19 12:00:52 +00:00
BaronGreenback d42bb515ce
Merge branch 'master' into video-resolver 2020-10-17 09:26:14 +01:00
Joshua M. Boniface 86090ab1f6
Merge pull request #4317 from jellyfin/tests7
Fix AudioBookListResolver test coverage
2020-10-17 01:58:57 -04:00
crobibero b2662894cf Add whitespace handling and tests 2020-10-16 09:37:35 -06:00
dkanada 5c2ecc0ca5
Merge pull request #4324 from crobibero/dotnet-3.1.9
Update to dotnet 3.1.9
2020-10-15 12:56:10 +09:00
crobibero 4b6889615b Fix tests 2020-10-14 18:21:15 -06:00
crobibero f998e52107 Update to dotnet 3.1.9 2020-10-13 18:50:04 -06:00
Bond_009 74f4affcda Fix AudioBookListResolver test coverage 2020-10-12 20:09:15 +02:00
crobibero 7565ae22cb Add tests and switch to factory 2020-10-11 21:09:15 -06:00
crobibero 6a3a193dbb Fix and clean tests 2020-10-09 17:10:06 -06:00
Greenback ebe650afa9 Merge remote-tracking branch 'upstream/master' into NetworkPR2 2020-10-09 14:12:41 +01:00
dkanada f8657d70ff
Merge pull request #4277 from jellyfin/dependabot/nuget/Moq-4.14.6
Bump Moq from 4.14.5 to 4.14.6
2020-10-06 12:29:00 +09:00
Joshua M. Boniface 72ad3b327f
Merge pull request #4257 from Bond-009/tests3
Add tests for deserializing guids
2020-10-05 13:17:50 -04:00
dependabot[bot] dba4df1977
Bump Moq from 4.14.5 to 4.14.6
Bumps [Moq](https://github.com/moq/moq4) from 4.14.5 to 4.14.6.
- [Release notes](https://github.com/moq/moq4/releases)
- [Changelog](https://github.com/moq/moq4/blob/master/CHANGELOG.md)
- [Commits](https://github.com/moq/moq4/compare/v4.14.5...v4.14.6)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-05 12:00:58 +00:00
Bond_009 d7dc15971e Add roundtrip test 2020-10-04 16:26:43 +02:00
BaronGreenback fae70bbbcf
Update LocalAccessHandlerTests.cs 2020-10-04 10:05:38 +01:00
github@esslinger.dev ec0ff5d02f test: use descriptive test method names 2020-10-03 12:40:28 +02:00
github@esslinger.dev 1bd80a634f test: add CommaDelimitedArrayModelBinder tests 2020-10-03 01:09:45 +02:00
github@esslinger.dev b3b98a5cc8 test: add TestType enum 2020-10-03 01:09:28 +02:00
Bond_009 8535a718b7 Add tests for deserializing guids 2020-10-02 19:43:34 +02:00
Jim Cartlidge fcd1b2f0e4 Merged with latest master 2020-09-30 17:52:33 +01:00
Bond-009 c7b3d4a90c
Merge pull request #4164 from spooksbit/remove-browser-auto-load
Removed browser auto-launch functionality
2020-09-29 18:24:58 +02:00
Jim Cartlidge 5edf24db5c Updated to master 2020-09-24 15:34:30 +01:00
Anthony Lavado 2746e1fecc
Merge pull request #4189 from Bond-009/minor5
Minor improvements
2020-09-23 09:58:19 -04:00
dkanada dfb2ef5cfe
Merge pull request #4126 from crobibero/3.1.8
update to dotnet 3.1.8
2020-09-23 19:52:37 +09:00
Bond_009 228b33a23b Minor improvements 2020-09-20 14:02:41 +02:00
spookbits 5cca8bffea Removed browser auto-load functionality from the server.
Added profiles in launchSettings to start either the web client or the swagger API page.
Removed --noautorunwebapp as this is the default functionality.
2020-09-16 13:22:04 -04:00
Jim Cartlidge b04aed2f58 Merge remote-tracking branch 'upstream/master' into NetworkPR2 2020-09-14 16:01:23 +01:00
Jim Cartlidge 38b8110a3e Removing blank lines. 2020-09-14 15:55:25 +01:00
Jim Cartlidge b44455ad0d Update based on PR1 changes. 2020-09-14 15:46:38 +01:00