nielsvanvelzen
cb83dc2664
Backport pull request #12490 from jellyfin/release-10.9.z
...
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-25 02:46:38 -04:00
Cody Robibero
6fb6b5f176
Validate item access ( #11171 )
2024-04-14 08:18:36 -06:00
Cody Robibero
6e5ec99ea1
Move userId in API from route to optional query parameter ( #11074 )
...
* 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-03-03 13:51:31 -07:00
Cody Robibero
c5e723bccd
Add support for converting from svg to other image types
2024-02-28 09:56:02 -07:00
Bond_009
635d67d458
Revert "Use System.Net.IPNetwork"
...
This reverts commit 117d05d288da1d412159a29c0cb8d5c8259e48ae.
2023-11-14 21:16:33 +01:00
Bond_009
b62b0ec2b5
Fix warnings
2023-11-14 21:14:21 +01:00
Patrick Barron
de0241e975
Move API policies to MediaBrowser.Common
2023-11-12 10:24:35 -05:00
Bond_009
efc4c305a9
Use CryptoStream to convert stream from base64
...
Should be way more efficient
2023-10-05 23:36:37 +02:00
Bond_009
60f41b80f6
Verify ContentType of uploaded images
2023-02-16 15:08:01 +01:00
cvium
52e2776d8e
Merge branch 'master' into simplify_authz
...
# Conflicts:
# Jellyfin.Api/Auth/SyncPlayAccessPolicy/SyncPlayAccessHandler.cs
2023-02-12 22:59:48 +01:00
cvium
209edd38a4
refactor: simplify authz
2023-02-09 13:51:37 +01:00
Bond_009
52230d1c30
Return NotFound when itemId isn't found
2023-02-04 20:11:08 +01:00
Shadowghost
f5f890e685
Migrate to file-scoped namespaces
2023-02-02 18:50:33 +01:00
Cody Robibero
abffd160c3
Remove ability to add a played indicator to images ( #9186 )
2023-01-28 07:43:13 -07:00
Teo Baranga
56ef45ebf0
Fix client supported image formats ( #9071 )
2023-01-14 13:15:50 -07:00
Bond-009
69a51c425a
Fix all warnings in Jellyfin.Api ( #9003 )
2023-01-04 08:01:31 -07:00
Bond_009
cf67381e31
Fix release build
2022-12-07 16:44:00 +01:00
Bond_009
52194f56b5
Replace != null with is not null
2022-12-05 15:01:13 +01:00
Bond_009
c7d50d640e
Replace == null with is null
2022-12-05 15:00:20 +01:00
cvium
5dc30c6a6d
fix: use HttpContext and ClaimsPrincipal instead of IAuthorizationContext
2022-10-06 13:57:47 +02:00
Cody Robibero
bee13d5644
Fix splashscreen ( #7895 )
2022-06-14 19:34:29 -04:00
Cody Robibero
b37052a4a6
Fix build
2022-03-06 06:34:04 -07:00
Bond-009
2579b2db56
Merge pull request #7137 from SenorSmartyPants/master
2022-03-05 20:54:36 +01:00
Cody Robibero
e5701c396a
Merge pull request #6436 from daullmer/splashscreen
2022-01-28 08:12:21 -07:00
Cody Robibero
8a36fe7ed5
Use png for storage
2022-01-10 17:01:17 -07:00
Cody Robibero
0d335082c8
suggestions from review
2022-01-10 10:59:32 -07:00
Cody Robibero
ecb73168b3
Suggestions from review
2022-01-10 08:26:30 -07:00
SenorSmartyPants
3ea54a8009
Remove isHeadRequest from GetStaticFile method signatures
2022-01-07 18:21:48 -06:00
SenorSmartyPants
bd2bec4d4a
Remove special HTTP HEAD processing
...
removing this allows HTTP 206 Partial Content responses and lets some clients(popcorn hour namely) play videos from JF.
2022-01-07 16:29:22 -06:00
Cody Robibero
360fd70fc7
Clean up
2022-01-04 08:44:03 -07:00
David Ullmer
9e0958d822
Apply suggestions from code review
2022-01-04 08:20:16 -07:00
David Ullmer
c70452b4a4
Add missing response code documentation
2022-01-04 08:20:16 -07:00
David Ullmer
68db3be0e7
Remove darkening filter from Splashscreen
...
Using the foregroundLayer parameter has the same effect
2022-01-04 08:20:16 -07:00
David Ullmer
e026ba84c5
Add Splashscreen API endpoint to ImageController
2022-01-04 08:20:16 -07:00
Bond_009
dc222b75c5
Remove incorrect mime type image/jpg
2022-01-04 10:40:16 +01:00
Cody Robibero
9234e5bf80
Remove all instances of en-US culture
2021-09-26 09:11:25 -06:00
Bond_009
13fbfe6091
Target net6.0
2021-09-24 20:15:46 +02:00
Patrick Barron
a0c6f72762
Migrate authentication db to EF Core
2021-05-20 23:56:59 -04:00
Claus Vium
dc4714fe40
fix webp compatibility testing ( #5787 )
2021-04-12 19:54:32 +02:00
Cody Robibero
cc59abd54e
Mark cropWhitespace parameter as obsolete ( #5751 )
2021-04-12 15:50:24 +02:00
Odd Stråbø
13d0837b78
(mostly)Fix ResizeFill
2021-04-11 08:21:23 +02:00
Odd Stråbø
383aa4e4d9
Add Resize to fill box alternative to image endpoints
2021-04-11 08:20:47 +02:00
Bond-009
b2fbf97abd
Merge pull request #4988 from Bond-009/crop
2021-04-10 02:57:43 +02: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
Patrick Barron
f638ee6b09
Enable nullable for Jellyfin.Data and remove unnecessary attributes
2021-03-06 17:43:01 -05:00
crobibero
858c91ab48
Specify defaults or set query parameter to nullable
2021-03-04 18:25:52 -07:00
Bond_009
40b9e7592f
Fix build
2021-02-20 23:34:15 +01:00
crobibero
d5f0b046bb
Add image file accept to openapi
2021-02-10 16:12:52 -07:00
Bond_009
620fbf0f89
Remove CropWhitespace function
2021-01-09 10:51:59 +01:00
cvium
5b4eef741a
Convert from base64 when saving item images
2020-12-15 09:27:33 +01:00