snipe
b37f78dbbf
Fixed #4858 - wrong params for id count
2018-01-24 04:24:45 -08:00
snipe
e20cd42cc2
More parse error fixes
2018-01-24 03:42:49 -08:00
snipe
7b99f81f72
Fixed parse error on hardware blade
2018-01-24 03:38:29 -08:00
snipe
f1bbdc9e59
Revert PR #4845
2018-01-24 03:32:45 -08:00
Richard Hofman
5219fb63a1
Add --base_dn option to LdapSync command. ( #4888 )
2018-01-23 18:15:36 -08:00
CronKz
dcc379c3fa
Adding missing translations. ( #4896 )
2018-01-23 18:13:55 -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
Tim Bishop
b346556caa
Allow manager_id to be fillable. ( #4882 )
...
The API UsersController accepts manager_id, but calls the following:
$user->fill($request->all());
This results in manager_id being ignored. I can't see any problem with
allowing a user's manager to be modified using the API, so this change
allows it.
2018-01-22 13:12:02 -08:00
snipe
5f65f993a0
Small refactor for AssetPresenter method
2018-01-20 08:52:50 -08:00
snipe
a9441521a4
Small refactor for Setting method
2018-01-20 08:52:50 -08:00
Daniel Meltzer
6bf17e7d47
Reset the item between rows of import to avoid stale data. ( #4868 )
2018-01-20 08:40:01 -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
86c0194e9a
Fixed #4628 and #4590 - Illegal mix of collations for operation error when searching on some languages
2018-01-20 03:08:27 -08:00
snipe
7fae380ab6
Fixed #4300 - Fix for illegal character type in action log
2018-01-20 00:27:45 -08:00
snipe
5d4bbc393e
Fixed #4837 - link phone numbers
2018-01-20 00:20:45 -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
snipe
8fb991110e
Fixed #4652 - asset not correctly checking out to user on creation
2018-01-17 12:10:28 -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
96a469db36
allow changing user activated field via api ( #4843 )
2018-01-17 05:38:10 -08:00
vcordes79
52a99faf68
fix phone number update in api ( #4842 )
2018-01-17 05:33:55 -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
cf1b5a7685
Added- sort by count in manufacturer listing
2018-01-11 15:13:32 -08:00
snipe
2bbb6001a8
Added location to seats transformer
2018-01-10 20:36:27 -08:00
snipe
af7b7664c5
Added license seat location method
2018-01-10 20:34:44 -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
b2469bb34f
Fix double create log on import. ( #4706 )
...
* Fix double create log on import.
* Fix code error causing component importer to implode.
* More component importer oldities
2018-01-03 17:22:02 -08:00
Brandon Daniel Bailey
b721bfcc84
Added prefix to the orWhereRaw which causes a database error if the configuration uses a prefix ( #4703 )
2017-12-28 20:09:36 -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
88798435f6
Fixed inefficient query for inventory alerts
2017-12-19 00:32:39 -08:00
snipe
7a8c8233a2
Fixes #4639
2017-12-15 18:54:38 -08:00
Ryan
9a40e5e651
return an error from ldap_search ( #4623 )
...
This will return the error from the ldap_search ran in Models/Ldap.php instead of throwing an exception. Users seem to commonly be getting an Exception because of invalid search filters. This will better inform them of that issue without requiring them to enable DEBUG.
2017-12-14 12:57:43 -08:00
snipe
f1a911d305
Fixed ambiguous query on non-super admins with FCS
2017-12-12 21:14:12 -08:00
snipe
6b257cc287
Concat search for full name
2017-12-12 12:52:10 -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
e4ab4024c5
Added - changelog searchable in history tab
2017-12-12 05:10:13 -08:00
snipe
612f23f6e0
Added #2893 - track changes on asset edits
2017-12-12 04:59:28 -08:00
snipe
88ca852dcf
Cleaned up asset observer
2017-12-12 03:40:04 -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
5ee6e7f94b
Fixed #4613 - Added table prefix to user search DB raw
2017-12-11 22:31:07 -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
a65ea639ed
Added comments to SnipePermissionsPolicy for clarity
2017-12-07 21:00:09 -08:00
snipe
defed52caa
Fixed #4596 - manufacturer gate
2017-12-07 20:59:55 -08:00
snipe
f4ac087c83
Fixed policy namespace
2017-12-06 14:49:52 -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
bfa4812482
Exclude company on filter
2017-12-05 14:23:46 -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
c9e6a75ea8
Make sure there is a valid status label associated withthe asset when checking if deployable
2017-12-05 11:28:48 -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
Brady Wetherington
4584990cc3
Cleaner re-implementation of loop-detection for asset-assigned-assets ( #4553 )
...
* Cleaner re-implementation of loop-detection for asset-assigned-assets
* Get rid of the other static and pass it along recursively too.
2017-12-04 23:00:55 -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
636c558fe6
Fixed #4566 - search by purchase_date
2017-12-04 15:26:40 -08:00
snipe
2aafdb1400
Bumped version
2017-12-01 20:49:04 -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
fd4a8edae9
Fixed incorrect glyphs for users/locations
2017-11-30 16:40:58 -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
e25829c759
Removed extra debug logging
2017-11-30 13:30:20 -08:00
snipe
cdfd720c65
Fixed custom fields edit behavior with cutom format always selected
2017-11-27 22:10:46 -08:00
snipe
c0f791cf13
Sigh.
2017-11-27 21:35:06 -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
51661b0a21
Fixed #4190 - Added artisan command to regenerate asset tags
2017-11-24 11:25:51 -08:00
Daniel Meltzer
bee1dfc4a6
More importer fixes ( #4516 )
...
* The default locale of en does not include dollar sign in default currency. Assume if there is no currency symbol set that the dollar sign is a good thing to look for in parsefloat.
* Fix for 4485. Serial not serial_number
Also fix bug where updating with a csv that does not include custom field columns should not overwrite current values.
* Rename serial_number to serial in default imports to avoid needing to map weirdly.
* Add Test for 4359. Not reproducable at current though
2017-11-24 10:42:11 -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
e5129a8b98
Removed next_version
2017-11-21 19:39:33 -08:00
snipe
0c9e41e1fa
Updated versioning script to handle githooks better
2017-11-21 19:01:47 -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
897bd2c56e
Fixed location sorting location instead of rtd
2017-11-16 16:49:48 -08:00
snipe
7321c5937f
Fixed #4440 - allow username search in asset dropdown
2017-11-16 16:49:16 -08:00
snipe
3d07635820
Fixed sort by model in asset listing
2017-11-16 14:14:30 -08:00
snipe
ce525c1985
Fixed #4471 - removed gate for categories selectlist
2017-11-16 13:48:38 -08:00
snipe
edcd3afc3e
Fixes #4457 - use un-escaped CSS for custom CSS styles
...
We are already escaping the CSS in the show_custom_css() method
2017-11-15 14:27:21 -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
3e5e6ba99a
Use table alias for models join in search/order by models
2017-11-14 00:04:03 -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
bb4d49690f
Add purchase date to dates array so it’s treated as a Carbon date
2017-11-09 18:59:05 -08:00
snipe
ee0814716a
Only format ecpected checkin date if one exists
2017-11-09 13:40:55 -08:00
snipe
012afe99e2
Set purchase date to date type
2017-11-09 13:27:58 -08:00
snipe
afe6f43a1b
Exclude manufacturer on filter sort
2017-11-09 11:18:04 -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
487fd17ce3
Fixed ambiguous query when selecting by model_id
2017-11-08 20:03:26 -08:00
snipe
c162c02304
Force expected checkin to be formatted as a date (not datetime) since it’s a date field in the DB
2017-11-08 18:03:47 -08:00