Cody Robibero
e7b8d45bbb
Use helper function to compare guid ( #10825 )
10 months ago
Cody Robibero
892973a9e3
Merge branch 'master' into media-type
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
Cody Robibero
a527034ebe
Validate requested user id ( #8812 )
2 years ago
cvium
209edd38a4
refactor: simplify authz
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
Bond_009
c7d50d640e
Replace == null with is null
2 years ago
cvium
5dc30c6a6d
fix: use HttpContext and ClaimsPrincipal instead of IAuthorizationContext
2 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
cvium
b880dc8a4a
Use our own Contains extension
3 years ago
Cody Robibero
32629cd7da
Use BaseItemKind where possible
3 years ago
crobibero
223b42aed3
Create BaseItemKind enum
4 years ago
crobibero
55670b91b2
Use ArrayModelBinder for sortBy and sortOrder
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
Bond_009
f5973d57e8
Remove UTF8 bom from some files
4 years ago
crobibero
3cc0dd7e12
Reduce RequestHelpers.Split usage and remove RequestHelpers.GetGuids usage.
4 years ago
crobibero
7fe8ca2b77
Merge remote-tracking branch 'upstream/master' into query-fields
4 years ago
crobibero
0dd2b169a3
Add ModelBinder to ItemFilter
4 years ago
crobibero
b22831f7e5
Add ModelBinder to ImageType
4 years ago
crobibero
11d69fd3b1
Make MrLinter happy
4 years ago
crobibero
372f0eb38a
Remove AddItemFields
4 years ago
crobibero
b9406e5444
Merge remote-tracking branch 'upstream/master' into query-fields
4 years ago
crobibero
27e753ddb4
Convert image type string to enum.
4 years ago
crobibero
69360b749a
Convert field string to enum.
4 years ago
crobibero
29fc882037
merge all attributes
4 years ago
crobibero
b64108923a
Add missing references
4 years ago
crobibero
59d47ec3f5
Make all FromRoute required
4 years ago
crobibero
fffa94fc33
Apply fixes from review
4 years ago
crobibero
5d34b07d1f
Make query parameters nullable or set default value
4 years ago
crobibero
73bcda7eac
Make all optional strings nullable
4 years ago
crobibero
1228d6711e
remove unused parameters
4 years ago
crobibero
e72a22c564
Move YearsService.cs to Jellyfin.Api
4 years ago
crobibero
60ab4cd7b1
move YearsService.cs to Jellyfin.Api
4 years ago