github usnistgov/NEMO 7.2.0

latest releases: 7.2.4, 7.2.3, 7.2.2...
4 months ago

Upgrade notes

  • This update can take up to 10 minutes so make sure to plan enough downtime.
  • Make sure you add django_jsonform to your INSTALLED_APPS in settings.py
  • Migrations for NEMO 3.x and NEMO 4.x have been squashed, which means if by any chance you are currently still on NEMO < 5.0.0, you will need to update to NEMO 7.1.4 before updating to 7.2.0

New features

  • Added support for Staff on tool permission (defined in Detailed administration -> Tool or Detailed administration -> User). Thanks MIT.nano for the contribution!
    Users who are given staff on tool permission for a specific tool can:
    • use the tool on behalf of a user or for remote project
    • use the configuration agenda for that tool (and change the configuration)
    • use the maintenance page for that tool (and update/resolve tasks)
    • reset the tool's usage counters
    • qualify and train users on that tool
    • see the tool's credentials
    • receive Task status updates (when enabled)
  • Added experimental support for custom tool properties defined by a JSON Schema. This JSON Schema is used to create a GUI in Detailed administration -> Tool to allow admins to select properties for their tools. Once defined, the properties are also displayed on the tool control page as key/value pairs. More information on the schema definition can be found here: https://django-jsonform.readthedocs.io/en/latest/schema.html

Improvements

  • Added option in Customizations -> Tool -> Tool control to automatically pre-fill post usage answers with pre usage answers, as long as the question's name matches. Thanks MIT.nano for the contribution!
  • Added support for SCRIPT_NAME in Gunicorn's configuration when using docker image, by passing the environment variable: GUNICORN_SCRIPT_NAME (this is used for sub_path deployments)
  • Usage reminders do not include tools the user has an ongoing reservation for anymore. Thanks MIT.nano for the contribution!
  • Text area resizing in NEMO (mostly used in Customizations and Custom forms) now extends according to the placeholder text too.
  • Pre/post usage data will now be displayed in the Usage page. Thanks MIT.nano for the contribution!
  • In Email broadcast feature, updated the display of active/inactive and access expired users to be more clear and straightforward.
  • When qualified users are sent tool problems, they will now also receive problem resolutions (same for users subscribing to tool problems in preferences).
  • Added filter by tool category in maintenance page. Thanks MIT.nano for the contribution!
  • Comments can now be pinned. Pinned comments are be red and serve as tool alerts. They are displayed at the top of the tool control page and on the calendar. Thanks MIT.nano for the contribution!
  • In the Kiosk, the first name of the badged-in user will be be displayed in the bottom left corner.
  • Added option to customize the message displayed by the Kiosk page. Thanks MIT.nano for the contribution!
  • Updated user profile page to add separate active/inactive projects, access expiration and tool responsibilities (primary owner, backup, staff on tool, superuser)
  • Added options in Customizations -> User to display a warning and/or a danger banner when their access is about to expire (from access expiration date). The number of days before a warning/danger message is displayed is customizable.
  • Added account type and project type filter in project billing. #292 . Thanks @anielsantos for the contribution!
  • Added options (on successful login and logout) to add kiosk button shortcuts in area access screens, so users can go directly to the Kiosk after logging in/out of the lab. The options are available in Customization -> Application. Thanks UPenn Singh Center for the contribution!
  • The button on the calendar that is used to only display tools the user is qualified is now available for staff users to show only tools they are responsible for (as primary & backup owners, staff on tool or superuser). Thanks Stanford SNF for the contribution!
  • For interlock cards, added support for "reverse_signal" option in extra_args which will send the opposite signal (lock vs unlock) to the interlocks. This is useful for boxes set up to "fail open". Thanks Harvard CNS for the contribution!
  • List of qualified users for a tool will now display the date they last qualified.

API

  • Fixed an issue that was bypassing model validation when fields were set to "__all__".
  • Added filtering by serial for Tools.
  • Added "shortened" filter for Reservations.
  • Added Customizations and Tool comments endpoints.

Bug fixes

  • Fixed issue when no project type was selected when creating a project which was throwing an error when it shouldn't.
  • Fixed some permission issues in the Kiosk where the kiosk user was used instead of the badged in user.
  • Added new DB constraint to prevent duplicate tool usage events and area access records from being created.
  • Fixed an issue when users given temporary access to a lab would still get abuse messages that they were not supposed to be in the lab.
  • Fixed a problem with duplicate reservations by retrieving only the last one instead of all the matching reservations within the timeframe.
  • Fixed an issue in Requests when it would display a blank page when only Staff assistance requests were enabled.
  • Fixed error when a customization page does not exists by returning a 404 page instead of blowing up.
  • Fixed missing Project billing link for facility managers

Libraries

  • Django 4.2.20 -> 4.2.23
  • cryptography 44.0.2 -> 45.0.4
  • django-auditlog 3.0.0 -> 3.2.0

Don't miss a new NEMO release

NewReleases is sending notifications on new releases.