Commit Graph

73 Commits

Author SHA1 Message Date
HDVinnie
77ec35bea5 chore: apply the laravel code style linter 2022-01-08 00:03:12 -05:00
HDVinnie
97394c062f chore: adopt type hints 2022-01-07 23:35:33 -05:00
HDVinnie
2a53cea216 refactor: newline after statement 2021-09-28 12:49:46 -04:00
clandestine8
a737482e79 Apply fixes from StyleCI
[ci skip] [skip ci]
2021-09-06 23:26:02 +00:00
HDVinnie
321847e067 Apply fixes from StyleCI
[ci skip] [skip ci]
2021-05-16 02:41:53 +00:00
HDVinnie
3407075214 refactor: better php8 usage
- Change simple property init and assign to constructor promotion
- Remove unused variable in catch()
- Change docs types to union types, where possible
2021-05-15 22:41:28 -04:00
HDVinnie
999c16093b cleanup: unused variables 2021-05-15 12:52:00 -04:00
HDVinnie
21ddf328bf refactor: staff moderation controller 2020-12-30 12:18:38 -05:00
HDVinnie
467d31f10a refactor: constructor promotions 2020-12-17 23:25:50 -05:00
HDVinnie
0733269867 update: phpdoc blocks 2020-07-22 16:57:13 -04:00
HDVinnie
a975116218 refactor: preslash simple functions
- Add pre-slash to short named functions to improve performance by almost 30%
-  @see https://stackoverflow.com/questions/55419673/php7-adding-a-slash-to-all-standard-php-functions-php-cs-fixer-rule
2020-07-22 15:09:37 -04:00
HDVinnie
e7ccde0190 refactor: rename property to match type 2020-07-22 14:50:41 -04:00
HDVinnie
3d3de56ccb update: queries 2020-05-26 13:22:18 -04:00
HDVinnie
4b9c006a05 chore: phpdoc blocks cleanup 2020-03-05 10:46:14 -05:00
HDVinnie
605c337204 refactor: encapsed strings to sprintf 2020-02-17 13:52:20 -05:00
HDVinnie
c8d953a3ad Merge branch 'master' into development 2020-02-12 18:03:21 -05:00
HDVinnie
e47afe4ab4 chore: styleci 2020-02-12 14:51:22 -05:00
HDVinnie
80c842e39c chore: update license block
- make styleci happy
2020-02-12 14:49:18 -05:00
HDVinnie
dbb928f940 chore: update license block 2020-02-12 14:45:59 -05:00
HDVinnie
8d72989943 Apply fixes from StyleCI
[ci skip] [skip ci]
2020-02-12 17:41:17 +00:00
HDVinnie
611fcd6bc1 refactor: if / else / elseif statements
- Change If Else Value Assign To Early Return
- Change Nested Ifs To Early Return
- Remove Always Else
2020-02-12 12:34:34 -05:00
HDVinnie
8d5a6d39f1 (Fix) Chat Announces 🐛 2019-11-11 23:37:05 -05:00
HDVinnie
d889971834 Apply fixes from StyleCI
[ci skip] [skip ci]
2019-11-05 22:40:30 +00:00
HDVinnie
e9378b71fa (Update) Minor Cleanup 🚀 2019-11-05 17:05:39 -05:00
HDVinnie
da30d2a706 (Update) CRUDDY PT.8 🚀 2019-10-29 20:26:54 -04:00
HDVinnie
eed3b51c92 (Update) CRUDDY PT.7 🚀 2019-10-25 17:35:14 -04:00
HDVinnie
e001055ef2 (Update) CRUDDY PT.6 🚀 2019-10-23 19:25:34 -04:00
HDVinnie
2979750a8f (Update) CRUDDY PT.4 🚀 2019-10-23 14:49:39 -04:00
HDVinnie
dc2cf66405 (Update) CRUDDY PT.3 🚀 2019-10-23 13:48:28 -04:00
Laravel Shift
97e88dd68b 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/5.7/requests#accessing-the-request
2019-05-09 00:05:13 +00:00
HDVinnie
c382aa5236 (Update) Refactor Validation Error/Info/Warning/Success Handeling 🚀 2019-03-25 13:53:41 -04:00
HDVinnie
b9968aef6b (Update) Replace Usage Of redirect()->back() 🚀
- replacing usages of `redirect()->back()` in favor of defining the named route.
2019-03-08 19:53:51 -05:00
HDVinnie
e0e1aa924b Apply fixes from StyleCI 2019-02-22 13:16:32 +00:00
HDVinnie
3c87845e54 (Update) Namespace models under App\Models 🚀 2019-02-22 08:15:41 -05:00
HDVinnie
8a7310f2d5 (Update) System Messages 🚀
- formated for new chat
2019-02-09 20:02:21 -05:00
HDVinnie
0471bc2ccb (Update) Permission Checks 🚀
- remove if else statements in favor for cleaner abort_unless and abort_if helpers
2019-01-27 11:17:51 -05:00
HDVinnie
0850390860 (Update) Standardize Where Expressions 🚀
- using `Model::where('download', '=', 1)` over`Model::where('download', 1)`
- decided is easier for new devs to understand.
- thanks to @werrpy for helping with the regex to mass update.
2018-12-16 18:32:58 -05:00
HDVinnie
2f2c52328b Apply fixes from StyleCI 2018-12-06 22:57:41 +00:00
HDVinnie
00bb324053 Apply fixes from StyleCI 2018-12-06 14:42:13 +00:00
HDVinnie
87563a2473 (Update) Refator Toastr Notifications 2018-11-12 11:14:41 -05:00
HDVinnie
b777ef03e2 (Update) Optimize Queries
- eager loading
2018-10-17 14:15:18 -04:00
HDVinnie
1122a8a0c3 (Update) Torrent Moderation Panel Queries
- use eager loading
2018-10-16 23:10:13 -04:00
HDVinnie
85b5633a32 (Update) Automated System Chat Messages 2018-09-29 23:04:15 -04:00
HDVinnie
4618a36181 (Update) Torrent Moderation System & Torrent Details Page
- closes #384
2018-08-30 22:34:50 -04:00
HDVinnie
8abc72f9c1 (Fix) Torrent Upload Chat Announcements 2018-08-30 21:28:03 -04:00
HDVinnie
1c0a271073 (Fix) Typo 2018-08-25 18:38:02 -04:00
HDVinnie
e456241b9e (Fix) Moderation PM's
- fixes messages sent to uploader when there upload is “Postponed” or
“Rejected”.
2018-08-25 18:31:09 -04:00
HDVinnie
75b6515c63 (Update) Moderation Validation 2018-06-15 23:05:49 -04:00
MrG01
1c5591ab98 Fixes issue with modals not working Ito moderation 2018-06-16 00:18:19 +02:00
HDVinnie
6441ca7fb7 (Update) Mass Controllers Cleanup 2018-06-06 23:49:27 -04:00