devilry / devilry-django

Devilry project main repository
http://devilry.org
BSD 3-Clause "New" or "Revised" License
51 stars 24 forks source link

Reduce email notifications to examiners #1052

Open petter opened 6 years ago

petter commented 6 years ago

As an examiner I get an email every time a student submits an assignment. This can get quite tedious as this can mean up to 40 emails per assignment. It would be nice to be able to change the frequency of email notifications or turn it off. I’m using Devilry v3.3.0b10

torgeirl commented 6 years ago

Hi @G0pi,

We're aware the current level of notifications to examiners is too aggressive (#995, #1011), but since we're still working to adjust what you are notified about it will be so for a while longer. Apologies!

torgeirl commented 2 years ago

In order to address this while focusing on more pressing issues I suggest the following tweak to email notifications:

It's not a big change and doesn't involve UI changes, but should reduce emails notifications to examiners significantly while still making sure that they receive important notifications (message text could be questions about deadline extensions; deliveries after the original deadline could be unexpected/not planned for).

Similar to #1196.

espenak commented 1 year ago

We should probably implement this as a filter function you can add to settings that gets all the needed context info for a message and returns True if a message should be sent. This makes it possible to adjust notification level for specific courses etc., and it makes it possible to adjust the stuff discussed in this issue. It will also make it possible for devilry to add more notifications that can optionally be enabled if needed.

I think the input to the filter function should be something like this: