Commit Graph

73 Commits

Author SHA1 Message Date
innocente205
79457403e1 (Fix) CommentControler.php
Add validation to edit torrent comment to avoid 500 error if blank.
2020-04-30 08:49:10 +07:00
HDVinnie
8c8e2865b2 refactor: camel case function naming to underscore 2020-04-24 11:04:24 -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
6eaeb07fc1 refactor: simplify ifelse to ternary 2020-02-13 17:30:47 -05:00
HDVinnie
285ecfa38b refactor: count on null 2020-02-12 19:15:58 -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
9a893662de Apply fixes from StyleCI
[ci skip] [skip ci]
2020-01-08 16:28:32 +00:00
HDVinnie
6ddfcf535b Merge pull request #956 from HD4Free-Gizmo3D/patch-3
Update CommentController.php
2019-11-13 09:44:12 -05:00
Gizmo3D
7aeb514474 Update CommentController.php
Spelling: Benn to Been
2019-11-13 06:09:11 -08:00
Innocente205
c04e862d01 Correct minor spelling 2019-11-13 11:59:39 +07:00
HDVinnie
4759704063 (Fix) Comment Controller Typo 🐛 2019-11-10 11:09:26 -05:00
HDVinnie
da7f0d4584 (Fix) Controllers withErrors Typo 🐛 2019-11-10 11:08:05 -05:00
HDVinnie
d889971834 Apply fixes from StyleCI
[ci skip] [skip ci]
2019-11-05 22:40:30 +00:00
HDVinnie
7a0eb4f2d5 (Update) PHPDoc Comments 🚀 2019-11-05 10:33:04 -05:00
HDVinnie
eed3b51c92 (Update) CRUDDY PT.7 🚀 2019-10-25 17:35:14 -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
HDVinnie
9fc03ab492 (Update) CRUDDY PT.1 🚀 2019-10-22 14:29:58 -04:00
HDVinnie
8f7d91a567 (Update) Comment Controller 🚀 2019-09-25 11:02:54 -04:00
Laravel Shift
4853105815 Shift to consistent, fluent response chains 2019-05-09 00:05:17 +00: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
67339d7329 (Update) PHPDocs 🚀 2019-04-03 20:02:01 -04:00
HDVinnie
597e64c19f (Fix) Anonymous Article Comments 🐛
- closes #656
2019-04-02 21:23:23 -04:00
HDVinnie
c382aa5236 (Update) Refactor Validation Error/Info/Warning/Success Handeling 🚀 2019-03-25 13:53:41 -04:00
HDVinnie
d99046429e Apply fixes from StyleCI
[ci skip] [skip ci]
2019-03-21 01:09:06 +00:00
HDVinnie
63f4352a5d (Update) Quick Comments 🚀 2019-03-20 17:18:15 -04: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
singularity43
be1b6c3f53 (Update) CommentController
Send user directly to comment box after addition of comment.
2019-02-21 13:48:22 -05:00
singularity43
0b223fd6cb (Update) CommentController
Remove robot icons.
2019-02-09 14:58:43 -05:00
singularity43
ab14bc0b09 (Update) CommentController
Update to work with extended notify system (for future audio alerts)
2019-01-30 21:38:37 -05:00
singularity43
5390026bfc Merge branch 'Forums-Addons' of https://github.com/HDInnovations/UNIT3D into Forums-Addons
Need This Done.
2019-01-23 22:51:31 -05:00
singularity43
a5062842c1 (Update) CommentController
Change to support new notifications.
2019-01-23 22:03:22 -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
f6d3a1fabc (Update) Code Cleanup
- replace unauthorized if else checks with a much cleaner approach using the abort_unless() helper.
2018-11-29 17:41:14 -05:00
HDVinnie
87563a2473 (Update) Refator Toastr Notifications 2018-11-12 11:14:41 -05:00
HDVinnie
fd964de6de (Update) Articles System
- add eager loading
- add ability to leave anon comment
- have artle comments count toward achievements
- clean up layout
-  fix lang
2018-11-05 18:02:56 -05:00
HDVinnie
85b5633a32 (Update) Automated System Chat Messages 2018-09-29 23:04:15 -04:00
HDVinnie
3ca11303ea (Update) Import Facades Explicitly 2018-07-18 16:49:47 -04:00
Laravel Shift
5c1c56d2ca Adopt PSR-2 coding style
The Laravel framework adopts the PSR-2 coding style in version 5.1.
Laravel apps *should* adopt this coding style as well. Read the
[PSR-2 coding style guide][1] for more details and check out [PHPCS][2]
to use as a code formatting tool.

[1]: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md
[2]: https://github.com/squizlabs/PHP_CodeSniffer
2018-07-18 20:13:14 +00:00
HDVinnie
d24045acba (Update) Aborts
Replace `abort(403, 'Unauthorized action.’);` use with a graceful
toastr error.
2018-06-09 21:29:44 -04:00
HDVinnie
f56bb8d256 (Fix) Comments System 2018-06-08 15:01:05 -04:00
HDVinnie
6441ca7fb7 (Update) Mass Controllers Cleanup 2018-06-06 23:49:27 -04:00