Commit Graph

1175 Commits

Author SHA1 Message Date
Bond_009 3c3f0a765e Use new IPNetwork.TryParse function 2023-11-16 00:50:17 +01:00
Bond_009 635d67d458 Revert "Use System.Net.IPNetwork"
This reverts commit 117d05d288da1d412159a29c0cb8d5c8259e48ae.
2023-11-14 21:16:33 +01:00
Bond_009 0fd36a5bf1 Fix warnings in test projects 2023-11-14 21:14:23 +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
Bond-009 fc694289a9
Merge pull request #10557 from barronpm/dlna-plugin
Move DLNA to Plugin (Part 1)
2023-11-12 16:23:11 +01:00
Chris H 3fd505a454
Validate AuthenticationProviderId and PasswordResetProviderId (#10553) 2023-11-10 07:51:44 -07:00
Patrick Barron b0120d5d4c Fix integration tests 2023-11-10 08:51:26 -05:00
Cody Robibero 906f701fa8
Convert CollectionType, SpecialFolderType to enum (#9764)
* Convert CollectionType, SpecialFolderType to enum

* Hide internal enum CollectionType values

* Apply suggestions from code review

Co-authored-by: Shadowghost <Shadowghost@users.noreply.github.com>

* Fix recent change

* Update Jellyfin.Data/Attributes/OpenApiIgnoreEnumAttribute.cs

Co-authored-by: Patrick Barron <barronpm@gmail.com>

---------

Co-authored-by: Shadowghost <Shadowghost@users.noreply.github.com>
Co-authored-by: Patrick Barron <barronpm@gmail.com>
2023-11-09 14:00:29 -07:00
Cody Robibero c7a94d48ae
Convert ItemSortBy to enum (#9765)
* Convert ItemSortBy to enum

* Rename Unknown to Default
2023-11-09 14:00:13 -07:00
Bond-009 4962640b3a
Merge pull request #10448 from vincent/bugfix/10175-forward-user-agent-ffprobe
Forward user_agent config to ffprobe
2023-10-31 15:27:51 +01:00
Cody Robibero 8c5fc80282
Don't remove all tokens if invalid header (#10490) 2023-10-30 15:31:13 -06:00
Vincent Lark 123c6e7d1b Extract the MediaEncoder probing command arguments builder 2023-10-26 20:06:45 +02:00
Bond-009 b16033df03
Fix fuzz projects (#10416) 2023-10-22 09:01:51 -06:00
Vincent Lark 8ee9a0adf9 Forward user_agent config to ffprobe 2023-10-21 23:57:05 +02:00
Stepan Goremykin 38d962242a Merge branch 'master' into fix-resharper-warnings
# Conflicts:
#	Emby.Server.Implementations/Updates/InstallationManager.cs
#	tests/Jellyfin.Server.Integration.Tests/OpenApiSpecTests.cs
2023-10-14 00:45:52 +02: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
Bond_009 d7748cfa04 Multiple Stream changes
* Remove useless MemoryStream in DlnaHttpClient
* Use HttpContent.ReadFromJsonAsync extension
* Call ConfigureAwait for IAsyncDisposable
* Use HttpContent.CopyToAsync where possible
2023-10-11 18:32:57 +02:00
Tim Eisele dc27d8f9cd
Refactor URI overrides (#10051) 2023-10-11 00:02:37 +02:00
Bond-009 6b06a43c3f
Merge pull request #10347 from Bond-009/drawing 2023-10-10 13:12:53 +02:00
scampower3 305405c9a1
Combine Title and Overview for multi-episodes files for NFO file (#10080) 2023-10-10 13:12:09 +02:00
Bond_009 c707baed83 Jellyfin.Drawing minor improvements
Reduce duplicate/dead code
2023-10-08 17:10:04 +02:00
Bond-009 406c5df8a3
Merge pull request #10345 from Bond-009/getperson 2023-10-08 14:07:38 +02:00
Stepan Goremykin 8ea812b65d Reduce string literal length by using verbatim string 2023-10-08 00:26:12 +02:00
Stepan Goremykin a37dc3da96 Use async overload 2023-10-08 00:17:48 +02:00
Stepan Goremykin 0870af330d Remove redundant verbatim string prefixes 2023-10-08 00:15:38 +02:00
Bond_009 852f1dc0c1 Don't create non existent persons in LibraryManager.GetPerson
return null instead.

GetStudio, GetGenre, GetMusicGenre, GetYear, GetArtist still create a new one
when the requested one doesn't exist

Fixes #3901
2023-10-05 23:16:17 +02:00
Bond_009 6f2c165cc3 Use Authorization header in integration tests
instead of X-Emby-Authorization

And ensure the response has a successful status code
2023-10-04 16:06:26 +02:00
Bond-009 14b06ecbe2
Merge pull request #10261 from barronpm/ihostlifetime 2023-10-03 11:05:10 +02:00
Bond_009 cc15ea7f65 Ignore .zfs folder
Maybe helps with #10215 ?
2023-09-27 20:35:00 +02:00
Patrick Barron 493de3297a Use IHostLifetime to handle restarting and shutting down 2023-09-23 11:57:38 -04:00
Bond_009 03b6adf068 Fix xUnit1030: Do not call ConfigureAwait in test method 2023-09-18 17:55:52 +02:00
Bond-009 3087881d93
Merge pull request #10056 from Bond-009/nullable2 2023-09-12 11:09:20 +02:00
Lehonti Ramos bc959270b7
Removed nesting levels through block-scoped `using` statement (#10025)
Co-authored-by: John Doe <john@doe>
Co-authored-by: Lehonti Ramos <lehonti@ramos>
2023-09-11 12:12:40 +02:00
Cody Robibero fb8b11276d fix build 2023-09-01 09:35:57 -06:00
Cody Robibero 35a9feaf70 Disable xUnit1028 2023-09-01 09:35:48 -06:00
Nyanmisaka debbfaa502
Fix MJPEG video is recognized as embedded image (#10173)
fixes 1d729b2

Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2023-08-30 17:19:52 -06:00
Bond_009 d92e9ae85e Enable nullable for more files and add tests
Adds basic tests for FFProbeVideoInfo.CreateDummyChapters
Fixed error message CreateDummyChapters instead of reporting the total minutes it only reported the minute component
2023-08-22 18:11:34 +02:00
Claus Vium 1e2f199ea4
Merge pull request #10053 from christianlegge/date-formats
Add parsing for dates with spaces
2023-08-10 10:16:20 +02:00
Bond_009 084e0bf450 Fix error in test preventing Moq update (#10096) 2023-08-08 14:17:46 +02:00
Bond-009 07727e1d63
Merge pull request #9875 from Shadowghost/fixes 2023-08-01 20:26:21 +02:00
Bond-009 d3c7af0d5c
Fix Jellyfin.Networking.Tests (#10055) 2023-07-29 15:52:26 -06:00
Bond_009 5677566a41 Enable nullable for more files 2023-07-29 21:35:38 +02:00
scatter-dev 14a762b2f1 added test case, fixed regexes 2023-07-28 16:06:55 -04:00
Christoph Landsdorf 48eb6f655b Change: Update parental code count for DE in test 2023-07-20 10:10:02 +00:00
Shadowghost 05d98fe24c Enforce permissions on websocket connections 2023-07-07 08:50:37 +02:00
Bond-009 5b711f38d1
Merge pull request #9958 from Shadowghost/networking-fixex 2023-07-06 19:56:17 +02:00
Bond-009 b95fa294c9
Merge pull request #9799 from Bond-009/genregex 2023-07-06 19:56:00 +02:00