Cody Robibero
6fb6b5f176
Validate item access ( #11171 )
2024-04-14 08:18:36 -06: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
Stepan Goremykin
26958162d0
Remove unused using directives
2023-04-06 19:17:28 +02: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
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
Bond-009
e1e4ac75e4
Merge pull request #8267 from luzpaz/typos
2022-08-22 17:50:42 +02:00
Niels van Velzen
de98457332
Fix operation name in SearchController and correct nullability for SearchHint
2022-08-18 17:44:40 +02:00
luz paz
9ec2870b10
Fix various typos
...
Found via `codespell -q 3 -S ./Emby.Server.Implementations/Localization -L allready,doesnt,inh,receivedfrom,whoknows`
2022-08-15 06:48:34 -04:00
Cody Robibero
e4b095a766
Merge pull request #7894 from crobibero/search-hints
...
(cherry picked from commit 0f75f17736
)
Signed-off-by: crobibero <cody@robibe.ro>
2022-06-14 19:30:59 -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
Bond_009
1c14c86b20
Fix some warnings
2022-02-14 14:46:04 +01:00
cvium
b880dc8a4a
Use our own Contains extension
2021-12-20 13:31:07 +01:00
Cody Robibero
32629cd7da
Use BaseItemKind where possible
2021-12-12 06:11:27 -07:00
BaronGreenback
2e98de9062
Code Clean up: Convert to null-coalescing operator ?? ( #5845 )
...
Co-authored-by: Cody Robibero <cody@robibe.ro>
Co-authored-by: Patrick Barron <18354464+barronpm@users.noreply.github.com>
2021-05-05 13:51:14 +02:00
crobibero
223b42aed3
Create BaseItemKind enum
2021-02-10 17:09:23 -07:00
crobibero
c083b29e29
Use Guid as API parameter type where possible
2020-12-01 11:07:41 -07:00
crobibero
3cc0dd7e12
Reduce RequestHelpers.Split usage and remove RequestHelpers.GetGuids usage.
2020-11-16 20:29:46 -07:00
crobibero
01355e0498
Fix nullability errors in Jellyfin.Api (part 1)
2020-11-13 09:04:31 -07:00
crobibero
63ebae2f9e
Remove nullable from required
2020-09-09 14:28:30 -06:00
crobibero
8f6c2e7679
Remove leading slash from route attributes
2020-08-04 08:27:54 -06:00
crobibero
5d34b07d1f
Make query parameters nullable or set default value
2020-07-07 09:10:51 -06:00
crobibero
73bcda7eac
Make all optional strings nullable
2020-06-27 10:50:44 -06:00
crobibero
c24666253c
Add Default authorization policy
2020-06-16 14:15:58 -06:00
David Ullmer
1491e93d84
Add response code documentation
2020-06-09 11:00:37 +02:00
David
cefa9d3c08
Add default values for parameters and fix spelling
2020-06-07 18:10:08 +02:00
David
7fa374f8a2
Move Split method from BaseJellyfinApiController.cs to RequestHelpers.cs
2020-06-07 15:41:49 +02:00
David
f3029428cd
Fix suggestions
2020-06-07 15:33:54 +02:00
David
638cfa32ab
Move SearchService to new API endpoint
2020-06-02 15:07:07 +02:00