Upgrade notes
- For the area auto logout feature, a timed service action/systemd service needs to be enabled on the server. See
nemo_auto_logout.serviceandnemo_auto_logout.timerfiles in the systemd resource folder - If your are using Django Rest Framework's pagination, change the
DEFAULT_PAGINATION_CLASStoNEMO.rest_pagination.NEMOPageNumberPaginationto be able to override page size on the fly using thepage_sizerequest parameter
New features
- Added the ability to set an auto-logout time for each area. A timed service task needs to be enabled for this feature to work (thanks
Cornell NanoScale Facilityfor the contribution!). - Added checkboxes in calendar view to allow viewing more than one tool/area at a time (thanks
Stanford SNFfor the contribution!) - Configuration agenda's
near futuredays can now be configured inCustomization -> Tools(thanksPolytechnique Montrealfor the contribution!) - Added an option in Customization -> Tools to allow tool superusers to be exempt from reservation policy rules (thanks
UPenn Singh Centerfor the contribution!) - A
topichas been added to the email subject in the broadcast email feature. This topic will be the tool, project or account selected to send an email about. The topic is not added when more than one tool/project/account is selected (thanksUPenn Singh Centerfor the contribution!) - Consumables can be set to be checked out by regular users (True by default). This only affect instances where consumable self checkout is enabled (thanks
Stanford SNFfor the contribution!) - Added support for banks for NCD/ProXR interlocks and support for relay 0 to turn on/off all relays (thanks
Stanford SNFfor the contribution!) - Reviewers for adjustment requests and access requests can now be set on the relevant tool/area and defaults to all facility managers if left blank. This replaces the manager's preference fields to limit adjustment requests (thanks
Stanford SNFfor the contribution!)
Improvements
- In status dashboard, jumbotron and tool status, now displaying the date using Django's MONTH_DAY_FORMAT setting (default to "October 9th"). See #159
- Added the ability to attach pictures when using the broadcast email feature (thanks
UPenn Singh Centerfor the contribution!) - Added a resizing limit for attached images when reporting a tool problem (thanks
UPenn Singh Centerfor the contribution!) - Added a setting to send new tool problems to all qualified users (thanks
USC Nanofabfor the contribution!) - For PIs in usage page, now showing user's own usage by default, instead of all managed projects (thanks
Cornell NanoScale Facilityfor the contribution!) - Showing project PIs in edit user page when available
- For temporary access requests, the user office will not be cc'd anymore
- Freed time notifications will now be sent when a reservation is missed or shortened
- Added
service personnelcheckbox on edit user page to give users the service personnel role - Added notes for consumables, updated user interface to show both notes and quantity left (thanks
Stanford SNFfor the contribution!) - Added label support for dynamic form (post usage questions, reservation questions) for radio buttons, checkboxes and dropdown types. This allows to show different values than the one being submitted
- Added actions to enable/disabled multiple interlock and sensor cards at the same time
API
- Added exact filters wherever iexact was used
- Added filters for validated and validated_by for all charge types
- Added readonly PIs field in Projects endpoint
- When using pagination and the new
NEMOPageNumberPaginationclass, the page size can be changed on the fly by using thepage_sizerequest parameter - Pagination is now automatically bypassed for any requests not rendered using the Browsable API (except if the page_size parameter is used explicitly in the request). Consequently, exporting in json, excel, etc. will return all results and be less confusing.
Bug fixes
- Fixed a bug in staff status not showing closures when the closure is on the last day of the period the user is looking at
- Fixed conditional expression in tool status wrongly showing usage data history tab to staff even when no post usage questions are set (#164)
- Fixed API issue when data would not be rolled back when bulk saving users with integrity errors (non unique username for example)
- Fixed tab issue in requests not showing the correct default tab in some cases
Libraries
- cryptography 41.0.2 -> 41.0.4
- Pillow 10.0.0 -> 10.0.1 (vulnerability)
- Django 3.2.21 -> 3.2.22 (vulnerability)
- django-filter 23.2 -> 23.3