Commit Graph

33 Commits

Author SHA1 Message Date
DariusIII 603655e974 Small optimizations in code, use compact where applicable 2019-01-25 13:20:55 +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 c455f6072b Fix wrong link with bad data sent to failed releases controller in GetNzbController 2018-11-19 15:12:35 +01:00
DariusIII 24fe859b0b Update PHPDOC block return values in GetNzbController 2018-11-15 14:02:11 +01:00
DariusIII ed9ea66b4d Use chumper/zipper to generate zipped nzb files 2018-11-15 13:17:06 +01:00
DariusIII 8fba27ec0e Remove stray whitespace in X-DNZB-NFO header sent on nzb download. Fixes issue #735 2018-10-03 15:06:05 +02:00
DariusIII 23ab8f0334 Use $this->userdata->id variable in place of Auth::(id) in controllers 2018-09-24 11:28:49 +02:00
DariusIII bd844ba4ea Use url helper in place of $this->serverurl variable 2018-09-18 15:14:45 +02:00
DariusIII 47177a3764 Apply fixes from StyleCI
[ci skip] [skip ci]
2018-09-06 07:16:15 +00:00
DariusIII 89b2e8efe5 Remove unused code from GetNzbController 2018-09-06 09:15:35 +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 3ed67a59dd Fix nzb files download 2018-08-02 22:59:31 +02:00
DariusIII c006070a01 Fix headers that are being sent with getNzb function 2018-06-04 12:17:26 +02:00
DariusIII d85e04d6fb Rename rsstoken column into api_token 2018-05-31 22:46:44 +02:00
DariusIII 513739f6dd Use now() helper in place of Carbon::now() 2018-05-31 10:22:08 +02:00
DariusIII 81036ee752 Remove duplicated Content-disposition header 2018-05-29 14:38:29 +02:00
DariusIII 338feae026 Left commented out code for testing 2018-05-29 14:28:07 +02:00
DariusIII 60fbb9dd21 Fix sent headers when downloading an nzb 2018-05-29 14:22:05 +02:00
DariusIII c01b5fa5c7 Allow nzb downloads for not logged in users (sab/nzbget are not logged in) 2018-05-24 13:59:08 +02:00
DariusIII bfc36638bf Revert the change 2018-05-23 23:00:55 +02:00
DariusIII 4c8e816c37 Try to fix nzb file downloads that fail in nzbget 2018-05-23 22:58:05 +02:00
DariusIII a7910f4158 Fix missing nzb extension on file download 2018-05-23 22:25:29 +02:00
DariusIII d80acb42d8 Apply fixes from StyleCI
[ci skip] [skip ci]
2018-04-27 21:19:14 +00:00
DariusIII 453a5906b7 Try to fix multiple cart additions by changing to requests 2018-04-27 23:18:55 +02:00
DariusIII 2552ed7851 Merge branch 'dev-controllers' of https://github.com/NNTmux/newznab-tmux into dev-controllers 2018-04-27 09:02:23 +02:00
DariusIII d817281078 Update getNzb PHPDOC block 2018-04-27 09:02:16 +02:00
DariusIII 2871d02286 Use laravel's response for nzb downloads 2018-04-27 09:00:19 +02:00
DariusIII 5e398bbb63 Apply fixes from StyleCI
[ci skip] [skip ci]
2018-04-27 07:00:10 +00:00
DariusIII ab3786390b Apply fixes from StyleCI
[ci skip] [skip ci]
2018-04-27 06:40:24 +00:00
DariusIII c9a6511302 Fix zipped downloads 2018-04-26 15:38:29 +02:00
DariusIII 48158ea131 Update handling of requests for nzb files 2018-04-05 00:01:54 +02:00
DariusIII 93b8fc7fb1 Apply fixes from StyleCI
[ci skip] [skip ci]
2018-04-04 13:55:00 +00:00
DariusIII d0090aef94 Add initial GetNzbController 2018-04-04 15:54:48 +02:00