Cody Robibero
892973a9e3
Merge branch 'master' into media-type
1 year ago
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>
1 year ago
Cody Robibero
c7a94d48ae
Convert ItemSortBy to enum ( #9765 )
...
* Convert ItemSortBy to enum
* Rename Unknown to Default
1 year ago
Cody Robibero
2920611ffc
Convert string MediaType to enum MediaType
1 year ago
Bond_009
f04cfd6ef4
Don't ignore parentId for playlists
1 year ago
Shadowghost
81746666de
Fix TotalRecordCount calculation
1 year ago
Shadowghost
eb52af4e6a
Fix playlists library and migration ( #9770 )
2 years ago
Shadowghost
2e315b7f08
Properly build where clause for rating checks
2 years ago
Cody Robibero
a527034ebe
Validate requested user id ( #8812 )
2 years ago
cvium
52e2776d8e
Merge branch 'master' into simplify_authz
...
# Conflicts:
# Jellyfin.Api/Auth/SyncPlayAccessPolicy/SyncPlayAccessHandler.cs
2 years ago
cvium
209edd38a4
refactor: simplify authz
2 years ago
Bond_009
eb7fee9590
Add more tests
2 years ago
Bond_009
52230d1c30
Return NotFound when itemId isn't found
2 years ago
Shadowghost
dfea1229e1
Cleanup imports
2 years ago
Shadowghost
f5f890e685
Migrate to file-scoped namespaces
2 years ago
Bond_009
52194f56b5
Replace != null with is not null
2 years ago
Shadowghost
072651c4be
Add xmldocs for TMDb provider, correct provider spelling
2 years ago
Bill Thornton
fb9023f2d8
Fix items endpoint not honoring library access control
2 years ago
cvium
6afc911043
fix Release build
2 years ago
cvium
5dc30c6a6d
fix: use HttpContext and ClaimsPrincipal instead of IAuthorizationContext
2 years ago
Claus Vium
8a0911004d
Merge pull request #7965 from jasongdove/api-key-items-without-user-id
2 years ago
Niels van Velzen
0f91244239
Use Guid for adjacentTo API parameter
2 years ago
Jason Dove
c69b2c849a
add comments
2 years ago
Jason Dove
fc74c8eecf
tweak guid check
...
Co-authored-by: Bond-009 <bond.009@outlook.com>
2 years ago
Jason Dove
d06fda43c1
use null-forgiving operator to suppress warnings
2 years ago
Jason Dove
82df4c3242
update comments
2 years ago
Jason Dove
e4088ba0bd
don't require a user id for items api call using api key
2 years ago
Cody Robibero
b2d56c51ec
Merge pull request #7780 from 1337joe/fix-tv-guide-search-2
...
(cherry picked from commit 492c6bbd7e
)
Signed-off-by: crobibero <cody@robibe.ro>
3 years ago
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
3 years ago
Cody Robibero
a60cb280a3
Properly populate QueryResult
3 years ago
Bond_009
77c615ba42
Error on SA1316
3 years ago
Cody Robibero
7bfc6b5679
Remove more warnings
3 years ago
cvium
b880dc8a4a
Use our own Contains extension
3 years ago
Cody Robibero
32629cd7da
Use BaseItemKind where possible
3 years ago
Cody Robibero
8295a3be0d
Add ability to exclude active sessions from resumable items
3 years ago
KonH
7c282ec369
Fix warning: The nullable warning suppression expression is redundant ( #2149 )
3 years ago
Cody Robibero
cba07b1ca6
Remove more and more warnings
3 years ago
Niels van Velzen
226abde3f7
Change userId to required in operations that would otherwise throw exceptions
3 years ago
cvium
f2e7491755
Do not check permissions for Folders collectiontype
4 years ago
crobibero
223b42aed3
Create BaseItemKind enum
4 years ago
crobibero
55670b91b2
Use ArrayModelBinder for sortBy and sortOrder
4 years ago
crobibero
ee23d06154
Use a more descriptive function name
4 years ago
crobibero
b670937c3d
Use typed UserManager GetPreference
4 years ago
crobibero
b5a7a74e89
Use GetParentItem where applicable
4 years ago
crobibero
c083b29e29
Use Guid as API parameter type where possible
4 years ago
crobibero
b3d322f79f
Fix build after merge
4 years ago
crobibero
8f58f63b08
Merge remote-tracking branch 'upstream/master' into split-api
4 years ago
Joshua M. Boniface
7457c4a95d
Merge pull request #4499 from crobibero/more-param
...
Reduce RequestHelpers.Split usage and remove RequestHelpers.GetGuids
4 years ago
Greenback
e51ddd326c
Fixes spelling.
4 years ago
crobibero
7bf647bb94
Remove precondition checks
4 years ago