A free open source IT asset/license management system
Find a file
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
.github Updated Github issue template with correct doc URL 2016-10-29 06:06:49 -07:00
app Importer mapping - v1 (#3677) 2017-06-21 16:37:37 -07:00
bootstrap Version 3 - hold onto your butts 2016-03-25 01:18:05 -07:00
bower_components Fixed stupid font error for fontawesome 2017-01-18 04:34:59 -08:00
build Importer mapping - v1 (#3677) 2017-06-21 16:37:37 -07:00
config [WIP] Improvements to unit tests. (#3574) 2017-06-12 17:39:03 -07:00
database Importer mapping - v1 (#3677) 2017-06-21 16:37:37 -07:00
docker Apply PR #3616 (Docker updates) 2017-06-01 20:53:01 -07:00
public Importer mapping - v1 (#3677) 2017-06-21 16:37:37 -07:00
resources Importer mapping - v1 (#3677) 2017-06-21 16:37:37 -07:00
routes Importer mapping - v1 (#3677) 2017-06-21 16:37:37 -07:00
sample_csvs Importer mapping - v1 (#3677) 2017-06-21 16:37:37 -07:00
storage Make .gitignore and .gitkeep files permissions match their directories (#3018) 2016-12-05 15:08:37 -08:00
tests Hopefully fixes #3203 and #3439 2017-06-15 19:42:43 -07:00
.all-contributorsrc Updated contribs 2017-06-05 23:54:13 -07:00
.dockerignore Version 3 - hold onto your butts 2016-03-25 01:18:05 -07:00
.env.example Move cipher into the .env 2017-01-09 19:41:24 -08:00
.env.testing AssetTransformer refactoring, restored tests (#3407) 2017-03-14 08:37:39 -07:00
.env.testing-ci Two asset maintence related fixes (#3101) 2016-12-26 15:17:12 -08:00
.env.tests [WIP] Improvements to unit tests. (#3574) 2017-06-12 17:39:03 -07:00
.gitattributes Version 3 - hold onto your butts 2016-03-25 01:18:05 -07:00
.gitignore AssetTransformer refactoring, restored tests (#3407) 2017-03-14 08:37:39 -07:00
.htaccess Prevent direct viewing of .env file if installed in a subdirectory 2016-04-19 19:44:09 -07:00
.travis.yml Fix travis with new observer code (#3683) 2017-06-20 20:38:13 -07:00
artisan Version 3 - hold onto your butts 2016-03-25 01:18:05 -07:00
bower.json Font-awesome for bower 2017-01-11 06:53:49 -08:00
c3.php [Security] Updating Guzzle to address CVE-2016-5385 2016-07-19 00:36:50 -07:00
CODE_OF_CONDUCT.md Fixes #2953 - re-adding the CoC 2016-11-21 18:51:42 -08:00
codeception.yml Partialize forms (#2884) 2016-11-16 16:56:57 -08:00
composer.json Importer mapping - v1 (#3677) 2017-06-21 16:37:37 -07:00
composer.lock Importer mapping - v1 (#3677) 2017-06-21 16:37:37 -07:00
crowdin.yml Update Crowdin configuration file 2017-04-06 20:59:24 -07:00
docker.env Removed Brady’s email address 2017-05-15 19:51:05 -07:00
Dockerfile Apply PR #3616 (Docker updates) 2017-06-01 20:53:01 -07:00
gh-changelog.php Version 3 - hold onto your butts 2016-03-25 01:18:05 -07:00
gulpfile.js Assorted fixed (#3332) 2017-02-22 22:49:06 -08:00
index.html Fixes #3139 and #3230 - use native font stack, removing google fonts 2017-01-24 17:02:39 -08:00
install.sh Fetch the installer from master instead of v3 branch. (#2266) 2016-07-19 09:41:00 -07:00
LICENSE Version 3 - hold onto your butts 2016-03-25 01:18:05 -07:00
package.json Importer mapping - v1 (#3677) 2017-06-21 16:37:37 -07:00
phpunit.xml [WIP] Improvements to unit tests. (#3574) 2017-06-12 17:39:03 -07:00
README.md Add @steveelwood as a contributor 2017-06-01 21:03:05 -07:00
server.php Version 3 - hold onto your butts 2016-03-25 01:18:05 -07:00
snipeit.sh Fixes #3649 (#3650) 2017-06-09 12:23:32 -07:00
webpack.mix.js Fixes #3644 - broken datepicker 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.