snipe-it/app/Models
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
..
Recipients
Traits Removes the typehint for search term string (#5904) 2018-07-20 13:23:44 -07:00
Accessory.php Refactoring: A nicer and easier syntax for searching models (#5841) 2018-07-16 14:13:07 -07:00
Actionlog.php Refactoring: A nicer and easier syntax for searching models (#5841) 2018-07-16 14:13:07 -07:00
Asset.php Checkout update locationid (#5919) 2018-07-23 06:47:21 -07:00
AssetMaintenance.php Fixed #5895 - wrong date validation in maintenances 2018-07-19 10:19:55 -07:00
AssetModel.php Refactoring: A nicer and easier syntax for searching models (#5841) 2018-07-16 14:13:07 -07:00
Category.php Refactoring: A nicer and easier syntax for searching models (#5841) 2018-07-16 14:13:07 -07:00
CheckoutRequest.php
Company.php Refactoring: A nicer and easier syntax for searching models (#5841) 2018-07-16 14:13:07 -07:00
CompanyableChildScope.php
CompanyableChildTrait.php
CompanyableScope.php
CompanyableTrait.php
Component.php Refactoring: A nicer and easier syntax for searching models (#5841) 2018-07-16 14:13:07 -07:00
Consumable.php Fix: No Notifications for checking out Consumables (#5898) 2018-07-20 13:22:49 -07:00
ConsumableAssignment.php
CustomField.php Adds textarea as a custom field type 2018-06-21 09:35:04 -07:00
CustomFieldset.php
Department.php Refactoring: A nicer and easier syntax for searching models (#5841) 2018-07-16 14:13:07 -07:00
Depreciable.php
Depreciation.php Refactoring: A nicer and easier syntax for searching models (#5841) 2018-07-16 14:13:07 -07:00
Group.php Refactoring: A nicer and easier syntax for searching models (#5841) 2018-07-16 14:13:07 -07:00
ICompanyableChild.php
Import.php
Ldap.php Fixes wrong users index route name 2018-04-26 16:31:02 -07:00
License.php Fix: No Notifications for checking out Consumables (#5898) 2018-07-20 13:22:49 -07:00
LicenseSeat.php Monster: Cleanup/Refactor http controllers. (#5916) 2018-07-24 19:35:26 -07:00
Location.php Refactoring: A nicer and easier syntax for searching models (#5841) 2018-07-16 14:13:07 -07:00
Loggable.php Update my email address across files. (#5716) 2018-06-20 01:59:59 -07:00
Manufacturer.php Refactoring: A nicer and easier syntax for searching models (#5841) 2018-07-16 14:13:07 -07:00
Requestable.php
Setting.php Fixed #5477 - added GDPR privacy policy link in email and webpage 2018-05-08 00:50:13 -07:00
SnipeModel.php Feature: PostgreSQL support (#5642) 2018-07-12 18:24:43 -07:00
Statuslabel.php Refactoring: A nicer and easier syntax for searching models (#5841) 2018-07-16 14:13:07 -07:00
Supplier.php Refactoring: A nicer and easier syntax for searching models (#5841) 2018-07-16 14:13:07 -07:00
Throttle.php
User.php Fix importer emailformat (#5871) 2018-07-17 16:46:08 -07:00