snipe
60c38a0c47
Added setting to choose what appears in model select list - Fixes #4879
2018-01-24 10:43:46 -08:00
snipe
fefd6d60f6
Fixed #4899 - sorting in user history
2018-01-24 04:48:00 -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
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
e6f70f2ab7
Fixed #4821 - add username to user selection dropdown
2018-01-19 23:47:37 -08:00
snipe
2a959edeba
Added - Setting to allow archived assets in List All
2018-01-17 19:18:48 -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
vcordes79
94cf1f8741
Fixes #4829 - add fields api ( #4840 )
...
* add fields api
* change route names
2018-01-17 05:31:57 -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
e3d7be23cb
Added new seats controller method
2018-01-10 18:47:57 -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
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
snipe
c3a44f25fd
Fixed #4663 - duplicate manufacturer name in selectlist
2017-12-20 12:32:55 -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
1ef44721f5
Improved - disallow delete if not elgible in UI
2017-12-12 07:03:31 -08:00
snipe
4ce91a4f5d
Fixed namespace gate for components - related to #4282
2017-12-12 06:26:37 -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
5b00a8ae33
Use specific company_id column name in user search
2017-12-11 22:50:55 -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
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
6f3a90c48b
Check that the assigned data is valid
2017-11-22 15:07:34 -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
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
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
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
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
3a52c19428
Updated fieldname in Locations transformer and API
2017-11-03 19:40:40 -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
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
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
ca6dc5c2b5
Eager load user location
2017-11-02 10:56:36 -07:00
snipe
4f008e118f
Fixed search string on suppliers selectlist
2017-11-01 21:55:17 -07:00
snipe
d36e8cfbd2
Dashbpoard pie fixes
2017-11-01 13:27:59 -07:00
snipe
37868cd70e
Added warranty and expiration to list view
2017-10-31 07:05:15 -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
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
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
df430a2263
Removed assignedTo eager load for now - it’s not working
2017-10-28 02:31:36 -07:00
snipe
d76f858dcd
Try eager loading assignedTo
2017-10-28 01:50:58 -07:00
snipe
ec68bd7842
Small refactoring for code quality
2017-10-27 17:38:11 -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
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
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
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
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
54000ff69f
Allows sorting by number of assets, etc in category
2017-10-19 11:48:09 -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
7153013fb0
Fake sending the test email if the app is in demo mode
2017-10-19 08:33:46 -07:00
snipe
cd193ce8bb
Fixes #4036 - adds test email button to general settings
2017-10-19 08:18:56 -07:00
snipe
3b012f2827
Some advanced search query tweaks
2017-10-18 10:07:35 -07:00