snipe-it/app
Daniel Meltzer 276e0a7114 Importer: Implement item update and interface improvments (#2507)
* Add support for updating assets to the importer.

If an asset with a matching asset tag is found, and the --update flag is
passed to the importer, we edit the matching asset with any
asset-specific values, and persist to the database.  Any missing/blank
values are skipped.

TODO: Add to web interface, add support in consumables/accessories

* Allow deleting of files on the import page.

* Extend web interface to allow updating of imported items.

This adds a modal dialog to the import process.  Currently the dialog
allows the choice of update vs ignore, and choosing the item type to
import (Accessory, Asset, Consumable).

Also use Helper::ParseFloat() for purchase_cost processing.  It exists,
and fixes issues on my end at least.

* Implement editing of consumables and accessories.

* Rename getProcessImportFile to postProcessImportFile to reflect how it's now used

* Fix copy-pasta error.
2016-08-29 15:49:32 -07:00
..
Console Importer: Implement item update and interface improvments (#2507) 2016-08-29 15:49:32 -07:00
Events Version 3 - hold onto your butts 2016-03-25 01:18:05 -07:00
Exceptions Version 3 - hold onto your butts 2016-03-25 01:18:05 -07:00
Helpers Graceful decryption method 2016-08-25 20:58:56 -07:00
Http Importer: Implement item update and interface improvments (#2507) 2016-08-29 15:49:32 -07:00
Jobs Version 3 - hold onto your butts 2016-03-25 01:18:05 -07:00
Listeners Version 3 - hold onto your butts 2016-03-25 01:18:05 -07:00
Models Fix array generation for select 2016-08-25 21:04:10 -07:00
Policies Version 3 - hold onto your butts 2016-03-25 01:18:05 -07:00
Providers Fixes #2406 - added missing gate for assets.edit 2016-08-09 16:38:43 -07:00