Commit Graph

29 Commits

Author SHA1 Message Date
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
9fc03ab492 (Update) CRUDDY PT.1 🚀 2019-10-22 14:29:58 -04:00
Laravel Shift
d9ddbe6159 Shift cleanup 2019-05-09 00:05:27 +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
Laravel Shift
b0732954c4 Shift deprecated helpers
Laravel recommends using the `Str` and `Arr` class methods directly instead of the respective helper functions. These helper functions are [deprecated in Laravel 5.8][1] and will be removed in a future version.

[1]: https://github.com/laravel/framework/pull/26898
2019-05-09 00:05:08 +00:00
HDVinnie
c382aa5236 (Update) Refactor Validation Error/Info/Warning/Success Handeling 🚀 2019-03-25 13:53:41 -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
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
d4ef6c058d (Update) Gallery System
- eager load images count
- clean up model
- add full size image SWAL popup
2018-11-06 12:39:32 -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
673fc874ac Merge pull request #298 from HDInnovations/Graceful-Errors
Graceful Errors
2018-06-11 13:45:46 -04:00
HDVinnie
0d4b56b47a (Update) Gallery System
- ability for user to delete there own album assuming its within 24
hours of creation date.
2018-06-10 11:39:01 -04: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
7bba3011e8 (Update) Album Controller 2018-06-05 16:34:06 -04:00
HDVinnie
3a9987e26a (Update) Controllers 2018-06-05 16:23:39 -04:00
HDVinnie
074d922e87 (Update) Restrict Deleting To Staff 2018-06-03 22:33:39 -04:00
HDVinnie
dc901da39b (Update) Album Controller 2018-05-31 21:09:10 -04:00
HDVinnie
18f5410966 (Update) Controllers 2018-05-31 21:04:53 -04:00
HDVinnie
816f662749 (Update) Album Controller 2018-05-31 15:46:13 -04:00
HDVinnie
c75fe10553 (Fix) Typo 2018-05-31 14:15:24 -04:00
HDVinnie
ab9b6c984c (Update) Album Controller 2018-05-31 11:47:02 -04:00
HDVinnie
89574a2fa7 (Update) Album Controller
- change cover_image size
2018-05-31 11:25:34 -04:00
HDVinnie
cddc01c16b (Update) Add Album Controller 2018-05-31 11:14:07 -04:00