Cody Robibero
e7b8d45bbb
Use helper function to compare guid ( #10825 )
2024-01-17 08:51:39 -07:00
Cody Robibero
033cfa59c4
Convert CollectionType to use lowercase enum names
2023-12-08 15:45:36 -07:00
Patrick Barron
de0241e975
Move API policies to MediaBrowser.Common
2023-11-12 10:24:35 -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
Stepan Goremykin
47254d6a22
Remove conditional access when it is known to be not null
2023-10-08 00:46:15 +02:00
Bond-009
3982b0e057
Reduce bottlenecks scan code ( #9863 )
2023-06-21 21:01:47 -06:00
Bond_009
8316bd590e
Fix #7610
2023-03-27 15:22:21 +02:00
Cody Robibero
a527034ebe
Validate requested user id ( #8812 )
2023-02-17 23:16:08 +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
eb7fee9590
Add more tests
2023-02-04 21:08:30 +01:00
Bond_009
52230d1c30
Return NotFound when itemId isn't found
2023-02-04 20:11:08 +01:00
Shadowghost
dfea1229e1
Cleanup imports
2023-02-02 18:50:35 +01:00
Shadowghost
f5f890e685
Migrate to file-scoped namespaces
2023-02-02 18:50:33 +01:00
Bond_009
6481376b81
Use DistinctBy introduced in .NET 6
2022-12-19 15:21:42 +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
Justin
df66816178
Allow non-ASCII in downloaded filenames ( #8825 )
...
Fixes https://github.com/jellyfin/jellyfin/issues/8657
2022-12-03 08:47:59 -07:00
Bill Thornton
c6dbcb661b
Use elevated access control for media folders endpoint
2022-11-10 01:04:16 -05:00
Bill Thornton
9f352ccb5b
Fix media folders endpoint access control
2022-11-09 18:31:30 -05:00
cvium
5dc30c6a6d
fix: use HttpContext and ClaimsPrincipal instead of IAuthorizationContext
2022-10-06 13:57:47 +02:00
Bond_009
f50a250cd9
Optimize Guid comparisons
...
* Use Guid.Equals(Guid) instead of the == override
* Ban the usage of Guid.Equals(Object) to prevent accidental boxing
* Compare to default(Guid) instead of Guid.Empty
2022-02-21 14:15:09 +01:00
Cody Robibero
a60cb280a3
Properly populate QueryResult
2022-01-20 08:53:06 -07:00
Cody Robibero
634ce40c2f
Merge branch 'master' into comparisons
2021-12-24 02:41:50 +00:00
Cody Robibero
076a13abeb
Merge pull request #7029 from cvium/allocations_maybe
2021-12-24 01:59:25 +00:00
Cody Robibero
259bc231d6
Merge pull request #6867 from yresquirol/related-media
2021-12-24 01:59:11 +00:00
Cody Robibero
7774cb2067
Update Jellyfin.Api/Controllers/LibraryController.cs
2021-12-23 20:46:27 +00:00
cvium
b880dc8a4a
Use our own Contains extension
2021-12-20 13:31:07 +01:00
Cody Robibero
32629cd7da
Use BaseItemKind where possible
2021-12-12 06:11:27 -07:00
Yordany Rodriguez Esquirol
3734c95fd4
Related media according to genre
2021-11-18 15:23:47 -05:00
Cody Robibero
ff9d14c811
Merge remote-tracking branch 'upstream/master' into authenticationdb-efcore
2021-09-03 11:01:55 -06:00
Cody Robibero
cba07b1ca6
Remove more and more warnings
2021-08-28 16:32:50 -06:00
Patrick Barron
a0c6f72762
Migrate authentication db to EF Core
2021-05-20 23:56:59 -04:00
BaronGreenback
97c2c523a8
Merge branch 'master' into comparisons
2021-05-08 17:11:21 +01:00
Bond_009
fb090df0b5
Enable nullable reference types for MediaBrowser.Controller
2021-05-07 00:39:20 +02:00
BaronGreenback
80877aa945
Cleaned up "value assigned is not used in any execution path"
2021-04-17 09:27:58 +01:00
cvium
b3d084044e
enable range processing for download endpoints
2021-03-25 15:09:37 +01:00
Bond-009
260b48ef9d
Merge pull request #5515 from jellyfin/fix-refresh-endpoint
...
fix refresh endpoint
2021-03-13 15:07:42 +01:00
Claus Vium
fe2a310fe2
fix refresh endpoint
...
It was originally a POST 9af6eda0b4/MediaBrowser.Api/Library/LibraryService.cs (L155)
2021-03-13 09:13:45 +01:00
crobibero
eef15dc7ac
Fix third part integration
2021-03-11 22:45:58 -07:00
crobibero
858c91ab48
Specify defaults or set query parameter to nullable
2021-03-04 18:25:52 -07:00
crobibero
223b42aed3
Create BaseItemKind enum
2021-02-10 17:09:23 -07:00
David
13de663201
Fix similar endpoint for TV
2020-12-20 22:21:11 +01:00
David
eba403158e
Re-add IsMovie
2020-12-20 17:00:27 +01:00
David
f4d1e33010
Fix similar items endpoint for movies and TV
2020-12-20 15:37:44 +01:00
crobibero
56ae63433f
Set filename when downloading file
2020-12-17 13:05:44 -07:00
crobibero
c083b29e29
Use Guid as API parameter type where possible
2020-12-01 11:07:41 -07:00
crobibero
3cc0dd7e12
Reduce RequestHelpers.Split usage and remove RequestHelpers.GetGuids usage.
2020-11-16 20:29:46 -07:00
crobibero
dae4541bad
Merge remote-tracking branch 'upstream/master' into dotnet-5
2020-11-15 11:56:35 -07:00
crobibero
01355e0498
Fix nullability errors in Jellyfin.Api (part 1)
2020-11-13 09:04:31 -07:00