aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Controllers/ImageController.cs
AgeCommit message (Collapse)Author
2026-07-17Harden remaining path-construction sinks against traversalShadowghost
2026-07-04Use InvariantCulture when parsing machine-generated datesNils Lehnen
DateTime.TryParse without an IFormatProvider falls back to the current thread culture, so the same string can parse differently (or fail) depending on the server's locale. None of these call sites deal with user-entered text - they parse dates that come from filenames, an HTTP header, ffprobe metadata and values the app itself wrote to the auth database - so InvariantCulture is the correct provider everywhere here. Fixes the S6580 / CA1305 warnings on these call sites. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-04-19Fix review commentShadowghost
2026-01-18Add ImageInfo indexShadowghost
2025-07-27readd Format for splashscreen and user imageJPVenson
2025-07-27Remove even obsoleter codeJPVenson
2025-07-27Remove obsolete codeJPVenson
2025-07-27Removed all server side processing options from public endpoints for image genJPVenson
2025-04-02allow admin users to get Splashscreen even when disabled (#13825)KGT1
refactor
2025-03-25Fixed namespacesJPVenson
2024-08-28Merge pull request #11665 from Bond-009/getuserbyidCody Robibero
2024-08-25Backport pull request #12490 from jellyfin/release-10.9.znielsvanvelzen
Set Content-Disposition header to attachment for image endpoints Original-merge: 9645955629595a6ba2668432aeeadc4989c413b2 Merged-by: crobibero <cody@robibe.ro> Backported-by: Joshua M. Boniface <joshua@boniface.me>
2024-08-05Change arguments AssertCanUpdateUser to take a userBond_009
2024-04-14Validate item access (#11171)Cody Robibero
2024-03-03Move userId in API from route to optional query parameter (#11074)Cody Robibero
* Move userId in API from route to optional query parameter * Standardize UserViewsController * Move userId to query in ImageController * Move userId to query in ItemsController * Move userId to query in PlaystateController * Move userId to query in SuggestionsController * Move userId from route to query in UserLibraryController * Clean up routes * Move userId to query in UserController * fix bad merge --------- Co-authored-by: Niels van Velzen <git@ndat.nl>
2024-02-28Add support for converting from svg to other image typesCody Robibero
2023-11-14Revert "Use System.Net.IPNetwork"Bond_009
This reverts commit 117d05d288da1d412159a29c0cb8d5c8259e48ae.
2023-11-14Fix warningsBond_009
2023-11-12Move API policies to MediaBrowser.CommonPatrick Barron
2023-10-05Use CryptoStream to convert stream from base64Bond_009
Should be way more efficient
2023-02-16Verify ContentType of uploaded imagesBond_009
2023-02-12Merge branch 'master' into simplify_authzcvium
# Conflicts: # Jellyfin.Api/Auth/SyncPlayAccessPolicy/SyncPlayAccessHandler.cs
2023-02-09refactor: simplify authzcvium
2023-02-04Return NotFound when itemId isn't foundBond_009
2023-02-02Migrate to file-scoped namespacesShadowghost
2023-01-28Remove ability to add a played indicator to images (#9186)Cody Robibero
2023-01-14Fix client supported image formats (#9071)Teo Baranga
2023-01-04Fix all warnings in Jellyfin.Api (#9003)Bond-009
2022-12-07Fix release buildBond_009
2022-12-05Replace != null with is not nullBond_009
2022-12-05Replace == null with is nullBond_009
2022-10-06fix: use HttpContext and ClaimsPrincipal instead of IAuthorizationContextcvium
2022-06-14Fix splashscreen (#7895)Cody Robibero
2022-03-06Fix buildCody Robibero
2022-03-05Merge pull request #7137 from SenorSmartyPants/masterBond-009
2022-01-28Merge pull request #6436 from daullmer/splashscreenCody Robibero
2022-01-10Use png for storageCody Robibero
2022-01-10suggestions from reviewCody Robibero
2022-01-10Suggestions from reviewCody Robibero
2022-01-07Remove isHeadRequest from GetStaticFile method signaturesSenorSmartyPants
2022-01-07Remove special HTTP HEAD processingSenorSmartyPants
removing this allows HTTP 206 Partial Content responses and lets some clients(popcorn hour namely) play videos from JF.
2022-01-04Clean upCody Robibero
2022-01-04Apply suggestions from code reviewDavid Ullmer
2022-01-04Add missing response code documentationDavid Ullmer
2022-01-04Remove darkening filter from SplashscreenDavid Ullmer
Using the foregroundLayer parameter has the same effect
2022-01-04Add Splashscreen API endpoint to ImageControllerDavid Ullmer
2022-01-04Remove incorrect mime type image/jpgBond_009
2021-09-26Remove all instances of en-US cultureCody Robibero
2021-09-24Target net6.0Bond_009
2021-05-20Migrate authentication db to EF CorePatrick Barron