github usnistgov/NEMO 8.1.0

2 hours ago

Upgrade notes

  • This update brings in the CoreFacility concept from NEMO-Billing, so if you are using the billing plugin please update it to NEMO-Billing >= 6.0.0 at the same time as updating NEMO to avoid any issues.
  • Some email templates need to be updated:
    • adjustment_request_notification_email
    • new_task_email
    • recurring_charges_reminder_email
    • reservation_warning_email
    • task_status_notification
    • staff_charge_reminder_email

New features

  • Added Core Facilities, allowing to organize tools, areas and consumables into different core facilities, and set a core facility when starting a staff charge. Core facilities are only displayed in billing exports at the moment, but more options will be added later like filtering tools in calendar or tool control, etc. You can decide to require Core facilities for tools, areas, consumables in Customization -> Core facilities. Thanks UPenn Singh Center for the contribution!
  • Added titles to Task/Problems. Thanks @gbaloch for the contribution!
  • Added new EMAIL_OVERRIDE setting to direct all emails to one email address (useful for testing). Thanks @neilcoplin for the contribution!
  • Added "block" permissions to allow specifically blocking users from performing certain actions. The permissions are available in Detailed administration -> Permissions. Any user with a block permission (either assigned directly or through a group) will be blocked from doing that action. Available block permissions are:
    • block_create_reservations
    • block_create_outages
    • block_enable_tools
    • block_enter_any_areas
    • block_bill_projects
    • block_qualify_on_tools
    • block_add_physical_access_levels
      Thanks MIT.nano for the contribution!
  • Added option to customize how projects are displayed throughout NEMO. The option is available in Customization -> Projects and accounts. Thanks Cornell NanoScale Facility for the contribution!

Improvements

  • Added tool category filtering in closed maintenance tab. Thanks MIT.nano for the contribution!
  • Regular users can now change their reservation title. Thanks MIT.nano for the contribution!
  • The project selected when making a reservation will now show in green when going to enable a tool. Thanks Michigan Lurie Nanofabrication Facility for the contribution!
  • Added customization option to allow prefilling pre usage questions from reservation answers (the question name must match). Thanks Michigan Lurie Nanofabrication Facility for the contribution!
  • Added option in tool control when searching for past tasks and comments to only show staff-only or non-staff-only comments. Thanks MIT.nano for the contribution!
  • Added a way to email users qualified on any tool in a category
  • Added new options in Customization -> Tool to hide Report a problem and/or Post a comment for non-staff users
  • Added tool status icons to configuration agenda
  • Added new option in Customization -> Projects and accounts to hide project name globally (except for staff members). Thanks Michigan Lurie Nanofabrication Facility for the contribution!
  • Improved mobile and kiosk reservation times UX when creating new reservations. Thanks @gbaloch for the contribution!
  • Added new field in Detailed administration -> Tool to customize the usage color and the reservation color used in the calendar (separate fields)
  • Added new customizations for default calendar colors for usage, reservations, outages, personal schedule and missed reservations in Customization -> Calendar
  • Added project-level calendar color customization (set only in Detailed administration)
  • Added is_allowed() method to BaseDocumentModel and implemented it in subclasses. This adds a layer of security to the media list view and media zip URL endpoints
  • Added adjustment request waive option for staff charges. Thanks MIT.nano for the contribution!
  • Allowing to reopen closed problems from maintenance page. Thanks MIT.nano for the contribution!
  • Updated tool qualification groups to allow specifying the tool to charge when recording training sessions. Thanks MIT.nano for the contribution!
  • In Administration -> Users, added a separate view button available to all staff that redirects to the user's profile view. Thanks Cornell NanoScale Facility for the contribution!
  • Added user search that filters the table in Administration -> Users
  • Added links for staff to easily navigate to project/account/user from the user profile view
  • Searching for a user in Administration -> Users will now go to the user view page by default, with buttons to edit and deactivate.
  • Updated kiosk to reset timer on user input in forms, which will give users more time to answer questions and type when reporting problems. Thanks MIT.nano for the contribution!
  • Added [INACTIVE] in front of inactive projects in user profile and user page
  • Added validation for adjustment requests for consumable with zero quantity, asking the user to ask to waive the charge instead
  • Added new validation on adjustment request dates to prevent errors and ensure date are not set in the future
  • Simplified and streamlined identity service handling
  • Added new policy checks for qualifying users on tools and for adding physical access levels to users
  • Updated pagination templates to handle extra_params and js_callback consistently

API

  • Added user types in API
  • Added tool qualification groups to API
  • Added startswith, endswith and regex filters for strings

Bug fixes

  • Fixed qualified tools button in calendar not working anymore due to a type mismatch when comparing (int vs str)
  • Fixed small images being corrupted when submitting problem report
  • Fixed inactive and users with expired access still receiving freed time notifications
  • Fixed adjustment request not applying adjustment correctly when the new quantity is set to 0
  • Fixed small bug in post usage questions when using a group with a max number of 1 or less, which was showing the add button when it shouldn't
  • Fixed Healthcheck for subpath deployment. Thanks @r-xyz for the contribution!
  • Fixed broken tables in NEMO when navbar collapse is forced (when the site title is too long)
  • Fixed a bug that would not lock the tool when staff reports a problem
  • Fixed django admin many-to-many reverse relations not showing up correctly in Detailed administration

Libraries

  • cryptography 48.0.0 -> 50.0.1
  • Django 5.2.14 -> 5.2.17
  • django-filter 25.2 -> 26.1
  • djangorestframework 3.17.1 -> 3.18.1
  • drf-excel 2.5.3 -> 2.6.0
  • fastjsonschema 2.21.2 -> 2.22.2
  • packaging 26.2 -> 26.3
  • Pillow 12.2.0 -> 12.3.0
  • pymodbus 3.13.0 -> 3.15.0

Don't miss a new NEMO release

NewReleases is sending notifications on new releases.