submissions.utils module

class submissions.utils.SubmissionUtils[source]

Bases: common.utils.BaseMailUtil

mail_sender = 'submissions@scipost.org'
mail_sender_title = 'SciPost Editorial Admin'
classmethod send_EIC_appointment_email()[source]

Requires loading ‘assignment’ attribute.

classmethod send_author_prescreening_passed_email()[source]

Requires loading ‘assignment’ attribute.

classmethod send_unreg_ref_reminder_email()[source]

This method is used to remind a referee who has not yet responded. It is used for unregistered referees only. It is called from the ref_invitation_reminder method in submissions/views.py.

classmethod send_ref_reminder_email()[source]

This method is used to remind a referee who has not yet responded. It is used for registered Contributors only. It is called from the ref_invitation_reminder method in submissions/views.py.

classmethod send_ref_cancellation_email()[source]

This method is used to inform a referee that his/her services are no longer required. It is called from the cancel_ref_invitation method in submissions/views.py.

classmethod acknowledge_report_email()[source]

Requires loading ‘report’ attribute.

classmethod send_author_report_received_email()[source]

Requires loading ‘report’ attribute.

classmethod send_communication_email()[source]

After an EditorialCommunication has been created and saved, this method sends emails to the relevant people. Requires loading ‘communication’ attribute.

classmethod send_author_revision_requested_email()[source]

Requires loading ‘submission’ and ‘recommendation’ attributes.

classmethod send_author_College_decision_email()[source]

Requires loading ‘submission’ and ‘recommendation’ attributes.

classmethod send_Fellows_voting_reminder_email()[source]

Requires loading ‘Fellow_emails’ attribute, which is a list of email addresses.