@@ -117,6 +117,42 @@ def make_recipients(apps):
117117 desc = "The document's group's responsible AD(s) or IRTF chair" ,
118118 template = None )
119119
120+ rc (slug = 'internet_drafts' ,
121+ desc = "The internet drafts ticketing system" ,
122+ template = 'internet-drafts@ietf.org' )
123+
124+ rc (slug = 'submission_submitter' ,
125+ desc = "The person that submitted a draft" ,
126+ template = '{{submission.submitter}}' )
127+
128+ rc (slug = 'submission_authors' ,
129+ desc = "The authors of a submitted draft" ,
130+ template = None )
131+
132+ rc (slug = 'submission_group_chairs' ,
133+ desc = "The chairs of a submitted draft belonging to a group" ,
134+ template = None )
135+
136+ rc (slug = 'submission_confirmers' ,
137+ desc = "The people who can confirm a draft submission" ,
138+ template = None )
139+
140+ rc (slug = 'submission_group_mail_list' ,
141+ desc = "The people who can confirm a draft submission" ,
142+ template = None )
143+
144+ rc (slug = 'doc_non_ietf_stream_manager' ,
145+ desc = "The document's stream manager if the document is not in the IETF stream" ,
146+ template = None )
147+
148+ rc (slug = 'rfc_editor_if_doc_in_queue' ,
149+ desc = "The RFC Editor if a document is in the RFC Editor queue" ,
150+ template = None )
151+
152+ rc (slug = 'doc_discussing_ads' ,
153+ desc = "Any ADs holding an active DISCUSS position on a given document" ,
154+ template = None )
155+
120156def make_mailtokens (apps ):
121157
122158 Recipient = apps .get_model ('mailtoken' ,'Recipient' )
@@ -393,6 +429,94 @@ def mt_factory(slug,desc,recipient_slugs):
393429 'doc_group_responsible_directors' ,
394430 ])
395431
432+ mt_factory (slug = 'charter_state_message_provided' ,
433+ desc = "Recipients for extra message when provided on the charter state editing form" ,
434+ recipient_slugs = ['iesg_secretary' ])
435+
436+ mt_factory (slug = 'doc_expires_soon' ,
437+ desc = "Recipients for notification of impending expiration of a document" ,
438+ recipient_slugs = ['doc_authors' ])
439+
440+ mt_factory (slug = 'doc_expires_soon_cc' ,
441+ desc = "Copied on notification of impending expiration of a document" ,
442+ recipient_slugs = ['doc_notify' ,
443+ 'doc_shepherd' ,
444+ 'doc_group_chairs' ,
445+ 'doc_group_responsible_directors' ,
446+ ])
447+
448+ mt_factory (slug = 'doc_expired' ,
449+ desc = "Recipients for notification of a document's expiration" ,
450+ recipient_slugs = ['doc_authors' ])
451+
452+ mt_factory (slug = 'doc_expired_cc' ,
453+ desc = "Copied on notification of a document's expiration" ,
454+ recipient_slugs = ['doc_notify' ,
455+ 'doc_shepherd' ,
456+ 'doc_group_chairs' ,
457+ 'doc_group_responsible_directors' ,
458+ ])
459+
460+ mt_factory (slug = 'resurrection_requested' ,
461+ desc = "Recipients of a request to change the state of a draft away from 'Dead'" ,
462+ recipient_slugs = ['internet_drafts' ,])
463+
464+ mt_factory (slug = 'resurrection_completed' ,
465+ desc = "Recipients when a draft resurrection request has been completed" ,
466+ recipient_slugs = ['iesg_secretary' ,
467+ 'doc_ad' ,
468+ ])
469+
470+ mt_factory (slug = 'sub_manual_post_requested' ,
471+ desc = "Recipients for a manual post request for a draft submission" ,
472+ recipient_slugs = ['internet_drafts' ,
473+ ])
474+
475+ mt_factory (slug = 'sub_manual_post_requested_cc' ,
476+ desc = "Copied on a manual post request for a draft submission" ,
477+ recipient_slugs = ['submission_submitter' ,
478+ 'submission_authors' ,
479+ 'submission_group_chairs' ,
480+ ])
481+
482+ mt_factory (slug = 'sub_chair_approval_requested' ,
483+ desc = "Recipients for a message requesting group chair approval of a draft submission" ,
484+ recipient_slugs = ['submission_group_chairs' ,])
485+
486+ mt_factory (slug = 'sub_confirmation_requested' ,
487+ desc = "Recipients for a message requesting confirmation of a draft submission" ,
488+ recipient_slugs = ['submission_confirmers' ,])
489+
490+ mt_factory (slug = 'sub_management_url_requested' ,
491+ desc = "Recipients for a message with the full URL for managing a draft submission" ,
492+ recipient_slugs = ['submission_confirmers' ,])
493+
494+ mt_factory (slug = 'sub_announced' ,
495+ desc = "Recipients for the announcement of a successfully submitted draft" ,
496+ recipient_slugs = ['ietf_announce' ,
497+ ])
498+
499+ mt_factory (slug = 'sub_announced_cc' ,
500+ desc = "Copied on the announcement of a successfully submitted draft" ,
501+ recipient_slugs = ['submission_group_mail_list' ,
502+ ])
503+
504+ mt_factory (slug = 'sub_announced_to_authors' ,
505+ desc = "Recipients for the announcement to the authors of a successfully submitted draft" ,
506+ recipient_slugs = ['submission_authors' ,
507+ 'submission_confirmers' ,
508+ ])
509+
510+ mt_factory (slug = 'sub_new_version' ,
511+ desc = "Recipient for notification of a new version of an existing document" ,
512+ recipient_slugs = ['doc_notify' ,
513+ 'doc_ad' ,
514+ 'non_ietf_stream_manager' ,
515+ 'rfc_editor_if_doc_in_queue' ,
516+ 'doc_discussing_ads' ,
517+ ])
518+
519+
396520def forward (apps , schema_editor ):
397521
398522 make_recipients (apps )
0 commit comments