Commit graph

33 commits

Author SHA1 Message Date
Cody Robibero
e7b8d45bbb
Use helper function to compare guid (#10825) 2024-01-17 08:51:39 -07:00
Cody Robibero
c7a94d48ae
Convert ItemSortBy to enum (#9765)
* Convert ItemSortBy to enum

* Rename Unknown to Default
2023-11-09 14:00:13 -07:00
Bond_009
d8ec3a5470 Reduce usage of GetAwaiter().GetResult() 2023-03-14 12:05:49 +01: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
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
crobibero
55670b91b2 Use ArrayModelBinder for sortBy and sortOrder 2021-01-23 17:32:13 -07:00
crobibero
c083b29e29 Use Guid as API parameter type where possible 2020-12-01 11:07:41 -07:00
crobibero
2a0578ce1a Add missing manual splits 2020-11-16 20:37:43 -07:00
crobibero
f5b301dea6 Correct bad docs merge 2020-11-10 11:48:21 -07:00
crobibero
0dd2b169a3 Add ModelBinder to ItemFilter 2020-11-09 14:59:04 -07:00
crobibero
f8e6edbfeb Merge remote-tracking branch 'upstream/master' into query-fields 2020-11-02 10:29:18 -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
4f7c13ecf4 Merge remote-tracking branch 'upstream/master' into query-fields 2020-10-27 13:35:46 -06:00
crobibero
f2a86d9c80 Remove CommaDelimitedArrayModelBinderProvider 2020-10-14 13:03:36 -06:00
crobibero
549f2284ad Convert filters string to enum. 2020-10-09 17:41:17 -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
crobibero
5d34b07d1f Make query parameters nullable or set default value 2020-07-07 09:10:51 -06:00
crobibero
068725cded Fix documentation and authorize attribute 2020-07-06 08:02:23 -06:00
crobibero
fee07219d0 fix merge 2020-06-24 10:54:25 -06:00
crobibero
8f1505cdf5 remove #nullable 2020-06-19 09:02:10 -06:00
crobibero
483e24607b Fix optional parameter binding 2020-05-24 16:01:53 -06:00
crobibero
40762f13c6 Fix route parameter casing 2020-05-24 15:54:34 -06:00
crobibero
62ea9b2821 Merge upstream/api-migration 2020-05-24 12:33:16 -06:00
crobibero
70c42eb0ac Apply review suggestions 2020-05-24 12:19:26 -06:00
crobibero
a4b3f2e32b Add missing route attribute 2020-05-23 18:19:49 -06:00
crobibero
6c376f18f7 update xml docs 2020-05-19 09:47:02 -06:00
crobibero
5ca7e1fd79 Move ChannelService to Jellyfin.Api 2020-04-23 08:54:28 -06:00