A free open source IT asset/license management system
Find a file
Andrea Bergamasco c0c02eebd2 REST API - Refactoring of routes file, more tests added (#3345)
* Toggles the disabled state of auto_increment_prefix

To insert a prefix you had to toggle the checkbox, save the settings and reload. With this script it is immediate. Fixes #1390

* Delete asset image: made checkbox more visible

Related to #3153

* Added personal-access-token component

* Created basic API testing configuration

* First version of /components endpoind cest

* On-the-fly bearer token generation

* Completed testing of PATCH and PUT methods

* Added /components/{id}/assets route with tests

* Updated route and dataTable in view

* Completed test assertion

* Added links to assets in ComponentsAssets view

* Linked Company in AssetView page

* Fixed purchase_cost format expectation in ApiComponentsCest

* Refactored api routes file

Sorted all prefixes in alphabetical order, removed duplicate routes. For every prefix I placed first Route::resource and then any additional route in a Route::group. Expanded arrays for readability and consistency. Removed useless calls as create and edit everywhere.

* Refactored and added one more test to ApiComponentsAssetsCest

* Marked one test as incomplete, 404 response should return json

* Fixed value expectation

* Refactored getToken()

* Added API debugging routes

* Added more information to ValidationException reporting

Now the payload contains the validation errors for each invalid
attribute.

* /apitests: refactored expectations in component assertions

* Created ApiAssetsCest

* /apitests: Cleanup in Exceptions/Handler

* Reverted change to use

* Marked two tests as incomplete, looking for solutions
2017-02-23 16:32:35 -08:00
.github Updated Github issue template with correct doc URL 2016-10-29 06:06:49 -07:00
app REST API - Refactoring of routes file, more tests added (#3345) 2017-02-23 16:32:35 -08: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
config Additional permissions 2017-02-22 22:21:26 -08:00
database Updated migration to fix field names 2017-01-26 04:49:01 -08:00
docker Merge remote-tracking branch 'origin/develop' 2016-09-06 10:35:33 -07:00
public Assorted fixed (#3332) 2017-02-22 22:49:06 -08:00
resources Added created_at and modified_at to asset listing/api 2017-02-23 16:23:02 -08:00
routes REST API - Refactoring of routes file, more tests added (#3345) 2017-02-23 16:32:35 -08:00
sample_csvs Importer: Add License Importer and refactor (#3143) 2017-01-10 16:19:18 -08:00
storage Make .gitignore and .gitkeep files permissions match their directories (#3018) 2016-12-05 15:08:37 -08:00
tests REST API - Refactoring of routes file, more tests added (#3345) 2017-02-23 16:32:35 -08: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 Cleanup controller escaping (#3084) 2016-12-19 22:00:50 -08:00
.env.testing-ci Two asset maintence related fixes (#3101) 2016-12-26 15:17:12 -08:00
.env.tests Cleanup controller escaping (#3084) 2016-12-19 22:00:50 -08:00
.gitattributes Version 3 - hold onto your butts 2016-03-25 01:18:05 -07:00
.gitignore Ignore generated OAuth keys 2016-12-14 10:05:54 -08:00
.htaccess Prevent direct viewing of .env file if installed in a subdirectory 2016-04-19 19:44:09 -07:00
.travis.yml Another Travis Fix (#3211) 2017-01-19 11:48:06 -08: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
circle.yml Version 3 - hold onto your butts 2016-03-25 01:18:05 -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 Laravel 5.4 2017-02-02 18:54:54 -08:00
composer.lock Laravel 5.4 2017-02-02 18:54:54 -08:00
docker.env Add reply-to config setting 2016-09-20 07:20:10 -07:00
Dockerfile Fixes dockerfile for persistent assets 2016-11-11 20:30:04 -08: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 Tried to fix build environment/select2 (#3262) 2017-02-02 18:53:50 -08:00
phpunit.xml Try using the testing-ci version of phpunit.xml 2016-04-13 02:19:50 -07:00
README.md Updated readme with security notice 2016-12-12 19:03:12 -08:00
server.php Version 3 - hold onto your butts 2016-03-25 01:18:05 -07:00
snipeit.sh Apologies. Still learning Git, and CentOS isn't a big strength for me. (#2701) 2016-09-29 22:37:05 -07:00

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

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.2.

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 hasn't already been answered before opening a new issue.


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.


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.