Commit Graph

62 Commits

Author SHA1 Message Date
DariusIII 870e629342 CS fixes 2025-10-03 16:43:08 +02:00
DariusIII 1a747afdd0 Start using blade and tailwindcss 2025-10-03 16:42:39 +02:00
DariusIII c10ea41aa0 Improve streamed download handling 2024-11-29 10:16:52 +01:00
DariusIII d446eafd11 Update getNzbController. Close #1651 2024-11-28 23:31:52 +01:00
DariusIII 5cbd95b2c0 Clean release name properly 2024-08-29 23:19:40 +02:00
DariusIII 9d3bdd1324 Code style fixes 2024-08-13 22:13:34 +02:00
DariusIII 628105d917 Fix a long standing bug with zipped downloads 2024-03-30 15:16:27 +01:00
DariusIII d25cc9456b CS fixes 2023-05-14 15:03:02 +02:00
DariusIII 24dfa6037c CS fixes 2023-05-14 14:53:59 +02:00
DariusIII 77f1381144 Return proper api errors 2023-05-14 14:52:26 +02:00
DariusIII ad05688ac6 CS fixes 2023-03-30 21:48:07 +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 c0f1ba0de5 Optimize userdata usage 2023-03-15 20:38:03 +01:00
DariusIII 49872346f2 CS code fixes by pint 2023-03-02 16:47: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
Fossil 8be44c6704 Switch ZIP library to laravel-zipstream
PHP8 compatible. Will not store ZIP files on disk before sending them to the user but it will stream them on the fly.
2022-01-21 12:06:27 -05:00
DariusIII c33db34c49 Apply fixes from StyleCI
[ci skip] [skip ci]
2021-09-13 20:01:06 +00: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 4508abcd35 Update GetNZBController 2019-12-15 23:58:53 +01:00
DariusIII 5a8fff0020 Apply fixes from StyleCI
[ci skip] [skip ci]
2019-11-01 19:52:18 +00:00
DariusIII 0fe0555bcd Replace ! $request->has with new $request->missing 2019-10-24 11:19:10 +02:00
DariusIII 74806b7983 Apply fixes from StyleCI
[ci skip] [skip ci]
2019-06-03 12:13:07 +00:00
DariusIII a6009d39f7 Move getZipped function from Releases class to helpers file 2019-06-03 14:01:10 +02:00
DariusIII 96e088583a Update usage of $this->userdata in controllers 2019-04-11 12:39:50 +02:00
DariusIII 60c81ea1c8 Fix Releases class instantiation 2019-02-25 23:19:54 +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 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