snipe
fefd6d60f6
Fixed #4899 - sorting in user history
2018-01-24 04:48:00 -08:00
snipe
a7b8b4bf55
Added: ability to change actual location from bulk edit assets
2018-01-24 04:38:25 -08:00
snipe
7cafa194c1
Fix for counts
2018-01-24 04:26:15 -08:00
snipe
b37f78dbbf
Fixed #4858 - wrong params for id count
2018-01-24 04:24:45 -08:00
snipe
f1bbdc9e59
Revert PR #4845
2018-01-24 03:32:45 -08:00
vcordes79
0fb8dc3418
check if user is allowed to view assets ( #4845 )
2018-01-23 18:10:05 -08:00
vcordes79
f4e9d245d0
Status labels ( #4895 )
...
* fix statuslabels
* fix statuslabels
2018-01-23 18:08:54 -08:00
vcordes79
7b596c750d
API for (dis)associating fields with fieldsets ( #4881 )
...
* start work on fields in fieldset api
* revert CustomFieldsetsController
* fieldset associate / disassociate api
* fix variable names and payload
* fix variable name
2018-01-22 13:14:04 -08:00
snipe
99e55f84f0
Fixed misc UI permissions elements
2018-01-20 04:39:31 -08:00
snipe
34f6d5ab45
Fixed #4671 - corrected component checkin gate
2018-01-20 03:58:59 -08:00
snipe
e6f70f2ab7
Fixed #4821 - add username to user selection dropdown
2018-01-19 23:47:37 -08:00
snipe
95a9742571
Fixed #4768 - adds dashboard message option to settings
2018-01-19 20:43:55 -08:00
snipe
c242abb42e
Added Company policy to fix company deletion issue
2018-01-19 17:51:28 -08:00
snipe
2a959edeba
Added - Setting to allow archived assets in List All
2018-01-17 19:18:48 -08:00
snipe
8995d689b8
Fixed #4817 - [BREAKING API CHANGE] - changed user API response from firstname, lastname to first_name, last_name
2018-01-17 13:25:11 -08:00
snipe
d920d91786
Fixed #4593 - do not require model_id to update asset custom fields via API
2018-01-17 13:12:32 -08:00
snipe
8fff6a1a06
Update asset location based on user checkout in bulk checkout
2018-01-17 12:39:49 -08:00
fordster78
138313dcb9
Setup changes ( #4813 )
...
* Add Asset Tag settings to Setup
* Add Locale Settings to Setup
* Add multiple company support to setup
* Changed the locale label name from 'site_name' to locale
Added default value for language to 'en' and multiple companies support
to 0 (false)
Switched out the old Input facade to the preferred $request->input
method for the setup page.
2018-01-17 10:58:03 -08:00
snipe
91bca5fcba
Fixed #4844 - use input value for ids in user bulk edit
2018-01-17 06:15:52 -08:00
vcordes79
94cf1f8741
Fixes #4829 - add fields api ( #4840 )
...
* add fields api
* change route names
2018-01-17 05:31:57 -08:00
snipe
6bfd428c2e
Use real status label names, even if deployed
2018-01-15 21:03:26 -08:00
snipe
68f1fa0340
Added - ability to sort by asset count in models
2018-01-11 15:21:51 -08:00
snipe
9293f17707
Moved search scope lower to fix weird (possible Laravel) bug w/prepared statements
2018-01-11 15:17:34 -08:00
snipe
3b4a651dd9
Allow counts in mfg sorting
2018-01-11 15:16:23 -08:00
snipe
2bbb6001a8
Added location to seats transformer
2018-01-10 20:36:27 -08:00
snipe
e3d7be23cb
Added new seats controller method
2018-01-10 18:47:57 -08:00
snipe
3d5545494e
Added new seats transformer
2018-01-10 18:47:40 -08:00
snipe
e6259eb6e1
Fixed #4774 - show assets assigned to assets in asset view
...
Todo: Fix text search on the asset to asset tab. It’s currently broken so I’ve disabled it.
2018-01-10 05:44:11 -08:00
snipe
285e4e2e52
Allow bulk language update in user edit
2018-01-10 05:33:26 -08:00
snipe
5587b64d64
Fixed #4770 - broken licenses, etc on company view, added users and components
2018-01-10 03:52:21 -08:00
Brandon Daniel Bailey
f786e07179
Allow auto increment through the API ( #4690 )
...
* Allow auto incrementing asset_id from the API when the setting is enabled
* Cleaned up the if else statement
* Added prefix to the orWhereRaw which causes a database error if the configuration uses a prefix
* Auto incrementing through the API
2018-01-03 17:24:32 -08:00
Daniel Meltzer
f16ce09a7a
Importer again ( #4702 )
...
* If a user id is provided in the name column of an import, we should assume that it is a user id and check out to it.
* Fix build of vue files. The location is public/js/build, not public/build
* Ensure a status type is set before allowing submission of an import.
Also expand the status text label to change color based on success/failure.
Fixes #4658
* Use right key to lookup emails when importing users. Fixes 4619.
* Import serial for components, and make unique matches based on the serial as well as the name. Fixes #4569
* Set the location_id when importing an item properly.
This moves as well to using the Asset::checkout() method, which should consolidate the logic into a useful spot.
Fixes #4563 (I think)
* Production assets.
* Case insensitive field map guessing and repopulate when changingin import type.
2017-12-28 20:08:45 -08:00
snipe
c3a44f25fd
Fixed #4663 - duplicate manufacturer name in selectlist
2017-12-20 12:32:55 -08:00
snipe
d2e2c1c05f
Stub and 404 registration routes
2017-12-19 22:14:51 -08:00
snipe
b716db225f
Added “new” buttons for manufacturer and category in asset model creation
2017-12-19 20:30:46 -08:00
snipe
7a8c8233a2
Fixes #4639
2017-12-15 18:54:38 -08:00
snipe
f1a911d305
Fixed ambiguous query on non-super admins with FCS
2017-12-12 21:14:12 -08:00
snipe
608bb1b5b1
Fixed #3416 - bulk delete asset models
2017-12-12 09:10:05 -08:00
snipe
1ef44721f5
Improved - disallow delete if not elgible in UI
2017-12-12 07:03:31 -08:00
snipe
528630a8d3
Improvement - make asset, etc totals in company listing sortable
2017-12-12 07:03:09 -08:00
snipe
856a760d89
Improved - disallow deleting manufactureres if there are associated items
...
This is enforced on the backend - UI imorovement only
2017-12-12 06:52:50 -08:00
snipe
9179b6d9c4
Improved - disallow delete through the GUI if asset model has assets associated
...
(We prevent this on the backend anyway, but this makes for nicer UI)
2017-12-12 06:49:04 -08:00
snipe
4ce91a4f5d
Fixed namespace gate for components - related to #4282
2017-12-12 06:26:37 -08:00
snipe
aff93d8f2b
Fixed #4589 - Licence deployed to asset issue
2017-12-12 05:43:06 -08:00
snipe
612f23f6e0
Added #2893 - track changes on asset edits
2017-12-12 04:59:28 -08:00
snipe
9fe2a7f81d
Removed duplicate log entry on asset creation
2017-12-12 03:39:55 -08:00
snipe
c816870083
De-norm last audit date so we can display it in the asset listing
2017-12-12 03:03:43 -08:00
snipe
c5c46b7283
Removed duplicate deleted logaction
...
This is handled via observers now
2017-12-12 02:32:45 -08:00
snipe
5b00a8ae33
Use specific company_id column name in user search
2017-12-11 22:50:55 -08:00
snipe
f90271dae5
Aaaaand one more for #2810 . Sigh.
2017-12-08 14:33:12 -08:00
snipe
e1423bd9d9
One more fix for #2810
2017-12-08 14:02:27 -08:00
snipe
3df62a200f
Fixed manufacturer gates
2017-12-08 13:16:37 -08:00
snipe
4898dd8e23
Use ImageUploadRequest $request on user profile update
2017-12-06 14:42:14 -08:00
snipe
a090b6a9d2
Use ImageUploadRequest
2017-12-06 14:38:01 -08:00
snipe
dfb0c09c51
Fixed #4581 - renamed print method
2017-12-06 11:17:42 -08:00
snipe
83547e3fed
Prepopulate ther groups array on create
2017-12-05 18:17:11 -08:00
snipe
29a36b5d1c
Do not allow null id on group edit
2017-12-05 16:49:26 -08:00
snipe
a19cef07bf
Check for gate on license key display
2017-12-05 16:26:23 -08:00
snipe
c39e6d7006
Fixed #4576 - licence checkout gate
2017-12-05 15:04:10 -08:00
snipe
438f484d68
Removed duplicate purchase cost column
2017-12-05 14:03:08 -08:00
snipe
f95d780fcf
Include purchase cost column if depreciation is selected
2017-12-05 14:02:43 -08:00
snipe
76fe2af0af
Fixed #4444 - Added EOL back into asset lsiting and custom report
2017-12-05 13:03:11 -08:00
snipe
e490185533
Fixed EOL in custom report
2017-12-05 12:54:19 -08:00
snipe
deba4d2b81
Added consumables tio printable output
2017-12-05 12:37:42 -08:00
snipe
a8cc29f062
Added #2562 - print view of all assigned inventory
2017-12-05 12:34:16 -08:00
snipe
7efa7ec03f
Starter print template for all assets assigned to a user
2017-12-05 01:55:24 -08:00
snipe
9eef7a94ab
Fixed #4557 - added missing fields in components/consumables list view
2017-12-05 00:40:30 -08:00
snipe
d7f2bceea2
Fixed incorrect property on supplier
2017-12-04 20:45:20 -08:00
snipe
fdaa279930
Fixed #4548 - add cateory to model dropdown
2017-12-04 20:19:30 -08:00
snipe
ec4bed436c
Fixed #4565 - show manufacturer in models selectlist
2017-12-04 19:52:18 -08:00
snipe
9deafd771e
Fixed bad suppliers error route
2017-12-01 20:28:37 -08:00
snipe
cbc09f3a12
Fixes #4508 - adds image to location view (and google map, if address and API key exist)
2017-12-01 19:12:35 -08:00
snipe
8b4c85d69a
Removed verbose logging
2017-12-01 16:56:50 -08:00
snipe
78a51d3675
Additional fixes, improvements for custom report
2017-12-01 16:51:38 -08:00
snipe
14874d8e8a
Fixes #4495 - missing field in Download CSV, added filter options on custom report
2017-12-01 14:47:52 -08:00
snipe
ff793f1cb5
Added variable to determine if “new” modal button should be displayed
2017-12-01 14:37:11 -08:00
snipe
8140bdaa88
Fixed repeated header issue in asset export
2017-12-01 14:25:32 -08:00
snipe
cefdca3d22
Fixed incorrect has vs input
2017-11-30 13:40:26 -08:00
snipe
d3864db5e1
Switched to use $request from Input:: facade
2017-11-30 13:32:00 -08:00
snipe
ea2f7617df
Validate checkout_to_type on asset checkout
2017-11-27 21:20:12 -08:00
snipe
b6c258bb12
Redirect to back on bad checkout
2017-11-27 21:19:50 -08:00
snipe
804b49cefb
Make sure the asset is available for checkout before displaying the checkout screen
2017-11-27 21:18:29 -08:00
snipe
305b0d8edb
Fixed #4522 - properly check for valid target, throw error otherwise
2017-11-27 21:17:58 -08:00
snipe
05996019e5
Use asset checkout request in API
2017-11-27 21:17:16 -08:00
snipe
a7e12931fa
Check that assigned is an object in reports controller
2017-11-22 18:42:17 -08:00
snipe
6f3a90c48b
Check that the assigned data is valid
2017-11-22 15:07:34 -08:00
snipe
8f160a8590
Fixed CSV asset export missing checked out to info
2017-11-22 13:05:48 -08:00
snipe
2278d5bfd8
Fixed restore permission to assets API disable delete/checkin/checkout on deleted assets
2017-11-22 10:35:24 -08:00
snipe
8562f018ed
Fixed - conflicting error when a user and asset were both checked out
2017-11-22 07:31:38 -08:00
snipe
d98d06377e
Fixed #4098 - autolink URL and email addresses in listing
2017-11-21 22:34:53 -08:00
snipe
22fdd05314
Add UTF charset
2017-11-21 22:34:07 -08:00
snipe
0adebd1ec8
Add sorting and additional category types to dashboard categories
...
BREAKING CHANGE: Category type now reports as `category_type`, instead of `type`
2017-11-21 20:33:30 -08:00
snipe
43c1e893c0
Fixed #4494 - use audit settings for asset audit pre-populaton
2017-11-21 20:13:51 -08:00
snipe
4696e799ed
Fixes #4491 and #4483 - handle pre-selected asset on checkout, better checkout-to selection UI ( #4501 )
...
* Added form checkout selector partial
* Stupid stash
* Added radio button checkout selector javascript
* New compiled production assets
* Added $style override in form partials for select2 ajax lists
* Added checkout-to radio button selector
TODO: Fix for accessibility - currently cannot tab-select this radio button
* Added new checkout-to selector to hardware edit
* Added new checkout-to selector to asset checkout form
* Refactored postCheckout to use radio button submission
This defaults to user checkout if nothing is passed for some reason
* Better visual feedback on whether or not an asset is deployable in edit screen
2017-11-21 15:58:31 -08:00
snipe
17405f5de1
Fixed #4413 - Next license seat not bering assigned correctly
2017-11-20 19:21:05 -08:00
snipe
7321c5937f
Fixed #4440 - allow username search in asset dropdown
2017-11-16 16:49:16 -08:00
snipe
ce525c1985
Fixed #4471 - removed gate for categories selectlist
2017-11-16 13:48:38 -08:00
snipe
ba38b841cb
Constrain accessory by category ID if one is passed
2017-11-14 16:47:21 -08:00
snipe
498fc3762d
Fixed #4437 - pagination for maintenances
2017-11-14 01:32:25 -08:00
snipe
0396267388
Fixed #4412 - use select2 ajax list for asset maintenances
2017-11-12 17:22:16 -08:00
snipe
7eef1b4bcf
Fixed #4418 - order models by name asc in selectlist
2017-11-10 15:56:14 -08:00
snipe
6852b74317
Removed gates from selectlist method
2017-11-09 10:51:55 -08:00
madd15
172c7c75a8
Fixed #4374 - Add option to display company names to labels ( #4405 )
...
* Migration - Labels Display Company Name setting
* Add Company Name to Labels
Add company name if it is turned on in settings and asset has a valid company
* Add Company Name checkbox to Label settings
* Add Company Name Lang
* Add display company name to postLabels
* Revert Add Company Name Lang
* Fix display company name in postLabels
* Change tinyInt to boolean for display company name
* Simplify checking for company and getting the name
* Change to square brackets for array notation
* Move divs inside if statements on optional fields
2017-11-08 20:05:39 -08:00
snipe
b567ffdcfe
Fixed #2855 - checkin for components
2017-11-08 06:06:05 -08:00
snipe
35ee52212f
Added ability to disable the alert icon in the top menu
2017-11-08 03:08:17 -08:00
snipe
a3e80882c1
Better error handling for qr codes on invalid assets
2017-11-08 01:04:14 -08:00
snipe
74773ac912
Fixed incorrect policy reference in consumables listing
2017-11-07 23:05:29 -08:00
snipe
9764d2ad24
Removed commented code
2017-11-07 22:25:32 -08:00
snipe
d03b8c6528
Error handling for when log ID has no match on asset accept
2017-11-07 22:25:24 -08:00
snipe
5aee5a3f3d
Update location on checkout, error if bad target
2017-11-07 17:37:08 -08:00
snipe
9d7455f022
Fixed handling deleting old images better
2017-11-07 11:28:13 -08:00
snipe
b748e7ed5e
Fixed transformers to use new singleton upload urls
2017-11-07 11:11:47 -08:00
snipe
579334b5fc
Fixed - name should always be required in custom fields
2017-11-06 20:05:40 -08:00
snipe
dc32e4bdb0
Fixed form request ffor custom fields
2017-11-06 16:42:37 -08:00
snipe
6ece593629
Fixed #4381 - asset uploads
2017-11-06 12:38:31 -08:00
snipe
2b3b2e3197
Removed presenter references in custom report
2017-11-06 10:44:57 -08:00
snipe
a9d9234fb3
One more fix for custom reports
2017-11-06 10:44:18 -08:00
snipe
936ff707c7
Fixed custom report bug if assignedTo has no value
2017-11-06 10:42:34 -08:00
snipe
04ab522ee3
Fixes #4236 - validate the regex custom validation ( #4380 )
...
* More helpful text on how the custom validator works
* Clarified language of custom format, fixed regex example
* Fixed regex example in placeholder
* Added comments to custom fields
* Added regex validation string
* Added valid_regex validator in format requirements
* Removed useles comments
* Fixes #4236 - validate the regex custom validation
2017-11-04 17:06:14 -07:00
snipe
fe06ef10f1
Set the items array variable for no results
2017-11-04 01:23:50 -07:00
snipe
2de0a3669e
Check that there is a valid array before unshifting
2017-11-04 01:11:11 -07:00
snipe
d68d95a915
Fixed - Added a “clear selection” option to select2 ajax lists
2017-11-04 00:19:16 -07:00
snipe
d7f8615964
Fixed query for location ID
2017-11-03 20:10:36 -07:00
snipe
cc7be5f947
Added location to checkout in API
2017-11-03 19:42:45 -07:00
snipe
5b489e003d
Set the location_id on save/update to rtd if one is given
2017-11-03 19:41:26 -07:00
snipe
8c1f4b006e
Removed comment
2017-11-03 19:40:55 -07:00
snipe
3a52c19428
Updated fieldname in Locations transformer and API
2017-11-03 19:40:40 -07:00
snipe
c06539dee3
Update the location ID if there is an rtd_location given
2017-11-03 17:36:18 -07:00
snipe
b3b8ab493e
Switch to the reply_to address
2017-11-03 14:58:49 -07:00
snipe
6fb0ef908d
Fixed issue sorting when viewing users by department
2017-11-03 14:29:04 -07:00
snipe
85360a7c7f
Removed gates on selectlists
...
They can’t access the API directly unless they have been granted API accesses anyway
2017-11-03 13:03:57 -07:00
snipe
416455fe01
Fixes weird manager_id validation
...
This is a shit fix - need to find out what’s happening here.
2017-11-03 12:48:00 -07:00
snipe
3ecaa99990
Fixed only undeployed assets in checkout to list
2017-11-03 11:33:36 -07:00
snipe
0c794c103b
Return an integer value for free seats if null
2017-11-02 20:23:04 -07:00
snipe
53175d5035
Fixed sorting issue on company/manufacturer/supplier
2017-11-02 20:01:39 -07:00
snipe
0bd09f9c46
Added sorting on available and total seats
2017-11-02 19:37:30 -07:00
snipe
27d795508d
Fixed n+1 query, changed checkout behavior to just ask for a license ID
...
We’re offloading the freeSeat() to the checkout page now
2017-11-02 19:16:09 -07:00
snipe
368ac5b85d
First stab at handling the n+1 issue on licenses
2017-11-02 18:20:42 -07:00
snipe
f47075c180
Removed depreciation from Licenses transformer
2017-11-02 17:18:53 -07:00
snipe
85624205b4
Updated Lang::get to trans
2017-11-02 17:12:51 -07:00
snipe
c9c5ce6ee0
Return Deleted User if the user is invalid for some reason
2017-11-02 16:20:01 -07:00
snipe
28a4293a0b
Fixed #4370 - user’s listing flashing then no results
2017-11-02 11:19:34 -07:00
snipe
f095f1807c
Eager load userloc
2017-11-02 11:06:15 -07:00
snipe
e08911ab8f
Removed nonce for now
...
There is a dependency in a package where we can’t edit the script tags to add the nonce
2017-11-02 10:57:05 -07:00
snipe
ca6dc5c2b5
Eager load user location
2017-11-02 10:56:36 -07:00
snipe
f43692938b
Fixed slug call in asset models image
2017-11-02 08:02:51 -07:00
snipe
da56a253bc
Added checkout requests method
2017-11-02 04:21:57 -07:00
snipe
a844d5b018
Added pagination, nicer formatting for requested assets
2017-11-02 04:17:14 -07:00
snipe
4f008e118f
Fixed search string on suppliers selectlist
2017-11-01 21:55:17 -07:00
snipe
e11f9313f0
Fixed #4360 - better output if backup fails
2017-11-01 14:12:18 -07:00
snipe
d36e8cfbd2
Dashbpoard pie fixes
2017-11-01 13:27:59 -07:00
snipe
4cdcbc97ee
Fixed varname issue on old image delete for manufacturers
2017-11-01 13:10:56 -07:00
snipe
feb2f5b076
Fixed #4356 - removed reference to old assetloc
2017-10-31 18:20:03 -07:00
snipe
37868cd70e
Added warranty and expiration to list view
2017-10-31 07:05:15 -07:00
snipe
32b2f77ad9
Fixed issue where we tried to call the audit log even if the asset wasn’t valid
2017-10-31 05:41:06 -07:00
snipe
472a5b9f69
Removed extra log on API asset create
2017-10-31 05:38:52 -07:00
snipe
121e158f39
Change method name from userloc to location
...
This needs to be changed in more places though
2017-10-31 05:22:57 -07:00
snipe
f4e7bfc28d
Null custom field if field exists but is empty
2017-10-31 05:22:21 -07:00
snipe
0f4c05c5d0
Remove commented code
2017-10-31 05:02:46 -07:00
snipe
7f1b7be416
Rolling back prepending models to sort
2017-10-30 21:26:25 -07:00
snipe
02720f225c
Fixed sorting issue in asset models when ordering by manufacturer
2017-10-30 20:51:01 -07:00
snipe
546c3e50fa
Fixed updating the assigned assets location if user’s location changes
2017-10-30 19:33:52 -07:00
snipe
7f1b962e56
Improved use of de-normed locations fields
2017-10-30 19:21:35 -07:00
snipe
4eee7f8d97
Added address for users - fixes #4323
2017-10-30 18:57:00 -07:00
snipe
0fd0e3a8b4
Returns null for order number if it’s blank
2017-10-28 15:53:22 -07:00
snipe
9687a78981
Fixed a few inconsistencies in the API results (null vs empty string)
2017-10-28 15:17:36 -07:00
snipe
39c68214e9
More ajax menu fixes
2017-10-28 11:17:52 -07:00
snipe
6a3716a06d
Added new ajax dropdown menus for components, consumables, etc editing/creating
2017-10-28 09:21:39 -07:00
snipe
2172e6cc25
Added suppliers ajax list
2017-10-28 08:37:47 -07:00
snipe
108ac79442
Added update to asset location id on checkout/checkin
2017-10-28 07:38:36 -07:00
snipe
bd48ae96c2
Update location on checkin if one is given
2017-10-28 07:28:35 -07:00
snipe
03f6211582
Make notes null if empty
2017-10-28 07:01:06 -07:00
snipe
4f1747023a
Seed with demo images
2017-10-28 05:46:43 -07:00
snipe
5278dac2b0
Eager loading assignedTo - I have no idea why this works
2017-10-28 03:50:02 -07:00
snipe
890012f6c4
Update references to assetloc to location
2017-10-28 02:58:38 -07:00
snipe
3991f79115
Use new location method for hardware view
2017-10-28 02:37:59 -07:00
snipe
df430a2263
Removed assignedTo eager load for now - it’s not working
2017-10-28 02:31:36 -07:00
snipe
277e49468b
Added deleted at to API
2017-10-28 02:31:13 -07:00
snipe
d76f858dcd
Try eager loading assignedTo
2017-10-28 01:50:58 -07:00
snipe
7a543fa6d5
Use new location method on asset API
2017-10-28 01:49:13 -07:00
snipe
f49ecbdb61
Code cleanup
2017-10-27 18:01:42 -07:00
snipe
b1ac024725
Refined upload code
2017-10-27 17:40:10 -07:00
snipe
ec68bd7842
Small refactoring for code quality
2017-10-27 17:38:11 -07:00
snipe
0788347990
Cleaned up status label method
2017-10-26 22:49:57 -07:00
snipe
7496a902bd
Removed unused getDataView controller method
...
This is all API based now
2017-10-26 22:39:41 -07:00
snipe
f2d04be8fe
Remove unused methods in Settings API controller (for now)
2017-10-26 22:35:01 -07:00
snipe
f2499fc7d2
Removed else condition on custom fields API for code quality
2017-10-26 22:33:40 -07:00
snipe
00d910ddbc
Added manufacturers and categories select lists
2017-10-26 22:09:08 -07:00
snipe
a99e09e5e3
Removed extra with() calls, since we load those up via the select2 lists now
2017-10-26 21:50:27 -07:00
snipe
7d11cb0748
Added selectlist transformer for select2 API calls
2017-10-26 21:50:01 -07:00
snipe
bdb95e4e3d
Added companies ajax select2 endpoint
2017-10-26 16:37:41 -07:00
snipe
ea07517ad5
Added more ajax select2 boxes to checkouts, remove helper ->with() methods
2017-10-26 03:43:28 -07:00
snipe
82690e1fd7
Integrate ajax select2 menus in all asset checkouts
2017-10-26 02:28:17 -07:00
snipe
75b527ab59
Features/image uploads ( #4320 )
...
* Locations API support for image
* Added manufacturers API support for image
* Added manufacturers API support for image
* Added image support for locations add/update
* Added manufacturer image upload support to controller
* General image string
* Added blade support for image uploads/delete image
* Added $request support (from Input::)
* Added image support in API transformers
* Added image to Manufacturers presenter for data table
* Migration to create image fields
* Ignore the contents of the new image directories
* Create new image upload directories
* Created components/consumables uploads directory
* Fixed missing textSearch scope from companies
* Added ignore for companies uploads directory
* Added blade support for image upload
* Fixed path to upload directory on edit
* Added company image upport to transformers, controllers
* Added image support for categories
* Added support for images in Departments
* Added support for image in Consumables
* Added image support for components
2017-10-25 22:35:58 -07:00
snipe
b083541723
Fixed docblock copypasta
2017-10-25 20:23:59 -07:00
snipe
0d34cc704a
Added controller for state-saver for sidenav
2017-10-25 20:10:59 -07:00
snipe
17d58d9cc5
Added snazzy rich user selection menu
...
TODO:
- Abstract this out so it can be used by other select2 menus
- Write a select2 transformer to standardize output
2017-10-24 19:24:35 -07:00
snipe
e0fe383815
Removed debug message in SaveUserRequest
2017-10-24 19:18:53 -07:00
snipe
7140efc561
Use the transformers, Luke
2017-10-24 19:18:20 -07:00
snipe
99be54fd96
Fixed success message on saving new user
2017-10-24 19:17:30 -07:00
snipe
8a9960f830
Fixed missing break that would override password requirement
2017-10-24 16:56:46 -07:00
snipe
dc805dd9b1
Added user avatars to listing
2017-10-24 09:51:07 -07:00
snipe
7d64ab3158
Fixes #4294 - pass correct group ID for group user listings
2017-10-24 04:39:47 -07:00
snipe
fc644925ea
Fixes #4291 - adds phone to user listing
2017-10-23 14:21:51 -07:00
Brady Wetherington
8ac57d0121
Need to prefix status_id with assets.
for uniqueness ( #4279 )
2017-10-20 17:37:46 -07:00
snipe
22e13cd4d2
Allow sorting on asset counts, disable delete button if the user has items checked out to them
2017-10-19 17:15:21 -07:00
snipe
4215a3257b
Fixes #1044 - adds suppliers and image to accessories ( #4266 )
...
* Ignore accesories uploads
* API: Allow searching accessories by supplier id
* Adds suppliers and image upload to accessories
* Allow sorting by counts for suppliers
* Validate supplier image uploads
* Remove purchase_date from protected accessory array, it was converting it to datetime in datepicker
2017-10-19 16:25:24 -07:00
snipe
1f247ff541
Don’t let the user checkout an asset to itself
...
(We should consolidate that AssetCheckoutRequest for the API)
2017-10-19 15:51:55 -07:00
snipe
e185dc68af
Fixes #4240 - allows admins to use custom password reset URL
2017-10-19 12:22:27 -07:00
snipe
54000ff69f
Allows sorting by number of assets, etc in category
2017-10-19 11:48:09 -07:00
snipe
7e8d670f81
Disable delete buttons if there are assets, etc
2017-10-19 11:41:35 -07:00
snipe
a9753eb646
Include asset count in status labels overview
2017-10-19 10:48:15 -07:00
snipe
707c4db881
API: Check there are no assets associated before allowing delete
2017-10-19 10:39:08 -07:00
snipe
d1de34394e
Removed stupid count method
2017-10-19 10:37:30 -07:00
snipe
7153013fb0
Fake sending the test email if the app is in demo mode
2017-10-19 08:33:46 -07:00
snipe
2b826c3adc
Merge branch 'features/mail_test_button' into develop
2017-10-19 08:19:24 -07:00
snipe
cd193ce8bb
Fixes #4036 - adds test email button to general settings
2017-10-19 08:18:56 -07:00
snipe
cb50142ba3
Update @thakilla as a contributor
2017-10-19 06:16:03 -07:00
Nicolai Essig
4bc551db82
ref #4042 scale barcode with label size ( #4258 )
2017-10-19 06:08:01 -07:00
snipe
ae567c08db
Fixes incorrect language reference for consumables on checkout if consumable doesn’t exist
2017-10-19 03:44:01 -07:00
snipe
13586be6b0
Fixed load error if license is invalid
2017-10-19 03:37:27 -07:00
snipe
4d3d19ca2b
Fixes older route reference in consumables
2017-10-19 02:07:31 -07:00
snipe
c5893b4445
Fixes #4249 - display deployed location in listing
2017-10-19 01:30:40 -07:00
snipe
3b012f2827
Some advanced search query tweaks
2017-10-18 10:07:35 -07:00
snipe
5519e2d4ae
Fixes custom fields sorting on asset listings
...
I need a silkwood shower :(
2017-10-18 09:27:34 -07:00
snipe
a3139c6fc6
Fix accessories route for invalid accessory ID
2017-10-18 08:53:25 -07:00
snipe
c0e50be03e
Duh. Helps if you actually assign the array first.
2017-10-18 08:45:05 -07:00
snipe
447833c996
Only try to process model bulk editing if at least one model was selected
2017-10-18 08:15:54 -07:00
snipe
68f6385eba
Fixes 500 in bulk checkout if no asset is selected
2017-10-18 07:15:16 -07:00
snipe
d9135a8aac
Disallow deleting suppliers with associated assets, licenses or maintenances
2017-10-18 05:47:20 -07:00
snipe
eedbe468ac
Fix licenses not saving supplier id on edit
2017-10-18 05:43:15 -07:00
snipe
ea63ced2bd
Fixes table alias bug in complex queries for Laravel
2017-10-18 01:21:08 -07:00
snipe
c069829b33
Fixes #906 - groups view
2017-10-17 21:43:57 -07:00
snipe
dea42db18b
Reversed order of withTrashed for deleted asset QR codes
2017-10-17 16:21:50 -07:00
snipe
a1f5e11517
Fix for broken QR code on deleted assets
2017-10-17 16:01:53 -07:00
snipe
160fd1c86a
Added setting to let admin decide whether footer text should link back to site
2017-10-17 13:54:03 -07:00
snipe
b46cbac911
Fixes #4230 - adds model name and manufacturer to emails
2017-10-17 13:30:32 -07:00
snipe
e9c3d6bfb7
Full text search fixes - addresses laravel bug :(
2017-10-17 12:48:18 -07:00
snipe
e7fe91c9d4
Depreciation view
2017-10-17 11:20:05 -07:00
snipe
cbe008d52f
Fix assetLoc to assetloc because reasons?
2017-10-16 09:08:08 -07:00
snipe
45c2af80a3
More LDAP testing US refinements
2017-10-16 09:00:51 -07:00
snipe
1fbf3753bc
More small LDAP test improvements
2017-10-16 07:07:21 -07:00
snipe
bcf435f625
Try for better error reporting on LDAP fail
...
Sorry for all the commits on this - my local LDAP isn’t working and I can’t figure out why, so no easy way to test locally
2017-10-16 06:46:33 -07:00
snipe
b107280b7b
Slightly nicer UI for LDAP login test
2017-10-16 06:39:36 -07:00
snipe
f1a6926ad9
LDAP test login
2017-10-16 06:34:04 -07:00
snipe
ba7b9d8168
Removed stray foo
2017-10-16 05:54:33 -07:00
snipe
59a126c47c
Small tweaks to LDAP test
2017-10-16 05:52:18 -07:00
Daniel Meltzer
22e9246031
Fix more old routes. Should fix #4216 ( #4217 )
2017-10-15 23:32:40 -07:00
snipe
6d4574130f
Clearer indication of whether or not the user will be emailed a eula
2017-10-11 14:44:25 -07:00
snipe
b6a1e0d12f
Call migrate before passport install
2017-10-11 12:42:31 -07:00
snipe
f56eb16941
More specific order by clause for drilling down on order number
2017-10-11 12:29:08 -07:00
snipe
64e7ab3a12
Fixes #4182 - empty names for assets when checking out to asset
2017-10-11 01:31:37 -07:00
Richard Hofman
adca7cb0c5
Fix LDAP location sync issue in #3993 ( #4181 )
...
* Ensure locations with the most specific OUs take precedence during user assignment.
* Save 'ldap_ou' Location attribute during creation.
2017-10-09 13:06:47 -07:00
snipe
a69a939034
Small barcode tweaks
2017-10-07 07:15:28 -07:00
snipe
834c6ad8f9
Removed extra space
2017-10-07 06:56:47 -07:00
snipe
2ce48fbc7e
Use components transformer in API method
2017-10-07 06:56:39 -07:00
snipe
5d18937e94
Standardized component API output
2017-10-07 06:56:18 -07:00
snipe
b3186ba5ea
Removed old getDataTable methods
...
These are no longer used because of the API
2017-10-07 06:56:02 -07:00
snipe
e2f4685a55
Added notes back to list view
2017-10-07 03:36:50 -07:00
snipe
282b3b5b0a
Remove catch-all “deployed” from pie chart
2017-10-06 18:41:10 -07:00
snipe
1dcff8d463
Remove eager loading on pie
...
This was causing memory issues for large asset sets
2017-10-06 18:15:01 -07:00
snipe
e461c25428
Apply model image fix to update method
2017-10-06 17:03:51 -07:00
snipe
554ea8bb95
Fixed asset model image validation
2017-10-06 16:56:43 -07:00
Richard Hofman
f2be409914
LDAP sync improvements and DB query fix. ( #4148 )
...
* Set 'ldap_ou' Location field to NULL when an empty string is submitted.
* Consolidate LDAP user import logic in LdapSync.php.
2017-10-06 16:15:14 -07:00
snipe
f66e222f3d
Fixes #4132 - associated accessory users
2017-10-03 21:03:00 -07:00
snipe
6dd4282f1f
Fixes #4130 - show deleted asset models
2017-10-03 17:53:08 -07:00
snipe
3f44987799
Small logo size tweaks
2017-10-03 14:15:03 -07:00
snipe
512632ce60
Make the export button contextual for requested status
2017-10-03 12:50:18 -07:00
snipe
54671af7f0
Small export assets fix
2017-10-03 11:49:41 -07:00
snipe
8e73cacf4e
Fixes custom report to include assigned to names, etc
2017-10-03 10:38:28 -07:00
snipe
8a7abba427
Slash url
2017-10-02 17:21:18 -07:00
snipe
9df648b428
Fix Session path
2017-10-02 17:19:22 -07:00
snipe
ff38cdd09b
Comment out the nullable middleware until we have a chance to check all model validators
2017-10-02 16:36:43 -07:00
snipe
59225701b5
Redirect to previous after login
2017-10-02 16:00:42 -07:00
snipe
aab635154a
Default to turning CSP off until we can fix vue/CSP issues
2017-10-02 13:29:14 -07:00
snipe
e26d038589
Fixed license checkin form UI
2017-10-01 15:08:32 -07:00
snipe
abe19a6311
Merge branch 'develop' of github.com:snipe/snipe-it into develop
2017-10-01 14:33:02 -07:00
snipe
07359c76ad
Fixes #4094 - more nullables
2017-10-01 14:32:47 -07:00
Daniel Meltzer
c2616412c0
Add laravel routes to javascript ( #4092 )
...
* Add laravel routes to javascript
This will clean up a lot of passing of urls. Adds a route() helper and
everything...
This commit also moves the customfield fetching to only be fetched once
and shared with each file, rather than once for each file.
* Try to fix travis unit test things.
* Downgrade doctrine/inflector for php5
* Attempt to occasional seeder issues on travis if the asset does not generate validatable data.
* Update sql dump for functional tests.
* Try to fix api tests.
2017-10-01 12:59:55 -07:00
Daniel Meltzer
23ca2d9a0b
Minor fixes ( #4091 )
...
* Fix old urls.
Still had some /admin/ urls floating around, which was causing bad
redirects in some instances. Should fix #4085
* The modal seems to be confusing license upload. be more explicit in the route we redirect to.
* Fix #4039 . Use proper methods for location assets.
This also fixes a bunch of n+1 issues in the transformer. Also: curious
to know what Location::assets() does, because it doesn't do what I want
it to :)
2017-10-01 12:57:04 -07:00
Daniel Meltzer
655ca78633
Adjust the import controller to return a url to the process path to enable processing an uploaded file without refresh. ( #4080 )
2017-09-29 17:49:35 -07:00
snipe
9301c56a77
Fixes #4069 - include request handler
2017-09-29 16:17:35 -07:00
snipe
43ff66e4d9
More UI tweaking for meta statuses
2017-09-29 15:24:33 -07:00
snipe
fe1975067a
Hopefully clearer status label meta info
2017-09-29 12:03:02 -07:00
snipe
efd71f8bfe
For #3998 - Disable CSP if debug=true
...
To avoid all the nonce hell from debugbar
2017-09-29 04:53:09 -07:00
snipe
05a8ba9a8e
Fix weird url if license checkout fails
2017-09-29 04:37:33 -07:00
snipe
9ce2d1f560
Merge branch 'csp-middleware' into develop
2017-09-29 04:14:33 -07:00
snipe
faf3802971
Fixes #4011 - do not send email to user on license checkout
2017-09-29 02:00:49 -07:00
snipe
aab409dec2
Fixes #4061 - bulk checkout error
2017-09-28 22:22:21 -07:00
snipe
4d32f2b337
Fixes #4059 - accessories view
2017-09-28 21:18:00 -07:00
snipe
0e29744ec2
Don’t try to send an email if the user doesn’t have an email address
2017-09-28 20:57:33 -07:00
snipe
51236a2ad9
Fixes #4056 - check for assets before deleting user
2017-09-28 19:57:52 -07:00
snipe
46d87849f4
Added content security middleware
2017-09-28 19:45:15 -07:00
snipe
b60febeea2
Removed space in XSS header because safari was getting angry
2017-09-28 18:45:54 -07:00
snipe
9b84a0d516
*eyeroll*
2017-09-28 17:34:47 -07:00
snipe
1775995f26
Is this space necessary? Getting weird results from netsparker
2017-09-28 17:25:04 -07:00
snipe
26a7701cda
Added referrer-policy header
2017-09-28 17:12:58 -07:00
snipe
a34085f1d9
Added mode=block to XSSProtect header
2017-09-28 16:28:27 -07:00
Daniel Meltzer
af19e5d976
Fix old route ( #4053 )
...
Looks like we missed in the v4 port. Fixes the unrelated issue in #4052
2017-09-28 16:02:50 -07:00
snipe
3d7277398c
Fixes #4057 - sig file in lightbox
2017-09-28 15:13:05 -07:00
snipe
ac83dba2bb
Fixes #4034 - save login note
2017-09-27 16:35:54 -07:00
snipe
fc96fa756e
Fix redirect default on password reset
2017-09-27 16:23:21 -07:00
snipe
ea9a502152
Added empty regsitration controller
...
When using the default Laravel auth routes, it expects a registration controller, even though we don’t have a concept of registration. This blank controller just prevents route caching from throwing errors.
2017-09-27 16:23:01 -07:00
snipe
ec8a3d2e56
Fixes #4027 - proper redirect on fieldset delete
2017-09-27 16:02:29 -07:00
snipe
ecf041fa10
Fixes #4043 - standardize groups API response
2017-09-27 15:18:29 -07:00
snipe
0ab9bc1db8
Added normalization midddleware, removed
2017-09-27 15:18:05 -07:00
snipe
e91a537552
Use more modern Request handler
2017-09-27 14:50:48 -07:00
snipe
bd0498aa69
Fixes #4016 - signature file missing from history tab
2017-09-27 12:58:08 -07:00
snipe
e27e1a78c3
Fix for case where a fieldset is assigned to a model, but no fields are assigned
2017-09-26 16:01:23 -07:00
snipe
f2ee7dcabb
Fixes #4001 - license checkout not working
2017-09-25 21:40:43 -07:00
snipe
26203801f6
Fixes #4009 - zip not populating on locations listing page
2017-09-25 20:45:05 -07:00
snipe
c3afbc0e53
Run backups before purging and importing
2017-09-25 15:00:23 -07:00
snipe
38326314ca
Merge branch 'develop'
2017-09-25 11:53:33 -07:00
snipe
865950e766
Fixes #4000 - user_id blank
2017-09-25 11:53:10 -07:00
snipe
34dfcb5add
Merge branch 'develop'
2017-09-22 17:23:38 -07:00
snipe
30019a144a
Disable login note editing on demo
2017-09-22 17:23:22 -07:00
snipe
b29d7beb3a
Merge branch 'develop'
...
# Conflicts:
# .gitignore
# Dockerfile
# README.md
# app/Http/Controllers/AccessoriesController.php
# app/Http/Controllers/AssetMaintenancesController.php
# app/Http/Controllers/AssetsController.php
# app/Http/Controllers/ConsumablesController.php
# app/Http/Controllers/GroupsController.php
# app/Http/Controllers/LicensesController.php
# app/Http/Controllers/ReportsController.php
# app/Http/Controllers/UsersController.php
# app/Http/routes.php
# app/Models/Depreciation.php
# app/Models/Location.php
# config/version.php
# resources/views/account/view-assets.blade.php
# resources/views/hardware/edit.blade.php
# resources/views/hardware/view.blade.php
# resources/views/partials/modals.blade.php
# resources/views/reports/custom.blade.php
# snipeit.sh
2017-09-22 16:12:18 -07:00
Daniel Meltzer
922d6937ae
Custom field import repair ( #3968 )
...
* There is no notes field on accessories. Fixes Importer Test.
* Fix notification test. We should see a checkout not allowed exception when trying to check out to a location if the asset requires acceptance.
* Fix Custom field import.
Add a test for custom field import, and fix a few issues related to
importing custom fields. This will restore v3 functionality.
* Add UI support for mapping custom fields.
This still requires the field mappings to be created/assigned in
advance, but will fetch all custom field names and allow them to be
selected when setting up custom field mappings.
This commit also updates laravel-mix to v1.4.3 and other node
dependencies to fix some build issues.
* Fix some requestable asset page/assetloc issues. I'd love to know why laravel expections relationships to be in lower case... but thats a question for another day.
2017-09-18 12:29:08 -07:00
Iman
ed4ea7f1f4
No new feature,No bug fix, Only refactoring ( #3949 )
...
* No change in logic !
Just exchanging the if and else code blocks and negating condition.
* remove unneeded else{} block
* Re-indented the code
2017-09-12 12:28:42 -07:00
snipe
81e358a01d
Small maintenance fixes
2017-09-08 17:49:01 -07:00
snipe
47909b93f7
Fixed deleted users/restore users view
2017-09-06 17:11:43 -07:00
Daniel Meltzer
987536930c
Assorted fixes ( #3923 )
...
* Fix some n+1 problems
* Use route in notification dropdown to make sure we link to correct page
* Work on better UI support for checkout to non-user. Fix links on index bootstrap table, work towards eliminating assignedUser
* Remove Asset::assigneduser() relationship. Instead add a checkedOutToUser() method and/or port to using assignedTo()
* Adjust string to fit new reality
* Fix #3780 . Move the consumables getDataView method to the ApiController. Not entirely RESTful, but it's a weird method that probably doesn't need its own controller and the functionality would be strange to stack on the userscontroller...
* Fix file uploads to assets and restore the delete route.
* Add asset maintence edit action to index.
* Suppliers asset list should link to the related asset, not to the supplier with same ID.
* Asset models page should use polymorphic formatter on assigned to to better handle assorted item types.
* Comment out more assigneduser fallacy until we figure out the query builder approach to searching for location text.
2017-09-05 17:54:58 -07:00
snipe
761371509d
Use notifiables for slack audit notification
2017-08-31 21:30:38 -07:00
snipe
0054ce3071
Fixes #3907
2017-08-31 13:45:48 -07:00
Daniel Meltzer
bb874012d9
Progress towards better email notifications ( #3911 )
...
Working mail from notification. Still requires testing/cleaning
Add tests around checkout notification.
This also removes the ability to check out an asset to a location|asset
that requires acceptance/a Eula. For 4.1 we may think about how to
support such a thing, but at present it seems to make sense to only alow
such assets to be checked out to users, who can be responsible for the
items.
2017-08-31 11:14:21 -07:00
snipe
8d2c229bc3
Move LDAP validation into form request
2017-08-31 10:44:00 -07:00
snipe
48e6208214
Fixes #3907 - do not require username on user if LDAP import
2017-08-31 10:43:36 -07:00
snipe
22233e3ba6
Bulk asset audit form (needs more testing)
2017-08-29 16:00:22 -07:00
snipe
e439f15a64
Fixed some date math for auditing
2017-08-28 17:20:20 -07:00
snipe
e10cdd57a5
Removed old getassetloist method
2017-08-26 15:22:04 -07:00
snipe
bf157773c8
Also related to #3888
2017-08-26 15:21:38 -07:00
snipe
51d74ac06d
Auduting improvements
2017-08-25 18:40:20 -07:00
snipe
16f57e16cb
Fixes #1190 - added basic audit workflow
2017-08-25 10:04:19 -07:00
snipe
52270fa4db
Derp
2017-08-25 08:30:48 -07:00
snipe
bf3731d65c
Set default min password to 10
2017-08-25 08:23:23 -07:00
snipe
4721cab928
Grr.
2017-08-25 06:08:19 -07:00
snipe
08f3e78d26
Merge branch 'checkout-to-location-v2' of https://github.com/dmeltzer/snipe-it into dmeltzer-checkout-to-location-v2
...
# Conflicts:
# app/Http/Controllers/Api/UsersController.php
# app/Http/Transformers/LocationsTransformer.php
# resources/views/locations/view.blade.php
# routes/api.php
# tests/_data/dump.sql
2017-08-25 06:04:22 -07:00
snipe
10711245ba
Fixes #3792 - parent/child locations in API
2017-08-25 05:32:12 -07:00
snipe
d23ea70b08
Added auth check back to asset store
2017-08-25 03:26:50 -07:00
snipe
659d953f3f
Fixed custom error message for status labels
2017-08-24 22:40:07 -07:00
Brady Wetherington
c1dcc22217
Refactor and improve Modal support for Assets ( #3884 )
2017-08-24 22:24:02 -07:00
snipe
6e30fa6922
Fixes custom fields in asset listing where no custom fields were assigned
2017-08-23 03:28:13 -07:00
snipe
f119c69698
Possible fix for #3852
2017-08-22 22:46:02 -07:00
snipe
57f4c986af
Enforce password complexity rules on new account password change
2017-08-22 22:41:35 -07:00
snipe
a0cbca85bf
Fixes for API calls for password complexity stuff
2017-08-22 21:15:35 -07:00
snipe
9bda62d295
ADDED: Password rules for complexity, min length, rejecting common passwords
2017-08-22 20:32:39 -07:00
snipe
1d7e243d0a
Fixes #3790 - parent display on locations index
2017-08-22 15:02:31 -07:00
snipe
63bc2ec09f
Fixes #3802 - make id an (int) in API repsonse
2017-08-22 14:53:48 -07:00
snipe
31516abef9
Fixes #3858 - use transformer for single listing categories
2017-08-22 14:26:08 -07:00
snipe
d2535582f3
Fixes #3853 - added notes/zip to suppliers API response
2017-08-22 14:18:21 -07:00
snipe
eaaea303f4
Fixes #3860 - return JSON instead of redirect in API delete dept call
2017-08-22 14:15:13 -07:00
snipe
8c5312b931
Fixes #3866 - weird API behavior in status label types
2017-08-22 14:10:54 -07:00
snipe
6310670835
Fixes #3869 - asset maintenances API endpoints
2017-08-22 13:52:06 -07:00
snipe
148d41d8dc
Removes erroneous else
2017-08-22 12:22:32 -07:00
snipe
71c1c74164
Fixes #3085 - adds “change password” functionality back to user accounts
2017-08-22 12:09:04 -07:00
snipe
4576cb6f56
Merge branch 'develop' of github.com:snipe/snipe-it into develop
2017-08-10 14:38:08 -07:00
snipe
56f88d2c22
Fixes #3836 - Adds supplier to licenses column
2017-08-10 14:38:04 -07:00
gibsonjoshua55
c1d1cb8122
Address #3840 and fixes group transformation in UsersTransformer ( #3841 )
...
Removes the incorrect variable access in UsersTransformer of a users's
groups and adds an array of groups' ids and names to the return array.
2017-08-10 13:37:54 -07:00
snipe
de18e2a887
Only bcrypt passwords on user save if the password value is passed
2017-08-08 14:41:58 -07:00
snipe
7da4fe4524
Fixes #3825 - allows fillables through location API
2017-08-08 12:36:28 -07:00
snipe
9bfd345774
Use Company transformer with payload
2017-08-03 19:55:08 -07:00
snipe
df87c82ddc
Fixes #3805 - add/update/delete methods for User API
2017-08-03 19:50:18 -07:00
snipe
3e8b7d9c94
Check for overall asset delete permissions before checking to see if the user can delete that specific asset
2017-08-03 19:49:41 -07:00
Jason Spriggs
7c4ee54f8b
Fix #3803 - Return asset object instead of just id ( #3811 )
2017-08-01 20:01:11 -07:00
snipe
03f9d01aab
Fixes #3775 - added missing created_at and updated_at fields
2017-07-29 17:01:03 -07:00
snipe
a2d63dd3e4
Fixes #3776 - adds Company to Dept UI
2017-07-29 16:42:17 -07:00
snipe
0408509fdc
Fixes #3777 - correct response for two_factor_actived for user API
2017-07-29 16:25:42 -07:00
snipe
5e47c18d68
Fixes #3786 - checkin/checkout to components UI
2017-07-29 16:13:17 -07:00
snipe
4e5cf531f7
Fixes #3799 - use transformers on show() method as well
2017-07-29 15:46:10 -07:00
snipe
cb903ab9fd
Fixes manager user->name to username in Users API
2017-07-26 08:51:16 -07:00
snipe
66d8308163
More compact payload for users API on location and manager
2017-07-26 08:47:54 -07:00
snipe
847262e989
Fixes #3774 - fixes for inconsistent API responses (‘’ vs null) and adds escaping
2017-07-25 23:40:30 -07:00
snipe
59006964d1
Fixes #3771 - adds username to API response on Asset API
2017-07-25 22:11:50 -07:00
snipe
ac29b142dc
Adds max thumbnail width to asset listings, settings
2017-07-25 19:36:38 -07:00
snipe
0fbf9236f4
Fixes #3742 - add employee number to asset listing
...
Also removes asset report, since it’s basically the exact same output as the asset listing
2017-07-25 01:17:23 -07:00
snipe
7510f9f128
Fixes #3753 - use route direction instead of URL
2017-07-17 16:42:39 -07:00
snipe
3eea1a23f8
Slug the filename
...
So upoloads with weird characters like parens don’t get hoarked when trying to delete
2017-07-14 02:38:13 -07:00
snipe
1fda4593c1
Update @gibsonjoshua55 as a contributor
2017-07-12 20:41:20 -07:00
snipe
ad12a5ce11
Added store/update methods to custom fields API
2017-07-12 19:34:34 -07:00
snipe
5abe72ce02
Added whether the field is required to the custom fieldsets transformer
2017-07-12 19:23:54 -07:00
snipe
3e3276334b
Added escaping to API output
2017-07-12 19:23:15 -07:00
snipe
b13e04095e
Removed commented code
2017-07-12 19:22:58 -07:00
gibsonjoshua55
3cfcc43efa
Adds basic GET api support for CustomFieldsets ( #3697 )
...
* Adds basic GET api support for CustomFieldsets
Currently there is not support for getting what fields a given fieldset contains
from the API. This commit creates a new API Controller for CustomFieldsets as
well as Transformers for CustomFields CustomFieldsets. Additionally, the api
route has been updated so that a show method can be access from
http://myapp/api/v1/fieldsets/{id}
* CustomFieldsetsTransformer only returns id and name of model
* Added index api method for CustomFieldsets
* Removes copy/paste error in CustomFieldsetController (including search)
* Added id to CustomFieldsetsTransformers
* Adds custom_fieldset_id as a field when storing and updating AssetModels
* Removed uncessesary parameter from CustomFieldsetsController.index
* Cleaned up CustomFieldset API
2017-07-12 17:51:22 -07:00
snipe
9bcfe0748b
Make custom fields into their own JSON array
2017-07-08 18:44:28 -07:00
snipe
635299cd74
Decrypt encrypted fields
2017-07-08 17:04:40 -07:00
snipe
20376daec4
Fix encryption on first save
2017-07-08 17:04:24 -07:00
snipe
a49fd16916
Fixed delete file settings route
2017-07-08 13:42:05 -07:00
snipe
932e25ca9b
Only add an update log message if the asset isn’t being checked in or out
2017-07-08 03:38:39 -07:00
snipe
33557f3792
Nicer formatting for phpinfo output
2017-07-08 00:22:30 -07:00
snipe
c2927c4a2e
Added phpinfo page if debugging is enabled
2017-07-08 00:09:39 -07:00
snipe
ab2b2f3043
Updated UI for Admin Settings
2017-07-07 23:44:48 -07:00
snipe
9894edb008
Added login note to settings
2017-07-07 19:54:10 -07:00
snipe
c2e8803d1e
Addec clone button back to models, assets, licenses, etc
2017-07-07 18:45:49 -07:00
snipe
7e1f7297b3
Settings tweaks
2017-07-07 18:06:31 -07:00
snipe
31cabaa4db
Fixes #3724 - adds edit/delete button back to companies listing
2017-07-07 17:10:06 -07:00
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
snipe
25e99194ce
Fixes #3681 - corrected fieldname for bulk asset delete
2017-06-20 14:41:30 -07:00
snipe
5b9bcd8fa2
Add next auto-increment to settings form
2017-06-20 12:23:16 -07:00
snipe
4bde058192
Save next_auto_tag_base in settings on edit
2017-06-20 12:19:05 -07:00
snipe
770092f23f
Added save/update/delete observers
...
This should make it easier to handle action logging between the GUI and the API
2017-06-15 20:54:14 -07:00
Daniel Meltzer
5d4920c741
[WIP] Improvements to unit tests. ( #3574 )
...
* Improvemenets to unit tests.
* Break up modelfactory into multiple files, populate many states.
* Begin testing validation at the unit test level, test relationships.
* Add tests for Asset::availableForCheckout.
* Model factories now generate all needed relationships on demand,
which allows us to unit test with a empty database.
* To faciliate the empty database, we move to using sqlite in memory as
the unit testing database.
* Fix bug with logs of checkouts to non users.
* Fix location finding for assets. Also Fix location show page to show users associated with location. Still need some work to show assets.
* More test and generator improvements
* More unit test fixes. PermissionsTest is borked still.
* More Updates
* Rewrite permissionstest. Check that we have access on the model level rather than via web requests. Also test delete permissions.
* Fix seeders.
* Make the default asset model factory generate assets that are rtd for testing.
* Save progress.
* Rebase tests, fix department unit test, update database for functional tests.
* Update functional and api tests to use new modelfactory signatures.
2017-06-12 17:39:03 -07:00
Daniel Meltzer
dfea47a272
Fix location view display. Migrate to api controller methods and fix missing bits to make this happen. Show manager on the location view page.
2017-06-12 18:24:20 -05:00
Daniel Meltzer
f0d78091d2
Add a manager field to locations.
...
This is round one of the rethink of checkout-to-everything. A location
now has a manager field, and the manager (by default) be responsible for
assets checked out to the location.
2017-06-12 18:23:50 -05:00
snipe
966a736602
Patches #3640 to develop
2017-06-12 15:31:11 -07:00
Daniel Nemanic
30a9704625
Update UsersController.php ( #3640 )
...
If a user is disabled in your Active Directory, it should be deactivated in the licensing too.
The standard state is now deactivated for synced accounts.
Maybe we can change this throw a Setting for a standard state.
The codes comes from this site:
http://www.netvision.com/ad_useraccountcontrol.php
2017-06-12 15:29:55 -07:00
snipe
14f3868b46
Update all controllers to use laravel 5 return view method
2017-06-09 16:44:03 -07:00
snipe
a5cd4a0a22
Use updated view method for laravel 5
2017-06-09 16:31:25 -07:00
snipe
ad816264e9
WIP import mapper #3639
...
@dmeltzer, I’m not sure how much extra work this will be to integrate.
2017-06-09 16:29:42 -07:00
snipe
041b794e1f
Fixes #3634 - use new routes for groups
2017-06-08 20:24:26 -07:00
snipe
da2d9b2374
Fixes presenter issue on user history
2017-06-08 19:09:42 -07:00
snipe
58b2834c54
Fixed case for userloc
2017-06-08 18:46:07 -07:00
snipe
2aaa635345
Fixes crash on asset detail view
2017-06-08 18:26:55 -07:00
snipe
d62896f945
Fixes #3414 - bulk update for asset models
2017-06-08 17:48:48 -07:00
snipe
74aaadcdc5
Fixes #3583 - incorrect 404 status code, use curl for checking .env
2017-06-01 20:41:23 -07:00
snipe
25dca80644
Fixes #3602 - actions missing from suppliers in v4
2017-05-31 06:52:37 -07:00
snipe
7b1265cb89
Cache totals for later dashboard use
2017-05-31 02:02:55 -07:00
snipe
5499735f3a
Actionlogs API transformer
2017-05-23 14:31:04 -07:00
snipe
40e11b6661
Removed old getActivityReportDataTable() method, since we’re using the API now
2017-05-23 14:30:55 -07:00
snipe
b1fa25b73e
Added filter to report by user_id for activity
2017-05-23 14:30:29 -07:00
snipe
452c52a3ab
Changed variable name for consistency
2017-05-23 14:30:07 -07:00
snipe
52f24f7587
Reports API controller
2017-05-23 09:24:36 -07:00
snipe
b223630f72
Added dept to User API transformer
2017-05-23 02:48:03 -07:00
snipe
e9c39add4f
Added dept helper reference in create/edit/bulk edit users
2017-05-23 02:47:49 -07:00
snipe
7ec1724308
Create, edit and destroy for depts
2017-05-23 02:47:25 -07:00
snipe
811ddd2f67
Include depts in returned list, sort by dept
2017-05-23 02:46:55 -07:00
snipe
cefb20d46f
Set dept manager ID for dept
2017-05-23 02:46:25 -07:00
snipe
bb323db685
Load relationships in query
2017-05-23 02:46:03 -07:00
snipe
eb3aa99e4f
Added destroy method to dept
2017-05-23 02:45:51 -07:00
snipe
64f17cecbf
Updated department transformer
2017-05-23 02:37:30 -07:00
snipe
e2f2f9e154
Additional methods for Department web UI
2017-05-23 01:09:13 -07:00
snipe
8caf6623f1
Filter by dept for user display
2017-05-23 01:09:03 -07:00
snipe
6c623866c0
Additional API methods for departments
2017-05-23 01:08:55 -07:00
snipe
659e60fd12
Department controllers and transformer
2017-05-22 21:32:33 -07:00
snipe
71fd430f8e
Fixes issue with older, deleted asset tags caching QR codes
2017-05-19 02:51:35 -07:00
snipe
0c43e64160
Licenses detail view
2017-05-18 22:10:45 -07:00
Jason Spriggs
0ab37af7ab
Add in location parent and child information into API requests ( #3582 )
...
* Add location hierarchy to LocationsTransformer
* Add in parent_id
2017-05-16 12:30:11 -07:00
snipe
0c8308f5a4
Fixes for ordering on asset listing
2017-05-15 20:55:39 -07:00
snipe
fdd88af44a
Fixes #3556
2017-05-15 19:14:55 -07:00
snipe
c8796cf045
Only prompt for checkin if there is an assigned user
2017-05-10 03:37:30 -07:00
snipe
ee2c67a65f
Added missing logging back in
2017-05-09 15:30:45 -07:00
snipe
5614578710
Don’t make the item clickable if it’s been deleted
2017-05-09 15:30:19 -07:00
snipe
07882110fa
Cleanup dashboard controller
...
We ajax this data in now
2017-05-09 00:38:45 -07:00
Daniel Meltzer
e9b056f66c
Importer fixes v2 ( #3524 )
...
* Pave the imports table
* Format error response if file is the wrong type.
* If a custom field doesn't exist, don't insert a blank string into the custom fields table
* CustomField::db_column_name can return the stored name in the db. It's slugified when that value is set initially. This fixes a weird issue where _1 was replaced with _xx
2017-05-03 12:14:35 -07:00
snipe
59a4e161ff
Fixes checkout buttons on licenses list
2017-04-24 21:37:20 -07:00
snipe
54a2c46101
Fixes #3491 - adds supplier info to assets listing
2017-04-22 19:14:28 -05:00
Daniel Meltzer
1bb89db451
A few fixes ( #3437 )
...
* This method was renamed, so we need to rename the eager load
* Readd tinker to the composer dev packages.
* Update sql dump for functional tests.
2017-03-31 13:48:31 -07:00
Andrea Bergamasco
7ee172888d
/api_tests: Completed tests for basic CRUD for Assets and Components ( #3426 )
...
* Refactored AssetsTransformer
Casted all ids to int, escaped all text values,
* Added warranty_expires attribute to Asset model
$asset->warranty_expires contains a Carbon object with the warranty
expiration date. Returns null when either purchase_date or
warranty_months are not set.
* Ignoring php-cs cache files
* Restored asset tests expectations
Work in progress - tests still fail
* API controller refactoring, fixed HTTP status codes in responses
* Restored $request->get - debugging
* Added further checks in ApiAssetsCest::updateAssetWithPatch
* /api_tests: Fixed bugs in update() method + code formatting
* /api_tests: Minor code formatting
* /api_tests: Mirrored test code for PATCH and PUT methods
* Removed repeated code
* Test cleanup
* Fixed issues with update() through PATCH and PUT methods
* Added API test suite to .travis.yml
2017-03-31 13:48:11 -07:00
Andrea Bergamasco
e03ebc3fd0
AssetTransformer refactoring, restored tests ( #3407 )
...
* Refactored AssetsTransformer
Casted all ids to int, escaped all text values,
* Added warranty_expires attribute to Asset model
$asset->warranty_expires contains a Carbon object with the warranty
expiration date. Returns null when either purchase_date or
warranty_months are not set.
* Ignoring php-cs cache files
* Restored asset tests expectations
Work in progress - tests still fail
* API controller refactoring, fixed HTTP status codes in responses
* Restored $request->get - debugging
* Added further checks in ApiAssetsCest::updateAssetWithPatch
2017-03-14 08:37:39 -07:00
snipe
c8c5c05351
Added asset checkin/checkout API methods
2017-03-11 14:04:52 -08:00
snipe
8dbd9fb299
Added additional permissions for checkin/checkout buttons
2017-03-11 12:14:10 -08:00
snipe
00aa06882c
Fixed incorrect route for components
2017-03-11 12:13:35 -08:00
snipe
742e3d044e
API improvements
...
Components still need some work here
2017-03-11 10:05:50 -08:00
snipe
ae6828a0fa
Removed dumb code comment
2017-03-11 08:03:30 -08:00
snipe
2a4bf65883
Basic sanity checking on some of the API controllers
2017-03-11 08:03:16 -08:00
snipe
a680541fe8
Fixed target variable
2017-03-11 05:17:02 -08:00
snipe
5b450c5978
Disambiguated company_id in assets api controller
2017-03-11 04:39:28 -08:00
snipe
875d0dd343
Added advanced search to assets
2017-03-11 04:26:01 -08:00
snipe
b16ff263ec
Addtional search filters for licenses API
2017-03-11 02:57:19 -08:00
snipe
bb2b6cb642
Foxed license name in licenses API
2017-03-11 02:52:50 -08:00
snipe
d799ab2a9c
Narrowed down the accessories, consumables, etc APIs for manufacturer filtering
2017-03-11 02:49:24 -08:00
snipe
caf2f648b1
Added updated/created to locations API
2017-03-10 22:09:21 -08:00
snipe
c132036f5c
Fixes #3311 - more fields for manufacturers
2017-03-10 22:08:59 -08:00
snipe
ad510cecd5
Fixes #2422 - Adds bulk edit for select user attributes
2017-03-10 20:07:44 -08:00
snipe
01ae8802c1
Fix user export
2017-03-03 19:54:06 -08:00
snipe
51fccbdda4
Added last login to user menu
2017-03-03 18:28:13 -08:00
snipe
6a2fd74219
Fixed API gate names in tranformers for new, more granular admin stuff
2017-03-03 17:56:05 -08:00
snipe
097096aa24
More custom date display via API
2017-03-03 17:53:42 -08:00
snipe
dc38e575d9
Allow date/time formatting selection in settings
2017-03-03 17:29:41 -08:00
snipe
c6c3ddba3e
Remove detail() presenter
2017-02-23 17:01:01 -08:00
snipe
ce2babcafb
Fixed name display in transformer for asset listing
2017-02-23 17:00:50 -08:00
snipe
9ccaad8b9c
Added created_at and modified_at to asset listing/api
2017-02-23 16:23:02 -08:00
Andrea Bergamasco
e7f7d739ed
Bugfixes based on functional tests ( #3338 )
...
* 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
* Bugfixes based on functional tests
* Removed unused function
* Marked tests as incomplete
* Added check for existence in groups/edit.blade.php
2017-02-22 22:49:19 -08:00
Daniel Meltzer
ad9470b6f8
Assorted fixed ( #3332 )
...
* Better error handling of failed file uploads. Also improve formatting of modal dialog
* Readd app.js to the js build, fixes collapsing sidebar
* Update JS
* Fix font size. We need to explicitly set the font size for the table because everywhere else that comes from bootstrap-tables
2017-02-22 22:49:06 -08:00
snipe
904be03ffd
Merge branch 'develop' of github.com:snipe/snipe-it into develop
2017-02-22 22:20:32 -08:00
snipe
53ba2bbb4e
Updated method for eager loading assets
2017-02-21 15:39:59 -08:00
Andrea Bergamasco
fde46251de
Components Assets view + stubbed API tests ( #3325 )
...
* 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
2017-02-21 14:26:46 -08:00
snipe
8fe8ff71e8
Category improvements
2017-02-16 00:32:33 -08:00
snipe
c67b44b3d5
Moving license index to new API format
2017-02-10 18:43:30 -08:00
snipe
74c5c55838
Removed outdated comment
2017-02-08 18:25:06 -08:00
snipe
eea90dda78
Added Gate integration into API transformers
2017-02-08 18:24:55 -08:00
snipe
86198badbb
Added more company_id filtering, more transformers
2017-02-08 08:48:41 -08:00
snipe
72ec362f72
Search on status label type
2017-02-08 03:37:44 -08:00
snipe
4cf01e4f48
Added ability to search by company_id and location_id
2017-02-08 03:31:42 -08:00
snipe
584e2ba618
Added a space
2017-02-06 18:47:54 -08:00
snipe
1751a8c0e0
Switched to presented for ugly BS table column headers
2017-02-03 22:20:11 -08:00
snipe
d37b9fe169
Use hardrware listing for status labels detail link
2017-02-03 20:34:09 -08:00
snipe
98e0ecbd88
Added manufacturer sorting on models
2017-02-03 20:20:03 -08:00
snipe
9cae6066a0
Added asset by manufacturer listing
2017-02-03 19:52:00 -08:00
snipe
f1c4aed5b5
Removed additional groups API fields
2017-02-03 19:35:22 -08:00
snipe
1e2a23e955
Use main assets API to pull view pages for assets listings
2017-02-03 19:34:24 -08:00
snipe
bb4c443cd9
Added notes to custom report
2017-02-03 02:20:56 -08:00
snipe
729b709de2
Include notes in custom asset report
2017-02-03 02:16:37 -08:00
snipe
f1592aa63f
Tighter asset API responses, sanitization
2017-02-03 02:04:17 -08:00
snipe
6c1a827ed0
Added warranty info to listing
2017-02-03 01:45:12 -08:00
snipe
d19cc9d9c1
Added legacy redirector
2017-02-02 18:14:25 -08:00
snipe
12c5ca67ff
Pulled accidental debugging exit
2017-02-01 18:56:47 -08:00
snipe
541a5e6776
Groups API starter
...
Edit/Create still broken for some reason
2017-02-01 18:50:28 -08:00
snipe
464c524375
Depreciations API
2017-02-01 17:59:03 -08:00
snipe
7086ac8a8b
Tweaks to status labelas listing display
2017-02-01 17:48:28 -08:00
snipe
a80af854ba
Switch companyName to company
2017-01-26 21:05:33 -08:00
snipe
99d837fa50
Added API methods and UI to view assets associated with a particular model
2017-01-26 21:02:59 -08:00
snipe
8d50bb19af
Switched to route from redirect->to
2017-01-26 20:13:59 -08:00
snipe
ec7e89ecb8
Added Helper
2017-01-26 20:08:15 -08:00
snipe
377cb8e5d1
Use Locations transformer for location API
2017-01-26 20:08:06 -08:00
snipe
c7003897ae
Fixed Locations transformer for assigned assets
2017-01-26 20:07:46 -08:00
snipe
231f4dce07
Basic components API
2017-01-26 19:16:06 -08:00
snipe
5e9e6da577
Basic consumables API
2017-01-26 18:46:18 -08:00
snipe
b4c6d0c897
Added optional help text field to custom fields
2017-01-26 04:52:11 -08:00
Daniel Meltzer
5ba2ec881c
Vue importer ( #3235 )
...
* Begin work on vueifying the importer
* Beginning work on migrating the importer to use a vue/components for future interactivity
Update JS
More importer work. Move to a vue based modal, begin handling of processing. Still need to port error messages.
More importer work. Move to a vue based modal, begin handling of processing. Still need to port error messages.
Update importer. Add error display. Fix modal, update vue-strap to vue2
More progress. Add select2 vue bits.
* Move to querying the db to find importer matches. It scales better on large datasets.
Fix select2 related issues. We were trying to initialize it twice, which led to the custom data being overwritten.
* Better error handling on uploads and deletion of files. Restore progressbar on upload.
* Add support for generic exception reporting if app.debug is enabled.
* Handle Http 500 errors better. Display errors if debug is enabled. Assorted cleanups.
* Fix codacy issues, remove unused methods.
* Only bind vue to the importer for now.
* Load vue for passport as well.
2017-01-25 21:29:23 -08:00
snipe
a9bf34cf61
Minor transformer cleanup
2017-01-25 21:01:00 -08:00
snipe
855d775c41
Fix fieldset blade path
2017-01-25 18:39:45 -08:00
snipe
dc47a0fad6
Fixes #2551 - use UTF-8 safe slugging for MySQL columns
2017-01-25 18:38:20 -08:00
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
75d35273c9
Pull image formatter out of dynamic loop, pass full url to formatter
2017-01-24 22:46:07 -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
c907414e71
Added escaping
2017-01-24 19:24:47 -08:00
snipe
e4e4e6ae47
Licenses transformer for API
2017-01-24 18:57:33 -08:00
snipe
afacee90ae
Fixed variable for transformer
2017-01-24 18:57:21 -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
d0f062458e
Additional API transformers, formatters
2017-01-24 17:07:00 -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
7b1d2ee050
Fixed typo
2017-01-17 11:57:24 -08:00
snipe
b3f70a046f
Don’t require superadmin for checkin and delete user
2017-01-17 09:19:14 -08:00
snipe
39b4725114
Load assigneruser relationship
2017-01-13 22:17:20 -08:00
snipe
f642013774
Check for validity before trying to display relation data
2017-01-13 22:06:12 -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
06d66f6e94
Fixed formatting
2017-01-13 01:45:14 -08:00
snipe
f9a501d774
Fixed array name
2017-01-13 01:44:47 -08:00
snipe
f54fcb88e2
Fixed formatting
2017-01-13 01:43:51 -08:00