Cody Robibero
6fb6b5f176
Validate item access ( #11171 )
2024-04-14 08:18:36 -06:00
Shadowghost
9031aae653
Typo
2024-04-03 21:24:51 +02:00
Shadowghost
e3897fe5dd
Apply review suggestions
2024-04-03 21:20:30 +02:00
Shadowghost
51e2faa448
Apply review suggestions
2024-04-03 20:06:57 +02:00
Shadowghost
3c7562313b
Apply review suggestions
2024-04-03 16:57:10 +02:00
Shadowghost
5396b616bf
Fixup
2024-04-03 16:32:25 +02:00
Shadowghost
247ec19de4
Fixup
2024-04-03 16:23:14 +02:00
Shadowghost
d72f40fe41
Return 204 on OpenAccess
2024-04-03 16:19:13 +02:00
Shadowghost
04c5b9d680
Add endpoint to get user permissions
2024-04-03 16:14:06 +02:00
Shadowghost
3e0b201688
Enforce permissions
2024-04-03 16:06:20 +02:00
Shadowghost
8cf77424f6
Apply review suggestions
2024-04-02 08:08:36 +02:00
Shadowghost
c1dbb49315
Implement update endpoint
2024-04-01 20:43:05 +02:00
Shadowghost
bff37ed13a
Apply review suggestions
2024-04-01 19:59:48 +02:00
Shadowghost
2aaa9f669a
Apply review suggestions
2024-03-27 06:39:14 +01:00
Shadowghost
56c432a843
Apply review suggestions
2024-03-26 23:45:14 +01:00
Shadowghost
f1dc1610a2
Extend playlist creation capabilities
2024-03-26 16:13:07 +01:00
Shadowghost
88b3490d17
Add playlist ACL endpoints
2024-03-26 15:49:18 +01:00
Niels van Velzen
5b93aec2f5
Always make userId query parameter optional
2024-02-17 14:29:34 +01:00
Cody Robibero
e7b8d45bbb
Use helper function to compare guid ( #10825 )
2024-01-17 08:51:39 -07:00
Cody Robibero
2920611ffc
Convert string MediaType to enum MediaType
2023-10-10 15:57:15 -06:00
Shadowghost
eb52af4e6a
Fix playlists library and migration ( #9770 )
2023-05-15 06:45:33 -06:00
Shadowghost
a8cdf4434b
Fix access to playlists not created by a user ( #9746 )
2023-05-12 07:11:59 -06:00
Cody Robibero
a527034ebe
Validate requested user id ( #8812 )
2023-02-17 23:16:08 +01:00
cvium
209edd38a4
refactor: simplify authz
2023-02-09 13:51:37 +01:00
Shadowghost
f5f890e685
Migrate to file-scoped namespaces
2023-02-02 18:50:33 +01:00
Bond_009
c7d50d640e
Replace == null with is null
2022-12-05 15:00:20 +01: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
crobibero
223b42aed3
Create BaseItemKind enum
2021-02-10 17:09:23 -07:00
crobibero
59ff2c5b4b
Add ability to mark query parameter as obsolete.
2021-01-20 16:24:15 -07:00
crobibero
0d2106a272
Allow playlist to be created by query string
2020-12-10 11:36:31 -07:00
Bond_009
f5973d57e8
Remove UTF8 bom from some files
2020-11-21 14:26:03 +01: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
7294dc103f
Fix api routes
2020-09-07 18:45:06 -06:00
crobibero
29fc882037
merge all attributes
2020-09-06 09:07:27 -06:00
crobibero
59d47ec3f5
Make all FromRoute required
2020-09-05 17:07:25 -06:00
Bond_009
4916bfb024
Address comment
2020-08-21 22:59:47 +02:00
Bond_009
2b832de289
Fix build
2020-08-21 22:19:16 +02:00
Bond_009
119f64f5e7
Make some methods async
2020-08-21 22:01:19 +02:00
crobibero
fffa94fc33
Apply fixes from review
2020-08-06 08:17:45 -06:00
crobibero
5d34b07d1f
Make query parameters nullable or set default value
2020-07-07 09:10:51 -06:00