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
2017-06-21 16:37:37 -07:00
2017-06-21 16:37:37 -07:00
2017-06-21 16:37:37 -07:00
2017-06-01 20:53:01 -07:00
2017-06-21 16:37:37 -07:00
2017-06-21 16:37:37 -07:00
2017-06-21 16:37:37 -07:00
2017-06-21 16:37:37 -07:00
2017-06-15 19:42:43 -07:00
2017-06-05 23:54:13 -07:00
2016-03-25 01:18:05 -07:00
2017-01-09 19:41:24 -08:00
2016-03-25 01:18:05 -07:00
2017-01-11 06:53:49 -08:00
2016-11-16 16:56:57 -08:00
2017-06-21 16:37:37 -07:00
2017-06-21 16:37:37 -07:00
2017-04-06 20:59:24 -07:00
2017-05-15 19:51:05 -07:00
2017-06-01 20:53:01 -07:00
2017-02-22 22:49:06 -08:00
2016-03-25 01:18:05 -07:00
2017-06-21 16:37:37 -07:00
2017-06-01 21:03:05 -07:00
2016-03-25 01:18:05 -07:00
2017-06-09 12:23:32 -07:00
2017-06-09 18:53:19 -07:00

Build Status Stories in Ready Maintenance Crowdin Gitter Docker Pulls Twitter Follow Zenhub Codacy Badge All Contributors

Snipe-IT - Open Source Asset Management System

This is a FOSS project for asset management in IT Operations. Knowing who has which laptop, when it was purchased in order to depreciate it correctly, handling software licenses, etc.

It is built on Laravel 5.4.

Snipe-IT is actively developed and we're releasing quite frequently. (Check out the live demo here.)

This is web-based software. This means there there is no executable file (aka no .exe files), and it must be run on a web server and accessed through a web browser. It runs on any Mac OSX, flavor of Linux, as well as Windows, and we have a Docker image available if that's what you're into.


Installation

For instructions on installing and configuring Snipe-IT on your server, check out the installation manual. (Please see the requirements documentation for full requirements.)

If you're having trouble with the installation, please check the Common Issues and Getting Help documentation, and search this repository's open and closed issues for help.


User's Manual

For help using Snipe-IT, check out the user's manual.


Bug Reports & Feature Requests

Feel free to check out the GitHub Issues for this project to open a bug report or see what open issues you can help with. Please search through existing issues (open and closed) to see if your question has already been answered before opening a new issue.

PLEASE see the Getting Help Guidelines and Common Issues before opening a ticket, and be sure to complete all of the questions in the Github Issue template to help us to help you as quickly as possible.


Upgrading

Please see the upgrading documentation for instructions on upgrading Snipe-IT.


Announcement List

To be notified of important news (such as new releases, security advisories, etc), sign up for our list. We'll never sell or give away your info, and we'll only email you when it's important.


Translations!

Please see the translations documentation for information about available languages and how to add translations to Snipe-IT.


Contributors

Thanks goes to all of these wonderful people (emoji key) who have helped Snipe-IT get this far:


snipe

💻 🚇 📖 ⚠️ 🐛 🎨 👀

Brady Wetherington

💻 📖 🚇 👀

Daniel Meltzer

💻 ⚠️ 📖

Michael T

💻

madd15

📖 💬

Vincent Sposato

💻

Andrea Bergamasco

💻

Karol

🌍 💻

morph027

💻

fvleminckx

🚇

itsupportcmsukorg

💻 🐛

Frank

💻

Deleted user

🌍

tiagom62

💻 🚇

Ryan Stafford

💻

Eammon Hanlon

💻

zjean

💻

Matthias Frei

💻

opsydev

💻

Daniel Dreier

💻

Nikolai Prokoschenko

💻

Drew

💻

Walter

💻

Petr Baloun

💻

reidblomquist

📖

Mathieu Kooiman

💻

csayre

📖

Adam Dunson

💻

Hereward

💻

swoopdk

💻

Abdullah Alansari

💻

Micael Rodrigues

💻

Patrick Gallagher

📖

Miliamber

💻

hawk554

💻

Justin Kerr

💻

Ira W. Snyder

📖

Aladin Alaily

💻

Chase Hansen

💻 💬 🐛

IDM Helpdesk

💻

Kai

💻

Michael Daniels

💻

Tom Castleman

💻

Daniel Nemanic

💻

SouthWolf

💻

Ivar Nesje

💻

Jérémy Benoist

📖

Chris Leathley

🚇

splaer

🐛 💻

Joe Ferguson

💻

diwanicki

💻 📖

Lee Thoong Ching

📖 💻

Marek Šuppa

💻

Juan J. Martinez

🌍

R Ryan Dial

🌍

Andrej Manduch

📖

Jay Richards

💻

Alexander Innes

💻

Danny Garcia

💻

archpoint

💻

Jake McGraw

💻

FleischKarussel

📖

Dylan Yi

💻

Gil Rutkowski

💻

Desmond Morris

💻

Nick Peelman

💻

Abraham Vegh

💻

Mohamed Rashid

📖

Kasey

💻

Brett

⚠️

Jason Spriggs

💻

Nate Felton

💻

Manasses Ferreira

💻

Steve

⚠️

This project follows the all-contributors specification. Contributions of any kind welcome!


Contributing

Please see the documentation on contributing and developing for Snipe-IT.

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.


Security

To report a security vulnerability, please email security@snipeitapp.com instead of using the issue tracker.

S
Description
A free open source IT asset/license management system
Readme AGPL-3.0 342 MiB
Languages
PHP 91.8%
Blade 6.9%
Less 0.8%
JavaScript 0.3%
Shell 0.2%