DariusIII
6faa93970f
Fix offset issue in ApiController
2023-03-31 00:00:22 +02: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
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
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
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
2126220150
Fix reported api time format. Closes #1101
2020-04-20 15:26:50 +02: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
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
DariusIII
96fe96ab5c
Capabilities request will always return XML
2019-10-08 15:10:16 +02:00
DariusIII
cd57779e8b
Update API and RSS XML output to be same as the new newznab API 0.7 specification (newznab:apilimits)
2019-07-20 22:29:19 +00:00
DariusIII
609a2f31e1
Improve newly added variables handling
2019-07-13 11:47:24 +02:00
DariusIII
f7a0636f77
Fix $apiRequests variable for capabilities check
2019-07-13 10:36:31 +02:00
DariusIII
a9325f9372
Show daily grabs not total
2019-07-12 14:26:16 +02:00
DariusIII
7382cd026a
Update response to properly show current api/download and total limits
2019-07-12 14:16:58 +02:00
DariusIII
9cc9ffc757
Add grab and limit to APIv1, APIv2 and RSS responses
2019-07-12 13:52:08 +02:00
DariusIII
fdb0aa4a53
Throw API error if apikey is missing
2019-04-28 21:49:40 +02:00
DariusIII
60c81ea1c8
Fix Releases class instantiation
2019-02-25 23:19:54 +01:00
DariusIII
094d683c3b
Apply fixes from StyleCI
...
[ci skip] [skip ci]
2019-02-20 14:08:57 +00:00
DariusIII
f2c1eaaddc
Move certain user functions (api accessed and logged in) into specific events
2019-02-20 15:08:53 +01:00
DariusIII
c12075b64b
Update search code to reduce number of variables used in search function
2019-02-04 15:38:56 +01:00
DariusIII
5c4eb24576
Remove nfo and comments options from search function (searching for releases that are commented or have nfo)
2019-02-04 10:51:36 +01:00
DariusIII
87c6e5d64f
Apply fixes from StyleCI
...
[ci skip] [skip ci]
2019-02-03 20:01:19 +00:00
DariusIII
50ff1b6181
Update code style of various files
2019-02-03 20:58:51 +01:00
DariusIII
bab65321a9
Apply fixes from StyleCI
...
[ci skip] [skip ci]
2019-01-31 19:18:57 +00:00
DariusIII
552a096d9a
Update and fix code with php-cs-fixer
2019-01-31 20:17:57 +01:00
DariusIII
603655e974
Small optimizations in code, use compact where applicable
2019-01-25 13:20:55 +01:00
DariusIII
3b311188bc
Update user category exclusion handling in API and APIv2
2018-12-12 20:43:14 +01:00
DariusIII
327b6be8b2
Remove requirement for userid when using RSS, API and APIv2, its useless as we already have the token
2018-12-12 20:26:38 +01:00
DariusIII
5f273903db
Fix couple of problems in API v1
2018-11-07 00:03:17 +01:00
DariusIII
36ffea902a
Fix errors related to model/collection change
2018-11-06 23:53:02 +01:00
DariusIII
1ab7937359
Update ApiController data to return arrays for output
2018-11-06 00:18:25 +01:00
DariusIII
bcba9866f8
Fix some more API related issues
2018-08-07 11:40:15 +02:00
DariusIII
dd977c65b7
Replace isAdmin, isDisabled and isModerator functions with direct role checking and remove roleCheck function from User model
2018-08-03 11:10:01 +02:00
DariusIII
b498bb29ab
Apply fixes from StyleCI
...
[ci skip] [skip ci]
2018-08-02 14:06:55 +00:00