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>
11 months ago
Cody Robibero
e7b8d45bbb
Use helper function to compare guid ( #10825 )
1 year ago
Bond-009
ce45b73c8b
Merge pull request #10702 from crobibero/collection-type-lowercase
...
Convert CollectionType to use lowercase enum names
1 year ago
Cody Robibero
033cfa59c4
Convert CollectionType to use lowercase enum names
1 year ago
ArabCoders
c4013d2e10
Updated the summary and the Dto name.
1 year ago
ArabCoders
faa036aa7b
Added access validation to view item user data.
1 year ago
ArabCoders
2a25c5a2e3
Refactored api call logic handling.
1 year ago
ArabCoders
250e795c3b
Typo fixes.
1 year ago
ArabCoders
bce22fcc2a
Added new API endpoint to update User item data
1 year ago
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
2 years ago
Shadowghost
81746666de
Fix TotalRecordCount calculation
2 years 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>
3 years ago
Jason Dove
d06fda43c1
use null-forgiving operator to suppress warnings
3 years ago
Jason Dove
82df4c3242
update comments
3 years ago
Jason Dove
e4088ba0bd
don't require a user id for items api call using api key
3 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
4 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