Commit Graph

774 Commits

Author SHA1 Message Date
DariusIII e577141d87 Fix couple of occurences of missed DS constant usage 2023-04-01 23:05:58 +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 04da8197ed CS fixes 2023-03-31 12:31:31 +02:00
DariusIII f9407a72c8 Merge branch 'master' of https://github.com/NNTmux/newznab-tmux 2023-03-31 11:37:09 +02:00
DariusIII 6faa93970f Fix offset issue in ApiController 2023-03-31 00:00:22 +02:00
DariusIII df6724d6b0 CS fixes 2023-03-30 23:54:58 +02:00
DariusIII 5f211406d0 Fix isPostBack issues 2023-03-30 23:48:50 +02:00
DariusIII 47075dd7dc CS fixes 2023-03-30 23:02:58 +02:00
DariusIII 8435584917 Fix request validation in login and register pages 2023-03-30 23:00:23 +02:00
DariusIII ad05688ac6 CS fixes 2023-03-30 21:48:07 +02:00
DariusIII be26b081df Fix couple of issues introduced after shift update 2023-03-30 21:44:25 +02:00
Shift 71e1631df6 Remove redundant typing from DocBlocks 2023-03-30 14:15:45 +00:00
Shift afb0f41611 Add PHP type hints 2023-03-30 14:15:39 +00:00
Shift 9075b09068 Convert env() to config()
Laravel [recommends][1] only using `env()` within configuration files and using `config()` everywhere else. Doing so allows you to improve performance by running `php artisan config:cache`.

[1]: https://laravel.com/docs/5.7/configuration#configuration-caching
2023-03-30 14:15:18 +00:00
Shift 1eeb9eaece Shift to consistent, fluent response chains 2023-03-30 14:15:17 +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 2fcf05db34 Convert controller validation to Form Requests 2023-03-30 14:15:10 +00:00
Shift 0faefd419b Streamline calls to orderBy 2023-03-30 14:15:08 +00:00
DariusIII 61f5d1b2d7 CS fixes 2023-03-30 14:56:40 +02:00
DariusIII cefe45ebe0 Update login controller 2023-03-30 14:44:16 +02:00
DariusIII cdf10c03c9 Remove sharing from controllers and admin theme 2023-03-29 16:32:50 +02: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 766a07b1e2 Replace custom path constants with laravel defined paths 2023-03-28 16:56:23 +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 5bc79d07eb CS fixes 2023-03-22 16:13:43 +01:00
DariusIII 6c1f8bf8b9 Remove and replace functions 2023-03-22 16:05:11 +01:00
DariusIII ea9c3b0001 Remove unused functions 2023-03-22 15:42:37 +01:00
DariusIII d33ee03ebf Remove unused functions and classes 2023-03-22 15:12:29 +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 3f40a28d1a Remove downloader tab is user settings 2023-03-16 15:03:40 +01:00
DariusIII 2d52a5a658 Remove missed references to sab 2023-03-16 14:51:07 +01:00
DariusIII d775ff22e2 Remove support for sab, nzbget, couchpotato and nzbvortex integrations 2023-03-16 13:38:43 +01:00
DariusIII 3cf669dfb0 Update nzb and covers paths 2023-03-16 10:57:27 +01:00
DariusIII ce29e65432 CS fixes 2023-03-15 20:40:25 +01:00
DariusIII c0f1ba0de5 Optimize userdata usage 2023-03-15 20:38:03 +01:00
DariusIII a91c2452c7 CS fixes by pint 2023-03-07 11:18:32 +01:00
DariusIII 4c646b9b7c CS fixes 2023-03-06 10:28:49 +01:00
DariusIII 75b0e567dd Remove stray tag property 2023-03-06 10:24:30 +01:00
DariusIII 49872346f2 CS code fixes by pint 2023-03-02 16:47:20 +01:00
DariusIII ae61c3dc35 Additional changes for tagging removal 2023-03-01 14:39:15 +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 715ea01dc1 CS fixes 2023-02-04 14:16:06 +01:00
DariusIII c441d96ee5 Fix AdminGroupController. Closes #1270 2023-02-04 14:13:30 +01:00
DariusIII 7d9f265c71 CS fixes 2023-01-22 20:46:48 +01:00