Commit Graph

325 Commits

Author SHA1 Message Date
Claus Vium 79578521b8
Merge pull request #4629 from crobibero/auth-handler
Provide NoResult instead of Fail in CustomAuthenticationHandler
2020-12-01 23:44:52 +01:00
Bond_009 f6a38e6340 Add tests for GetUuid 2020-12-01 15:12:55 +01:00
crobibero 38b3b4f867 Provide NoResult instead of Fail in CustomAuthenticationHandler 2020-12-01 06:32:46 -07:00
dependabot[bot] 44edd4b1a2
Bump Moq from 4.15.1 to 4.15.2
Bumps [Moq](https://github.com/moq/moq4) from 4.15.1 to 4.15.2.
- [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/v4.15.2)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-30 12:01:00 +00:00
Bond_009 10be618ec3
Add more tests for JsonGuidConverter 2020-11-28 16:33:57 +01:00
Bond_009 8c8a71692e Remove Hex class as the BCL has one now 2020-11-25 23:40:31 +01:00
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