Commit Graph

36 Commits

Author SHA1 Message Date
HDVinnie
8a80f7e17f refactor: image controller 2020-12-30 12:10:14 -05:00
HDVinnie
817ce03fd0 refactor: insecure uniqid usage 2020-12-02 21:18:16 -05:00
HDVinnie
5aac6a8f04 Apply fixes from StyleCI
[ci skip] [skip ci]
2020-07-22 20:57:33 +00: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
78608a4666 refactor: space after sole ! operators
-  There should be a space after sole `!` operators
2020-04-14 22:31:48 -04:00
HDVinnie
4b9c006a05 chore: phpdoc blocks cleanup 2020-03-05 10:46:14 -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
eed3b51c92 (Update) CRUDDY PT.7 🚀 2019-10-25 17:35:14 -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
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
3c87845e54 (Update) Namespace models under App\Models 🚀 2019-02-22 08:15:41 -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
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
6441ca7fb7 (Update) Mass Controllers Cleanup 2018-06-06 23:49:27 -04:00
HDVinnie
4cbceb96cd (Update) Gallery System
- allow users to delete image if they own it
- update styling
2018-06-05 21:44:34 -04:00
HDVinnie
3a9987e26a (Update) Controllers 2018-06-05 16:23:39 -04:00
HDVinnie
c16446772c (Update) Multiple Areas 2018-06-03 23:23:46 -04:00
HDVinnie
074d922e87 (Update) Restrict Deleting To Staff 2018-06-03 22:33:39 -04:00
HDVinnie
047e9ab38d (Update) Image Controlller
- add ability to move a image from one album to another
2018-06-03 21:57:03 -04:00
HDVinnie
103a3b37d8 (Update) Image Controller 2018-06-03 06:06:49 -04:00
HDVinnie
18f5410966 (Update) Controllers 2018-05-31 21:04:53 -04:00
HDVinnie
e18847ad7f (Update) Add Image Controller 2018-05-31 13:36:49 -04:00