ubccr / coldfront

HPC Resource Allocation System
https://coldfront.readthedocs.io
GNU General Public License v3.0
101 stars 80 forks source link

Combined email expiry notifications with more information #413

Closed aestoltm closed 2 years ago

aestoltm commented 2 years ago

Fixes #270 and Fixes #297 : Combined email expiry notifications for resources that are expiring soon. Also included more information given to the user for email notifications for resources expiring soon and expired resources.

Tested using task tests for #270 and included more statuses to test such as 'Payment Pending', 'Payment Requested', 'Unpaid' . Also tested different allocation attribute values for 'EXPIRE NOTIFICATION'.

Update: Fixes #289 : Edited original commit to send emails to center staff for allocations that have expired. This is configurable by setting 'ADMIN EXPIRE NOTIFICATION' allocation attribute to 'No' if receiving emails for a specific allocation is not desired. Need to run 'coldfront add_allocation_defualts' to update allocation choices.