-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information
Showing
5 changed files
with
248 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.