aboutsummaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
11 daysFix malformed query string in StreamInfo.ToUrl() causing 500 error via proxiesCosmin Dumitru
StreamInfo.ToUrl() generated URLs like `/master.m3u8?&DeviceId=...` (note `?&`) because `?` was appended to the path and all parameters started with `&`. When the first optional parameter (DeviceProfileId) was null, the result was a malformed query string. This is harmless when clients hit Jellyfin directly (ASP.NET Core tolerates `?&`), but when accessed through a reverse proxy that parses and re-serializes the URL (e.g. Home Assistant ingress via aiohttp/yarl), `?&` becomes `?=&` — introducing an empty-key query parameter. ParseStreamOptions then crashes on `param.Key[0]` with IndexOutOfRangeException. Changes: - StreamInfo.ToUrl(): Track query start position and replace the first `&` with `?` after all parameters are appended, producing valid query strings - ParseStreamOptions: Guard against empty query parameter keys - Tests: Remove .Replace("?&", "?") workaround that masked the bug Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-02Merge pull request #14927 from nileshp87/patch-1Bond-009
Add curly brace and parentheses support for parsing attribute values
2026-02-02Fix testsBond-009
2026-01-28Backport pull request #16077 from jellyfin/release-10.11.ztheguymadmax
Revert hidden directory ignore pattern Original-merge: 644327eb762a907328c68ab9f5d61a151cd96897 Merged-by: crobibero <cody@robibe.ro> Backported-by: Bond_009 <bond.009@outlook.com>
2026-01-18Backport pull request #16029 from jellyfin/release-10.11.ztheguymadmax
Skip hidden directories and .ignore paths in library monitoring Original-merge: 2cb7fb52d2221d9daa39206089b578c2c0fcb549 Merged-by: crobibero <cody@robibe.ro> Backported-by: Bond_009 <bond.009@outlook.com>
2026-01-18Fix zh-CN subtitle language display (#15947)Bond-009
The DisplayTitle property was using .NET's CultureInfo.GetCultures(NeutralCultures) to resolve language display names. Since zh-CN is a specific culture (not neutral), it would fall back to the base 'zh' code, resulting in generic 'Chinese' instead of 'Chinese (Simplified)'. This change adds a LocalizedLanguage property to MediaStream that gets populated via LocalizationManager.FindLanguageInfo() when streams are retrieved from the database. This leverages Jellyfin's existing iso6392.txt mappings which correctly map zh-CN to 'Chinese (Simplified)'. The same pattern is already used for other localized strings like LocalizedDefault and LocalizedExternal.
2026-01-18Merge pull request #15926 from abitofevrything/feat/accurate_hls_seekingAbitofevrything
Refactor HLS transcode seeking
2026-01-14Replace AlphanumericComparator with new CompareOptions.NumericOrderingBond_009
2026-01-14Fix testsBond_009
2026-01-14Update to .NET 10.0Bond_009
2026-01-09Merge pull request #15956 from ↵Bond-009
ZeusCraft10/fix/issue-15945-unknown-type-deserialization fix: Handle unknown item types gracefully in DeserializeBaseItem
2026-01-05Fix KeyNotFoundException in CryptographyProvider.VerifyZeusCraft10
When a password hash is missing the 'iterations' parameter, Verify now throws a descriptive FormatException instead of KeyNotFoundException. - Extract GetIterationsParameter() helper method to avoid code duplication - Provide distinct error messages for missing vs invalid parameters - Add comprehensive unit tests for CryptographyProvider
2026-01-05fix: Handle unknown item types gracefully in DeserializeBaseItemZeusCraft10
When querying items with recursive=true, items with types from removed plugins would cause a 500 error. Now these items are skipped with a warning log instead of throwing an exception. Fixes #15945
2026-01-05Fix zh-CN subtitle language displayZeusCraft10
The DisplayTitle property was using .NET's CultureInfo.GetCultures(NeutralCultures) to resolve language display names. Since zh-CN is a specific culture (not neutral), it would fall back to the base 'zh' code, resulting in generic 'Chinese' instead of 'Chinese (Simplified)'. This change adds a LocalizedLanguage property to MediaStream that gets populated via LocalizationManager.FindLanguageInfo() when streams are retrieved from the database. This leverages Jellyfin's existing iso6392.txt mappings which correctly map zh-CN to 'Chinese (Simplified)'. The same pattern is already used for other localized strings like LocalizedDefault and LocalizedExternal.
2025-12-28Backport pull request #15807 from jellyfin/release-10.11.zgnattu
Enforce more strict webm check Original-merge: 8379b4634aeaf9827d07a41cf9ba8fd80c8c323e Merged-by: crobibero <cody@robibe.ro> Backported-by: Bond_009 <bond.009@outlook.com>
2025-12-28Backport pull request #15793 from jellyfin/release-10.11.zShadowghost
Prefer US rating on fallback Original-merge: 156761405e7fd5308474a7e6301839ae7c694dfa Merged-by: crobibero <cody@robibe.ro> Backported-by: Bond_009 <bond.009@outlook.com>
2025-12-28Backport pull request #15746 from jellyfin/release-10.11.zShadowghost
Skip invalid ignore rules Original-merge: 6e60634c9f078cc01e343b07a0a6b2a5c230478c Merged-by: crobibero <cody@robibe.ro> Backported-by: Bond_009 <bond.009@outlook.com>
2025-12-10Add curly brace and parentheses support for parsing attribute values from pathsNilesh Patel
2025-12-08Merge pull request #14879 from audrey-inglish/masteraudrey-inglish
Fix: normalize punctuation when computing CleanName so searches without punctuation match (closes #1674)
2025-11-27Merge pull request #14824 from CodyEngel/fix-numeric-titlesNiels van Velzen
Fix TV Series parsing containing only numbers.
2025-11-27Merge pull request #14950 from nielsvanvelzen/security-remove-has-passwordNiels van Velzen
Deprecate HasPassword property on UserDto
2025-11-17Backport pull request #15413 from jellyfin/release-10.11.zJPVenson
Fixed missing sort argument Original-merge: 91c3b1617e06283c88f36bc63046b99c993cb774 Merged-by: crobibero <cody@robibe.ro> Backported-by: Bond_009 <bond.009@outlook.com>
2025-11-17Backport pull request #15404 from jellyfin/release-10.11.ztheguymadmax
Improve season folder parsing Original-merge: 2e5ced50986c37b19b5f4ef34d730fc56a51535a Merged-by: crobibero <cody@robibe.ro> Backported-by: Bond_009 <bond.009@outlook.com>
2025-11-02Backport pull request #15326 from jellyfin/release-10.11.zShadowghost
Skip too large extracted season numbers Original-merge: e7dbb3afec3282c556e4fe35d9376ecaa4417171 Merged-by: crobibero <cody@robibe.ro> Backported-by: Joshua M. Boniface <joshua@boniface.me>
2025-10-27Backport pull request #15102 from jellyfin/release-10.11.ztheguymadmax
Make season paths case-insensitive Original-merge: 305b0fdca323833653dd26c642b2c465890143dc Merged-by: crobibero <cody@robibe.ro> Backported-by: Bond_009 <bond.009@outlook.com>
2025-10-19Add back UpdateUserPassword_Empty_RemoveSetPassword testNiels van Velzen
2025-10-08add test for new uniqueid nfo key normalisationKGT1
2025-10-05Deprecate HasPassword property on UserDtoNiels van Velzen
2025-10-04Handle xx as TMDb no language for backdrops (#14941)Cody Robibero
2025-09-20remove explicit ‘-‘ support in series nameCody Engel
2025-09-20support series that are numeric onlyCody Engel
updates SeriesResolver to handle series names that only contain numbers such as 1923.
2025-09-16Optimize internal querying of UserData, other fixes (#14795)JPVenson
2025-09-06Preserve 3D format on metadata refresh (#14742)theguymadmax
2025-08-03Merge pull request #14410 from dyphire/languageJoshua M. Boniface
Further refinement of BCP 47 language labeling support
2025-07-30Further refinement of BCP 47 language labeling supportdyphire
2025-07-26Enhance extra rules for video and audio file naming; update tests for new ↵Sven Cazier
naming conventions
2025-06-26Fix modification checks and make sure to use UTC (#14347)Tim Eisele
2025-06-24Adapt LrcLyricParser to new LrcParser version (#14263)Max Rumpf
2025-06-08Rework startup topic handling and reenable output to logging framework (#14243)JPVenson
2025-06-05Feature/version check in library migration (#14105)JPVenson
2025-06-03Add declarative backups for migrations (#14135)JPVenson
2025-06-03Update XmlTv tests to use UTC date formats. (#14163)James
2025-06-03Fix missing logging of connections by disallowed IPs (#14011)jade
2025-05-31Fix failing unit tests on machines where the local timezone offset is far ↵Shane Powell
enough away from the test data day to be off by a day. Change the test startdate to specifically be utc instead of local machine timezone.
2025-05-18Add Full system backup feature (#13945)JPVenson
2025-05-05Add tests for ManagedFileSystem.MoveDirectory (#14065)Bond-009
2025-05-04Recognize file changes and remove data on change (#13839)Tim Eisele
2025-05-04Cleanup file related code (#14023)Bond-009
2025-04-27Unified migration handling (#13950)JPVenson
2025-04-26Add .gitignore style ignoring (#13906)Tim Eisele