Commit Graph

1669 Commits

Author SHA1 Message Date
DariusIII 62e52eeb26 CS fixes 2023-04-05 11:11:10 +02:00
DariusIII 461096efdf Fix return type declaration 2023-04-05 11:05:00 +02:00
DariusIII 0483fa7534 CS fixes 2023-04-04 21:56:22 +02:00
DariusIII a527301c83 Remove typed properties 2023-04-04 21:50:30 +02:00
DariusIII 91ca094c30 Fix double jpg extension 2023-04-03 17:55:40 +02:00
DariusIII a1dae35b3d Fix ES index creation. Closes #1294 2023-04-02 23:29:35 +02:00
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 c67f39ee44 Adopt class based routes 2023-03-30 14:15:23 +00:00
Shift dd2f3034c7 Remove unnecessary $table property
By convention, Laravel uses the "snake case", plural name of the class as the table name.
2023-03-30 14:15:22 +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 ce9ce47010 Convert validation rules to array syntax 2023-03-30 14:15:10 +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 5130c5d824 Replace switch with match 2023-03-29 13:56:58 +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 c09c40f1a2 Update command 2023-03-28 14:09:39 +02:00
DariusIII 69c3252465 Add command to populate steam apps table 2023-03-28 13:53:37 +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 9c243a7526 CS fixes 2023-03-23 16:48:57 +01:00
DariusIII 2f8cbc6963 Use climate directly and laravel built in progressbar in console commands 2023-03-23 16:45:18 +01:00
DariusIII d4651aef44 CS fixes 2023-03-23 14:10:17 +01:00
DariusIII b3d8bc750e Add artisan command to populate steam apps table 2023-03-23 14:07:28 +01:00
DariusIII 7606c2469f Add artisan command to create ElasticSearch indexes and remove old script 2023-03-23 11:24:40 +01:00
DariusIII 0fe13a440c Update used packages to their latest versions 2023-03-23 11:19:02 +01:00
DariusIII e9baf777f6 Fix wrong class used 2023-03-22 23:43:31 +01:00
DariusIII 21a5ae862d CS fixes 2023-03-22 23:26:24 +01:00
DariusIII 6c69befe7b Update elastic related functions 2023-03-22 23:24:40 +01:00
DariusIII d643b61697 Add artisan command to populate manticore and elasticsearch indexes 2023-03-22 22:21:40 +01:00
DariusIII 31757c4089 Remove all usages of tags 2023-03-22 21:17:08 +01:00