Shadowghost
4ed97a4593
Properly check for item visibility in UserLibraryController
2023-02-20 11:53:20 +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
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
69a51c425a
Fix all warnings in Jellyfin.Api ( #9003 )
2023-01-04 08:01:31 -07: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
Claus Vium
05c20001c8
Merge pull request #8381 from 1hitsong/lyric-lrc-file-support
2022-10-07 15:21:42 +02:00
cvium
5dc30c6a6d
fix: use HttpContext and ClaimsPrincipal instead of IAuthorizationContext
2022-10-06 13:57:47 +02:00
1hitsong
a50bdb4770
Use async functions
2022-09-22 08:13:53 -04:00
1hitsong
8912f618f5
Change API GetLyrics return type
2022-09-16 21:11:28 -04:00
1hitsong
f740d1b9f0
Remove use of AddParts. Cleanup use of Lyric vs Lyrics.
2022-09-16 20:52:40 -04:00
1hitsong
f4fd908f8d
Create ILyricManager
2022-09-15 20:49:25 -04:00
1hitsong
d9be3874ba
Auto stash before merge of "lyric-lrc-file-support" and "origin/lyric-lrc-file-support"
2022-09-15 19:45:26 -04:00
Jamie Introcaso
c0dae0fef5
Adds lyric providers to DI pipeline
...
This is adding those lyric providers to the DI pipeline along with a super simple implementation of how to use them in the controller method. Probably should be refactored into a lyric service of some sort that would have the providers injected into it.
2022-09-14 20:39:35 -04:00
Zach Phelan
c71d6f2358
Sort special features same as other spots, removing unnecssary function
...
Added to contributors
2022-09-13 16:56:23 -06:00
Cody Robibero
d2e18547b1
Require properly typed ActionResult<T> ( #8382 )
2022-09-11 17:47:01 -06:00
1hitsong
23ec35d396
Merge remote-tracking branch 'origin/lyric-lrc-file-support' into lyric-lrc-file-support
2022-09-10 14:29:38 -04:00
1hitsong
2e260e5319
Updates based on review
2022-09-10 14:29:30 -04:00
1hitsong
0aa2780ea7
Update Jellyfin.Api/Controllers/UserLibraryController.cs
...
Co-authored-by: Cody Robibero <cody@robibe.ro>
2022-09-09 21:15:57 -04:00
1hitsong
92715a7426
Update Jellyfin.Api/Controllers/UserLibraryController.cs
...
Co-authored-by: Cody Robibero <cody@robibe.ro>
2022-09-09 21:09:39 -04:00
1hitsong
8b78802c0b
Update Jellyfin.Api/Controllers/UserLibraryController.cs
...
Co-authored-by: Cody Robibero <cody@robibe.ro>
2022-09-09 21:08:38 -04:00
1hitsong
5f5347aee3
Add Lyrics API Endpoint
2022-09-09 20:22:55 -04: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
Dmitry Lyzo
60fe77c089
Remove unnecessary array allocation
...
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2022-01-16 13:34:52 +03:00
Dmitry Lyzo
5aa748058e
Fix duplication of local trailers
2022-01-14 23:06:45 +03:00
Bond_009
cbfa355e31
Update StyleCop
2021-12-24 18:28:27 +01:00
cvium
b880dc8a4a
Use our own Contains extension
2021-12-20 13:31:07 +01:00
Claus Vium
9a0618552b
Merge branch 'master' into what_could_go_wrong
2021-12-15 08:38:39 +01:00
Cody Robibero
32629cd7da
Use BaseItemKind where possible
2021-12-12 06:11:27 -07:00
cvium
fde84a1e00
Refactor extras parsing
2021-12-07 15:24:57 +01:00
Bond_009
6f8ccab788
Move non-jellyfin extensions to separate project
2021-06-19 18:04:46 +02:00
crobibero
223b42aed3
Create BaseItemKind enum
2021-02-10 17:09:23 -07:00
Joshua M. Boniface
7457c4a95d
Merge pull request #4499 from crobibero/more-param
...
Reduce RequestHelpers.Split usage and remove RequestHelpers.GetGuids
2020-11-20 12:34:18 -05:00
Greenback
e51ddd326c
Fixes spelling.
2020-11-18 13:23:45 +00:00
crobibero
3cc0dd7e12
Reduce RequestHelpers.Split usage and remove RequestHelpers.GetGuids usage.
2020-11-16 20:29:46 -07:00
crobibero
7fe8ca2b77
Merge remote-tracking branch 'upstream/master' into query-fields
2020-11-10 10:39:44 -07:00
crobibero
0dd2b169a3
Add ModelBinder to ItemFilter
2020-11-09 14:59:04 -07:00
crobibero
b22831f7e5
Add ModelBinder to ImageType
2020-11-09 14:53:23 -07:00
crobibero
11d69fd3b1
Make MrLinter happy
2020-10-29 11:36:45 -06:00
crobibero
372f0eb38a
Remove AddItemFields
2020-10-29 11:17:13 -06:00
crobibero
b9406e5444
Merge remote-tracking branch 'upstream/master' into query-fields
2020-10-29 11:11:50 -06:00
crobibero
27e753ddb4
Convert image type string to enum.
2020-10-09 17:52:39 -06:00
crobibero
69360b749a
Convert field string to enum.
2020-10-09 17:35:08 -06:00
crobibero
29fc882037
merge all attributes
2020-09-06 09:07:27 -06:00
crobibero
b64108923a
Add missing references
2020-09-05 17:11:44 -06:00
crobibero
59d47ec3f5
Make all FromRoute required
2020-09-05 17:07:25 -06:00