snipe-it/app
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
..
Console Features/nicer notifications (#5886) 2018-07-18 19:15:45 -07:00
Events Version 3 - hold onto your butts 2016-03-25 01:18:05 -07:00
Exceptions Assetcontroller cleanup (#5858) 2018-07-16 17:44:03 -07:00
Helpers Remove old helpers (#5843) 2018-07-16 14:22:25 -07:00
Http Monster: Cleanup/Refactor http controllers. (#5916) 2018-07-24 19:35:26 -07:00
Importer Userimport fixes/improvements (#5884) 2018-07-18 19:15:07 -07:00
Jobs Version 3 - hold onto your butts 2016-03-25 01:18:05 -07:00
LegacyEncrypter First stab at a recrypter for legacy mcrypt conversion 2017-08-21 22:30:56 -07:00
Listeners Fixed typo 2018-07-17 01:03:32 -07:00
Models Monster: Cleanup/Refactor http controllers. (#5916) 2018-07-24 19:35:26 -07:00
Notifications Monster: Cleanup/Refactor http controllers. (#5916) 2018-07-24 19:35:26 -07:00
Observers Fixed #4652 - asset not correctly checking out to user on creation 2018-01-17 12:10:28 -08:00
Policies Adds permission checks for custom fields and custom fieldsets (#5645) (#5795) 2018-07-12 18:28:20 -07:00
Presenters Fixed #5872 - asset maintenances listing showing created_at instead of start_date 2018-07-18 02:24:53 -07:00
Providers Fixed #5938 - added “self location edit” as permission 2018-07-24 12:42:16 -07:00