snipe
2a7469d898
Fix uniqueness issue on saving edited fields
2017-01-25 04:52:47 -08:00
snipe
b1a80f8ed8
Fixes #1684 - Allow editing of custom fields
...
@uberbrady can finally get out of the sea
2017-01-25 04:34:11 -08:00
snipe
5f49e7c1a7
Accessories API routes
...
Still a bit of a WIP
2017-01-25 02:19:26 -08:00
snipe
04bb180a80
More bootstrap tables formatting
2017-01-24 22:25:17 -08:00
snipe
8f12486f6c
More generic javascript formatters, updated api routes
2017-01-24 21:04:38 -08:00
snipe
ebe3f58805
Added missing manufacturer data on save
2017-01-24 18:57:03 -08:00
snipe
88faefe1ed
Licenses listing index API
2017-01-24 18:56:27 -08:00
snipe
b019e6e950
Removed closures from routes files so that we can allow people to cache routes for performance optimization
2017-01-24 17:37:07 -08:00
snipe
ad4bf83aaa
Add ability to view assets by status label
...
This should be refactored. Lots of copypaste from the assets views here
2017-01-18 20:41:40 -08:00
snipe
ea3d45882d
Fix bulk actions with new bootstrap tables checkboxes
2017-01-18 19:38:42 -08:00
snipe
297034c037
APIified custom fields reorder
2017-01-18 04:58:56 -08:00
snipe
39b4725114
Load assigneruser relationship
2017-01-13 22:17:20 -08:00
snipe
ba71122449
Removed old datatable method from Locations
2017-01-13 21:00:25 -08:00
snipe
2879114fe9
Misc API cleanup for assets
2017-01-13 11:41:00 -08:00
snipe
b968839a1d
Pull out extraneous use statements
2017-01-13 11:38:25 -08:00
snipe
89edda2c23
Manufacturers API
2017-01-13 09:37:06 -08:00
snipe
213a234bef
Check for valid category types in validation
2017-01-13 09:27:32 -08:00
snipe
14ddcc56a2
Categories API
2017-01-13 09:01:10 -08:00
snipe
edca6ad19d
Make eol, notes sortable on asset model
2017-01-13 08:41:17 -08:00
snipe
ae540af2a9
Additional fields for asset models
2017-01-13 08:39:02 -08:00
snipe
34f427920b
Removed legacy getDataTable method from status labels
2017-01-13 08:18:37 -08:00
snipe
e7a243f8bc
Added search, sorting to assetmodels
2017-01-13 08:18:22 -08:00
snipe
66f724cd35
Added created_at to status labels for consistency
2017-01-13 07:55:03 -08:00
snipe
b423fa3bd4
Added sorting, searching, etc to status labels index
2017-01-13 07:47:39 -08:00
snipe
295744be64
Added searching, sorting, etc to locations API
2017-01-13 07:40:08 -08:00
snipe
c7e1b426e7
Additional API routes and controllers for models, suppliers, users, locations and status labels
2017-01-13 04:50:20 -08:00
snipe
bc5fcf8736
Fixed dashboard chart
2017-01-13 03:19:39 -08:00
snipe
58b1ac5f0f
Some route/transformer edits
2017-01-13 00:13:57 -08:00
snipe
4f35c8af3e
Docblock edits
2017-01-12 23:43:45 -08:00
snipe
9c41881d99
Use transformers for API response
...
This is experimental
2017-01-12 23:42:39 -08:00
snipe
f52680b971
Masde response formatting a little nicer
2017-01-12 23:41:45 -08:00
snipe
b11a951e95
Starter API controllers
2017-01-12 19:40:20 -08:00
snipe
d9d048f90d
Fixed #2303 - redirect correctly after login
2017-01-12 07:09:44 -08:00
snipe
534e40feb8
Fixed bad fieldset call
2017-01-12 03:55:54 -08:00
snipe
a283b13069
Handled bad model id
2017-01-12 03:53:52 -08:00
snipe
41b864cc49
Added update method for assets
2017-01-12 03:48:18 -08:00
snipe
7d2d6a3c1b
Removed unused use statements
2017-01-12 02:53:43 -08:00
snipe
29b5678a8d
Format destroy responses
2017-01-12 02:50:55 -08:00
snipe
15373d5f4a
Fixed a few asset API issues
2017-01-12 02:19:55 -08:00
snipe
268308004c
Fixed number of results returned
2017-01-11 23:45:03 -08:00
snipe
0cf4014b75
Merge branch 'develop' of github.com:snipe/snipe-it into develop
2017-01-11 23:41:02 -08:00
snipe
95f2d94e01
Added create/destroy methods for asset API
2017-01-11 23:40:56 -08:00
Richard Hofman
c506f30562
Add support for location-specific LDAP OUs. ( #3176 )
...
* Add support for location-specific LDAP OUs.
* Shortened variable names as suggested by Codacy review.
2017-01-11 23:37:14 -08:00
snipe
2c695cf7e5
404 JSON response if the asset is not found
...
(Brady and I will argue about this forever)
2017-01-11 19:12:25 -08:00
snipe
74696d5ded
View asset API
2017-01-11 19:00:34 -08:00
snipe
7a124e85d6
Cleaned up unused use statements
2017-01-11 18:26:05 -08:00
snipe
900e6e2419
Starter asset API
2017-01-11 18:14:06 -08:00
snipe
15bab7fa9e
Test Auth::guard('api')->user() as user_id
2017-01-11 14:55:04 -08:00
Daniel Meltzer
9bbfb64f17
Add a use declaration to Userscontroller to prevent assigning the wrong item_type. Should fix/prevent #3160 ( #3168 )
2017-01-11 04:27:05 -08:00
Daniel Meltzer
44683c784f
Importer: Add License Importer and refactor ( #3143 )
...
* Major code simplification of the importers.
Move towards using Model::fill and Model::update rather than reinventing
the wheel. This makes the updating/creating logic a lot clearer, and
allows for the deletion of a lot of code. Also allows for supporting of
more fields in the future really easily.
* Cleanup constructors and use setters instead.
* Set the LC_MONETARY locale, and use it to strip currency symbols in Helper::parseFloat()
* Move licenseseat creation/deletion logic into an event handler on the model rather than the controller.
* Move the logging of parsed values to array_smart_fetch rather than writing it out everywhere
* Move to storing dates as carbon rather than strings. Allows for the parsing of more arbitrary strings from the importer
* Add a license importer with support for checking out to users or assets.
* Make a directory for sample/mock import csvs and populate it
* Adjust how we store/retrieve dates to fix some issues the tests found.
2017-01-10 16:19:18 -08:00