Daniel Meltzer
|
fd0d04eba4
|
Import status labels.
|
2016-05-25 20:46:01 -05:00 |
|
Daniel Meltzer
|
22c6f32e92
|
Instead of a field in the csv, set whether assets, consumables, or accessories are generated by an option on the command line. Also Adjustconsumables/accessories to function smoother.
|
2016-05-25 20:37:19 -05:00 |
|
Daniel Meltzer
|
04428d2d07
|
Replace console output in ObjectImporter with a logging mechanism. Also track all model/validation errors and output them at the end of the import, rather than inline.
|
2016-05-25 20:37:19 -05:00 |
|
Daniel Meltzer
|
592ce4c2de
|
Readd sample.csv. Also port away from Sentry in the importer to be laravel5 compliant.
|
2016-05-18 23:33:18 -05:00 |
|
Daniel Meltzer
|
4f70fa88d9
|
Rename to snipeit:import
|
2016-05-18 22:40:02 -05:00 |
|
Daniel Meltzer
|
173c3de36a
|
Add the asset to the cache after creating it as well.
|
2016-05-18 22:40:02 -05:00 |
|
Daniel Meltzer
|
2a56148ec2
|
Remove extraneuous htmlentities() calls, now that we call it in array_smart_fetch
|
2016-05-18 22:40:02 -05:00 |
|
Daniel Meltzer
|
df749f26f5
|
Add the company/suppliers to the cache. This fixes some issues with duplicate items existing
|
2016-05-18 22:40:02 -05:00 |
|
Daniel Meltzer
|
191ae110d0
|
* Alphabetize the createOrFetch methods
* Move the html escaping to array_smart_fetch to avoid duplication
* Ensure string comparisons have === everywhere
|
2016-05-18 22:40:02 -05:00 |
|
Daniel Meltzer
|
5821127a79
|
Update/port ObjectImportComandd to work with v3. Also change to do one big transactional commit instead of writing to db after each item. Went from a 2 minute import to a 5 second import for a 2000 item file. I still need to do some more santization of the input and work on error handling, but this seems to be in decent shape.
|
2016-05-18 22:40:02 -05:00 |
|