Commit Graph

42 Commits

Author SHA1 Message Date
Bill Thornton f96166657d Move remaining router components 2023-05-02 16:40:31 -04:00
Bill Thornton 8f730b8270 Fix eslint warnings in ts files 2023-04-26 11:30:57 -04:00
Bill Thornton 23c3df7feb Merge pull request #4221 from dann-merlin/fix_long_getItems_request_URL 2023-04-18 20:50:21 -04:00
Merlin Danner 012c281615 Bump ITEMS_PER_REQUEST_LIMIT to 40 (getItems call) 2023-04-19 02:43:47 +02:00
dann-merlin 3629e826df Update src/utils/jellyfin-apiclient/getItems.ts
Co-authored-by: Bill Thornton <thornbill@users.noreply.github.com>
2023-04-19 00:43:21 +00:00
Bill Thornton 0df6c66646 Move fetchLocal function to utils 2023-04-16 23:37:37 -04:00
Merlin Danner 840fbed68a Fix eslint errors (syntax) 2023-04-13 13:25:19 +02:00
Merlin Danner 4fe4ed2b0a Define interface for getItems options 2023-04-03 14:34:57 +02:00
Merlin Danner 06c4f0f258 Add JSDoc comment to getItems helper
In return the comments at each usage are removed.
2023-03-29 07:44:21 +02:00
Merlin Danner d8bbba2dc9 Add handling of undefined cases for tsc
The handled cases are never going to actually be undefined,
as the affected variables are defined before.
tsc however was not satisfied so these changed had to be made.
2023-03-29 07:26:22 +02:00
Merlin Danner 762feba94c Use syntactic sugar to check if Ids is undefined 2023-03-29 07:06:29 +02:00
dann-merlin 2154ea64ad Update src/utils/jellyfin-apiclient/getItems.ts
Co-authored-by: Bill Thornton <thornbill@users.noreply.github.com>
2023-03-29 05:02:23 +00:00
dann-merlin 5932decce5 Update src/utils/jellyfin-apiclient/getItems.ts
Co-authored-by: Bill Thornton <thornbill@users.noreply.github.com>
2023-03-29 05:00:40 +00:00
dann-merlin da4f890adf Update src/utils/jellyfin-apiclient/getItems.ts
Co-authored-by: Bill Thornton <thornbill@users.noreply.github.com>
2023-03-29 05:00:04 +00:00
dann-merlin eca7cc7ced Update src/utils/jellyfin-apiclient/getItems.ts
Co-authored-by: Bill Thornton <thornbill@users.noreply.github.com>
2023-03-29 04:59:20 +00:00
Merlin Danner 117dd15394 Rename variable in getItemsSplit loop 2023-03-29 06:50:15 +02:00
Merlin Danner 96febf9f25 Rename file level constant to conform naming conv.
Renames idsPerItemRequestLimit to ITEMS_PER_REQUEST_LIMIT
as it as a file level constant.
2023-03-29 06:29:37 +02:00
dann-merlin 09a6ef2cdb Merge branch 'master' into fix_long_getItems_request_URL 2023-03-14 22:03:44 +00:00
Bill Thornton 4937f2d60c Add random int utility function 2023-03-14 01:32:36 -04:00
Merlin Danner 1a069b49be Rename getItemsHelper.ts to getItems.ts 2023-03-08 02:39:17 +00:00
Merlin Danner e693724055 Remove leftover debugging log in getItems 2023-03-08 02:39:17 +00:00
dann-merlin baa4f0a29d Improve log message for invalid TotalRecordCount in getItems
Co-authored-by: Bill Thornton <thornbill@users.noreply.github.com>
2023-03-08 02:39:17 +00:00
dann-merlin aede0fa8ca Fixing type in getItems.ts
Co-authored-by: Bill Thornton <thornbill@users.noreply.github.com>
2023-03-08 02:39:17 +00:00
Merlin Danner d5e9541010 Fix too long URLs on getItems with many ids 2023-03-08 02:39:17 +00:00
Dmitry Lyzo abed235b50 Backport pull request #4263 from jellyfin/release-10.8.z
Fix change audio track

Original-merge: 9139153d16e39c40d068435fe642925a2d7a66a3

Merged-by: Bill Thornton <thornbill@users.noreply.github.com>

Backported-by: Joshua M. Boniface <joshua@boniface.me>
2023-01-22 14:08:02 -05:00
Bill Thornton c8ea7322fd Refactor api hooks 2022-11-18 12:55:46 -05:00
Bill Thornton d297f23932 Add api and user contexts 2022-11-17 00:30:57 -05:00
Bill Thornton 1473a793e5 Rename and convert dfnshelper to typescript 2022-11-03 01:04:35 -04:00
Bill Thornton 7e9bf96668 Refactor ConnectionState to a shared enum 2022-10-28 00:59:34 -04:00
Bill Thornton 6e287280a4 Update toPercent docs with locale 2022-10-17 01:09:37 -04:00
Bill Thornton 9cc6ca66e8 Add toPercent utility for compatibility 2022-10-16 02:52:17 -04:00
Bill Thornton 0a0e45d155 Replace apiclient event bus with local version 2022-10-14 10:58:16 -04:00
Bill Thornton 59c4f41ae9 Update exception logging when connecting 2022-07-11 10:26:28 -04:00
Bill Thornton df1f111320 Fix unhandled rejection for invalid response 2022-07-01 12:06:41 -04:00
Bill Thornton 125d5cb015 Move backdrop transparency method to component 2022-04-12 16:22:00 -04:00
Bill Thornton 54206d9b28 Fix code smell 2022-04-11 10:33:58 -04:00
Bill Thornton 2d2b99d3b9 Move clientUtils and rename 2022-04-10 02:22:13 -04:00
Bill Thornton a238ae21f1 Move string utils and migrate to typescript 2022-04-10 01:30:26 -04:00
Bill Thornton 9b884f1924 Fix url search in hash 2022-04-07 16:06:26 -04:00
Bill Thornton 3412201532 Simplify url utils 2022-04-06 17:31:54 -04:00
Bill Thornton 67169e2a6a Remove getParameterByName global 2022-04-05 15:58:12 -04:00
Bill Thornton 8e66ba315a Remove getWindowLocationSearch global and duplicate implementation 2022-04-05 15:44:55 -04:00