github usnistgov/NEMO 7.4.0

4 hours ago

Upgrade notes

  • Remove django-jsonform: this dependency is no longer used and must be removed from your INSTALLED_APPS.
  • Only if using custom policy classes or for plugin developers:
    • Update policy settings: to prevent deprecation warnings, rename NEMO_POLICY_CLASS to MAIN_NEMO_POLICY_CLASS and NEMO_POLICY_CLASSES to EXTRA_NEMO_POLICY_CLASSES (backward compatibility is temporarily maintained).
    • Developers: when adding policy classes, update your AppConfig to use the new add_extra_policy_class helper from NEMO.plugins.utils.

Improvements

  • Added configurable calendar resolution and label interval.
  • Added a link back to staff charge on usage events when both are started at the same time from the tool control page
  • Handling user access errors more gracefully in area views (tablet and web) by showing the error instead of a blank error page
  • Added linked consumable withdrawal details in calendar usage
  • Added option to stop charging staff time but keep using the tool
  • Added customization to hide tool owners information from the tool details tab
  • Users are now able to create reservations on the "reservation and use" calendar view
  • Added new customization to choose what the default event view should be on the calendar
  • Added conditions for showing labels in tool control customizations, so only options used are shown
  • Added "usage_event" to autocomplete fields in consumable withdrawal admin to speed up page load
  • Added consumable category filter in consumable withdrawal admin
  • Added category and area filters to jumbotron and status dashboard views: ?category=<category_one>&category=<category_two>&area=<area_name_one>&area=<area_name_two>
  • Added first_name, last_name, email and correlation_id parameters to the URL for creating new users to have it pre-fill the corresponding fields (you can now use /users/new/?first_name=John&last_name=Smith&email=john.smith@example.com&correlation_id=12345). The correlation id will be set on the user but not saved in the database (it will be available in signals for linking another model)

Bug fixes

  • Fixed staff on tool not seeing charges on behalf of users in my usage
  • Fixed adjustment requests not showing correctly for child tools
  • Fixed adjustment requests not showing own requests for users who are also reviewers
  • Fixed calendar view not going all the way to the end of the day
  • In tool control, when required resources are unavailable and they don't have a category, nothing will be shown (instead of (None) previously)
  • Fixed policy issues with child tools (when checking required_resources for example)
  • Fixed reservation not being shortened when using child tools
  • Fixed verbose names on tool fields still having underscores
  • Fixed django warning related to naive datetime (when checking policy off times for reservations)
  • Fixed Oracle issues with JSON field in python 3.13 (when Oracle drivers already translate string into dict but django tries to do it again)
  • Fixed usage view not displaying customer label for account managers

Libraries

  • django-jsonform was removed
  • cryptography 46.0.3 -> 4.0.5
  • Django 4.2.28 -> 4.2.29
  • pymodbus 3.11.4 -> 3.12.1
  • Pillow 12.1.0 -> 12.1.1

Don't miss a new NEMO release

NewReleases is sending notifications on new releases.