Commit graph

1194 commits

Author SHA1 Message Date
Cody Robibero 593b2fd359 Add more speed and more tests 2021-12-09 08:06:06 -07:00
cvium 6030946d78 Fixes 2021-12-07 19:23:30 +01:00
cvium fde84a1e00 Refactor extras parsing 2021-12-07 15:24:57 +01:00
Ahmed Rafiq cf75f99f0e
Update unit test name
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2021-12-04 21:14:52 +06:00
Ahmed Rafiq fa6f6515a6
Update unit test name
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2021-12-04 21:14:16 +06:00
Ahmed Rafiq 6193fdea69 Use MimeTypes package to determine MIME type
This simplifies the code since we don't have to keep large mappings of extensions and MIME types.

We still keep the ability to override the mappings for:
- filling in entries not present in the package, for e.g. ".azw3"
- picking preferred extensions, for e.g. MimeTypes provides ".conf" as a possible extionsion for "text/plain", and while that is correct, ".txt" would be preferrable
- compatibility reasons
2021-12-04 20:08:16 +06:00
Bond_009 40be86eec0 Use PostAsJsonAsync where possible 2021-12-01 15:58:23 +01:00
Bond_009 beafd6eaab Use JsonContent where possible
Should reduce the # of allocated bytes
2021-12-01 15:40:06 +01:00
Cody Robibero 1df56335ee Add more tests 2021-11-27 16:25:21 -07:00
Joe Rogers 4a20ae6cb4
Allow default/forced tag without setting language 2021-11-27 20:13:21 +01:00
ianjazz246 95183c365a Use local time for RecordingHelperTests 2021-11-23 12:57:05 -08:00
Joe Rogers 9ba7bf96ef
Query MediaSourceManager directly in image providers
Add doc comments/minor tweaks to AudioImageProvider
2021-11-18 15:11:50 +01:00
Joe Rogers bff5ff0cb8
Merge similar tests with Theories 2021-11-18 14:29:22 +01:00
Joe Rogers 7cf5767949
Query media streams by type instead of filtering 2021-11-17 22:34:04 +01:00
Cody Robibero c32a421ea7
Merge pull request #6851 from cvium/remove_references_to_ilibrarymanager 2021-11-15 15:45:49 -07:00
Cody Robibero 4cfe8fe588
Merge pull request #6831 from 1337joe/image-provider-cleanup 2021-11-15 15:45:33 -07:00
cvium 4f45c52674 Remove ILibraryManager as a dependency in resolvers etc. 2021-11-15 15:56:02 +01:00
Joe Rogers f059be8e4d
Add logging and fast return 2021-11-15 15:30:43 +01:00
Joe Rogers 58be1d7759
Actually check server disabled metadata providers 2021-11-15 14:47:06 +01:00
Joe Rogers 370b7f8e12
Handle unexpected case more gracefully 2021-11-14 23:13:45 +01:00
Cody Robibero 34df1a030b
Merge pull request #6818 from Bond-009/password 2021-11-13 16:56:25 -07:00
Cody Robibero 4a28f46cac Don't throw exception on unauthenticated requests 2021-11-13 07:27:28 -07:00
Joe Rogers 1d729b2b0f
Use codec to determine image format 2021-11-12 16:30:30 +01:00
Joe Rogers f73a7a6ed8
Use ImageFormat instead of string for extension 2021-11-12 16:22:11 +01:00
Joe Rogers de9bf327c6
Merge similar tests with Theories 2021-11-12 13:44:48 +01:00
Bond_009 5265b3eee7 Replace PBKDF2-SHA1 with PBKDF2-SHA512
This also migrates already created passwords on login

Source for the number of iterations:
https://cheatsheetseries.owasp.org/cheatsheets/Password_Storage_Cheat_Sheet.html#pbkdf2
2021-11-10 22:34:54 +01:00
Claus Vium c3523e7cf7
Merge pull request #5905 from BaronGreenback/TVFix
Fix for Livetv and DLNA when bind interfaces specified.
2021-11-09 19:53:21 +01:00
Claus Vium c50c9c3dbf
Merge pull request #6794 from Bond-009/dead
Remove some dead code
2021-11-09 19:47:34 +01:00
Bond_009 994101fcf4 Remove some dead code 2021-11-09 16:28:39 +01:00
Bond_009 5726535a26 Fix some warnings
609 left
2021-11-09 13:14:31 +01:00
Cody Robibero 40045d2147 Update to full dotnet 6 2021-11-08 09:40:12 -07:00
cvium f03e77a4d5 Merge branch 'master' into TVFix 2021-11-08 10:38:08 +01:00
Bond_009 4dfb7b18ae Add some docs and tests 2021-11-07 22:32:08 +01:00
Joe Rogers b4bf5af7c8
Remove ImageType.Screenshot and ItemFields.Screenshot 2021-11-06 20:43:20 +01:00
Bond_009 924c6682b9 Remove unused IHasScreenshots interface 2021-11-04 01:06:21 +01:00
Claus Vium 5c5d49ee60
Merge pull request #6763 from 1337joe/tmdb-image-provider-dedup 2021-11-04 00:22:08 +01:00
Bond_009 416894008e Minor improvements
* Removed some allocations
* Removed some useless abstractions
2021-11-03 14:02:57 +01:00
Claus Vium 6822693bd6
Merge pull request #6748 from ptalmeida/master 2021-11-03 13:01:53 +01:00
Claus Vium 0187500373
Merge pull request #6761 from Bond-009/startup2 2021-11-03 13:01:37 +01:00
Claus Vium 869d537aaa
Merge pull request #6752 from 1337joe/fix-metadata-refresh-deletes-backgrounds 2021-11-03 13:01:23 +01:00
Joe Rogers 149c77d9b1
Remove commented theory data, merge tests 2021-11-02 22:46:53 +01:00
Joe Rogers 2b283d249f
Switch to method per image conversion 2021-11-02 21:12:13 +01:00
Claus Vium 2c42d75288
Merge pull request #6027 from fredriklindberg/improve-series-matching 2021-11-02 20:17:49 +01:00
Claus Vium a9c38870f9
Merge pull request #6379 from dearjoey/master 2021-11-02 20:12:42 +01:00
Joe Rogers 7fcf01235c
Change RemoveImages to array, improve download test 2021-11-02 16:16:06 +01:00
Bond_009 104e36f2f9 Streamline startup code 2021-11-02 16:02:52 +01:00
Joe Rogers 4a5e8b99a0
Extract duplicate code, add test 2021-11-01 23:17:00 +01:00
Joe Rogers 6881cf6874
Merge remote-tracking branch 'origin/master' into fix-metadata-refresh-deletes-backgrounds 2021-11-01 16:41:05 +01:00
dependabot[bot] baafa10e87
Bump Microsoft.NET.Test.Sdk from 16.11.0 to 17.0.0
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 16.11.0 to 17.0.0.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Commits](https://github.com/microsoft/vstest/compare/v16.11.0...v17.0.0)

---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-01 12:00:53 +00:00
Joe Rogers b478b115e3
Refactor to validate all images up front 2021-11-01 11:53:31 +01:00
Joe Rogers 080b02cc4c
Add comments, minor cleanup, add tests 2021-10-31 23:56:50 +01:00
Cody Robibero 7b89e0e3a5 Fix tests 2021-10-31 11:06:47 -06:00
Claus Vium 39d5bdac96
Change ReadOnlySpan to string following PR 6383 (#6734) 2021-10-26 14:47:34 +02:00
Claus Vium dc72d90703
Merge pull request #6383 from sushilicious/master
Made default parser a tiny bit mroe robust
2021-10-26 12:10:57 +02:00
Claus Vium 8b2309df82
Merge pull request #6535 from Bond-009/dlnacontrollertests 2021-10-25 23:47:37 +02:00
Claus Vium 768ec60e11
Merge pull request #6689 from 1337joe/expand-image-extraction 2021-10-21 23:05:32 +02:00
Joe Rogers 31baea072a
Address review comments
Clean up style
Fix references in class summaries
Combine Where+FirstOrDefault queries
Break up large method, long lines
Add validation on file extension
Apply test naming conventions
Extract mock of Movie class, comment on why not mocking interface

Co-authored-by: Cody Robibero <cody@robibe.ro>
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2021-10-20 14:10:16 +02:00
Cody Robibero 2b10251b32 Update to dotnet6.rc2 2021-10-12 18:31:58 -06:00
Joe Rogers e3eee10d05
Add image provider tests and clean up 2021-10-11 14:09:02 +02:00
Claus Vium 8fc4a48070
Merge pull request #6501 from crobibero/schedules-direct 2021-10-09 23:21:09 +02:00
Claus Vium e775286de5
Merge pull request #6646 from 1337joe/test-mp4-metadata 2021-10-09 12:48:30 +02:00
Claus Vium b16e6621b3
Merge pull request #6663 from crobibero/dotnet-6-rc1
Reference dotnet6-rc1 packages
2021-10-08 16:06:15 +02:00
Claus Vium eea2ba9b68
Merge pull request #6678 from Bond-009/random
Use new Random.Shared instead of creating new instances
2021-10-08 16:04:23 +02:00
Claus Vium 851a5f3b55
Merge pull request #6665 from Bond-009/tests6
Improve test coverage for QuickConnectManager
2021-10-08 15:53:13 +02:00
Cody Robibero 3bbd98cc3f Merge remote-tracking branch 'upstream/master' into schedules-direct 2021-10-08 07:49:40 -06:00
Bond_009 d05062fec0 Use new Random.Shared instead of creating new instances 2021-10-08 15:40:13 +02:00
Bond_009 67147400bf Fix issue #6123 2021-10-05 21:47:59 +02:00
Bond_009 74d75fad46 Improve test coverage for QuickConnectManager 2021-10-05 16:59:11 +02:00
Cody Robibero 017380f1dd Reference dotnet6-rc1 packages 2021-10-04 07:43:40 -06:00
KonH 6cbfdea4c0 Fix warning: Type cast is redundant (#2149) 2021-10-03 11:05:18 +07:00
KonH b6bf43af45 Fix warning: Using directive is not required by the code and can be safely removed (#2149) 2021-10-03 10:49:41 +07:00
Joe Rogers 4c2adc39c7
Add test data and unit test for mp4 metadata probe 2021-10-01 22:03:12 +02:00
Bond_009 055e04338e Add regression test for #6560 2021-09-28 12:03:32 +02:00
cvium 2899b77cd5 Implement FfProbeKeyframeExtractor and add tests for it 2021-09-26 21:07:30 +02:00
cvium 64a13a5d42 Add ComputeSegments test 2021-09-25 23:28:10 +02:00
Bond-009 8858d8e597
Merge branch 'master' into theorydata 2021-09-25 22:24:57 +02:00
cvium 43ea4af30f Update to .net 6 2021-09-25 20:55:48 +02:00
cvium 30f3be1da0 Merge branch 'master' into keyframe_extraction_v1 2021-09-25 20:52:09 +02:00
Bond_009 4643fd5dcb Address comments 2021-09-25 18:15:46 +02:00
cvium 3e5cb8e04e Add tests for ComputeEqualLengthSegments and fix bug 2021-09-25 11:47:44 +02:00
cvium c7b25a9fe4 Add first test 2021-09-25 11:17:16 +02:00
Bond_009 4d1d9f23d5 Use new Enum.TryParse(ReadOnlySpan<char>) overload 2021-09-24 20:15:46 +02:00
Bond_009 13fbfe6091 Target net6.0 2021-09-24 20:15:46 +02:00
Bond_009 dc1b726ef8 Add regression test for #5323 2021-09-22 02:00:17 +02:00
Claus Vium b598f0e9fb
Merge pull request #6584 from Bond-009/datetime
Specify DateTimeStyles when possible
2021-09-21 08:17:55 +02:00
Joshua M. Boniface 18506f7c21
Merge pull request #6569 from crobibero/dotnet-5.0.10
Update to dotnet 5.0.10
2021-09-21 02:11:27 -04:00
Claus Vium c38d19682c
Merge pull request #6553 from ankenyr/master 2021-09-21 08:09:41 +02:00
Bond_009 653df7d8e5 Specify DateTimeStyles when possible 2021-09-21 01:21:45 +02:00
Cody Robibero e7d6c45509 Upgrade to dotnet 5.0.10 2021-09-19 15:06:27 -06:00
Bond_009 9148820d89 Add more tests 2021-09-19 21:26:00 +02:00
Bond_009 a6d1e542e6 Reduce allocations 2021-09-19 20:53:31 +02:00
Bond_009 b0194bce6c Add regression test for issue #5168 2021-09-18 15:31:45 +02:00
Bond_009 34b38454e0 Fix SubtitleEncoder and add regression tests 2021-09-18 15:23:55 +02:00
Bond_009 69cf8c1947 Add tests for DlnaController 2021-09-17 20:53:52 +02:00
Fredrik Lindberg ea439c5ccf Improve series name matching
Add a series path resolver that attempts to extract only the series
name from a path that contains more information that just the name.
2021-09-13 17:59:33 +02:00
ankenyr 2b5f3f294e Fixing #6269 by comparing PremiereDate when episode comparison would otherwise be equal. 2021-09-12 15:05:37 -07:00
Cody Robibero 7a7fe3e681 Fix types and property names 2021-09-12 13:56:26 -06:00
ianjazz246 19b8bcaec4 Use TheoryData instead of MemberData and ClassData 2021-09-11 13:31:24 -07:00
ianjazz246 3313efce19 Revert "Use TheoryData in UrlDecodeQueryFeatureTest"
This reverts commit c5393b2579.
2021-09-11 13:29:58 -07:00
ianjazz246 c5393b2579 Use TheoryData in UrlDecodeQueryFeatureTest 2021-09-10 20:11:16 -07:00
cvium be9663ae89 Use GetSmartApiUrl instead (hopefully it works) 2021-09-07 10:27:55 +02:00
Fernando Fernández 3d0b1ccae6
Remove all unused usings 2021-09-06 21:15:30 +02:00
dependabot[bot] c52fc714aa
Bump FsCheck.Xunit from 2.16.1 to 2.16.3
Bumps [FsCheck.Xunit](https://github.com/fsharp/FsCheck) from 2.16.1 to 2.16.3.
- [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.1...2.16.3)

---
updated-dependencies:
- dependency-name: FsCheck.Xunit
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-06 12:01:04 +00:00
Claus Vium 74fef6c05b
Merge pull request #6177 from Bond-009/async
Use async FileStreams where it makes sense
2021-09-06 13:55:34 +02:00
cvium ffe5ae8056 Merge branch 'master' into TVFix 2021-09-05 10:11:17 +02:00
cvium 907d9fa195 remove some newlines 2021-09-03 23:58:07 +02:00
cvium 1172ece856 remove leading and trailing whitespace from the key 2021-09-03 23:56:19 +02:00
Cody Robibero 04973a489f use JsonOptions 2021-09-03 13:56:51 -06:00
cvium 60185f99c4 fix the build 2021-09-03 21:43:06 +02:00
Cody Robibero 0587b539ec Suggestions from review 2021-09-03 13:36:07 -06:00
cvium 6b3ecf2533 Merge branch 'master' into bug/authorization-header-issue 2021-09-03 21:33:41 +02:00
cvium 048c478b0d Merge branch 'master' into bug/authorization-header-issue 2021-09-03 21:25:18 +02:00
Cody Robibero 47e24a2cf7 Add SchedulesDirect json tests 2021-09-03 12:35:52 -06:00
Cody Robibero ff9d14c811 Merge remote-tracking branch 'upstream/master' into authenticationdb-efcore 2021-09-03 11:01:55 -06:00
Bond-009 3ec7ecf399
Merge pull request #6358 from MrTimscampi/audio-people 2021-09-03 17:15:58 +02:00
Bond_009 286dabdc4b Add SqliteItemRepository.ItemImageInfoFromValueString as a fuzzing
target

and add test cases
2021-09-02 21:28:00 +02:00
Bond_009 e3dac4fda2 Use async FileStreams where it makes sense 2021-09-02 14:02:04 +02:00
Mike cf9c678406
Add subtitle format(codec) to stream display title (#5853)
Co-authored-by: Michał Kurek <michal.kurek@mail.com>
2021-09-01 18:59:59 +02:00
Bond_009 07f64102dd Fix build 2021-09-01 14:06:09 +02:00
Claus Vium 501c7a639f
Merge pull request #6474 from Bond-009/tests11 2021-09-01 09:24:57 +02:00
Claus Vium ae031fdd28
Merge branch 'master' into tonemap-overlay 2021-08-30 20:02:31 +02:00
Claus Vium b7e13f3a03
Merge pull request #5697 from Bond-009/ffmpeg2
Simplify the way we choose our ffmpeg
2021-08-30 19:36:51 +02:00
Bond_009 963ab2dab6 Simplify the way we choose our ffmpeg
* no longer search $PATH
* no longer require a full path
* don't fall back
2021-08-30 15:40:52 +02:00
Bond-009 bb685e4920
Merge pull request #6422 from daullmer/nfo-fanart 2021-08-30 15:02:25 +02:00
dependabot[bot] e40fde04d6
Bump FsCheck.Xunit from 2.16.0 to 2.16.1
Bumps [FsCheck.Xunit](https://github.com/fsharp/FsCheck) from 2.16.0 to 2.16.1.
- [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.0...2.16.1)

---
updated-dependencies:
- dependency-name: FsCheck.Xunit
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-30 12:00:52 +00:00
Bond_009 0f7c875076 Fix test 2021-08-28 20:53:34 +02:00
Bond_009 69ba539c70 Add more tests for LibraryStructureController 2021-08-28 20:12:25 +02:00
Bond_009 909573f2f1 Add tests for LibraryStructureController 2021-08-28 19:30:57 +02:00
Cody Robibero 50b3d74c95 Switch to TheoryData and clean up tests 2021-08-21 17:31:06 -06:00
cvium 468283bfb2 Move test to TypedBaseItem folder to avoid conflicts 2021-08-18 20:11:28 +02:00
Claus Vium 663c79cba8
Merge branch 'master' into baseitemkind-fixes 2021-08-18 18:25:48 +02:00
Bond-009 d9f7b84156
Merge pull request #6438 from jellyfin/dependabot/nuget/FsCheck.Xunit-2.16.0
Bump FsCheck.Xunit from 2.15.3 to 2.16.0
2021-08-16 14:53:56 +02:00
dependabot[bot] ee37784a35
Bump Microsoft.NET.Test.Sdk from 16.10.0 to 16.11.0
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 16.10.0 to 16.11.0.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Commits](https://github.com/microsoft/vstest/compare/v16.10.0...v16.11.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>
2021-08-16 12:01:04 +00:00
dependabot[bot] 4077cb2648
Bump FsCheck.Xunit from 2.15.3 to 2.16.0
Bumps [FsCheck.Xunit](https://github.com/fsharp/FsCheck) from 2.15.3 to 2.16.0.
- [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.15.3...2.16.0)

---
updated-dependencies:
- dependency-name: FsCheck.Xunit
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-16 12:00:55 +00:00
Claus Vium fb5db696eb
Merge pull request #6403 from ankenyr/master 2021-08-16 09:03:34 +02:00
Claus Vium fa77902955
Merge pull request #6430 from Bond-009/minor17
Minor improvements
2021-08-16 08:59:43 +02:00
ankenyr 6ba7db3d55 Removing if statement and always testing reverse of x and y. 2021-08-15 15:48:01 -07:00
ankenyr 0f9e95b4c5 Breaking up the test theory so episodes and the results are on their own lines. 2021-08-15 15:31:58 -07:00
Rob 9220682fd1
Update tests/Jellyfin.Server.Implementations.Tests/Sorting/AiredEpisodeOrderComparerTests.cs
Co-authored-by: Bond-009 <bond.009@outlook.com>
2021-08-15 15:26:00 -07:00
Rob 10fbb4d48d
Update tests/Jellyfin.Server.Implementations.Tests/Sorting/AiredEpisodeOrderComparerTests.cs
Thanks for this suggestion. I will try to keep this in mind going forward with future PRs

Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2021-08-15 15:23:18 -07:00
MrTimscampi c9b1cd1d8c Add some new music-related person types and parse from ffprobe 2021-08-16 00:22:36 +02:00
MrTimscampi f35a527608 Add performers to the ffprobe normalization for audio 2021-08-16 00:22:36 +02:00
MrTimscampi 24083d2e38 Address comments 2021-08-16 00:22:36 +02:00
MrTimscampi 7e71c25059 Add test for audio file ffprobe normalization 2021-08-16 00:22:34 +02:00
Bond_009 19824bff94 Minor improvements 2021-08-15 23:48:19 +02:00
Claus Vium d3f291f159
Merge pull request #6392 from Bond-009/tests9
ApiServiceCollectionExtensions.AddProxyAddresses: Add more tests
2021-08-15 19:56:08 +02:00
Joshua M. Boniface 7fabb32482
Merge pull request #6429 from crobibero/dotnet-5.0.9
Update to dotnet 5.0.9
2021-08-15 13:34:04 -04:00
Cody Robibero 709f8e9faa Update to dotnet 5.0.9 2021-08-15 08:30:15 -06:00
Bond_009 e8e0836f95 Fix PasswordHash tests 2021-08-15 14:13:20 +02:00
Patrick Barron 1b197a2c2a Fix QuickConnect tests, move class to proper namespace 2021-08-13 21:08:38 -04:00
Patrick Barron 45f478f63e Merge branch 'master' into authenticationdb-efcore
# Conflicts:
#	Jellyfin.Server.Implementations/Security/AuthorizationContext.cs
#	MediaBrowser.Controller/Library/IUserManager.cs
#	MediaBrowser.Controller/Security/IAuthenticationRepository.cs
#	MediaBrowser.Controller/Session/ISessionManager.cs
2021-08-13 21:08:24 -04:00
David Ullmer bf441e49b9
Add test for fanart tag 2021-08-13 20:36:14 +02:00
Nyanmisaka a84dc794c6
Merge branch 'master' into tonemap-overlay 2021-08-13 15:01:06 +08:00
ankenyr 78bbfca990 Separating out error cases from good cases. 2021-08-11 09:56:36 -07:00
Claus Vium 0216c452f1
Merge pull request #6025 from daullmer/localization-test 2021-08-11 13:14:39 +02:00
Claus Vium 3a47ad11e9
Apply suggestions from code review 2021-08-11 12:57:31 +02:00
Julien Machiels 8d5b87025b
Update tests/Jellyfin.MediaEncoding.Tests/Probing/ProbeResultNormalizerTests.cs
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2021-08-11 09:42:40 +02:00
David Ullmer d7c9b14175 Apply suggestions from code review 2021-08-10 20:28:57 +02:00
David Ullmer 45e0f7893b Merge remote-tracking branch 'upstream/master' into localization-test 2021-08-10 14:03:21 +02:00
David Ullmer 77aee515a2 Use correct string comparison 2021-08-10 13:37:33 +02:00
ankenyr 67f81e8c07 Changing test name to be more descrptive. 2021-08-09 11:27:19 -07:00
Rob 579ed5c1fc
Update tests/Jellyfin.Server.Implementations.Tests/Sorting/AiredEpisodeOrderComparerTests.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2021-08-09 11:27:40 -07:00
ankenyr 8e6436d8dd Removing moved files. 2021-08-07 15:36:23 -07:00
ankenyr 8b4d9339cf Changing namespace to be within Jellyfin.Server.Implementations.Tests 2021-08-07 15:07:12 -07:00
MrTimscampi 924dfe1db0 Add test for year-only parsing for FFProbe 2021-08-07 22:24:10 +02:00
ankenyr 14a53fe402 Adding tests for AiredEpisodeOrderComparer. 2021-08-06 23:12:29 -07:00
Bond-009 971c2bc7de
Merge pull request #6328 from Bond-009/epparser
Improve episode parser
2021-08-06 17:29:34 +02:00
Bond_009 442dc10aac ApiServiceCollectionExtensions.AddProxyAddresses: Add more tests 2021-08-04 18:43:26 +02:00
Cody Robibero 398ca85944 Merge remote-tracking branch 'upstream/master' into baseitemkind-fixes 2021-08-04 06:24:58 -06:00
Cody Robibero d212b6fb08 Clean test 2021-08-04 06:24:25 -06:00
sushilicious 26f8b501e7 Made CleanStringParser more robust
Now it can handle [...] at beginning of string
2021-08-03 14:19:36 -07:00
joey 0c9b64de4b optimize episode parser 2021-08-03 13:25:23 +08:00
Rich Lander c07e83fdf8
Invert code and style analysis configuration (#6334)
Co-authored-by: Bond-009 <bond.009@outlook.com>
2021-07-30 09:49:28 +02:00
dependabot[bot] 33359d45be
Bump coverlet.collector from 3.0.3 to 3.1.0
Bumps [coverlet.collector](https://github.com/coverlet-coverage/coverlet) from 3.0.3 to 3.1.0.
- [Release notes](https://github.com/coverlet-coverage/coverlet/releases)
- [Commits](https://github.com/coverlet-coverage/coverlet/commits/v3.1.0)

---
updated-dependencies:
- dependency-name: coverlet.collector
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-26 12:00:45 +00:00
Claus Vium 50b41dd4e7
Merge pull request #6329 from Bond-009/restests 2021-07-25 14:21:00 +02:00
nyanmisaka aaab6a3518 add tests for FFmpeg 4.4 and 4.3.2 2021-07-25 00:52:03 +08:00
Bond-009 f3b51dd77b
Update tests/Jellyfin.Model.Tests/Entities/MediaStreamTests.cs
Co-authored-by: Max Rumpf <max.rumpf1998@gmail.com>
2021-07-24 14:03:08 +02:00
Claus Vium 5a9bd712b3
Merge pull request #6296 from Bond-009/oscheck
Improve platform checks
2021-07-23 20:54:13 +02:00
Bond_009 0512f74459 Add tests for GetResolutionText 2021-07-20 23:04:49 +02:00
Bond-009 0e2a6f8216
Merge pull request #6279 from Bond-009/tests8 2021-07-20 21:24:19 +02:00
Bond_009 ef3b651aad Improve episode parser 2021-07-20 00:25:30 +02:00
Joshua M. Boniface 71158dfb3f
Merge pull request #6326 from crobibero/5.0.8
Update to dotnet 5.0.8
2021-07-19 13:25:41 -04:00
Cody Robibero de12ee5dba Update to dotnet 5.0.8 2021-07-19 08:08:02 -06:00
Bond_009 b202bfebce Fix episode parser 2021-07-15 16:05:57 +02:00
Bond-009 b20977dc25
Merge pull request #6289 from Bond-009/warn33
Fix some warnings
2021-07-12 23:53:52 +02:00
Bond_009 8528e9bddb Improve platform checks 2021-07-12 20:21:51 +02:00
Claus Vium 951a9f39c0
Merge pull request #6240 from Bond-009/quickconnecttests
Add tests for QuickConnectManager
2021-07-12 09:39:11 +02:00
Bond_009 915141f196 Fix some warnings 2021-07-11 22:51:36 +02:00
Bond_009 8b1a211081 MediaInfoControllerTests: Check Content-Length 2021-07-11 22:06:01 +02:00
Bond_009 abbcf5e4f7 Add tests for Playback/BitrateTest endpoint 2021-07-10 15:09:56 +02:00
Bond_009 e19dce3c53 Add test for RobotsRedirectionMiddleware 2021-07-06 01:07:10 +02:00
Bond_009 5bd8ba886a Add tests for QuickConnectManager 2021-07-06 00:02:54 +02:00
Patrick Barron ae878fa051 Merge branch 'master' into authenticationdb-efcore
# Conflicts:
#	Emby.Server.Implementations/QuickConnect/QuickConnectManager.cs
#	Emby.Server.Implementations/Session/SessionManager.cs
#	Jellyfin.Server.Implementations/Security/AuthorizationContext.cs
2021-06-23 20:22:12 -04:00
crobibero 39e84ba4ab Suggestions from review 2021-06-21 16:06:54 -06:00
crobibero ac76519081 Enhance BaseItemKindTests 2021-06-20 07:15:46 -06:00
crobibero 23dd6e2d9f Merge remote-tracking branch 'upstream/master' into baseitemkind-fixes 2021-06-20 07:09:24 -06:00
Bond_009 6f8ccab788 Move non-jellyfin extensions to separate project 2021-06-19 18:04:46 +02:00
Patrick Barron be88efce3c Merge branch 'master' into authenticationdb-efcore
# Conflicts:
#	Emby.Server.Implementations/Devices/DeviceManager.cs
#	Emby.Server.Implementations/HttpServer/Security/SessionContext.cs
#	Emby.Server.Implementations/Security/AuthenticationRepository.cs
#	Emby.Server.Implementations/Session/SessionManager.cs
#	Jellyfin.Server.Implementations/Security/AuthorizationContext.cs
#	MediaBrowser.Controller/Library/IUserManager.cs
#	MediaBrowser.Controller/Net/ISessionContext.cs
2021-06-18 18:56:10 -04:00
Joshua M. Boniface c791c3a215
Merge pull request #6191 from crobibero/5.0.7
Update to dotnet 5.0.7
2021-06-18 11:29:55 -04:00
crobibero e021a0e9ce Update to dotnet 5.0.7 2021-06-14 06:44:55 -06:00
crobibero d32bbf181a Ignore all test controllers 2021-06-13 06:32:28 -06:00
Bond_009 5fb72951a0 Add test for ReadOnlySpan.Count extension 2021-06-12 00:56:09 +02:00
Bond-009 cfad97ff28
Merge pull request #6096 from cvium/saving_private_ram 2021-06-12 00:20:54 +02:00
Bond_009 06401ffa0d Fix duplicate keys causing an exception 2021-06-09 09:59:30 +02:00
Bond_009 2fc14375f8 Fix index out of range and add reg tests 2021-06-08 15:35:49 +02:00
Claus Vium ed2f08d05f
Merge pull request #6156 from Bond-009/minor14
Minor fixes
2021-06-07 23:09:50 +02:00
Claus Vium 93387ba235
Merge pull request #5990 from BaronGreenback/UrlDecoding 2021-06-07 23:07:59 +02:00
BaronGreenback 133ce65e28
Update tests/Jellyfin.Server.Integration.Tests/Controllers/EncoderController.cs
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2021-06-07 16:21:30 +01:00
BaronGreenback e71c10df46
Update tests/Jellyfin.Server.Integration.Tests/Controllers/EncoderController.cs
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2021-06-07 16:21:22 +01:00
Bond_009 c78457e6d3 Minor fixes 2021-06-06 18:11:51 +02:00
Bond_009 915855e422 Add property based testing 2021-06-05 13:32:22 +02:00
Tommaso Stocchi 2b232df07f
Merge branch 'master' into bug/authorization-header-issue 2021-06-03 17:15:32 +02:00
cvium cfba7daa50 revert test change 2021-05-31 14:27:26 +02:00
dependabot[bot] 38ebd6147a
Bump Microsoft.NET.Test.Sdk from 16.9.4 to 16.10.0
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 16.9.4 to 16.10.0.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Commits](https://github.com/microsoft/vstest/compare/v16.9.4...v16.10.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-31 12:01:11 +00:00
cvium 0835b26889 review 2021-05-31 13:55:54 +02:00
Claus Vium b12f509de3
Merge pull request #5696 from Maxr1998/fix-music-video-metadata-probing 2021-05-27 10:20:22 +02:00
David Ullmer e33e3ba610 Make localizationManager local instead of field 2021-05-25 12:33:55 +02:00
Claus Vium 8a58d552a6
Update tests/Jellyfin.Api.Tests/Jellyfin.Api.Tests.csproj 2021-05-25 00:35:16 +02:00
cvium 42a2cc1747 Remove some unnecessary allocations 2021-05-24 00:30:41 +02:00
Patrick Barron b6446c06ee Merge branch 'master' into authenticationdb-efcore
# Conflicts:
#	Emby.Server.Implementations/Security/AuthenticationRepository.cs
#	Jellyfin.Server.Implementations/Security/AuthorizationContext.cs
#	MediaBrowser.Controller/Devices/IDeviceManager.cs
2021-05-21 00:19:07 -04:00
Patrick Barron a0c6f72762 Migrate authentication db to EF Core 2021-05-20 23:56:59 -04:00
Bond-009 a937a854f2
Merge pull request #6013 from Bond-009/minor13 2021-05-21 01:29:36 +02:00
Bond-009 a7b7ff000b
Merge branch 'master' into tmdb-person-language 2021-05-20 22:46:40 +02:00
Bond-009 e8790bfa96
Merge pull request #6054 from cvium/allocationz_2_extreme_db_plsdonthurtme 2021-05-20 22:40:25 +02:00
cvium 1027792b16 Review changes 2021-05-19 08:51:46 +02:00
Joshua M. Boniface 24ddcd5955
Merge pull request #6047 from crobibero/dotnet-5.0.6
Update to Dotnet 5.0.6
2021-05-17 19:56:14 -04:00
Bond-009 c64bdbb4ff
Merge pull request #6051 from Bond-009/tests7
Add tests for Recordinghelper
2021-05-18 00:05:33 +02:00
David Ullmer 96e05e5b66 Add tests for NoralizeLanguage 2021-05-17 12:55:27 +02:00
cvium 1b49435a0e Reduce some allocations 2021-05-16 14:49:11 +02:00
Bond_009 a9f44c21eb Add tests for Recordinghelper 2021-05-16 01:24:49 +02:00
BaronGreenback 53bfe0e77d Changes as requested 2021-05-15 20:24:41 +01:00
crobibero 66b185898f Update to dotnet5.0.6 2021-05-14 17:28:36 -06:00
BaronGreenback 85ecea7722 corrected tests 2021-05-11 21:45:15 +01:00
David Ullmer 88bfd1bcf4 Add tests for LocalizationManager 2021-05-10 17:58:21 +02:00
BaronGreenback cb74a86975 Moved test 2021-05-08 13:33:47 +01:00
BaronGreenback bd71de131c Changed to use span 2021-05-08 12:52:25 +01:00
BaronGreenback 7185de970c Merge remote-tracking branch 'upstream/master' into UrlDecoding 2021-05-08 12:22:09 +01:00
Bond_009 56ac64e70a Minor improvements
* properly dispose CancellationTokenSource
* rewrite DynamicHlsController.GetSegmentLengths
* remove dead code
2021-05-08 00:33:24 +02:00
BaronGreenback dca0298710 changed 2021-05-07 20:11:32 +01:00
BaronGreenback 5f70b4ead1
Update tests/Jellyfin.Api.Tests/Controllers/EncodedQueryStringTest.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2021-05-07 18:50:38 +01:00
BaronGreenback 043e69d252
Update tests/Jellyfin.Api.Tests/Controllers/EncodedQueryStringTest.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2021-05-07 18:49:57 +01:00
BaronGreenback af1fe1af6f Moved into test controller. 2021-05-07 14:37:26 +01:00
BaronGreenback 4f5c9e9504 tests and small fix. 2021-05-07 14:02:42 +01:00
Bond_009 ead4e1e977 Add support for legacy HDhomerun DUAl 2021-05-06 23:54:42 +02:00
Bond_009 47e7c1356c PathExtensions: Fix index out of bounds in TryReplaceSubPath
Fixes #5977
2021-05-05 16:45:04 +02:00
Bond-009 b6df851363
Merge pull request #5984 from Bond-009/container
Add regression test for ContainerProfile.ContainsContainer
2021-05-05 13:51:34 +02:00
Bond_009 39931fe3ad Add regression test for ContainerProfile.ContainsContainer 2021-05-05 13:33:34 +02:00
David Ullmer e57b80b8e2 Add support for fanart aspect in thumb tag 2021-05-05 10:11:31 +02:00
Bond-009 48e81e65e8
Merge pull request #5938 from cvium/allocationz 2021-05-05 09:35:30 +02:00
Bill Thornton 7d8fca92f9
Merge pull request #5762 from BaronGreenback/networkTestHardening
Fix network test on dns failure
2021-05-05 00:10:11 -04:00
cvium ad3e835bcf remove redundant code 2021-05-04 19:57:03 +02:00
cvium c0feb3694b rename to SplitEnumerator and fix test 2021-05-03 23:51:45 +02:00
BaronGreenback 7936ea59eb Changed selection method 2021-05-03 17:27:23 +01:00
Bond-009 f6d967ded6
Merge pull request #5954 from Bond-009/tests5
Add tests for SqliteItemRepository.(De)SerializeProviderIds
2021-05-02 21:18:33 +02:00
Bond_009 bdd7a37794 Don't run integration tests in parallel
* Easier to debug failing tests when the logs aren't scrambled
* Static properties could cause issues
2021-05-02 13:04:35 +02:00
Bond_009 874f92e93a Add tests for SqliteItemRepository.(De)SerializeProviderIds 2021-05-02 12:45:02 +02:00
Bond_009 8a6b9e1fb6 Add tests for SqliteItemRepository.(De)SerializeImages 2021-05-02 00:26:30 +02:00
BaronGreenback 2e01fb3cda
Update tests/Jellyfin.Networking.Tests/NetworkParseTests.cs
Co-authored-by: David Ullmer <davidullmer@outlook.de>
2021-05-01 17:16:25 +01:00
BaronGreenback 975d1537d4
Update tests/Jellyfin.Networking.Tests/NetworkParseTests.cs
Co-authored-by: David Ullmer <davidullmer@outlook.de>
2021-05-01 16:29:28 +01:00
BaronGreenback b4ab75cd69
Update tests/Jellyfin.Networking.Tests/NetworkParseTests.cs
Co-authored-by: David Ullmer <davidullmer@outlook.de>
2021-05-01 16:29:22 +01:00
BaronGreenback a49ded84c6
Update tests/Jellyfin.Networking.Tests/NetworkParseTests.cs
Co-authored-by: David Ullmer <davidullmer@outlook.de>
2021-05-01 16:29:13 +01:00
Bond-009 360d80c873
Merge pull request #5890 from Bond-009/filesystem
Reduce string allocations/fs lookups in resolve code
2021-04-30 20:45:43 +02:00
dependabot[bot] 182117d0a7
Bump AutoFixture.AutoMoq from 4.16.0 to 4.17.0
Bumps [AutoFixture.AutoMoq](https://github.com/AutoFixture/AutoFixture) from 4.16.0 to 4.17.0.
- [Release notes](https://github.com/AutoFixture/AutoFixture/releases)
- [Commits](https://github.com/AutoFixture/AutoFixture/compare/v4.16.0...v4.17.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-30 08:47:38 +00:00
Bond-009 a4837475d3
Merge pull request #5913 from jellyfin/dependabot/nuget/AutoFixture.Xunit2-4.17.0
Bump AutoFixture.Xunit2 from 4.16.0 to 4.17.0
2021-04-30 10:32:26 +02:00
Bond-009 78e66325fd
Merge pull request #5891 from Bond-009/filesystem2 2021-04-29 21:14:14 +02:00
dependabot[bot] c1563d9303
Bump AutoFixture.Xunit2 from 4.16.0 to 4.17.0
Bumps [AutoFixture.Xunit2](https://github.com/AutoFixture/AutoFixture) from 4.16.0 to 4.17.0.
- [Release notes](https://github.com/AutoFixture/AutoFixture/releases)
- [Commits](https://github.com/AutoFixture/AutoFixture/compare/v4.16.0...v4.17.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-27 13:35:13 +00:00
BaronGreenback f30bbef781 Fixed test 2021-04-26 17:28:32 +01:00
BaronGreenback 2b85f43cab removed unused usings 2021-04-26 17:17:48 +01:00
BaronGreenback 5741fa7dfa Fix url for LiveTV 2021-04-26 17:13:45 +01:00
dependabot[bot] eee3b385da
Bump AutoFixture from 4.16.0 to 4.17.0
Bumps [AutoFixture](https://github.com/AutoFixture/AutoFixture) from 4.16.0 to 4.17.0.
- [Release notes](https://github.com/AutoFixture/AutoFixture/releases)
- [Commits](https://github.com/AutoFixture/AutoFixture/compare/v4.16.0...v4.17.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-26 12:00:42 +00:00
Bond_009 81209258ab ManagedFileSystem: Rewrite GetValidFilename and more improvements 2021-04-22 03:11:21 +02:00
Bond_009 b323044139 Reduce string allocations/fs lookups in resolve code 2021-04-22 01:24:21 +02:00
BaronGreenback 20e19ae9b3 Moved Assert 2021-04-21 12:08:02 +01:00
BaronGreenback 53e1b302cc Changes as requested 2021-04-21 10:18:29 +01:00
BaronGreenback 39eb5da44f
Update tests/Jellyfin.Dlna.Tests/ProfileTester.cs
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2021-04-21 10:09:21 +01:00
BaronGreenback 740e5ec167
Update tests/Jellyfin.Dlna.Tests/ProfileTester.cs
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2021-04-21 10:09:14 +01:00
BaronGreenback 2559ceffab
Update tests/Jellyfin.Dlna.Tests/ProfileTester.cs
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2021-04-21 10:09:05 +01:00
BaronGreenback f8b717e7c5
Merge branch 'master' into ProfileMatch 2021-04-20 18:10:38 +01:00
BaronGreenback a99caa0daa Changed testing 2021-04-20 18:05:38 +01:00
dependabot[bot] dc628d1e1c
Bump AutoFixture.Xunit2 from 4.15.0 to 4.16.0
Bumps [AutoFixture.Xunit2](https://github.com/AutoFixture/AutoFixture) from 4.15.0 to 4.16.0.
- [Release notes](https://github.com/AutoFixture/AutoFixture/releases)
- [Commits](https://github.com/AutoFixture/AutoFixture/compare/v4.15.0...v4.16.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-19 13:07:31 +00:00
BaronGreenback 95b733ad4c reworked code 2021-04-19 14:07:14 +01:00
dependabot[bot] 442bc8671b
Bump AutoFixture.AutoMoq from 4.15.0 to 4.16.0
Bumps [AutoFixture.AutoMoq](https://github.com/AutoFixture/AutoFixture) from 4.15.0 to 4.16.0.
- [Release notes](https://github.com/AutoFixture/AutoFixture/releases)
- [Commits](https://github.com/AutoFixture/AutoFixture/compare/v4.15.0...v4.16.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-19 12:08:51 +00:00
Bond-009 8536418553
Merge pull request #5809 from jellyfin/dependabot/nuget/AutoFixture-4.16.0
Bump AutoFixture from 4.15.0 to 4.16.0
2021-04-19 14:07:57 +02:00
BaronGreenback c68f616377 Flip fields 2021-04-19 12:36:30 +01:00
BaronGreenback bc1cc2d04a Remove unused using directives 2021-04-17 11:37:55 +01:00
Bond-009 159431ad2a
Merge pull request #5612 from Bond-009/passwordhash 2021-04-14 15:41:23 +02:00
BaronGreenback 0b774eac12
Enables the ability to bind to loopback address. (#5773) 2021-04-14 11:26:05 +02:00
dependabot[bot] 27202ae8aa
Bump AutoFixture from 4.15.0 to 4.16.0
Bumps [AutoFixture](https://github.com/AutoFixture/AutoFixture) from 4.15.0 to 4.16.0.
- [Release notes](https://github.com/AutoFixture/AutoFixture/releases)
- [Commits](https://github.com/AutoFixture/AutoFixture/compare/v4.15.0...v4.16.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-13 17:11:34 +00:00
Bond-009 7c9772ac81
Merge pull request #5713 from Bond-009/websocketauth
Add tests for unauthenticated websocket access
2021-04-13 18:29:29 +02:00
Bond-009 8a73e19f5e
Merge pull request #5768 from Bond-009/dangling 2021-04-12 22:43:26 +02:00
BaronGreenback 10d358c8da
Update tests/Jellyfin.Networking.Tests/NetworkParseTests.cs
Co-authored-by: Odd Stråbø <oddstr13@openshell.no>
2021-04-12 10:28:24 +01:00
Joshua M. Boniface 19e7ebb279
Merge pull request #5416 from BaronGreenback/SubnetOverlappFix 2021-04-11 13:29:00 -04:00
Bond_009 5fc664fd4f Add test for handling dangling symlinks 2021-04-11 00:35:32 +02:00
BaronGreenback 1fe26fe352 Work through dns failure on test. 2021-04-10 19:44:09 +01:00
Bond_009 391554d391 Add tests for UserController 2021-04-09 01:04:49 +02:00
Bond-009 a19a97ca42
Merge pull request #5721 from Bond-009/authenticatedtests
Add code to test authenticated endpoints
2021-04-08 23:33:18 +02:00
Bond-009 631df8c560
Merge pull request #5520 from Bond-009/hdhomerun2 2021-04-08 00:27:58 +02:00
Bond_009 45a16c19a7 Add code to test authenticated endpoints 2021-04-07 21:35:54 +02:00
Bond_009 fbd9141ecd Add tests for unauthenticated websocket access 2021-04-06 22:46:54 +02:00
dependabot[bot] 3651ee5ed3
Bump Microsoft.AspNetCore.Mvc.Testing from 5.0.3 to 5.0.5
Bumps [Microsoft.AspNetCore.Mvc.Testing](https://github.com/dotnet/aspnetcore) from 5.0.3 to 5.0.5.
- [Release notes](https://github.com/dotnet/aspnetcore/releases)
- [Commits](https://github.com/dotnet/aspnetcore/compare/v5.0.3...v5.0.5)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-06 18:35:51 +00:00
Maxr1998 a7c8bc632f
Fix typo in test data filename 2021-04-06 15:34:29 +02:00
Maxr1998 07751768f4
Add tests for music video metadata 2021-04-06 15:34:29 +02:00
Bond_009 e6d487f7ea Add test for ProbeResultNormalizer.GetMediaInfo 2021-04-05 01:53:00 +02:00
Bond-009 9f21dd63ae
Merge pull request #5684 from jellyfin/dependabot/nuget/Microsoft.NET.Test.Sdk-16.9.4
Bump Microsoft.NET.Test.Sdk from 16.9.1 to 16.9.4
2021-04-03 19:25:25 +02:00
dependabot[bot] 7c70205326
Bump Microsoft.NET.Test.Sdk from 16.9.1 to 16.9.4
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 16.9.1 to 16.9.4.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Commits](https://github.com/microsoft/vstest/compare/v16.9.1...v16.9.4)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-02 22:42:12 +00:00
Bond-009 ec0ef1530c
Merge pull request #5602 from Ullmie02/IP-string-IP 2021-04-03 00:32:43 +02:00
Bond_009 11f7ab4dd4 Add tests for CopyToExtensions 2021-04-01 19:13:03 +02:00
Bond-009 b49d50e634
Merge pull request #5467 from Ullmie02/nfo-fixes 2021-03-30 15:35:56 +02:00
David 1669cb6618 Split valid and invalid tests 2021-03-29 10:35:29 +02:00
Bond-009 a890a85092
Merge pull request #5495 from BaronGreenback/RemoteAccessFix 2021-03-27 17:24:47 +01:00
BaronGreenback aae2aad0f2 changed split to single quotes 2021-03-27 08:16:48 +00:00
cvium 7670189561 make directoryservice cache case sensitive 2021-03-27 00:26:56 +01:00
David 78f7fdeacc Rename methods and optimize allocations 2021-03-26 17:16:29 +01:00
Bond-009 55102973d6
Merge pull request #5596 from BaronGreenback/DLNA_Hardening
Implemented DLNA exception handling
2021-03-25 01:29:10 +01:00
Bond-009 16011d96a0
Merge pull request #5321 from Ullmie02/nfo-thumb 2021-03-25 01:10:37 +01:00
Bond_009 c2cd7fa0b2 Add more PasswordHash tests 2021-03-24 18:39:33 +01:00
Bond_009 d77507ba09 Rewrite PasswordHash.Parse to work with ReadOnlySpans 2021-03-24 18:21:14 +01:00
David c2af50c51d Add tests for IsInNetwork 2021-03-23 17:39:55 +01:00
David 19e4ef82dd Remove conversion from IPAddress to string to IPAddress 2021-03-23 17:16:10 +01:00
David 572600b38e Use conditional operator instead of if/else block 2021-03-23 15:47:55 +01:00
BaronGreenback 6765f6ab17 fix compilation 2021-03-23 00:12:14 +00:00
BaronGreenback 4bd345fbab DLNA Exception catching 2021-03-22 17:21:12 +00:00
BaronGreenback 5d16d1f66d
Merge branch 'master' into RemoteAccessFix 2021-03-22 17:05:44 +00:00
BaronGreenback 7fa525c83b Added more tests 2021-03-22 17:04:09 +00:00
Bond-009 f6671e05fd
Merge pull request #5580 from Bond-009/integrationtests2 2021-03-22 17:57:14 +01:00
Bond_009 5253483ce4 Improve naming 2021-03-22 13:49:00 +01:00
Joshua M. Boniface 890a490776
Merge pull request #5532 from cvium/fix_episode_extras_questionmark 2021-03-21 15:13:56 -04:00
Bond_009 c5079ebed5 Add tests for GetFirstUser, UpdateStartupUser and CompleteWizard 2021-03-21 03:59:31 +01:00
Bond_009 849ced470a Add StartupControllerTests 2021-03-21 03:26:51 +01:00
Bond-009 1a0ce16f4d
Merge pull request #5504 from crobibero/json-string-converter 2021-03-20 00:48:41 +01:00
David 840eeff2af Apply suggestions from code review 2021-03-18 11:25:58 +01:00
Patrick Barron 85da0b50e2 Fix user mocking 2021-03-17 21:24:14 -04:00
David 14cbd22fbe Use Helper Methods for provider url parsing 2021-03-16 21:45:12 +01:00
cvium 23c3188501 revert underscore as a multiversion separator 2021-03-15 23:24:59 +01:00
cvium 025e351f61 add unit tests 2021-03-15 08:25:20 +01:00
BaronGreenback 4c7680e186 Merge remote-tracking branch 'upstream/master' into SubnetOverlappFix 2021-03-14 18:40:44 +00:00
Patrick Barron e5380c653b Merge branch 'master' into ef-cleanup
# Conflicts:
#	Jellyfin.Data/Entities/Libraries/MediaFileStream.cs
#	Jellyfin.Data/Jellyfin.Data.csproj
2021-03-14 10:19:35 -04:00
Bond-009 0e5d4a3bcf
Merge pull request #5422 from Bond-009/warn51 2021-03-14 00:41:40 +01:00
Bond_009 72d3eed15c Fix integration test project 2021-03-14 01:07:53 +01:00
Bond_009 a8ed753f6c FxCop -> Net Analyzers (part 2) 2021-03-13 22:33:28 +01:00
Bond_009 d9eb7ae6dc Fix invalid crc in TryGetReturnValueOfGetSet_InvalidPacketType test 2021-03-13 21:28:04 +01:00
Bond_009 f9640f4366 Rewrite HdHomerunManager.ParseReturnMessage 2021-03-13 21:12:11 +01:00
Bond_009 e8b18e5f8f Add test for HdHomerunManager.ParseReturnMessage 2021-03-13 19:32:40 +01:00
Bond_009 7fb3a354fd Add test for HdHomerunManager.WriteSetMessage with lockkey 2021-03-13 19:24:47 +01:00
Bond_009 f5789483fd Add test for HdHomerunManager.WriteSetMessage 2021-03-13 19:21:29 +01:00
Bond-009 b755c25217
Merge pull request #5220 from Bond-009/hdhomerun 2021-03-13 15:05:18 +01:00
BaronGreenback b7fb152faf
Update tests/Jellyfin.Networking.Tests/NetworkParseTests.cs
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2021-03-12 14:44:05 +00:00
crobibero e814d8e2cf Add JsonStringConverter 2021-03-12 06:43:57 -07:00
Bond-009 d7f0aaaec1
Merge pull request #5417 from Bond-009/codeanal
Add code analysis attributes where appropriate
2021-03-12 00:15:12 +01:00
BaronGreenback e5914fd28c split tests 2021-03-11 22:47:37 +00:00
BaronGreenback 3fdf0de6e3 Fix remote access 2021-03-11 21:36:58 +00:00
Bond-009 d967267cef
Merge pull request #5461 from cvium/fix_multiversion 2021-03-11 22:31:06 +01:00
cvium 7d69c2550c fix copy/paste error in test 2021-03-10 19:30:23 +01:00
cvium b0af11c34e make the eligibility check more strict wrt. brackets 2021-03-10 19:29:52 +01:00
David 954148eb6d Fix Radarr url nfo files 2021-03-10 17:08:24 +01:00
cvium 3824c09e77 fix multiversion eligibility check for complex folder names 2021-03-10 10:47:35 +01:00
Bond_009 a618d6053f Move TestPluginWithoutPages to the correct project 2021-03-09 14:24:19 +01:00
Bond_009 37eb7d6d49 Perform static initialization only once 2021-03-09 14:24:19 +01:00
Bond_009 b9577d0fd9 Check for specific status code instead of success 2021-03-09 14:24:19 +01:00
Bond_009 fa8bfece4e Split integration tests from unit tests 2021-03-09 14:17:59 +01:00
Bond_009 d202df6e8a Remove useless line 2021-03-09 03:22:51 +01:00
Bond_009 9ed7f429c0 FxCop -> Net Analyzers (part 1) 2021-03-09 03:04:47 +01:00
Bond_009 5241bd41ef Add code analysis attributes where appropriate 2021-03-09 01:28:21 +01:00
BaronGreenback a031f7e410 Fix for multiple ip's in the same subnet per interface. 2021-03-09 00:07:21 +00:00
Joshua M. Boniface 3c46f10e3d
Merge pull request #5315 from BaronGreenback/FixFor5280Part2 2021-03-08 18:06:40 -05:00
Joshua M. Boniface 0ef8bea125
Merge pull request #5406 from cvium/trycleanstring-dont-die-on-me 2021-03-08 16:54:26 -05:00
Claus Vium 90cdd1345d
Merge pull request #5407 from Bond-009/hack 2021-03-08 21:23:14 +01:00
Bond_009 2e62c09f2e Fix casing CollectionType 2021-03-08 02:16:35 +01:00
cvium e0db17a935 do not throw ArgumentNullException in TryCleanString 2021-03-07 22:49:31 +01:00
Patrick Barron f638ee6b09 Enable nullable for Jellyfin.Data and remove unnecessary attributes 2021-03-06 17:43:01 -05:00
Bond-009 497ea57fd2
Merge pull request #5381 from cvium/fix-network-substitution 2021-03-06 21:38:32 +01:00
cvium bc661c16e1 simplify 2021-03-06 14:01:37 +01:00
Cody Robibero df1951cfe2
Apply suggestions from code review
Co-authored-by: dkanada <dkanada@users.noreply.github.com>
2021-03-05 08:30:49 -07:00
crobibero fd0b3ca5ef Add JsonVersionConverter and tests 2021-03-05 07:48:45 -07:00
cvium 37e374d33d make sure network path substitution matches correctly 2021-03-05 14:09:23 +01:00
cvium 8b72b902f5 fix HasProviderId and add tests 2021-03-03 12:28:40 +01:00
cvium a49f5d2a44 revert removal of null check 2021-03-03 09:37:21 +01:00
Claus Vium e858e5f0b8
Merge pull request #5339 from Bond-009/hasproviderids
Revert breaking change to HasProviderId
2021-03-02 09:35:51 +01:00
Bond_009 ba62d9d1fe Revert breaking change 2021-03-01 20:35:38 +01:00
Bond_009 ed0267252f Remove tests that are upstreamed
libse (the SSA parser we use) has these same tests now
2021-03-01 20:00:00 +01:00
Bond-009 c2af32d035
Merge pull request #5299 from Bond-009/tests13 2021-03-01 18:51:09 +01:00
dependabot[bot] b0d391427b
Bump Moq from 4.16.0 to 4.16.1
Bumps [Moq](https://github.com/moq/moq4) from 4.16.0 to 4.16.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.0...v4.16.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-01 14:06:48 +00:00
dependabot[bot] 829442c419
Bump Microsoft.NET.Test.Sdk from 16.8.3 to 16.9.1
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 16.8.3 to 16.9.1.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Commits](https://github.com/microsoft/vstest/compare/v16.8.3...v16.9.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-01 12:00:38 +00:00
David 16694b0cfc Add nfo thumb tag support 2021-02-28 15:00:17 +01:00
BaronGreenback 8836242559 fixed tests 2021-02-28 10:25:14 +00:00
BaronGreenback 80ca3da55c Merge remote-tracking branch 'upstream/master' into FixFor5280Part2 2021-02-28 10:12:14 +00:00
BaronGreenback f666b7e102 fix 2021-02-27 23:32:22 +00:00
Claus Vium f8c9c37c29
Merge pull request #5181 from BaronGreenback/Fix_IPHostIP6Parsing 2021-02-27 22:52:24 +01:00
Claus Vium 14605280a0
Merge pull request #5274 from BaronGreenback/bindfix 2021-02-27 22:51:45 +01:00
BaronGreenback 414e918c01 Optimized and added test 2021-02-26 14:30:00 +00:00
Bond-009 bc7e31a1bc
Merge pull request #5285 from Bond-009/tests11 2021-02-24 12:15:06 +01:00
Bond_009 032d72a8a7 Pls fix race condition 2021-02-23 17:30:24 +01:00
Bond_009 acac21d8dc Improve tests 2021-02-23 16:45:10 +01:00
Bond_009 aff0aea60f Improve branch coverage 2021-02-23 14:14:02 +01:00
Bond-009 92e5a5c6e8
Merge pull request #5166 from netpok/index-number-end-from-nfo 2021-02-23 13:00:16 +01:00
Bond-009 e09e67deae
Merge branch 'master' into tests11 2021-02-23 12:54:05 +01:00
Joshua M. Boniface 7ece3c5523
Merge pull request #5273 from Bond-009/warn31 2021-02-22 21:00:46 -05:00
Joshua M. Boniface c0c4aff8a6
Merge pull request #5276 from Bond-009/minor12 2021-02-22 21:00:34 -05:00
Joshua M. Boniface da55462d92
Merge pull request #5291 from Bond-009/tests12 2021-02-22 21:00:15 -05:00
Joshua M. Boniface 5ce4df4178
Merge pull request #5270 from Bond-009/imdb 2021-02-22 20:59:57 -05:00