eLabFTW-4.1.0
Changelog
Version 4.1.0
Release notes:
This version is full of bugfixes and enhancements, with a few new features too. As it contains some security improvements, it is recommended to all users to update to this version as soon as possible.
Breaking changes:
No breaking changes from 4.0.11, update like usual.
Important changes for SAML users:
- Some settings that were in the "SP" part are now attached to the IDP. This means you can now configure different IDP with different values for expected "email", "team", "firstname" and "lastname" attributes. Previous values are copied during upgrade to each IDP, so there is no breaking change and nothing for you to do after upgrade. (#2879)
Bugfixes:
- Fix markdown editor preview button
- Fix a toggle button not working on Sysconfig page
- Fix json editor behavior (#2882 by @mbolten)
- Fix incorrect position of cursor in doodle on wide image (fix 2781 via #2875 by @mbolten)
- Fix linked item import button (#2860)
- Fix plasmid viewer for timestamped experiments (#2855 by @mbolten)
- Fix metadata not saving changes on admin panel (fix #2832 via #2845)
- Fix create shortcut (#2838 by @mbolten)
- Fix item category name with special characters (#2812)
- Fix switch editor (#2810)
- Fix user not able to add existing tags if admin setting for creating tags is set to no (not default)
- Fix issue with incorrect date in database (#2910)
- Fix mathjax in markdown preview (#2921)
New features:
- Allow admins to force using templates for experiments
- Add QR code only pdf generation (PR #2955 fix #2940)
- Add metadata search on search page (#2941)
- Add a button to go back to the top of the page (fix #2925)
- Add a warning if an entry was modified less than 600 seconds ago by someone else (fix #2243)
Enhancements:
- Remove the bold styling of column names during CSV import. See #2897
- Stop asking for "confirmation password" and instead provide a way to toggle the visibility of the input field
- Password reset email now sent in text and email formats
- Make sure we cannot unarchive a user if another active account with same email exists
- Hide archived users from team page
- Add items to linked items when '#' type shortcut link is used in editor (#2861 by @mbolten)
- Add keepalive function to inform users of session timeout
- Increase maximum height of images in pdf
- Add tag autocompletion in show mode
- Display message to user if tag creation is not available
- Add autocomplete hints for browsers on some fields (email, password, name)
- Sort available languages in user control panel
- Hide the share button if anonymous login is not possible
- Make the title column in table mode wider
API:
- Add a function to append to body (see elabftw/elabapy#23)
Security:
- Multiple improvements in the way passwords are reset and accounts are protected from brute-force guessing.
- Password reset links valid for 15 minutes now
Dev corner:
- Code improvements all over the place, as always
- New Tab class to deal with tabs
- Removed stale assets/files
- Add global namespace imports in phpcs (#2890 by @mbolten)
- Add CITATION.cff
- Upgrade dependencies
- Update i18n terms
- Replace callbacks with MutationObserver (#2876)
- Move assets in their correct place /cleanup files (#2874 #2873 #2872 by @mbolten)
- Replace deprecated methods for csv (#2851 by @mbolten)
- Remove old code (#2842, #2841 by @mbolten)
- Add many unit tests
- Fix minification of JS assets
- Mathjax configuration rework (#2936 by Marcel Bolten)
Contributions:
Shoutout to Marcel Bolten for proposing many good quality code changes!