Commit Graph

114 Commits

Author SHA1 Message Date
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
DariusIII 277e77b378 Update API controller and functions 2022-01-12 12:30:25 +01:00
DariusIII c33db34c49 Apply fixes from StyleCI
[ci skip] [skip ci]
2021-09-13 20:01:06 +00:00
DariusIII b199f0fc96 Add controller, model and migration for release inform 2020-07-10 00:17:24 +02:00
DariusIII 2126220150 Fix reported api time format. Closes #1101 2020-04-20 15:26:50 +02:00
DariusIII 405c6f34ac Use APP_NAME and MAIL_FROM_ADDRESS in place of database settings and remove unused entries from site and settings table 2020-03-01 01:13:00 +01:00
DariusIII 02ad342bac Apply fixes from StyleCI
[ci skip] [skip ci]
2020-02-05 01:56:40 +00:00
DariusIII b343c02c63 Update project files 2020-02-05 00:39:09 +00:00
DariusIII 6bc5698a45 Apply fixes from StyleCI
[ci skip] [skip ci]
2020-01-10 01:16:44 +00:00
DariusIII ae3acf3638 Remove reporting of existing tags from ApiV2 capabilities response 2020-01-10 02:16:25 +01:00
DariusIII 5886fe162c Replace WWW_TOP with url() helper 2019-12-08 19:21:23 +01:00
DariusIII 5a8fff0020 Apply fixes from StyleCI
[ci skip] [skip ci]
2019-11-01 19:52:18 +00:00
DariusIII f128ef8d76 Update passworded releases handling. Closes #980 2019-10-29 23:35:28 +01:00
DariusIII 0fe0555bcd Replace ! $request->has with new $request->missing 2019-10-24 11:19:10 +02:00