Allow to regenerate all acceptance/rejection emails #475
Problem you are facing
I accepted the talks, realized I forgot to set the right template. Now, I need to discard all the emails, and change all the talks from accepted to submitted and to accepted again.
I think there are a few changes that would be very useful:
There is an other thing that would be cool:
User mistake ;)
The text was updated successfully, but these errors were encountered:
This is an issue that is well-suited for external contributors – let me know if I can be of any help, either via this issue or via firstname.lastname@example.org.
What this is about
When organisers accept or reject a review, an email to that speaker is generated from the matching template and placed in the outbox. If the template is changed afterwards, the emails will not change, as they have already been rendered with the appropriate variables, and the variables are not retained. There should be a way to regenerated all of the emails available.
How to get started
First of all, leave a comment on this issue to make sure nobody else starts working on this issue at the same time!
Follow the developer setup guide, and then play around with pretalx a bit.
How to do this
We'll need to expand the QueuedMail model to implement this, which is a good idea in any case. You should add a ForeignKey to
Now we can:
Submit the PR
Remember to provide documentation and tests, if applicable. Run the tests before opening your PR, including style checks. We have a contribution guide, which ought to prove helpful at this stage.