snipe-it/app/Http/Requests
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
..
AssetCheckinRequest.php Version 3 - hold onto your butts 2016-03-25 01:18:05 -07:00
AssetCheckoutRequest.php Validate checkout_to_type on asset checkout 2017-11-27 21:20:12 -08:00
AssetFileRequest.php Monster: Cleanup/Refactor http controllers. (#5916) 2018-07-24 19:35:26 -07:00
AssetRequest.php Feature: PostgreSQL support (#5642) 2018-07-12 18:24:43 -07:00
CustomFieldRequest.php Fixed - name should always be required in custom fields 2017-11-06 20:05:40 -08:00
ImageUploadRequest.php Monster: Cleanup/Refactor http controllers. (#5916) 2018-07-24 19:35:26 -07:00
ItemImportRequest.php Importer again (#4702) 2017-12-28 20:08:45 -08:00
LicenseCheckoutRequest.php Monster: Cleanup/Refactor http controllers. (#5916) 2018-07-24 19:35:26 -07:00
Request.php Added better form request handling 2017-01-12 02:20:20 -08:00
SaveUserRequest.php Allow setting of "ldap_import" through the API (#5218) 2018-04-20 14:02:52 -07:00
SettingsLdapRequest.php Move LDAP validation into form request 2017-08-31 10:44:00 -07:00
SetupUserRequest.php Updated validation 2016-06-01 15:45:05 -07:00