snipe-it/app/Importer
Daniel Meltzer 638a7b2d91 Assetcontroller cleanup (#5858)
* Extract method/cleanup

* Remove apiStore method that is unusued since api controllers.

* Use proper model exception

* Remove old user importer.  This is now supported by the general importer framework.

* Refactor AssetsController methods.

This is a giant diff without many functional changes, mostly cosmetic.
I've pulled a number of methods out of assetscontroller, preferring
instead to create some more targetted controllers for related actions.
I think this cleans up the file some, and suggests some places for
future targetted improvement.

Fix weird missing things.

* Fix Unit test failing after date changes.

* Pass valid string to be translated.

* Some method cleanup for codacy.

* Extract trait for common checkout uses and codacy fixes.
2018-07-16 17:44:03 -07:00
..
AccessoryImporter.php Hotfix: Disabling the event dispatcher broke model validation. (#4912) 2018-01-25 10:10:56 -08:00
AssetImporter.php Importer2 checkout (#5771) 2018-07-05 12:22:24 -07:00
ComponentImporter.php Hotfix: Disabling the event dispatcher broke model validation. (#4912) 2018-01-25 10:10:56 -08:00
ConsumableImporter.php Importer2 checkout (#5771) 2018-07-05 12:22:24 -07:00
import_mappings.md Importer tests + Fixes (#3733) 2017-07-11 20:37:02 -07:00
Importer.php Assetcontroller cleanup (#5858) 2018-07-16 17:44:03 -07:00
ItemImporter.php Importer2 checkout (#5771) 2018-07-05 12:22:24 -07:00
LicenseImporter.php Importer2 checkout (#5771) 2018-07-05 12:22:24 -07:00
UserImporter.php Fix #5408. (#5715) 2018-06-20 01:59:04 -07:00