Releases: snipe/snipe-it
v6.0.14
⚠️ IMPORTANT: Later versions of Snipe-IT will require PHP8.0 or greater
What's Changed
- Added new SCIM env vars; and upgraded SCIM library by @uberbrady in #12088
- Fixed 500 on missing license files on server by @snipe in #12105
- Fixed 500 error if model files are missing on server by @snipe in #12107
- Added custom field option to view assets by @snipe in #12096
- Fixed HTTP AssetTransformer to generate an empty object for missing custom fields by @fernando-almeida in #12106
- Allow searching directly for asset tag and serial via main API endpoint by @snipe in #12118
- Replace error suppression with better logic by @snipe in #12121
- Added: API endpoint to trigger a user email notification with their assigned assets by @lukasfehling in #12119
- Added ability to include deleted items in tag search endpoint by @snipe in #12120
- Fixed #12109 - Duplicate column on Category listing by @deloz in #12129
- Fixed 500 if
format
is not passed to the create custom field endpoint payload by @snipe in #12131 - Fixed issue where View Assigned Assets would crash if there are no custom fields for any assigned models by @snipe in #12132
- Fixed #12095 - email logo still linking even if settings deny it by @deloz in #12127
- Fixed checkout to all description by @Godmartinz in #12122
- Added
serial
column to the user history page by @Godmartinz in #12141 - Fixed #9949 - PATCH to custom fields failing on validation (alt approach to #12011) by @snipe in #12139
- Fixed restore icon in table view by @WhaleHub in #12148
- Fixed background color for readonly date picker fields by @snipe in #12157
- Fixed #12046 #12137 Custom field checkboxes not holding value by @inietov in #12165
- Fixed #12161 500 error when accepting assets by @inietov in #12168
- Fixed #12046 #12137 Custom field checkboxes not holding value for develop by @inietov in #12166
- Fixed categories view columns matching by @Robert-Azelis in #12164
- SCIM updates by @uberbrady in #12159
- Fixed #11980 Submit button deactivated in Users' Bulk Checkin if no status selected by @inietov in #12167
- Fixed #11699 and #12065 Email issues by @inietov in #12125
- Added serial number to emailed inventory report by @snipe in #12185
- Fixed #12133 - Added job title to header in print assets view by @snipe in #12187
- Fixed #12119 - updated user inventory language to use strings by @akemidx in #12182
- Fixed life-ring icon color with themes by @Godmartinz in #12194
- Fixed #11682 Custom field type of CUSTOM REGEX defaults back to ANY on editing by @inietov in #12197
- Fixed accidental curly quotes in #12182 by @akemidx in #12204
- Fixed typo in screen reader text by @snipe in #12219
- Fixed regression with the custom report export user fields by @Godmartinz in #12134
- Fixes the margin and padding for img barcode in labels by @Godmartinz in #12224
- Use
heroku-redis:mini
instead ofhobby
as It is deprecated by @oguzbilgic in #12231 - Add throttle for password reset form by @snipe in #12221
New Contributors
- @fernando-almeida made their first contribution in #12106
- @lukasfehling made their first contribution in #12119
- @deloz made their first contribution in #12129
- @WhaleHub made their first contribution in #12148
- @akemidx made their first contribution in #12182
- @oguzbilgic made their first contribution in #12231
Full Changelog: v6.0.13...v6.0.14
v6.0.13
⚠️ IMPORTANT: Later versions of Snipe-IT will require PHP8.0 or greater
What's Changed
- Added try/catch wrap notifications to catch notification failures on checkin/checkout by @uberbrady in #11834
- Fixes the calc of months and fixes typo of the word depreciation by @Godmartinz in #11986
- Fixed wrong icons for mobile view for locations listing by @snipe in #11988
- Fixed: Okta LDAP Manager Attribute - Better handle LDAP Manager settings by @uberbrady in #11995
- Added cache manager lookups in LDAP for performance boost by @uberbrady in #12006
- Added default tab to locations by @snipe in #12008
- Changed button icon for importer by @snipe in #12015
- Added externalId support to SCIM integration by @uberbrady in #12030
- Fixed #12027: Add memcached php extensions to docker images by @StarlessNights in #12028
- Fix typo in Dockerfile.fpm-alpine by @eltociear in #11928
- adds shortcuts for listing, creating, and saving by @Godmartinz in #11951
- Added new tab to locations by @snipe in #12035
- Added - set
expected_checkin
tonull
on user bulk checkin and delete by @snipe in #12038 - Renamed column back to assets_count for legacy by @snipe in #12040
- Fixed #12009 - Added ability to reflect color in sidenav if one is given by @snipe in #12041
- Fixed string for invalid current password by @snipe in #12042
- Fixed (?) method name? by @snipe in #11766
- Added uploads to components by @snipe in #12057
- Added uploads to components by @snipe in #12058
- Use the generic file uploads strings by @snipe in #12059
- Added accessories file uploads by @snipe in #12060
- Fixed writes to the
externalId
from SCIM by @uberbrady in #12049 - Fixed - small uploads fixes by @snipe in #12066
- Fixed model file image path/variable by @snipe in #12067
New Contributors
- @StarlessNights made their first contribution in #12028
- @eltociear made their first contribution in #11928
Full Changelog: v6.0.12...v6.0.13
v6.0.12
What's Changed
- Fixes mobile views and clickability of sidebar menu by @Godmartinz in #11916
- Added autoglossonyms for locales and translations for countries by @snipe in #11924
- Fixed #11710 - Validation of checkbox data with multiple values by @inietov in #11925
- Added start and end dates to users by @snipe in #11926
- Use the new scim-trace feature from our fork of
laravel-scim-server
lib by @uberbrady in #11927 - Fixed Error 500 undefined variable
$item
creating a new user. by @inietov in #11933 - Fixes the margin top adjustment for desktop by @Godmartinz in #11937
- Fixed Depreciation date diff readable precision by @inietov in #11959
- Added clearer LDAP activated helptext by @snipe in #11952
- Sets nullable attribute on validation by @snipe in #11960
- Correct comparison logic by @nh314 in #11942
- Remove required mark by @nh314 in #11949
- Bump actions/checkout from 2 to 3.1.0 by @dependabot in #11944
- Use admin ID for audit log notification by @snipe in #11964
- Added new translations by @snipe in #11971
New Contributors
Full Changelog: v6.0.11...v6.0.12
v6.0.11
What's Changed
- Fixed 500 error when sending unaccepted assets reminder by @inietov in #11700
- Fixed #11695 Problem with checkin all and delete user. by @inietov in #11738
- Fixed Validation error when empty default customfield values by @inietov in #11737
- Fixed #11742: display correct file sizes when using S3(-like) storage by @dsferruzza in #11752
- Fixed possible XSS on dashboard note by @snipe in #11758
- Fixed the order expiring assets are listed in notifications by @Godmartinz in #11489
- Send notifications when Acceptance Assets actions occur [sc-9917] by @inietov in #11661
- Increased colspan for checkboxes by @snipe in #11765
- Fixed Double login when switching users by @inietov in #11790
- Upgrade bootstrap-table from 1.20.2 to 1.21.0 by @snyk-bot in #11806
- Try conditional formatting to support apache 2.2 and 2.4 by @snipe in #11072
- Fixed
min_quantity
field values are not importing into Snipe-IT by @inietov in #11811 - Fixed #11822 - depreciation calculations off by @Godmartinz in #11823
- Fixed custom asset report timeout - removed assetlog by @snipe in #11824
- Added Applecare lookup link if manufacturer is apple by @snipe in #11825
- Fixed #11769: PAT Test hardcoded text by @rnelsonee in #11771
- Fixed #9801 #11199 Default Values for Checkbox Field Types Unaccessible by @inietov in #11830
- Fixed 500 in depreciation on asset view when no purchase date by @snipe in #11835
- Fixed 500 error if uploaded file is missing from asset view by @snipe in #11836
- Downgraded BS Tables by @snipe in #11837
- Larger checkbox in lists by @snipe in #11838
- Check for
licenses.files
permissions by @snipe in #11842 - Corrected default mysql port from 3309 to 3306 by @geo-chen in #11762
- Fixed Purchase date "readonly" value makes purchase date unable to be nulled in update form [sc-19540] by @inietov in #11856
- Fixed #11827 Throw exception when there are no available seats for checkout. by @inietov in #11857
- Use BS datepicker’s built in clear button by @snipe in #11877
- Delete duplicate fields from the importer dropdown menu [sc-19547] by @inietov in #11878
- Bump codacy/codacy-analysis-cli-action from 4.1.0 to 4.2.0 by @dependabot in #11870
- Fixed #11847 404 error during Import if a checkout type of location is specified and no checkout location is passed by @inietov in #11854
- Added notes to audit mail notification by @BasO12 in #11764
- Fixed the color choice for the ldap_test_results by @Godmartinz in #11853
- Fixed unit test suite that was not running, added working browser test by @chartjes in #11671
- Fixed #11871 Replacing (deprecated) patchwork/utf8 by polyfill/mbstring. by @sunflowerbofh in #11872
- Replace
patchwork-utf8
by @sunflowerbofh in #11886 - Fixed #11889 - API route for status labels asset listing by @snipe in #11890
- Fixed #11521 - Add option to switch to using status meta from status label name by @snipe in #11893
- Added counts to Dashboard Pie Chart legends and tooltips by @uberbrady in #11894
- Modified dashboard tooltips to add percentage as well as count by @uberbrady in #11895
- Fixed depreciation API call by @snipe in #11896
- Use
EscapeFormula()
in CSV export by @snipe in #11901 - Fixed error 500 when downloading asset acceptance report. [sc-19555] by @inietov in #11906
- Overhaul of UI for unprivileged users by @snipe in #11908
- Updated lnaguage strings by @snipe in #11917
New Contributors
- @dsferruzza made their first contribution in #11752
- @rnelsonee made their first contribution in #11771
- @geo-chen made their first contribution in #11762
- @BasO12 made their first contribution in #11764
- @chartjes made their first contribution in #11671
Full Changelog: v6.0.10...v6.0.11
v6.0.10
What's Changed
- Added a closing div tag around the mail text help block by @exula in #11635
- Fixed Monthly depreciation calculation if EOL is blank by @Godmartinz in #11642
- Fixed the active flag to be as it was in later v5 releases by @uberbrady in #11648
- Fixed #8928 - add URL and ID to custom asset report by @snipe in #11649
- Fixed #6877 - Added notes to consumables, components on checkout by @snipe in #11650
- Fixes Departments update/store to allow company and/or location ids to be null by @Godmartinz in #11660
- [Snyk] Upgrade acorn from 8.7.1 to 8.8.0 by @snyk-bot in #11664
- Revert "Prevent to delete a user if still has consumables associated to them" by @snipe in #11675
- Added
null
option forpurchase_date
andexpected_checkin
dates by @snipe in #11666 - Fixed #6899 Docker container's php configuration isn't congruent with snipe-it uploads setting size. by @octobunny in #11662
- Added the category in the side info on Models > View by @snipe in #11676
- Fixed #11711 clearfix missing on admin settings page to prevent blanking divs by @Godmartinz in #11712
- Fixed #11706 Manager name by @wewhite in #11707
- Fixed #10565, #11086: correctly looks up Manager DN from AD Manager a… by @wewhite in #11705
- Fixed Translation String: wrong key at request canceled message by @julian-piehl in #11703
- [Snyk] Upgrade webpack from 5.73.0 to 5.74.0 by @snyk-bot in #11681
- [Snyk] Upgrade @fortawesome/fontawesome-free from 6.1.1 to 6.1.2 by @snyk-bot in #11680
- Declare DB_PORT in all .env files by @kylegordon in #11669
- Fixed Search in activity report for full name in relation by @inietov in #11651
- Fixed #11509 allow-ldap-anonymous-bind by @sunflowerbofh in #11510
- Fixed crash on Asset View if file doesn’t exist on server by @snipe in #11723
- Updated compiled assets by @snipe in #11727
- Fixed Validation error when creating custom fields' default values by @inietov in #11724
- Fixed #11709 Dates in custom fields not always stored in the correct format by @inietov in #11726
- Added style to readonly date fields by @snipe in #11728
- Fixed #11708 - pre-create private_storage directories for Docker restores by @uberbrady in #11729
- Fixed #11679 Importing Licenses - Field Mismatch by @inietov in #11730
- Fixed #10593 - added signature column to user history by @snipe in #11731
- Fixed: Log user out of other devices when they change their password by @snipe in #11735
New Contributors
- @octobunny made their first contribution in #11662
- @wewhite made their first contribution in #11707
- @julian-piehl made their first contribution in #11703
- @kylegordon made their first contribution in #11669
- @sunflowerbofh made their first contribution in #11510
Full Changelog: v6.0.9...v6.0.10
v6.0.9
Version 6.0.9 of Snipe-IT includes some small API and UI fixes, including better SCIM support, improved consistency among date formatting across many views, and the long-awaited fix to the Asset Importer that will now automatically generate asset tags for you if you include the asset tag column but leave it blank and you have auto-incrementing assets enabled.
What's Changed
- Upgraded jquery-UI by @snipe in #11531
- Upgraded our fork of
laravel-scim-server
to better support SCIM creates by @uberbrady in #11528 - Fixed #11540 - accessory api routes from
GET
toPOST
by @Godmartinz in #11541 - Added checkin without delete for users by @snipe in #11542
- Fixed #11549 - dark skin dropdown menu fixes by @snipe in #11551
- Upgraded
imagemin
by @snipe in #11553 - Applies current time to checkin date by @snipe in #11547
- Bumped packages by @snipe in #11554
- Added link to
SEDC / perl-www-snipe
by @snipe in #11561 - Fixed inconsistent
*_LOG_LEVEL
variables; set reasonable defaults by @uberbrady in #11562 - Added bulk edit to company view by @snipe in #11593
- Switched to conditionally adding the
nbsp;
that the table needs for proper layout if cell is empty by @snipe in #11578 - Fixed legacy routes for
php artisan optimize
by @snipe in #11595 - Fixed date format for Current Date output on location print assigned by @snipe in #11597
- Adds options to include Deleted assets to custom asset reports by @Godmartinz in #11594
- Use apropiate string for license actions by @inietov in #11603
- Hide requested assets if the user cannot see requestable items by @snipe in #11604
- Disallow checkout if qty = 0 by @snipe in #11605
- Use
unique_undeleted
instead ofunique
for custom fields unique validation by @snipe in #11596 - Error 404 fixed on submitting without mandatory field by @vickyjaura183 in #11601
- Added time diff to EOL in asset view by @snipe in #11608
- Fixed labels on radio buttons in custom report by @snipe in #11609
- Added
deleted_at
to custom report export by @snipe in #11610 - Added
configuration change
to maintenance types by @snipe in #11611 - Added relations to report search by @snipe in #11612
- Fix auto incrementing in CSV importer [sc-19366] by @inietov in #11615
- Fixed wrong calculation of assigned components by @inietov in #11617
- Added
German (Informal)
as a language option (only partially translated currently)
New Contributors
- @vickyjaura183 made their first contribution in #11601
Full Changelog: v6.0.8...v6.0.9
v6.0.8
What's Changed
- Fixed custom fields not populating when creating asset from asset model page by @mikeroq in #11451
- Added covering indexes for performance on
license_seats
by @uberbrady in #11471 - Upgrade font-awesome to v6 by @snipe in #11478
- Fixes padlock icon by @snipe in #11479
- Changed model file icon by @snipe in #11480
- Fixes license file(s) delete modal showing entire model data instead of just the name by @mikeroq in #11484
- Fixed "print assigned" sig broken by @snipe in #11490
- Fixed migrations on restore by @snipe in #11483
- Bump codacy/codacy-analysis-cli-action from 1.1.0 to 4.1.0 by @dependabot in #11458
- Fixes "email list of all assigned" apparently being successful even if the user has no email address by @mikeroq in #11492
- Added checkbox to exclude archived assets from custom reports by @Godmartinz in #11488
- Fixes #11496 - Wrong URL generated for download of asset acceptance PDF if locale was not en by @mikeroq in #11502
- Fixed #11508 - font size in alert menu by @snipe in #11516
- Changed some autolabeler and code owners by @snipe in #11517
- Use checkbox formatting on BOM and archived checkboxes in custom report by @snipe in #11526
Full Changelog: v6.0.7...v6.0.8
v6.0.7
This is just a small release that adds updated translations for German, Estonian and Turkish, fixes an issue with asset acceptance when you don't have signatures required, and fixes an issue withe the restore methods for models and users.
What's Changed
- Fixed #11393 - reject acceptance if no file is present by @snipe in #11440
- Adds check to AcceptanceController to see if signatures are enabled by @mikeroq #11444
- Fixes #11452 - Asset Restore routes/buttons also asset models/users restore as well by @mikeroq in #11453
- Fixes #11459 Missing import for Setting model in AcceptanceController by @mikeroq in #11460
- Updated translations by @snipe in #11467
- Fixed typo by @reederda in #11462
New Contributors
Full Changelog: v6.0.6...v6.0.7
v6.0.6
This version includes some small bug fixes and a handful of UI improvements that we think you'll really love - and adds a new index to improve performance. We also snuck in some additional filters for several of the API endpoints, so you can now search on name
, address
, etc on things like locations, categories, companies, etc. (You could always search by name, address, etc but it would search across all fields instead of that specific filter field.) We'll be updating the docs shortly.
We've also made some improvements to our SCIM support so that it should be more tolerant of missing fields. We've love feedback on that either via Github or on our awesome Discord server. (Seriously though, the community there is great and you should definitely check it out.)
First, the good stuff:
Model Files Uploads
This is a feature that we know people have been asking for so we're excited to finally deliver it. Asset Models now allow file uploads, and will appear on the models page and also on the new "Additional Files" tab of the individual assets. This is great for things like user's manuals that you would have previously had to upload individually to alllllll of the assets within that Asset Model, which was a bit of a bummer, and a waste of time and disk space.
Custom Fields Weirdness
We've been seeing an issue in certain cases where PHP has been upgraded that can result in a 500 error when adding/updating an asset, because what we're expecting that column to be named (from the custom_fields
table) and what it's actually named on the assets
table are now different, due to (what we think is) a small change in the PHP transliteration library.
This updates the existing snipeit:regenerate-fieldnames
console command to check both the column name on the assets
table and also the value in the db_column
field in the custom_fields
table.
You can tell if this script will fix your issue by going to the Custom Fields page in your UI, disclosing the "DB Column" column using the column selector, and then looking for warning text.
Output of the console log looks like this:
LDAP Validation
Since LDAP configuration is clunky and difficult and is a common source of frustration for our users, this PR throws errors on the LDAP settings page if we detect any of the most common wrong settings. While this is not a panacea, it will at least hopefully provide some more useful feedback to the user so they can see what might be wrong.
Note: this happens on the LDAP settings page LOAD, not SAVE. We're not actually interfering with the user's data submission, but we're making it clear that it's unlikely to work. This does not modify the behavior of LDAP or the saved settings in any way.
Email User a List of Items Checked Out
We've also introduced a new feature that allows you to send a user a copy of all of the assets, licenses, etc from the user's profile page.
Personal API Token Console Command
We've added the ability to generate API tokens via a new console command:
php artisan snipeit:make-api-key --help
php artisan snipeit:make-api-key --user_id=1 --key-only
php artisan snipeit:make-api-key --user_id=1
php artisan snipeit:make-api-key --user_id=1 > api.txt
Potentially Confusing / Breaking Changes
Purging data and backup deletion must now be enabled in the .env
file*
This is just an additional security measure put in place so that a bad actor within an organization can no longer delete backups or purge deleted data. It defaults to DISABLED, so if you don't see your backup delete icons or your purge isn't working, be sure to enable it using the new ALLOW_BACKUP_DELETE
and ALLOW_DATA_PURGE
environmental variables. (You'll have to add those to your .env
if this is an upgrade.) We recommend keeping this disabled until you actually have to perform those tasks, and then disabling it once you're done. You can read more about that here.
Fixed a bug in Depreciation math
Back in February, we introduced a bug that made the calculation of depreciated values to be a little... well, wonky. We've reverted that change and Depreciation calculations should be working again.
New disclosure arrows on Asset Create/Edit and User Create/Edit
We think this is a cool feature, but it could be confusing at first. We now have disclosure arrows for the optional sections of user and asset creation, which should keep the screen less cluttered for people who don't use all of the optional fields. Once you expand the arrows, that state will be remembered via browser cookie.
Screen.Recording.2022-06-27.at.10.48.42.AM.mov
Updated Assets Counts
If you do NOT have the 'Show archived assets in the "all assets" listing' option checked in Admin Settings > General Settings, your dashboard count totals and totals on your tabbed interfaces will have changed to only include non-archived assets.
What's Changed in v6.0.6
- Added missing postal code from user view by @snipe in #11365
- Fixed non-dark mode black theme by @Godmartinz in #11323
- Updated/upgraded JS assets by @snipe in #11367
- Fixed #11378 - Added better excel export by @snipe in #11380
- Fixed check for archived setting on counts by @snipe in #11382
- Fixed missing
archived
tooltip by @snipe in #11384 - Small fixes to default blue by @snipe in #11386
- Added eula blade for licenses/consumables/components and fixes
assigned_to
for PDFs by @Godmartinz in #11379 - Fixed dropdown column select font color in bootstrap tables by @Godmartinz in #11375
- Added
created_by
to users by @snipe in #11383 - Moved the settings search box higher by @snipe in #11387
- Typo of 'general' was in the migration blade a few places by @uberbrady in #11389
- Disallow purge backup deletion by default and, enable via
.env
by @snipe in #11388 - Upgrade webpack from 5.72.1 to 5.73.0 by @snipe in #11391
- Upgraded guzzle to 7.4.5 by @snipe in #11392
- Adds validation to custom fields' default values by @inietov in #11370
- Fixed #8155 - added disclosure arrows to asset creation/edit by @veenone in #10967
- Remember the state of the disclosure arrows in Assets by @uberbrady in #11403
- Added disclosure arrows for lesser used options on user screen by @snipe in #11407
- Only care about the custom field's converted name when updating the custom field itself by @snipe in #11405
- Fixed custom field transliteration by @snipe in #11404
- Add a new
--filter
option to Artisan ldap-sync command by @uberbrady in #11408 - Add index across
username
anddeleted_at
to improve performance by @uberbrady in #11413 - Fixed #9757 - Added model uploads by @snipe in #11412
- Added additional search filters for location API by @snipe in #11414
- Added additional filters for api indexes by @snipe in #11415
- Added personal access endpoint to API and API token console command by @snipe in #11416
- Added backup download via API by @snipe in #11418
- Fixes BadMethodCallException Call to undefined method App\Models\Asset::unaccepted() for master [ch-17636] by @inietov in #10758
- Fixed #9813: Duplicate function accept-asset by @dampfklon in #9822
- Added
checkoutByTag
API endpoint for assets by @ntbutler-nbcs in #11417 - Make SCIM be more tolerant of missing fields by @uberbrady in #11430
- Added button to email user list of assets from profi...
v6.0.5
⚠️ IMPORTANT: Snipe-IT v6 requires PHP 7.4 or greater, and does support PHP8
This update fixes an issue with signed EULA text not showing up correctly in PDFs if using Cyrillic or some other font types, and also adds some nicer UI elements to common pages. It also adds a fullscreen option to most tables, which could be very helpful for those working with large lists.
What's Changed
- Fixes Asset location not changing when assigned user's location change via importer by @inietov in #11169
- Fixed SC-19104 - fixes to
ldap:troubleshoot
artisan command by @uberbrady in #11309 - Fixed #11308 - added bulk edit on statuslabels detail page by @snipe in #11310
- Fixed #11175 - Use the Deja Vu font in PDFs to be able to support Cyrillic, etc by @snipe in #11314
- Nicer suppliers and manufacturers UI by @snipe in #11313
- Tweaked CSS for smaller padlock by @snipe in #11316
- Added fullscreen option to tables by @snipe in #11315
- Added item count badges to companies by @snipe in #11324
- Added
number_format()
to tab badges by @snipe in #11326 - Fixed #11285 - Depreciation index table missing pagination by @mikeroq in #11329
- Fixed #11343 - added ability to null asset name on checkin by @snipe in #11357
- Fixed #11335 Assets transformer date customfields issues by @inietov in #11352
- Fixes issue where asset images were showing up in checkin emails when that option was disabled in settings by @uberbrady in #11359
- Fixed #11332 Added website field that was missing from update and store method. by @mikeroq in #11337
- Fixed #11351 - add link on asset view to order number by @snipe in #11364
- Fixed missing
password.token
string and checked for user existing before attempting to send reset email by @snipe in #11358
New Contributors
Full Changelog: v6.0.4...v6.0.5