v6.1.1

grokability/snipe-itv6.1.1Jun 21, 2023by snipe

AI Summary

Introduces several new features including location importing, supplier selection, dynamic warranty links, and Google Workspace OAuth login.

Key Highlights

  • Import locations via the importer
  • Select a supplier for components and consumables
  • Dynamic warranty links using asset placeholders
  • Google Workspace OAuth Login support

New Features

  • Location Importer
  • Supplier for Components/Consumables
  • Dynamic Warranty Links
  • Google OAuth Login
  • Auto-add fields to new fieldsets

Full Release Notes

## ⚠️ IMPORTANT: Future versions of Snipe-IT will require PHP8.0 or greater

## What's Changed

This is a little long for a point release, but we didn't want to wait on it any longer. Tons of bug fixes and UI improvements, as well as a few new features: 

# New Stuff!
* You can now import locations via the importer
* You can now select a supplier for components and consumables
* You can now add cool new dynamic links for warranty urls using placeholder variables that get populated by the asset information
* You can now use more search ranges and multi-selectable values in the Custom Asset Report
* You can now set custom fields to be auto-added to new fieldsets

## Also: Google Workspace OAuth Login

The user must exist in Snipe-IT in order to login successfully)

<img width="430" alt="Screenshot 2023-06-21 at 7 39 58 PM" src="https://github.com/snipe/snipe-it/assets/197404/20a89b4e-8831-44cc-885b-79422ac89b5d">

### Also Also: Ability to add fields to field sets on fieldset create/edit
https://user-images.githubusercontent.com/197404/234471475-3a8fb839-17d9-423c-a703-7b99c0c82dbc.mov

### Also Also Also: Ability to auto-add fields to any new fieldsets that get created afterwards 
https://user-images.githubusercontent.com/197404/234471497-61152c3c-a824-407a-93ce-bdc73ff6ca51.mov

# Also Added
* Updated Dockerfile to Ubuntu 22.04 and PHP 8.1 by @svpernova09 in https://github.com/snipe/snipe-it/pull/12833
* Introduced improved way to interact with settings in tests by @marcusmoore in https://github.com/snipe/snipe-it/pull/12834
* Added supplier to components and consumables by @snipe in https://github.com/snipe/snipe-it/pull/12830
* Added license checkin/checkout to all in license GUI by @snipe in https://github.com/snipe/snipe-it/pull/12849
* Added more granular permissions on bulk actions for assets by @snipe in https://github.com/snipe/snipe-it/pull/12910
* Added ldap_location to settings by @Godmartinz in https://github.com/snipe/snipe-it/pull/12912
* Dynamic warranty link for manufacturers' support urls by @akemidx in https://github.com/snipe/snipe-it/pull/12906
* Added help text to the now-dynamic manufacturer URLS by @snipe in https://github.com/snipe/snipe-it/pull/12930
* Created At and Updated At fields on License table view by @akemidx in https://github.com/snipe/snipe-it/pull/12941
* Added component costs to asset view by @Godmartinz in https://github.com/snipe/snipe-it/pull/12880
* Added Location importer via Livewire Importer by @snipe in https://github.com/snipe/snipe-it/pull/12846
* Added ability to auto-add fields to new fieldsets by @snipe in https://github.com/snipe/snipe-it/pull/12916
* Adds a checkout range for custom asset reports by @Godmartinz in https://github.com/snipe/snipe-it/pull/12874
* Google OAuth login by @snipe in https://github.com/snipe/snipe-it/pull/12994
* Added warranty confirmation to asset maintenance table by @Godmartinz in https://github.com/snipe/snipe-it/pull/13158
* Added asset_tag column in requestable assets page by @NojoudAlshehri in https://github.com/snipe/snipe-it/pull/13093
* Accept user ID as possible authoritative field for updates by @snipe in https://github.com/snipe/snipe-it/pull/13171

# Improved
* Small tooltip improvements for undeployable items in table view by @snipe in https://github.com/snipe/snipe-it/pull/12867
* Allow an environment variable to set the session cookie path by @joelpittet in https://github.com/snipe/snipe-it/pull/12877
* Change from a standard Eloquent mapping for ID to a custom setRead by @uberbrady in https://github.com/snipe/snipe-it/pull/12913
* Use the asset tag instead of asset name if no name is given on delete modal by @snipe in https://github.com/snipe/snipe-it/pull/12929
* Env-ify hashing variables, setting the normal defaults by @snipe in https://github.com/snipe/snipe-it/pull/12928
* Remove the loading of asset maintenances that are not used by view by @marcusmoore in https://github.com/snipe/snipe-it/pull/12943
* Use environment variable and default to PHP's sendmail_path by @joelpittet in https://github.com/snipe/snipe-it/pull/12878
* Show signature column in asset history regardless of “require sig” state by @snipe in https://github.com/snipe/snipe-it/pull/12974
* Add optional filename to backup by @snipe in https://github.com/snipe/snipe-it/pull/12983
* Check that the filename we pass ends in zip, add it if not by @snipe in https://github.com/snipe/snipe-it/pull/12984
* Refactor of #12955 by @inietov in https://github.com/snipe/snipe-it/pull/12976
* Increase state from 3 chars by @snipe in https://github.com/snipe/snipe-it/pull/12985
* Pass filename to pre-import backup by @snipe in https://github.com/snipe/snipe-it/pull/12986
* Buttons on the Accessory View Page by @akemidx in https://github.com/snipe/snipe-it/pull/12982
* Add ChipperCI configuration by @marcusmoore in https://github.com/snipe/snipe-it/pull/12989
* Add eager loading to Asset Models controller by @marcusmoore in https://github.com/snipe/snipe-it/pull/13069
* Added Multiselect of companies for custom reports by @Godmartinz in https://github.com/snipe/snipe-it/pull/12831
* Updated translation strings by @snipe in https://github.com/snipe/snipe-it/pull/13164
* Refactor importer for localization by @snipe in https://github.com/snipe/snipe-it/pull/13041
* Lots if importer UI mapping improvements

# Fixed
* Maintain activated state on editing a user by @snipe in https://github.com/snipe/snipe-it/pull/12810
* Check for Carbon exception by @snipe in https://github.com/snipe/snipe-it/pull/12818
* Removed iCheck code from merge users script by @snipe in https://github.com/snipe/snipe-it/pull/12824
* Fixed #12822 - Missing translation on bulk edit user submit button  by @snipe in https://github.com/snipe/snipe-it/pull/12825
* Added invalid parse to dontReport by @snipe in https://github.com/snipe/snipe-it/pull/12826
* Better handling for weird data passed to the API via limit and offset by @snipe in https://github.com/snipe/snipe-it/pull/12827
* [Snyk] Upgrade webpack from 5.76.1 to 5.76.2 by @snipe in https://github.com/snipe/snipe-it/pull/12798
* [Snyk] Upgrade tableexport.jquery.plugin from 1.26.0 to 1.27.0 by @snipe in https://github.com/snipe/snipe-it/pull/12768
* Small blade partial fixes by @snipe in https://github.com/snipe/snipe-it/pull/12844
* Upgrade bootstrap-table from 1.20.2 to 1.21.3 (Formerly #12733) by @snipe in https://github.com/snipe/snipe-it/pull/12845
* Remove start/end dates from casts array by @snipe in https://github.com/snipe/snipe-it/pull/12857
* Allow checkout of available components down to zero stock (fixes #12854) by @koelle25 in https://github.com/snipe/snipe-it/pull/12855
* Fixed dark themes pagination and notification drop menu by @Godmartinz in https://github.com/snipe/snipe-it/pull/12828
* Fixed footer space when customized by @Godmartinz in https://github.com/snipe/snipe-it/pull/12832
* Fixed space from un deployable total in sidebar by @Godmartinz in https://github.com/snipe/snipe-it/pull/12875
* Fixed `Call to a member function totalSeatsByLicenseID() on null`  by @inietov in https://github.com/snipe/snipe-it/pull/12885
* Fixed: Ensure users editing themselves do not deactivate their account by @marcusmoore in https://github.com/snipe/snipe-it/pull/12887
* Fixed #8342: Add ARM64 architecture to Docker Builds by @zacharyfleck in https://github.com/snipe/snipe-it/pull/12904
* Fixes state leak between tests by @marcusmoore in https://github.com/snipe/snipe-it/pull/12914
* [Snyk] Upgrade webpack from 5.76.2 to 5.77.0 by @snipe in https://github.com/snipe/snipe-it/pull/12888
* [Snyk] Upgrade bootstrap-table from 1.21.3 to 1.21.4 by @snyk-bot in https://github.com/snipe/snipe-it/pull/12891
* Fixes where clause operator in artisan checkout command by @marcusmoore in https://github.com/snipe/snipe-it/pull/12905
* Fixes sending webhook notifications for checkout and checkin by @marcusmoore in https://github.com/snipe/snipe-it/pull/12903
* Fixed #8208, #8896, #8985 and #9789:  Currency issues when using non-english locales (resubmission) by @dboth in https://github.com/snipe/snipe-it/pull/12756
* Applies #12868 - fixes EOL date on asset creation by @snipe in https://github.com/snipe/snipe-it/pull/12917
* Fixed #12918 - wrong route for clone location by @snipe in https://github.com/snipe/snipe-it/pull/12922
* Added missing case for licenses for item_count by @snipe in https://github.com/snipe/snipe-it/pull/12942
* Fixed  #12946 - warranty lookup url was not nullable by @snipe in https://github.com/snipe/snipe-it/pull/12950
* Clear the settings cache on app destruction by @marcusmoore in https://github.com/snipe/snipe-it/pull/12954
* Fixed color differences in dark themes by @Godmartinz in https://github.com/snipe/snipe-it/pull/12966
* Restrict PHP version to <8.2 by @marcusmoore in https://github.com/snipe/snipe-it/pull/12964
* Fixed Error 500 after sign and accept asset by @inietov in https://github.com/snipe/snipe-it/pull/12955
* Added missing use statement by @snipe in https://github.com/snipe/snipe-it/pull/12979
* Fixed misplaced div when saml is disabled by @snipe in https://github.com/snipe/snipe-it/pull/12981
* Fixes user name missing in accessory acceptance notifications by @marcusmoore in https://github.com/snipe/snipe-it/pull/12972
* Fixed Notes field doesn't get populate when creating/updating assets via Importer [sc-23222] by @inietov in https://github.com/snipe/snipe-it/pull/12975
* Fixed #12881 - Added icon field back into assets page by @snipe in https://github.com/snipe/snipe-it/pull/12990
* Fixed width of accessory columns in details by @snipe in https://github.com/snipe/snipe-it/pull/12991
* Tightened up some layout issues, checkbox issues in LDAP settings by @snipe in https://github.com/snipe/snipe-it/pull/12993
* Fixes PR #12831 use array bracket for multi select company by @snipe in https://github.com/snipe/snipe-it/pull/13006
* Fixed multiselect for companies by @snipe in https://github.com/snipe/snipe-it/pull/13007
* Uses actions text in backups table by @snipe in https://github.com/snipe/snipe-it/pull/13037
* Added multi-select option for location, more to custom report by @snipe in https://github.com/snipe/snipe-it/pull/13036
* Importer fix for non-Location imports by @uberbrady in https://github.com/snipe/snipe-it/pull/13038
* removes assigned_to if archived by @Godmartinz in https://github.com/snipe/snipe-it/pull/13025
* adds translation to checkout notification by @Godmartinz in https://github.com/snipe/snipe-it/pull/13024
* Disable browser tests in ChipperCI by @marcusmoore in https://github.com/snipe/snipe-it/pull/13003
* Added standardized colors to the importer by @Godmartinz in https://github.com/snipe/snipe-it/pull/13008
* Added EOL date to importer by @snipe in https://github.com/snipe/snipe-it/pull/13039
* Fixed #12947 Accessory image in checkin email when Show images in emails is disabled by @inietov in https://github.com/snipe/snipe-it/pull/13070
* Fixed #13074 [API] Remaining accessories quantity not correct by @inietov in https://github.com/snipe/snipe-it/pull/13075
* Dynamically adapt concatenation searches for MySQL and sqlite by @marcusmoore in https://github.com/snipe/snipe-it/pull/13076
* Fixed mobile nav bar and notification position by @Godmartinz in https://github.com/snipe/snipe-it/pull/13077
* Added Asset info overflow-wrap by @Godmartinz in https://github.com/snipe/snipe-it/pull/13046
* Fixes: issue #13073: deleted component addearing in asset component t… by @ak-piracha in https://github.com/snipe/snipe-it/pull/13108
* Fixed #12978 Custom Field Checkboxes not holding assigned values by @inietov in https://github.com/snipe/snipe-it/pull/13085
* Fixed Broken order by manufacturer in Assets table [sc-23313] by @inietov in https://github.com/snipe/snipe-it/pull/13114
* Fix of typo in an HTML tag by @NojoudAlshehri in https://github.com/snipe/snipe-it/pull/13127
* Fixes potentially invalid name in consumable factory by @marcusmoore in https://github.com/snipe/snipe-it/pull/13122
* Fix slack channel notifications by @stefanstidlffg in https://github.com/snipe/snipe-it/pull/13123
* Fixed #13129: Add missing LDAP lib required for LDAPS support by @qay21 in https://github.com/snipe/snipe-it/pull/13143
* Fixed #13098: Status Label Chart Color, resets to default when editing a Status Label by @ak-piracha in https://github.com/snipe/snipe-it/pull/13098
* Fixed #12434: Include Docker Specific Paths for dompdf chroot by @m4us1ne in https://github.com/snipe/snipe-it/pull/13124

## New Contributors
* @zacharyfleck made their first contribution in https://github.com/snipe/snipe-it/pull/12904
* @dboth made their first contribution in https://github.com/snipe/snipe-it/pull/12756
* @ak-piracha made their first contribution in https://github.com/snipe/snipe-it/pull/13108
* @NojoudAlshehri made their first contribution in https://github.com/snipe/snipe-it/pull/13127
* @stefanstidlffg made their first contribution in https://github.com/snipe/snipe-it/pull/13123
* @qay21 made their first contribution in https://github.com/snipe/snipe-it/pull/13143
* @m4us1ne made their first contribution in https://github.com/snipe/snipe-it/pull/13124

**Full Changelog**: https://github.com/snipe/snipe-it/compare/v6.1.0...v6.1.1