snipe-it/resources/views
Daniel Meltzer 61c6160b98 Importer mapping - v1 (#3677)
* Move importer to an inline-template, allows for translations and easier passing of data from laravel to vue.

* Pull the modal out into a dedicated partial, move importer to views/importer.

* Add document of CSV->importer mappings.  Reorganize some code.

Progress.

* Add header_row and first_row to imports table, and process upon uploading a file

* Use an expandable table row instead of a modal for import processing.  This should allow for field mapping interaction easier.

* Fix import processing after moving method.

* Frontend importer mapping improvements.

Invert display so we show found columns and allow users to select an
importer field to map to.  Also implement sample data based on first row
of csv.

* Update select2.  Maintain selected items properly.

* Backend support for importing.  Only works on the web importer currently.  Definitely needs testing and polish.

* We no longer use vue-modal plugin.

* Add a column to track field mappings to the imports table.

* Cleanup/rename methods+refactor

* Save field mappings and import type when attempting an import, and repopulate these values when returning to the page.

* Update debugbar to fix a bug in the debugbar code.

* Fix asset tag detection.

Also rename findMatch to be a bit clearer as to what it does.
  Remove logging to file of imports for http imports because
it eats an incredible amouint of memory.

This commit also moves imports out of the hardware namespace and into
their own webcontroller and route prefix, remove dead code from
AssetController as a result.

* Dynamically limit options for select2 based on import type selected, and group them by item type.

* Add user importer.

Still need to implement emailing of passwords to new users, and probably
test a bit more.

This also bumps the memory limit for web imports up as well, I need to
profile memory usage here before too long.

* Query the db to find user matches rather than search the array.  Performance is much much better.

* Speed/memory improvements in importers.

Move to querying the db rather than maintaining an array for all
importers.  Also only store the id of items when we import, rather than
the full model.  It saves a decent amount of memory.

* Remove grouping of items in select2

With the values being set dynamically, the grouping is redundant.  It
also caused a regression with automatically guessing/matching field
names.  This is starting to get close.

* Remove debug line on every create.

* Switch migration to be text field instead of json field for compatibility with older mysql/mariadb

* Fix asset import regression matching email address.

* Rearrange travis order in attempt to fix null settings.

* Use auth::id instead of fetching it off the user.  Fixes a null object reference during seeding.
2017-06-21 16:37:37 -07:00
..
accessories Accessories API routes 2017-01-25 02:19:26 -08:00
account Updated asset url 2017-05-31 13:57:23 -07:00
admin Reformat all view files. (#3105) 2016-12-27 12:03:47 -08:00
asset_maintenances Switch companyName to company 2017-01-26 21:05:33 -08:00
auth Use url() helper over URL::to 2016-12-15 16:41:36 -08:00
categories Fixes #3605 - missing table close tag causing page layout bonking 2017-05-23 03:20:50 -07:00
companies Fixes #3604 - company view not displaying assets on page load 2017-06-01 20:28:09 -07:00
components Updated route for asset display 2017-03-11 12:14:41 -08:00
consumables Use new presenter for colum headers 2017-03-11 12:13:14 -08:00
custom_fields Added optional help text field to custom fields 2017-01-26 04:52:11 -08:00
departments Dept views 2017-05-23 02:50:27 -07:00
depreciations Depreciations API 2017-02-01 17:59:03 -08:00
emails Use url() helper over URL::to 2016-12-15 16:41:36 -08:00
errors Formatting for error pages 2017-06-06 02:32:04 -07:00
groups Fixes #3634 - use new routes for groups 2017-06-08 20:24:26 -07:00
hardware Importer mapping - v1 (#3677) 2017-06-21 16:37:37 -07:00
importer Importer mapping - v1 (#3677) 2017-06-21 16:37:37 -07:00
layouts Importer mapping - v1 (#3677) 2017-06-21 16:37:37 -07:00
licenses Fixes #3644 - broken datepicker 2017-06-09 18:53:19 -07:00
locations [WIP] Improvements to unit tests. (#3574) 2017-06-12 17:39:03 -07:00
manufacturers Narrowed down the accessories, consumables, etc APIs for manufacturer filtering 2017-03-11 02:49:24 -08:00
models Fixes #3414 - bulk update for asset models 2017-06-08 17:48:48 -07:00
paginator Version 3 - hold onto your butts 2016-03-25 01:18:05 -07:00
partials Fixes #3644 - broken datepicker 2017-06-09 18:53:19 -07:00
reports Fixes #3603 - Depreciation report crashes 2017-06-01 20:31:44 -07:00
settings Add next auto-increment to settings form 2017-06-20 12:23:16 -07:00
setup Fixes #3579 2017-05-15 19:28:26 -07:00
statuslabels Updated asset url 2017-05-31 13:57:23 -07:00
suppliers Fixes #3491 - adds supplier info to assets listing 2017-04-22 19:14:28 -05:00
users Fixes #3652 - missing groups UI element in user edit view 2017-06-09 12:19:12 -07:00
vendor Remove google font from maintenance mode template 2017-01-24 17:03:48 -08:00
dashboard.blade.php Fixed dashboard size element 2017-06-06 15:19:19 -07:00
notifications.blade.php Translations and nicer formatting for login/password reset 2016-05-20 00:25:45 -07:00