Commit Graph

1679 Commits

Author SHA1 Message Date
DariusIII 79cc81cecb Use laravel default error pages 2023-04-09 12:40:37 +02:00
DariusIII 457bdf5003 Fix edit error 2023-04-09 00:41:30 +02:00
DariusIII d898c20ab3 Make manticore respect boolean search operators 2023-04-08 16:04:43 +02:00
DariusIII 60563b1912 Fix return type value in AdminGroupController 2023-04-07 23:37:00 +02:00
DariusIII 7f4063d818 Fix return type in edit function 2023-04-06 22:56:24 +02:00
DariusIII d85d3277b0 Fix transformers 2023-04-06 16:55:05 +02:00
DariusIII 2368498d14 Update manticoresearch searchIndexes function to return proper data 2023-04-06 12:19:05 +02:00
Fossil c9ae9c4268 Change join and order by clauses
Query needed a LEFT JOIN instead of INNER JOIN. Also made it insert newest releases first.
2023-04-05 21:09:23 +02:00
DariusIII 155cdcf009 Allow null values 2023-04-05 19:29:01 +02:00
DariusIII ad64247945 Allow role to be null 2023-04-05 19:25:45 +02:00
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