snipe-it/app/Notifications
Daniel Meltzer 64d649be7f Monster: Cleanup/Refactor http controllers. (#5916)
* Extract a handlesimages trait to centralize logic for parsing/storing images on upload in create/edit methods.

* Use same image upload/layout in accessories as consum+components.

* Monster: Cleanup/Refactor http controllers.

This cleans up docblocks, pulls most non-crudy actions into their own
controllers, and does general cleanup/logic refactoring.  There /should/
be no functional changes, but we all know how should works..

Extract checkin/checkout functions to a separate controller for accessories.

Move controllers to subdirectory.

Cleanup AssetModelsController

Extract component checkin/checkout

Assorted cleanups/doc/formatting in controllers.

Refactor LicenseController.

Refactor UsersController

Update viewassetscontroller.

* Codacy cleanups

* More codacy cleanups.  Extract a LicenseCheckout Form request as well.

* A bit more refactor/cleaning of the license checkout method.

* Review Related Cleanups

* Fix most of the item_not_found translations.  In many cases, the
string being generated did not even use the id parameter.  Where it
does, pass it as id instead of as a different value.

* Remove some old $data arrays from when we manually sent emails from
the controllers.  This has been superseeded by the notification system
(yay!)

* Bugfix: Only log the checkin of an accessory if the checkin completes sucessfully.
2018-07-24 19:35:26 -07:00
..
AuditNotification.php Use notifiables for slack audit notification 2017-08-31 21:30:38 -07:00
CheckinAccessoryNotification.php Fixing #5470: Checkin emails not working (#5838) 2018-07-16 14:09:04 -07:00
CheckinAssetNotification.php Fixing #5470: Checkin emails not working (#5838) 2018-07-16 14:09:04 -07:00
CheckinLicenseNotification.php Fixing #5470: Checkin emails not working (#5838) 2018-07-16 14:09:04 -07:00
CheckoutAccessoryNotification.php Fixing #5470: Checkin emails not working (#5838) 2018-07-16 14:09:04 -07:00
CheckoutAssetNotification.php Fixing #5470: Checkin emails not working (#5838) 2018-07-16 14:09:04 -07:00
CheckoutConsumableNotification.php Monster: Cleanup/Refactor http controllers. (#5916) 2018-07-24 19:35:26 -07:00
CheckoutLicenseNotification.php Fixing #5470: Checkin emails not working (#5838) 2018-07-16 14:09:04 -07:00
ExpectedCheckinAdminNotification.php Added admin alert on expiring notifications 2018-05-08 05:27:03 -07:00
ExpectedCheckinNotification.php Added last name to expected checkin notification 2018-05-21 17:34:27 -07:00
ExpiringAssetsNotification.php Features/nicer notifications (#5886) 2018-07-18 19:15:45 -07:00
ExpiringLicenseNotification.php Features/nicer notifications (#5886) 2018-07-18 19:15:45 -07:00
FirstAdminNotification.php New First Admin Notification (#5147) 2018-03-03 14:37:42 -08:00
InventoryAlert.php Features/nicer notifications (#5886) 2018-07-18 19:15:45 -07:00
MailTest.php New Test Notification (#5137) 2018-03-02 18:01:20 -08:00
RequestAssetCancelation.php WIP - Improved requested assets (#5289) 2018-04-04 17:33:02 -07:00
RequestAssetNotification.php WIP - Improved requested assets (#5289) 2018-04-04 17:33:02 -07:00
SlackTest.php Added Slack test button 2018-02-22 16:35:34 -08:00
WelcomeNotification.php New First Admin Notification (#5147) 2018-03-03 14:37:42 -08:00