Commit Graph

127 Commits

Author SHA1 Message Date
PyRowMan c5249c9de9 Fix conditional check for release object in API controller
Previously, the condition did not account for cases where `$rel` could be null, potentially causing an error. This update ensures the check validates that `$rel` exists before calling the `isNotEmpty()` method.
2024-12-17 22:36:51 +01:00
DariusIII 8817f9e985 CS fixes 2024-11-28 14:10:08 +01:00
DariusIII f21e6e8845 Simplify setting names and check 2024-10-28 12:14:32 +01:00
DariusIII 34c1d4a64e Revert "Further update to getCategorySearch"
This reverts commit e70dbc831e.
2024-10-13 13:00:07 +02:00
DariusIII e70dbc831e Further update to getCategorySearch 2024-10-13 12:14:11 +02:00
DariusIII ffffc892ff Update code style 2024-09-13 22:30:50 +02:00
DariusIII 5562addaa7 Revert RSS controller caching changes 2024-09-13 22:30:25 +02:00
DariusIII 94d3e539b9 Revert "Revert "Use flexible cache""
This reverts commit 3cfededd63.
2024-09-13 22:24:15 +02:00
DariusIII 3cfededd63 Revert "Use flexible cache"
This reverts commit 0220bbfebf.
2024-09-13 22:22:11 +02:00
DariusIII 72e57c0419 Revert "Revert "Use flexible cache""
This reverts commit b145500ac4.
2024-09-13 22:11:16 +02:00
DariusIII b145500ac4 Revert "Use flexible cache"
This reverts commit 0220bbfebf.
2024-09-13 21:55:47 +02:00
DariusIII 0220bbfebf Use flexible cache 2024-09-13 14:39:28 +02:00
DariusIII 9d3bdd1324 Code style fixes 2024-08-13 22:13:34 +02:00
DariusIII ced9bfb0be CS fixes 2024-02-13 23:09:42 +01:00
DariusIII 8fc4a39248 Update handling of API v2 requests 2024-02-13 23:09:20 +01:00
DariusIII 17b580cfb7 Update API v2 2024-02-13 21:20:43 +01:00
DariusIII 6649d1049c CS fixes 2024-02-13 20:58:32 +01:00
DariusIII 5d3397542d Return errors in json 2024-02-13 20:58:05 +01:00
DariusIII 9a8e58482f Update packages 2023-12-28 20:57:39 +01:00
DariusIII fc030d61f6 Fix isses in console and api controllers 2023-05-15 22:03:50 +02:00
DariusIII c2cfe9ea2f CS fixes 2023-05-14 14:37:57 +02:00
DariusIII 7c185270d0 Properly return API error messages 2023-05-14 14:36:30 +02:00
DariusIII 7c9e7e9b1f Don't use array 2023-05-14 02:46:28 +02:00
DariusIII 0dbfc2a059 Check for null value 2023-05-13 23:46:47 +02:00
DariusIII 53ccfc2616 CS fixes 2023-03-31 17:01:28 +02:00
DariusIII 4adc19c178 Fix issues in API controllers 2023-03-31 16:57:41 +02:00
DariusIII 6faa93970f Fix offset issue in ApiController 2023-03-31 00:00:22 +02:00
DariusIII ad05688ac6 CS fixes 2023-03-30 21:48:07 +02:00
Shift afb0f41611 Add PHP type hints 2023-03-30 14:15:39 +00:00
Shift 66c246852c Leverage injected request object
Laravel automatically injects the current Http [request object][1] to all Controller actions and Middleware. Leveraging this object improves consistency and testability.

[1]: https://laravel.com/docs/requests#accessing-the-request
2023-03-30 14:15:14 +00:00
Shift 0faefd419b Streamline calls to orderBy 2023-03-30 14:15:08 +00:00
DariusIII be4cfa3cb0 CS fixes 2023-03-29 01:42:34 +02:00
DariusIII 86ccac71ac Fix typed property error 2023-03-29 01:40:52 +02:00
DariusIII 2472f979c8 CS fixes 2023-03-27 16:51:35 +02:00
DariusIII 5238b59f1c Remove API an Capabilities classes and move their functions to ApiController 2023-03-27 16:35:24 +02:00
DariusIII 31757c4089 Remove all usages of tags 2023-03-22 21:17:08 +01:00
DariusIII 67f67a10ff CS fixes 2023-03-21 02:07:14 +01:00
DariusIII cb18ccb682 Replace SphinxQL with ManticoreSearch HTTP 2023-03-21 02:05:01 +01:00
DariusIII 49872346f2 CS code fixes by pint 2023-03-02 16:47:20 +01:00
DariusIII 4938a242da Update JSON output handling for API and RSS 2023-02-18 22:06:25 +01:00
DariusIII 544b851e38 Update API related and Releases classes 2023-02-07 22:49:18 +01:00
DariusIII 7d9f265c71 CS fixes 2023-01-22 20:46:48 +01:00
DariusIII 17a4183629 Move files into app/http namespace 2023-01-22 20:45:02 +01:00
DariusIII ab6ecaf502 CS fixes 2022-12-27 22:34:19 +01:00
DariusIII d5f69fe413 CS fixes 2022-12-27 22:33:01 +01:00
DariusIII e956a7f653 Stop adding audio language to release searchnames in API response 2022-12-27 22:30:20 +01:00
DariusIII 6eab198c1d Code style fixes 2022-10-23 23:24:49 +02:00
DariusIII 4d188afb52 Update controllers 2022-10-23 23:18:00 +02:00
DariusIII 8331d12531 Make sure id is integer. Closes #1251 2022-06-07 19:35:51 +02:00
DariusIII d98fe39888 Remove tt from imdbid in tv search. Should make Sonarr happy with results 2022-01-24 23:05:37 +01:00