From b14afd9780904ac1cb0bf6964eab14c668229def Mon Sep 17 00:00:00 2001
From: Lars Eggert
Date: Wed, 8 Feb 2023 13:01:32 +0200
Subject: [PATCH 01/11] s/Internet Draft/Internet-Draft/i
---
bin/daily | 2 +-
ietf/doc/expire.py | 4 ++--
ietf/doc/lastcall.py | 4 ++--
ietf/doc/mails.py | 4 ++--
ietf/doc/views_ballot.py | 2 +-
ietf/doc/views_draft.py | 12 ++++++------
ietf/name/fixtures/names.json | 8 ++++----
ietf/settings.py | 2 +-
ietf/templates/doc/conflict_review/approval_text.txt | 2 +-
.../templates/doc/mail/resurrect_completed_email.txt | 2 +-
ietf/utils/draft.py | 4 ++--
.../management/commands/populate_yang_model_dirs.py | 4 ++--
12 files changed, 25 insertions(+), 25 deletions(-)
diff --git a/bin/daily b/bin/daily
index 40cf3fd2bec..2835a93cc15 100755
--- a/bin/daily
+++ b/bin/daily
@@ -42,7 +42,7 @@ $DTDIR/ietf/manage.py populate_yang_model_dirs -v0
# Re-run yang checks on active documents
$DTDIR/ietf/manage.py run_yang_model_checks -v0
-# Expire internet drafts
+# Expire Internet-Drafts
# Enable when removed from /a/www/ietf-datatracker/scripts/Cron-runner:
$DTDIR/ietf/bin/expire-ids
diff --git a/ietf/doc/expire.py b/ietf/doc/expire.py
index 999d5022df0..f6779e04718 100644
--- a/ietf/doc/expire.py
+++ b/ietf/doc/expire.py
@@ -1,6 +1,6 @@
# Copyright The IETF Trust 2010-2020, All Rights Reserved
# -*- coding: utf-8 -*-
-# expiry of Internet Drafts
+# expiry of Internet-Drafts
from django.conf import settings
@@ -179,7 +179,7 @@ def expire_draft(doc):
doc.save_with_history(events)
def clean_up_draft_files():
- """Move unidentified and old files out of the Internet Draft directory."""
+ """Move unidentified and old files out of the Internet-Draft directory."""
cut_off = date_today(DEADLINE_TZINFO)
pattern = os.path.join(settings.INTERNET_DRAFT_PATH, "draft-*.*")
diff --git a/ietf/doc/lastcall.py b/ietf/doc/lastcall.py
index 463311587d0..dd38fd3909f 100644
--- a/ietf/doc/lastcall.py
+++ b/ietf/doc/lastcall.py
@@ -1,4 +1,4 @@
-# helpers for handling last calls on Internet Drafts
+# helpers for handling last calls on Internet-Drafts
from django.db.models import Q
@@ -73,4 +73,4 @@ def expire_last_call(doc):
if doc.type_id == 'draft':
lc_text = doc.latest_event(LastCallDocEvent, type="sent_last_call").desc
if "document makes the following downward references" in lc_text:
- email_last_call_expired_with_downref(doc, lc_text)
\ No newline at end of file
+ email_last_call_expired_with_downref(doc, lc_text)
diff --git a/ietf/doc/mails.py b/ietf/doc/mails.py
index b158d7b7618..73b755e1495 100644
--- a/ietf/doc/mails.py
+++ b/ietf/doc/mails.py
@@ -288,7 +288,7 @@ def generate_approval_mail_approved(request, doc):
else:
contacts = "The IESG contact person is %s." % responsible_directors[0]
- doc_type = "RFC" if doc.get_state_slug() == "rfc" else "Internet Draft"
+ doc_type = "RFC" if doc.get_state_slug() == "rfc" else "Internet-Draft"
addrs = gather_address_lists('ballot_approved_ietf_stream',doc=doc).as_strings()
return render_to_string("doc/mail/approval_mail.txt",
@@ -308,7 +308,7 @@ def generate_approval_mail_rfc_editor(request, doc):
# This is essentially dead code - it is only exercised if the IESG ballots on some other stream's document,
# which does not happen now that we have conflict reviews.
disapproved = doc.get_state_slug("draft-iesg") in DO_NOT_PUBLISH_IESG_STATES
- doc_type = "RFC" if doc.get_state_slug() == "rfc" else "Internet Draft"
+ doc_type = "RFC" if doc.get_state_slug() == "rfc" else "Internet-Draft"
addrs = gather_address_lists('ballot_approved_conflrev', doc=doc).as_strings()
return render_to_string("doc/mail/approval_mail_rfc_editor.txt",
diff --git a/ietf/doc/views_ballot.py b/ietf/doc/views_ballot.py
index 67c42a37b37..86c30e22a4f 100644
--- a/ietf/doc/views_ballot.py
+++ b/ietf/doc/views_ballot.py
@@ -994,7 +994,7 @@ class MakeLastCallForm(forms.Form):
@role_required('Secretariat')
def make_last_call(request, name):
- """Make last call for Internet Draft, sending out announcement."""
+ """Make last call for Internet-Draft, sending out announcement."""
doc = get_object_or_404(Document, docalias__name=name)
if not (doc.get_state("draft-iesg") or doc.get_state("statchg")):
raise Http404
diff --git a/ietf/doc/views_draft.py b/ietf/doc/views_draft.py
index e389173e415..7e4e66006cf 100644
--- a/ietf/doc/views_draft.py
+++ b/ietf/doc/views_draft.py
@@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-
-# changing state and metadata on Internet Drafts
+# changing state and metadata on Internet-Drafts
import datetime
import os
@@ -84,7 +84,7 @@ def clean(self):
@role_required('Area Director','Secretariat')
def change_state(request, name):
- """Change IESG state of Internet Draft, notifying parties as necessary
+ """Change IESG state of Internet-Draft, notifying parties as necessary
and logging the change as a comment."""
doc = get_object_or_404(Document, docalias__name=name)
@@ -229,7 +229,7 @@ def __init__(self, state_type, *args, **kwargs):
@role_required('Secretariat', 'IANA')
def change_iana_state(request, name, state_type):
- """Change IANA review state of Internet Draft. Normally, this is done via
+ """Change IANA review state of Internet-Draft. Normally, this is done via
automatic sync, but this form allows one to set it manually."""
doc = get_object_or_404(Document, docalias__name=name)
@@ -631,7 +631,7 @@ def to_iesg(request,name):
@role_required('Area Director','Secretariat')
def edit_info(request, name):
- """Edit various Internet Draft attributes, notifying parties as
+ """Edit various Internet-Draft attributes, notifying parties as
necessary and logging changes as document events."""
doc = get_object_or_404(Document, docalias__name=name)
if doc.get_state_slug() == "expired":
@@ -790,7 +790,7 @@ def diff(attr, name):
@role_required('Area Director','Secretariat')
def request_resurrect(request, name):
- """Request resurrect of expired Internet Draft."""
+ """Request resurrect of expired Internet-Draft."""
doc = get_object_or_404(Document, docalias__name=name)
if doc.get_state_slug() != "expired":
raise Http404
@@ -813,7 +813,7 @@ def request_resurrect(request, name):
@role_required('Secretariat')
def resurrect(request, name):
- """Resurrect expired Internet Draft."""
+ """Resurrect expired Internet-Draft."""
doc = get_object_or_404(Document, docalias__name=name)
if doc.get_state_slug() != "expired":
raise Http404
diff --git a/ietf/name/fixtures/names.json b/ietf/name/fixtures/names.json
index be5767289ae..05f9932e20c 100644
--- a/ietf/name/fixtures/names.json
+++ b/ietf/name/fixtures/names.json
@@ -6025,7 +6025,7 @@
},
{
"fields": {
- "desc": "The internet drafts ticketing system",
+ "desc": "The Internet-Drafts ticketing system",
"template": ""
},
"model": "mailtrigger.recipient",
@@ -11545,7 +11545,7 @@
{
"fields": {
"default_offset_days": -19,
- "desc": "Internet Draft submission cut-off for -00 drafts by UTC 23:59",
+ "desc": "Internet-Draft submission cut-off for -00 drafts by UTC 23:59",
"name": "00 ID Cutoff",
"order": 0,
"used": false
@@ -11556,7 +11556,7 @@
{
"fields": {
"default_offset_days": -12,
- "desc": "Internet Draft submission cut-off for revised (-01 and above) drafts by UTC 23:59",
+ "desc": "Internet-Draft submission cut-off for revised (-01 and above) drafts by UTC 23:59",
"name": "01 ID Cutoff",
"order": 0,
"used": false
@@ -11699,7 +11699,7 @@
{
"fields": {
"default_offset_days": -12,
- "desc": "Internet Draft submission cut-off (for all drafts, including -00) by UTC 23:59",
+ "desc": "Internet-Draft submission cut-off (for all drafts, including -00) by UTC 23:59",
"name": "ID Cutoff",
"order": 0,
"used": true
diff --git a/ietf/settings.py b/ietf/settings.py
index 144f321cc71..77f76ef82b1 100644
--- a/ietf/settings.py
+++ b/ietf/settings.py
@@ -1008,7 +1008,7 @@ def skip_unreadable_post(record):
# Generation of pdf files
GHOSTSCRIPT_COMMAND = "/usr/bin/gs"
-# Generation of bibxml files (currently only for internet drafts)
+# Generation of bibxml files (currently only for Internet-Drafts)
BIBXML_BASE_PATH = '/a/ietfdata/derived/bibxml'
# Timezone files for iCalendar
diff --git a/ietf/templates/doc/conflict_review/approval_text.txt b/ietf/templates/doc/conflict_review/approval_text.txt
index cf00e1003d4..8e211e21ce0 100644
--- a/ietf/templates/doc/conflict_review/approval_text.txt
+++ b/ietf/templates/doc/conflict_review/approval_text.txt
@@ -18,7 +18,7 @@ The IESG would also like the {{receiver}} to review the comments in the datatrac
The IESG review is documented at:
{{review_url}}
-A URL of the reviewed Internet Draft is:
+A URL of the reviewed Internet-Draft is:
{{conflictdoc_url}}
The process for such documents is described {% if conflictdoc.stream_id == 'ise' %}at https://www.rfc-editor.org/indsubs.html {% else %}{% if conflictdoc.stream_id == 'irtf' %}in RFC 5743 {% endif %} {% endif %}
diff --git a/ietf/templates/doc/mail/resurrect_completed_email.txt b/ietf/templates/doc/mail/resurrect_completed_email.txt
index 8bff58540fa..18e3d3dfa8d 100644
--- a/ietf/templates/doc/mail/resurrect_completed_email.txt
+++ b/ietf/templates/doc/mail/resurrect_completed_email.txt
@@ -1,4 +1,4 @@
-{% autoescape off %}As you requested, the Internet Draft {{ doc.file_tag }}
+{% autoescape off %}As you requested, the Internet-Draft {{ doc.file_tag }}
has been resurrected.
Datatracker URL: {{ url }}
diff --git a/ietf/utils/draft.py b/ietf/utils/draft.py
index eeac1747be1..3ab25d6e530 100755
--- a/ietf/utils/draft.py
+++ b/ietf/utils/draft.py
@@ -13,7 +13,7 @@
DESCRIPTION
Extract information about authors' names and email addresses,
- intended status and number of pages from Internet Drafts.
+ intended status and number of pages from Internet-Drafts.
The information is emitted in the form of a line containing
xml-style attributes, prefixed with the name of the draft.
@@ -630,7 +630,7 @@ def extract_authors(self):
address_section = r"^ *([0-9]+\.)? *(Author|Editor)('s|s'|s|\(s\)) (Address|Addresses|Information)"
ignore = [
- "Standards Track", "Current Practice", "Internet Draft", "Working Group",
+ "Standards Track", "Current Practice", "Internet-Draft", "Working Group",
"Expiration Date",
]
diff --git a/ietf/utils/management/commands/populate_yang_model_dirs.py b/ietf/utils/management/commands/populate_yang_model_dirs.py
index 1a6e1422cbc..864dfafb729 100644
--- a/ietf/utils/management/commands/populate_yang_model_dirs.py
+++ b/ietf/utils/management/commands/populate_yang_model_dirs.py
@@ -40,11 +40,11 @@ def handle(self, *filenames, **options):
* All yang modules from published RFCs should be extracted and be
available in an rfc-yang repository.
- * All valid yang modules from active, not replaced, internet drafts
+ * All valid yang modules from active, not replaced, Internet-Drafts
should be extracted and be available in a draft-valid-yang repository.
* All, valid and invalid, yang modules from active, not replaced,
- internet drafts should be available in a draft-all-yang repository.
+ Internet-Drafts should be available in a draft-all-yang repository.
(Actually, given precedence ordering, it would be enough to place
non-validating modules in a draft-invalid-yang repository instead).
From 85d19e6c5040532ce685678b03e62942abe392a4 Mon Sep 17 00:00:00 2001
From: Lars Eggert
Date: Wed, 8 Feb 2023 13:26:14 +0200
Subject: [PATCH 02/11] s/draft/Internet-Draft/i or s/draft/I-D/i
---
ietf/templates/api/index.html | 4 ++--
ietf/templates/base/menu.html | 8 +++----
.../community/notification_email.txt | 2 +-
ietf/templates/doc/bofreq/bofreq_template.md | 4 ++--
ietf/templates/doc/draft/adopt_draft.html | 2 +-
ietf/templates/doc/draft/change_state.html | 2 +-
.../doc/draft/expire_warning_email.txt | 2 +-
ietf/templates/doc/draft/id_expired_email.txt | 2 +-
ietf/templates/doc/draft/release_draft.html | 6 ++---
.../rfceditor_post_approved_draft_failed.html | 2 +-
ietf/templates/doc/review/request_info.html | 2 +-
ietf/templates/group/conclude.html | 2 +-
ietf/templates/group/customize_workflow.html | 2 +-
ietf/templates/idindex/all_id2.txt | 14 ++++++------
ietf/templates/idindex/id_index.txt | 4 ++--
ietf/templates/ietfauth/allowlist_form.html | 2 +-
ietf/templates/ietfauth/review_overview.html | 4 ++--
.../templates/meeting/add_session_drafts.html | 10 ++++-----
ietf/templates/meeting/finalize.html | 2 +-
ietf/templates/meeting/group_materials.html | 4 ++--
ietf/templates/meeting/group_proceedings.html | 4 ++--
ietf/templates/meeting/materials.html | 12 +++++-----
ietf/templates/meeting/proceedings.html | 10 ++++-----
.../meeting/session_details_panel.html | 4 ++--
ietf/templates/notify_expirations/body.txt | 4 ++--
ietf/templates/person/profile.html | 12 +++++-----
ietf/templates/release/about.html | 2 +-
ietf/templates/stats/document_stats.html | 4 ++--
.../document_stats_author_affiliation.html | 4 ++--
.../document_stats_author_continent.html | 4 ++--
.../stats/document_stats_author_country.html | 4 ++--
ietf/templates/stats/index.html | 4 ++--
ietf/templates/submit/add_preapproval.html | 10 ++++-----
ietf/templates/submit/announce_to_lists.txt | 4 ++--
.../templates/submit/api_submission_info.html | 22 +++++++++----------
ietf/templates/submit/api_submit_info.html | 8 +++----
ietf/templates/submit/approval_request.txt | 4 ++--
ietf/templates/submit/approvals.html | 16 +++++++-------
ietf/templates/submit/confirm_submission.html | 4 ++--
ietf/templates/submit/confirm_submission.txt | 6 ++---
ietf/templates/submit/full_url.txt | 4 ++--
ietf/templates/submit/manual_post.html | 8 +++----
ietf/templates/submit/manual_post_request.txt | 2 +-
.../submit/problem-reports-footer.html | 2 +-
ietf/templates/submit/submission_status.html | 8 +++----
ietf/templates/submit/tool_instructions.html | 8 +++----
ietf/templates/sync/discrepancies.html | 2 +-
47 files changed, 128 insertions(+), 128 deletions(-)
diff --git a/ietf/templates/api/index.html b/ietf/templates/api/index.html
index 88d90426975..8373a387f9c 100644
--- a/ietf/templates/api/index.html
+++ b/ietf/templates/api/index.html
@@ -9,7 +9,7 @@
States which match states__type__slug__in=draft describe the basic
- Active/Expired/Dead whatever state of the draft.
+ Active/Expired/Dead whatever state of the Internet-Draft.
diff --git a/ietf/templates/community/notification_email.txt b/ietf/templates/community/notification_email.txt
index d3a6c2214b8..7c214de30af 100644
--- a/ietf/templates/community/notification_email.txt
+++ b/ietf/templates/community/notification_email.txt
@@ -12,6 +12,6 @@ Change by {{ event.by }} on {{ event.time }}:
Best regards,
- The Datatracker draft tracking service
+ The Datatracker Internet-Draft tracking service
(for the IETF Secretariat)
{% endautoescape %}
diff --git a/ietf/templates/doc/bofreq/bofreq_template.md b/ietf/templates/doc/bofreq/bofreq_template.md
index c6269d7f4f3..7039e4679b8 100644
--- a/ietf/templates/doc/bofreq/bofreq_template.md
+++ b/ietf/templates/doc/bofreq/bofreq_template.md
@@ -25,13 +25,13 @@ To allow evaluation of your proposal, please include the following items:
- Open source projects (if any) implementing this work:
## Agenda
- - Items, drafts, speakers, timing
+ - Items, Internet-Drafts, speakers, timing
- Or a URL
## Links to the mailing list, draft charter if any, relevant Internet-Drafts, etc.
- Mailing List: https://www.ietf.org/mailman/listinfo/example
- Draft charter: {{ settings.IDTRACKER_BASE_URL }}{% url 'ietf.doc.views_doc.document_main' name='charter-ietf-EXAMPLE' %}
- - Relevant drafts:
+ - Relevant Internet-Drafts:
- Use Cases:
- {{ settings.IDTRACKER_BASE_URL }}{% url 'ietf.doc.views_doc.document_main' name='draft-blah-uses' %}
- Solutions
diff --git a/ietf/templates/doc/draft/adopt_draft.html b/ietf/templates/doc/draft/adopt_draft.html
index de668a5fbed..b90c2c947a3 100644
--- a/ietf/templates/doc/draft/adopt_draft.html
+++ b/ietf/templates/doc/draft/adopt_draft.html
@@ -11,7 +11,7 @@
{{ doc }}
- You can begin managing the group state of this draft.
+ You can begin managing the group state of this Internet-Draft.
The document will be moved into the stream of the adopting group.
-{% endblock %}
+{% endblock %}
\ No newline at end of file
diff --git a/ietf/templates/doc/draft/rfceditor_post_approved_draft_failed.html b/ietf/templates/doc/draft/rfceditor_post_approved_draft_failed.html
index aad7202af6f..f976ead9265 100644
--- a/ietf/templates/doc/draft/rfceditor_post_approved_draft_failed.html
+++ b/ietf/templates/doc/draft/rfceditor_post_approved_draft_failed.html
@@ -10,7 +10,7 @@
Posting approved I-D to RFC Editor failed
error.
- We have not changed the draft state or sent the announcement
+ We have not changed the Internet-Draft state or sent the announcement
yet so if this is an intermittent error, you can go back and try
again.
Request closing of {{ group.acronym }} {{ group.type.name }}
Please provide instructions regarding the disposition of each
- active Internet-Draft (such as to withdraw the draft, move it to
+ active Internet-Draft (such as to withdraw it, move it to
another group, convert it to an individual submission, and so on),
wording for the closure announcement, and the status of the group
mailing list (will it remain open or should it be closed).
diff --git a/ietf/templates/group/customize_workflow.html b/ietf/templates/group/customize_workflow.html
index 8ebf004a062..8b329b855fa 100644
--- a/ietf/templates/group/customize_workflow.html
+++ b/ietf/templates/group/customize_workflow.html
@@ -15,7 +15,7 @@
{{ group.acronym }} {{ group.type.name }}
- Below you can customize the draft states and tags used in the
+ Below you can customize the Internet-Draft states and tags used in the
{{ group.acronym }} {{ group.type.name }}.
Note that some states are
mandatory for group operation and cannot be deactivated.
diff --git a/ietf/templates/idindex/all_id2.txt b/ietf/templates/idindex/all_id2.txt
index 5d810ab96b7..30ecb9cc85c 100644
--- a/ietf/templates/idindex/all_id2.txt
+++ b/ietf/templates/idindex/all_id2.txt
@@ -3,7 +3,7 @@
# generated: {% now "Y-m-d H:i:s T" %}
#
# Description of fields:
-# 0 draft name and latest revision
+# 0 Internet-Draft name and latest revision
# 1 always -1 (was internal numeric database id in earlier schema)
# 2 one of "Active", "Expired", "RFC", "Withdrawn by Submitter",
# "Replaced", or "Withdrawn by IETF"
@@ -11,21 +11,21 @@
# "In Last Call", "AD Evaluation::Revised ID Needed", or "I-D Exists");
# otherwise empty
# 4 if #2 is "RFC", the RFC number (otherwise empty)
-# 5 if #2 is "Replaced", the replacing draft name (otherwise empty)
+# 5 if #2 is "Replaced", the replacing Internet-Draft name (otherwise empty)
# 6 revision date (YYYY-MM-DD)
# 7 group acronym (or empty if no group/not known)
# 8 area acronym (or empty if not known; not necessarily accurate
-# for older drafts)
+# for older Internet-Drafts)
# 9 responsible AD name (or empty if not known)
# 10 intended maturity level (or empty if not known)
# 11 if #3 is "In Last Call" (with any substate), the last call
# end date (YYYY-MM-DD); otherwise empty
# 12 if #2 is "Active", list of file types; otherwise empty
-# 13 draft title
-# 14 draft authors (often quite inaccurate, especially the email
+# 13 Internet-Draft title
+# 14 Internet-Draft authors (often quite inaccurate, especially the email
# addresses...)
-# 15 draft shepherd (Shep Erd )
-# 16 draft areadirector (Aread Irector )
+# 15 Internet-Draft shepherd (Shep Erd )
+# 16 Internet-Draft areadirector (Aread Irector )
#
# new fields can be added to the end in the future, so remember to
# ignore those in your code
diff --git a/ietf/templates/idindex/id_index.txt b/ietf/templates/idindex/id_index.txt
index 95cf504883f..f4707b5d011 100644
--- a/ietf/templates/idindex/id_index.txt
+++ b/ietf/templates/idindex/id_index.txt
@@ -2,10 +2,10 @@
{% if with_abstracts %}
This summary sheet provides a short synopsis of each Internet-Draft
available within the "internet-drafts" directory at the shadow
-sites directory. These drafts are listed alphabetically by working
+sites directory. These Internet-Drafts are listed alphabetically by working
group acronym and start date.{% else %}
This summary sheet provides an index of each Internet-Draft. These
-drafts are listed alphabetically by Working Group acronym and initial
+Internet-Drafts are listed alphabetically by Working Group acronym and initial
post date.{% endif %} Generated {{ time }}.
{% for group in groups %}
diff --git a/ietf/templates/ietfauth/allowlist_form.html b/ietf/templates/ietfauth/allowlist_form.html
index 92d40e53eea..c7f3981b7b1 100644
--- a/ietf/templates/ietfauth/allowlist_form.html
+++ b/ietf/templates/ietfauth/allowlist_form.html
@@ -34,7 +34,7 @@
Add an allowlist entry for account creation.
Google for the person's name within the ietf.org site: "Jane Doe site:ietf.org". If
- found, and the email address matches an address used in drafts or discussions,
+ found, and the email address matches an address used in Internet-Drafts or discussions,
things are fine, and it's OK to add the address to the allowlist using this form,
and ask the person to please try the
account creation form
diff --git a/ietf/templates/ietfauth/review_overview.html b/ietf/templates/ietfauth/review_overview.html
index 0f7e66913f1..924089e3587 100644
--- a/ietf/templates/ietfauth/review_overview.html
+++ b/ietf/templates/ietfauth/review_overview.html
@@ -169,13 +169,13 @@
{% endif %}
{% if teams %}
- Add a draft that you would like to review when it becomes available for review:
+ Add an Internet-Draft that you would like to review when it becomes available for review:
- This form will link additional drafts to this session with a revision of "Current at time of presentation". For more fine grained control of versions, or to remove a draft from a session, adjust the sessions associated with a draft from the draft's main page.
+ This form will link additional Internet-Drafts to this session with a revision of "Current at time of presentation". For more fine grained control of versions, or to remove an Internet-Draft from a session, adjust the sessions associated with an Internet-Draft from the Internet-Draft's main page.
-
Drafts already linked to this session
+
Internet-Drafts already linked to this session
@@ -47,7 +47,7 @@
Drafts already linked to this session
{% endif %}
-
Additional drafts to link to this session
+
Additional Internet-Drafts to link to this session
- All drafts associated with sessions that are marked "current version" will have their version set to whatever the version was at the end of the meeting.
+ All Internet-Drafts associated with sessions that are marked "current version" will have their version set to whatever the version was at the end of the meeting.
{# This would be a good place to put any warnings about important things missing from the proceedings #}
@@ -121,4 +121,4 @@
{% endif %}
{% endif %}
-
+
\ No newline at end of file
diff --git a/ietf/templates/meeting/group_proceedings.html b/ietf/templates/meeting/group_proceedings.html
index 1e0bcfe06c1..d0a56b5b554 100644
--- a/ietf/templates/meeting/group_proceedings.html
+++ b/ietf/templates/meeting/group_proceedings.html
@@ -82,8 +82,8 @@
{{ entry.group }}
{% empty %}
- {% if not meeting.proceedings_final %}No drafts{% endif %}
+ {% if not meeting.proceedings_final %}No Internet-Drafts{% endif %}
{% endfor %}
{% endif %}
-
+
\ No newline at end of file
diff --git a/ietf/templates/meeting/materials.html b/ietf/templates/meeting/materials.html
index c11744bafb7..35e2ca96a40 100644
--- a/ietf/templates/meeting/materials.html
+++ b/ietf/templates/meeting/materials.html
@@ -46,7 +46,7 @@
Plenaries
Agenda
Minutes
Slides
-
Drafts
+
Internet-Drafts
Updated
{% if user|has_role:"Secretariat" or user_groups %}
@@ -73,7 +73,7 @@
Agenda
Minutes
Slides
-
Drafts
+
Internet-Drafts
Updated
{% if user|has_role:"Secretariat" or user_groups %}
{% if session.filtered_drafts %}
@@ -210,7 +210,7 @@
Drafts
{% if can_manage_materials %}
- Link additional drafts to session
+ Link additional I-Ds to session
{% endif %}
{% endwith %}
diff --git a/ietf/templates/notify_expirations/body.txt b/ietf/templates/notify_expirations/body.txt
index 96bfd759b2d..e734068bb40 100644
--- a/ietf/templates/notify_expirations/body.txt
+++ b/ietf/templates/notify_expirations/body.txt
@@ -1,7 +1,7 @@
-{% load ietf_filters %}{% autoescape off %}The following draft will expire soon:
+{% load ietf_filters %}{% autoescape off %}The following Internet-Draft will expire soon:
Filename: {{draft.filename}}
Title: {{draft.title|clean_whitespace}}
State: {{draft.idstate}}
Expires: {{expiration}} (in {{expiration|timeuntil}})
-{% endautoescape %}
\ No newline at end of file
+{% endautoescape %}
diff --git a/ietf/templates/person/profile.html b/ietf/templates/person/profile.html
index 3d0b1e06716..f443debd9e1 100644
--- a/ietf/templates/person/profile.html
+++ b/ietf/templates/person/profile.html
@@ -126,7 +126,7 @@
{{ person.first_name }} has no RFCs as of {{ today|date:"Y-m-d" }}.
{% endif %}
- Active Drafts ({{ person.active_drafts|length }})
+ Active Internet-Drafts ({{ person.active_drafts|length }})
{% if person.active_drafts.exists %}
@@ -137,10 +137,10 @@
{% endfor %}
{% else %}
- {{ person.first_name }} has no active drafts as of {{ today|date:"Y-m-d" }}.
+ {{ person.first_name }} has no active Internet-Drafts as of {{ today|date:"Y-m-d" }}.
{% endif %}
- (Excluding replaced drafts.)
+ (Excluding replaced Internet-Drafts.)
{% else %}
- {{ person.first_name }} has no expired drafts as of {{ today|date:"Y-m-d" }}.
+ {{ person.first_name }} has no expired Internet-Drafts as of {{ today|date:"Y-m-d" }}.
{% endif %}
{% if person.has_drafts %}
The statistics are based entirely on the author affiliation
- provided with each draft. Since this may vary across documents, an
+ provided with each Internet-Draft. Since this may vary across documents, an
author may be counted with more than one affiliation, making the
total sum more than 100%.
-{% endif %}
+{% endif %}
\ No newline at end of file
diff --git a/ietf/templates/stats/document_stats_author_continent.html b/ietf/templates/stats/document_stats_author_continent.html
index 805d61dab2d..5554ac341ee 100644
--- a/ietf/templates/stats/document_stats_author_continent.html
+++ b/ietf/templates/stats/document_stats_author_continent.html
@@ -63,7 +63,7 @@
Data
The statistics are based entirely on the author addresses provided
- with each draft. Since this varies across documents, a traveling
+ with each Internet-Draft. Since this varies across documents, a traveling
author may be counted in more than country, making the total sum
more than 100%.
-
+
\ No newline at end of file
diff --git a/ietf/templates/stats/document_stats_author_country.html b/ietf/templates/stats/document_stats_author_country.html
index 724ed74bd59..72299cc3972 100644
--- a/ietf/templates/stats/document_stats_author_country.html
+++ b/ietf/templates/stats/document_stats_author_country.html
@@ -63,7 +63,7 @@
Data
The statistics are based entirely on the author addresses provided
- with each draft. Since this varies across documents, a traveling
+ with each Internet-Draft. Since this varies across documents, a traveling
author may be counted in more than country, making the total sum
more than 100%.
- You can register a pre-approved draft name. Then the chair
- approval step of group -00 submissions is suspended for that draft name
+ You can register a pre-approved Internet-Draft name. Then the chair
+ approval step of group -00 submissions is suspended for that Internet-Draft name
so a future submission is posted to the data tracker immediately.
- When the revision -00 draft is submitted, the pre-approval will not
+ When the revision -00 Internet-Draft is submitted, the pre-approval will not
be shown anymore as it has fulfilled its purpose (only revision -00 submissions are
- subject to approval). If the draft never shows up, you can instead
+ subject to approval). If the Internet-Draft never shows up, you can instead
later cancel the pre-approval to get rid of it.
Instructions
@@ -32,7 +32,7 @@
Instructions
As chair
{% if groups|length > 1 %}of {{ groups|length|apnumber }} groups{% endif %}
- you can pre-approve draft names on the form:
+ you can pre-approve Internet-Draft names on the form:
{% for g in groups %}
diff --git a/ietf/templates/submit/announce_to_lists.txt b/ietf/templates/submit/announce_to_lists.txt
index b291da7021d..35cf8fa6b5a 100644
--- a/ietf/templates/submit/announce_to_lists.txt
+++ b/ietf/templates/submit/announce_to_lists.txt
@@ -1,6 +1,6 @@
{% autoescape off %}
A New Internet-Draft is available from the on-line Internet-Drafts directories.
-{% if submission.group %}This draft is a work item of the {{ submission.group.name }}{% if submission.group.type.name %} {{ submission.group.type.name }}{% endif %} of the {% if submission.group.type_id == "rg" %}IRTF{% else %}IETF{% endif %}.{% endif %}
+{% if submission.group %}This Internet-Draft is a work item of the {{ submission.group.name }}{% if submission.group.type.name %} {{ submission.group.type.name }}{% endif %} of the {% if submission.group.type_id == "rg" %}IRTF{% else %}IETF{% endif %}.{% endif %}
Title : {{ submission.title }}
Author{{ submission.authors|pluralize:" ,s" }} : {% for author in submission.authors %}{{ author.name }}{% if not forloop.last %}
@@ -12,7 +12,7 @@ A New Internet-Draft is available from the on-line Internet-Drafts directories.
Abstract:
{{ submission.abstract }}
-The IETF datatracker status page for this draft is:
+The IETF datatracker status page for this Internet-Draft is:
{{ settings.IDTRACKER_BASE_URL }}{% url 'ietf.doc.views_doc.document_main' name=submission.name %}
{% if submission.xml_version == "3" %}
There is also an HTML version available at:
diff --git a/ietf/templates/submit/api_submission_info.html b/ietf/templates/submit/api_submission_info.html
index da2b21d5231..30a874e0a8c 100644
--- a/ietf/templates/submit/api_submission_info.html
+++ b/ietf/templates/submit/api_submission_info.html
@@ -1,12 +1,12 @@
{% extends "base.html" %}
{# Copyright The IETF Trust 2015-2022, All Rights Reserved #}
{% load origin ietf_filters %}
-{% block title %}Draft submission API instructions{% endblock %}
+{% block title %}I-D submission API instructions{% endblock %}
{% block content %}
{% origin %}
-
Draft submission API instructions
+
Internet-Draft submission API instructions
- A simplified draft submission interface, intended for automation,
+ A simplified Internet-Draft submission interface, intended for automation,
is available at {% url 'ietf.submit.views.api_submission' %}.
@@ -37,11 +37,11 @@
Draft submission API instructions
xml, which is the submitted file (required)
- replaces, a comma-separated list of draft names replaced by this submission (optional)
+ replaces, a comma-separated list of Internet-Draft names replaced by this submission (optional)
- When a draft is submitted, basic checks are performed immediately and an HTTP response
+ When an Internet-Draft is submitted, basic checks are performed immediately and an HTTP response
is sent including an appropriate http result code and JSON data describing the outcome.
@@ -62,7 +62,7 @@
Draft submission API instructions
"error": "Description of the error"
}
- If the basic checks passed and a successful response is sent, the draft is queued for further
+ If the basic checks passed and a successful response is sent, the Internet-Draft is queued for further
processing. Its status can be monitored by issuing GET requests to the status_url
indicated in the JSON response. This URL will respond with JSON data in the format
@@ -72,17 +72,17 @@
Draft submission API instructions
"state": "validating"
}
- The state validating indicates that the draft is being or waiting to be processed.
- Any other state indicates that the draft completed validation. If the validation failed or if the
- draft was canceled after validation, the state will be cancel.
+ The state validating indicates that the Internet-Draft is being or waiting to be processed.
+ Any other state indicates that the Internet-Draft completed validation. If the validation failed or if the
+ Internet-Draft was canceled after validation, the state will be cancel.
- Human-readable details of the draft's status and history can be found at
+ Human-readable details of the Internet-Draft's status and history can be found at
{% absurl 'ietf.submit.views.submission_status' submission_id='123' %}
(replacing 123 with the id for the submission).)
- Here is an example of submitting a draft and polling its status through the API:
+ Here is an example of submitting a Internet-Draft and polling its status through the API:
$ curl -s -F "user=user.name@example.com" -F "xml=@~/draft-user-example.xml" -F "replaces=draft-user-replaced-draft" {% absurl 'ietf.submit.views.api_submission' %} | jq
diff --git a/ietf/templates/submit/api_submit_info.html b/ietf/templates/submit/api_submit_info.html
index 114b979622e..cd0d52410bc 100644
--- a/ietf/templates/submit/api_submit_info.html
+++ b/ietf/templates/submit/api_submit_info.html
@@ -1,18 +1,18 @@
{% extends "base.html" %}
{# Copyright The IETF Trust 2015-2022, All Rights Reserved #}
{% load origin ietf_filters %}
-{% block title %}Draft submission API instructions{% endblock %}
+{% block title %}I-D submission API instructions{% endblock %}
{% block content %}
{% origin %}
-
Draft submission API instructions
+
Internet-Draft submission API instructions
Note: API endpoint described here is known to have a slow response time or to fail
- due to timeout for some draft submissions, particularly those with large file sizes.
+ due to timeout for some Internet-Draft submissions, particularly those with large file sizes.
It is recommended to use the new API endpoint
instead for increased reliability.
- A simplified draft submission interface, intended for automation,
+ A simplified Internet-Draft submission interface, intended for automation,
is available at {% absurl 'ietf.submit.views.api_submit' %}.
diff --git a/ietf/templates/submit/approval_request.txt b/ietf/templates/submit/approval_request.txt
index f32ea5c3bbf..9186e556fcd 100644
--- a/ietf/templates/submit/approval_request.txt
+++ b/ietf/templates/submit/approval_request.txt
@@ -5,7 +5,7 @@ Hi,
{% if not submission.group.is_active %}
Note: This submission belongs to an inactive working group.
{% endif %}
-To approve the draft, go to this URL (note: you need to login to be able to approve):
+To approve the Internet-Draft, go to this URL (note: you need to login to be able to approve):
https://{{ domain }}{% url "ietf.submit.views.submission_status" submission_id=submission.pk access_token=submission.access_token %}
File name : {{ submission.name }}
@@ -32,4 +32,4 @@ To approve the draft, go to this URL (note: you need to login to be able to appr
Best regards,
The IETF Secretariat
- through the draft submission service
+ through the Internet-Draft submission service
diff --git a/ietf/templates/submit/approvals.html b/ietf/templates/submit/approvals.html
index 9ddfa7f0a20..1030f19a6e4 100644
--- a/ietf/templates/submit/approvals.html
+++ b/ietf/templates/submit/approvals.html
@@ -4,7 +4,7 @@
{% block pagehead %}
{% endblock %}
-{% block title %}Draft submission approvals{% endblock %}
+{% block title %}I-D submission approvals{% endblock %}
{% load ietf_filters %}
{% block submit_content %}
{% origin %}
@@ -18,7 +18,7 @@
Submissions you can approve
-
Draft
+
Internet-Draft
Submitted
@@ -36,7 +36,7 @@
Submissions you can approve
{% endif %}
-
Pre-approved drafts not yet submitted
+
Pre-approved Internet-Drafts not yet submitted
{% if user|has_role:"Secretariat,WG Chair,RG Chair" %}
Approved Internet-Drafts within the past {{ days }} days
{% if not recently_approved %}
- No drafts approved.
+ No Internet-Drafts approved.
{% else %}
-
Draft
+
Internet-Draft
Submitted
@@ -103,7 +103,7 @@
Approved drafts within the past {{ days
Submission of approvals
This is where chairs and the secretariat can approve and pre-approve document
- submissions which require approval, such as WG -00 drafts.
+ submissions which require approval, such as WG -00 Internet-Drafts.
You need to
diff --git a/ietf/templates/submit/confirm_submission.html b/ietf/templates/submit/confirm_submission.html
index fdd1ba0ab01..e86fc618f87 100644
--- a/ietf/templates/submit/confirm_submission.html
+++ b/ietf/templates/submit/confirm_submission.html
@@ -9,7 +9,7 @@
diff --git a/ietf/templates/submit/confirm_submission.txt b/ietf/templates/submit/confirm_submission.txt
index 87e0f50f6b0..68196876149 100644
--- a/ietf/templates/submit/confirm_submission.txt
+++ b/ietf/templates/submit/confirm_submission.txt
@@ -1,10 +1,10 @@
{% autoescape off %}
Hi,
-The IETF datatracker draft submission service has received your draft
+The IETF datatracker Internet-Draft submission service has received your Internet-Draft
{{ submission.name }}-{{ submission.rev }}, and requires a
confirmation step in order to be able to complete the posting of
-the draft.{% if chair_notice %}
+the Internet-Draft.{% if chair_notice %}
The chairs have been copied since this is a group document whose author list has changed.
{%endif%}
@@ -16,6 +16,6 @@ Please follow this link to the page where you can confirm the posting:
Best regards,
The IETF Secretariat
- through the draft submission service
+ through the Internet-Draft submission service
{% endautoescape %}
diff --git a/ietf/templates/submit/full_url.txt b/ietf/templates/submit/full_url.txt
index a7df4d9f262..633df270378 100644
--- a/ietf/templates/submit/full_url.txt
+++ b/ietf/templates/submit/full_url.txt
@@ -2,7 +2,7 @@
Hi,
The datatracker has received a request to send out the link to the URL where you
-can confirm the submission of your draft {{ submission.name }}-{{ submission.rev }}.
+can confirm the submission of your Internet-Draft {{ submission.name }}-{{ submission.rev }}.
Please follow this link to get full access to the submission page:
{{ url|safe }}
@@ -11,6 +11,6 @@ Please follow this link to get full access to the submission page:
Best regards,
The IETF Secretariat
- through the draft submission service
+ through the Internet-Draft submission service
{% endautoescape %}
diff --git a/ietf/templates/submit/manual_post.html b/ietf/templates/submit/manual_post.html
index 5c986800bef..1f74af4a613 100644
--- a/ietf/templates/submit/manual_post.html
+++ b/ietf/templates/submit/manual_post.html
@@ -4,7 +4,7 @@
{% block pagehead %}
{% endblock %}
-{% block title %}Draft submissions awaiting manual posting{% endblock %}
+{% block title %}I-D submissions awaiting manual posting{% endblock %}
{% load ietf_filters %}
{% block submit_content %}
{% origin %}
@@ -18,7 +18,7 @@
- There are no submissions awaiting draft upload.
+ There are no submissions awaiting Internet-Draft upload.
{% else %}
If you run into problems submitting an Internet-Draft and need to request manual posting of an Internet-Draft, please send the
- draft and the reason for manual posting to
+ Internet-Draft and the reason for manual posting to
{{ settings.SECRETARIAT_SUPPORT_EMAIL }}.
Be advised that manual processing always takes additional time.
\ No newline at end of file
diff --git a/ietf/templates/submit/submission_status.html b/ietf/templates/submit/submission_status.html
index 255bc02bf91..e8136c6f43d 100644
--- a/ietf/templates/submit/submission_status.html
+++ b/ietf/templates/submit/submission_status.html
@@ -39,9 +39,9 @@
Submission status: {{ submission.state.name }}
Submission checks
{% if passes_checks %}
- Your draft has been verified to pass the submission checks.
+ Your Internet-Draft has been verified to pass the submission checks.
{% else %}
- Your draft has NOT been verified to pass the submission checks.
+ Your Internet-Draft has NOT been verified to pass the submission checks.
{% endif %}
{% if submission.authors|length > 5 %}
@@ -130,7 +130,7 @@
Submission checks
{% if submission.state_id == "waiting-for-draft" %}
- This submission is awaiting the first draft upload.
+ This submission is awaiting the first Internet-Draft upload.
{% elif submission.state_id == 'validating' %}
@@ -427,7 +427,7 @@
{% if requires_group_approval %}
Notifies group chairs to get approval.
{% elif requires_prev_authors_approval %}
- Notifies authors of previous revision of draft to get approval.
+ Notifies authors of previous revision of Internet-Draft to get approval.
{% else %}
Notifies submitter and authors for confirmation.
{% endif %}
diff --git a/ietf/templates/submit/tool_instructions.html b/ietf/templates/submit/tool_instructions.html
index 1a1486f0e1b..37eb54917a4 100644
--- a/ietf/templates/submit/tool_instructions.html
+++ b/ietf/templates/submit/tool_instructions.html
@@ -29,7 +29,7 @@
If the submission does not have any validation errors, then the user will be allowed to proceed with the automated posting process. This process will begin with submitter authentication, which will be done by e-mail.
- A user must carefully examine the meta-data that are displayed on this screen, and make sure that these data were extracted correctly. If the data were not extracted correctly, then the user can correct the errors via the Adjust page. In such a case, the user will pass the draft to the Secretariat for manual posting.
+ A user must carefully examine the meta-data that are displayed on this screen, and make sure that these data were extracted correctly. If the data were not extracted correctly, then the user can correct the errors via the Adjust page. In such a case, the user will pass the Internet-Draft to the Secretariat for manual posting.
@@ -136,7 +136,7 @@
Validation screen
- Button to start the automated posting process with submitter authentication. Once clicked, an email message will be sent to the parties who can verify the submission. For a new draft (-00), that will be the authors listed in the document. For -01 and subsequent drafts, the confirmation message is sent to the authors of the previous version. One of the recipients of the confirmation message will need to open the email message via his or her email application, and click the link provided in the message body.
+ Button to start the automated posting process with submitter authentication. Once clicked, an email message will be sent to the parties who can verify the submission. For a new Internet-Draft (-00), that will be the authors listed in the document. For -01 and subsequent Internet-Drafts, the confirmation message is sent to the authors of the previous version. One of the recipients of the confirmation message will need to open the email message via his or her email application, and click the link provided in the message body.
Once a link in the email body is clicked, the document gets pushed to the IETF Web and FTP sites, a notification is sent to the authors of the document, and an I-D Action announcement will be sent out within the next 15 minutes.
@@ -216,4 +216,4 @@
{% include "submit/problem-reports-footer.html" %}
-{% endblock %}
+{% endblock %}
\ No newline at end of file
diff --git a/ietf/templates/sync/discrepancies.html b/ietf/templates/sync/discrepancies.html
index 2616ca9173a..9e50fd9bfc1 100644
--- a/ietf/templates/sync/discrepancies.html
+++ b/ietf/templates/sync/discrepancies.html
@@ -14,7 +14,7 @@
{{ title }}
-
Draft name
+
Internet-Draft name
IESG state
RFC Editor state
IANA Action state
From f11d2bae1adfdde82556cc45baf6f0c3a48e26b1 Mon Sep 17 00:00:00 2001
From: Lars Eggert
Date: Wed, 8 Feb 2023 14:17:18 +0200
Subject: [PATCH 03/11] s/ID/I-D/
---
ietf/checks.py | 12 ++--
ietf/community/forms.py | 2 +-
ietf/community/models.py | 6 +-
ietf/doc/forms.py | 4 +-
ietf/doc/mails.py | 2 +-
.../commands/generate_draft_bibxml_files.py | 2 +-
ietf/doc/templatetags/mail_filters.py | 2 +-
ietf/doc/tests.py | 2 +-
ietf/doc/tests_utils.py | 6 +-
ietf/doc/utils.py | 2 +-
ietf/doc/views_draft.py | 8 +--
ietf/doc/views_stats.py | 8 +--
ietf/group/milestones.py | 2 +-
ietf/idindex/index.py | 2 +-
ietf/ipr/forms.py | 4 +-
.../commands/generate_draft_recursive_txt.py | 2 +-
ietf/ipr/utils.py | 2 +-
ietf/person/models.py | 4 +-
ietf/review/models.py | 2 +-
ietf/stats/views.py | 2 +-
ietf/submit/forms.py | 62 +++++++++----------
ietf/submit/mail.py | 4 +-
ietf/submit/tests.py | 4 +-
ietf/submit/utils.py | 26 ++++----
ietf/submit/views.py | 4 +-
ietf/sync/discrepancies.py | 8 +--
ietf/sync/rfceditor.py | 6 +-
ietf/templates/doc/document_draft.html | 4 +-
.../doc/search/search_result_row.html | 10 +--
ietf/templates/idindex/all_id2.txt | 2 +-
ietf/templates/meeting/important-dates.html | 2 +-
.../meeting/important_dates_for_meeting.ics | 4 +-
ietf/utils/draft.py | 6 +-
33 files changed, 109 insertions(+), 109 deletions(-)
diff --git a/ietf/checks.py b/ietf/checks.py
index 53e695a7690..c823abf1186 100644
--- a/ietf/checks.py
+++ b/ietf/checks.py
@@ -114,7 +114,7 @@ def check_id_submission_directories(app_configs, **kwargs):
p = getattr(settings, s)
if not os.path.exists(p):
errors.append(checks.Critical(
- "A directory used by the ID submission tool does not\n"
+ "A directory used by the I-D submission tool does not\n"
"exist at the path given in the settings file. The setting is:\n"
" %s = %s" % (s, p),
hint = ("Please either update the local settings to point at the correct\n"
@@ -134,7 +134,7 @@ def check_id_submission_files(app_configs, **kwargs):
p = getattr(settings, s)
if not os.path.exists(p):
errors.append(checks.Critical(
- "A file used by the ID submission tool does not exist\n"
+ "A file used by the I-D submission tool does not exist\n"
"at the path given in the settings file. The setting is:\n"
" %s = %s" % (s, p),
hint = ("Please either update the local settings to point at the correct\n"
@@ -179,7 +179,7 @@ def check_id_submission_checkers(app_configs, **kwargs):
except Exception as e:
errors.append(checks.Critical(
"An exception was raised when trying to import the\n"
- "draft submission checker class '%s':\n %s" % (checker_path, e),
+ "Internet-Draft submission checker class '%s':\n %s" % (checker_path, e),
hint = "Please check that the class exists and can be imported.\n",
id = "datatracker.E0008",
))
@@ -188,7 +188,7 @@ def check_id_submission_checkers(app_configs, **kwargs):
except Exception as e:
errors.append(checks.Critical(
"An exception was raised when trying to instantiate\n"
- "the draft submission checker class '%s':\n %s" % (checker_path, e),
+ "the Internet-Draft submission checker class '%s':\n %s" % (checker_path, e),
hint = "Please check that the class can be instantiated.\n",
id = "datatracker.E0009",
))
@@ -196,7 +196,7 @@ def check_id_submission_checkers(app_configs, **kwargs):
for attr in ('name',):
if not hasattr(checker, attr):
errors.append(checks.Critical(
- "The draft submission checker\n '%s'\n"
+ "The Internet-Draft submission checker\n '%s'\n"
"has no attribute '%s', which is required" % (checker_path, attr),
hint = "Please update the class.\n",
id = "datatracker.E0010",
@@ -207,7 +207,7 @@ def check_id_submission_checkers(app_configs, **kwargs):
break
else:
errors.append(checks.Critical(
- "The draft submission checker\n '%s'\n"
+ "The Internet-Draft submission checker\n '%s'\n"
" has no recognised checker method; "
"should be one or more of %s." % (checker_path, checker_methods),
hint = "Please update the class.\n",
diff --git a/ietf/community/forms.py b/ietf/community/forms.py
index a8709c787a7..8d72ce0d702 100644
--- a/ietf/community/forms.py
+++ b/ietf/community/forms.py
@@ -13,7 +13,7 @@
from ietf.person.fields import SearchablePersonField
class AddDocumentsForm(forms.Form):
- documents = SearchableDocumentsField(label="Add documents to track", doc_type="draft")
+ documents = SearchableDocumentsField(label="Add Internet-Drafts to track", doc_type="draft")
class SearchRuleTypeForm(forms.Form):
rule_type = forms.ChoiceField(choices=[('', '--------------')] + SearchRule.RULE_TYPES)
diff --git a/ietf/community/models.py b/ietf/community/models.py
index 8938b1c0973..9b2383f2114 100644
--- a/ietf/community/models.py
+++ b/ietf/community/models.py
@@ -19,11 +19,11 @@ class CommunityList(models.Model):
def long_name(self):
if self.user:
- return 'Personal ID list of %s' % self.user.username
+ return 'Personal I-D list of %s' % self.user.username
elif self.group:
- return 'ID list for %s' % self.group.name
+ return 'I-D list for %s' % self.group.name
else:
- return 'ID list'
+ return 'I-D list'
def __str__(self):
return self.long_name()
diff --git a/ietf/doc/forms.py b/ietf/doc/forms.py
index 8a480dcb8a0..c0c52571c2f 100644
--- a/ietf/doc/forms.py
+++ b/ietf/doc/forms.py
@@ -140,7 +140,7 @@ class AddDownrefForm(forms.Form):
required=True)
drafts = SearchableDocAliasesField(
label="Internet-Drafts that makes the reference",
- help_text="The drafts that approve the downref in their Last Call",
+ help_text="The Internet-Drafts that approve the downref in their Last Call",
required=True)
def clean_rfc(self):
@@ -163,7 +163,7 @@ def clean_drafts(self):
if not state or state.slug not in IESG_APPROVED_STATE_LIST:
v_err_names.append(da.name)
if v_err_names:
- raise forms.ValidationError("Draft is not yet approved: " + ", ".join(v_err_names))
+ raise forms.ValidationError("Internet-Draft is not yet approved: " + ", ".join(v_err_names))
return drafts
def clean(self):
diff --git a/ietf/doc/mails.py b/ietf/doc/mails.py
index 73b755e1495..b04caa5b7c8 100644
--- a/ietf/doc/mails.py
+++ b/ietf/doc/mails.py
@@ -98,7 +98,7 @@ def email_stream_changed(request, doc, old_stream, new_stream, text=""):
text = strip_tags(text)
send_mail(request, to, None,
- "ID Tracker Stream Change Notice: %s" % doc.file_tag(),
+ "I-D Tracker Stream Change Notice: %s" % doc.file_tag(),
"doc/mail/stream_changed_email.txt",
dict(text=text,
url=settings.IDTRACKER_BASE_URL + doc.get_absolute_url()),
diff --git a/ietf/doc/management/commands/generate_draft_bibxml_files.py b/ietf/doc/management/commands/generate_draft_bibxml_files.py
index f2dc508b9b7..eda67c401bb 100644
--- a/ietf/doc/management/commands/generate_draft_bibxml_files.py
+++ b/ietf/doc/management/commands/generate_draft_bibxml_files.py
@@ -22,7 +22,7 @@
class Command(BaseCommand):
help = ('Generate draft bibxml files for xml2rfc references, placing them in the '
'directory configured in settings.BIBXML_BASE_PATH: %s. '
- 'By default, generate files as needed for new draft revisions from the '
+ 'By default, generate files as needed for new Internet-Draft revisions from the '
'last %s days.' % (settings.BIBXML_BASE_PATH, DEFAULT_DAYS))
def add_arguments(self, parser):
diff --git a/ietf/doc/templatetags/mail_filters.py b/ietf/doc/templatetags/mail_filters.py
index 32e8dd0ca8c..6be6620315b 100644
--- a/ietf/doc/templatetags/mail_filters.py
+++ b/ietf/doc/templatetags/mail_filters.py
@@ -9,7 +9,7 @@ def std_level_prompt(doc):
to the object's intended_std_level (with the word RFC appended in some
cases), or a prompt requesting that the intended_std_level be set."""
- prompt = "*** YOU MUST SELECT AN INTENDED STATUS FOR THIS DRAFT AND REGENERATE THIS TEXT ***"
+ prompt = "*** YOU MUST SELECT AN INTENDED STATUS FOR THIS INTERNET-DRAFT AND REGENERATE THIS TEXT ***"
if doc.intended_std_level:
prompt = doc.intended_std_level.name
diff --git a/ietf/doc/tests.py b/ietf/doc/tests.py
index c60ee8b3d4c..9d6f3881f40 100644
--- a/ietf/doc/tests.py
+++ b/ietf/doc/tests.py
@@ -2522,7 +2522,7 @@ def test_personal_chart(self):
self.assertValidJSONResponse(r)
d = r.json()
self.assertEqual(d['chart']['type'], settings.CHART_TYPE_COLUMN_OPTIONS['chart']['type'])
- self.assertEqual("New draft revisions over time for %s" % person.name, d['title']['text'])
+ self.assertEqual("New Internet-Draft revisions over time for %s" % person.name, d['title']['text'])
data_url = urlreverse('ietf.doc.views_stats.chart_data_person_drafts', kwargs=dict(id=person.id))
diff --git a/ietf/doc/tests_utils.py b/ietf/doc/tests_utils.py
index 8b4b56d7efc..2c224c1db88 100644
--- a/ietf/doc/tests_utils.py
+++ b/ietf/doc/tests_utils.py
@@ -355,13 +355,13 @@ def test_requires_txt_or_xml(self):
result = rebuild_reference_relations(self.doc, {})
self.assertCountEqual(result.keys(), ['errors'])
self.assertEqual(len(result['errors']), 1)
- self.assertIn('No draft text available', result['errors'][0],
- 'Error should be reported if no draft file is given')
+ self.assertIn('No Internet-Draft text available', result['errors'][0],
+ 'Error should be reported if no Internet-Draft file is given')
result = rebuild_reference_relations(self.doc, {'md': 'cant-do-this.md'})
self.assertCountEqual(result.keys(), ['errors'])
self.assertEqual(len(result['errors']), 1)
- self.assertIn('No draft text available', result['errors'][0],
+ self.assertIn('No Internet-Draft text available', result['errors'][0],
'Error should be reported if no XML or plaintext file is given')
@patch.object(XMLDraft, 'get_refs')
diff --git a/ietf/doc/utils.py b/ietf/doc/utils.py
index e76adb50db5..6a26abc778f 100644
--- a/ietf/doc/utils.py
+++ b/ietf/doc/utils.py
@@ -792,7 +792,7 @@ def rebuild_reference_relations(doc, filenames):
except IOError as e:
return { 'errors': ["%s :%s" % (e.strerror, filename)] }
else:
- return {'errors': ['No draft text available for rebuilding reference relations. Need XML or plaintext.']}
+ return {'errors': ['No Internet-Draft text available for rebuilding reference relations. Need XML or plaintext.']}
doc.relateddocument_set.filter(relationship__slug__in=['refnorm','refinfo','refold','refunk']).delete()
diff --git a/ietf/doc/views_draft.py b/ietf/doc/views_draft.py
index 7e4e66006cf..a71a586edde 100644
--- a/ietf/doc/views_draft.py
+++ b/ietf/doc/views_draft.py
@@ -344,9 +344,9 @@ def __init__(self, *args, **kwargs):
def clean_replaces(self):
for d in self.cleaned_data['replaces']:
if d.document == self.doc:
- raise forms.ValidationError("A draft can't replace itself")
+ raise forms.ValidationError("An Internet-Draft can't replace itself")
if d.document.type_id == "draft" and d.document.get_state_slug() == "rfc":
- raise forms.ValidationError("A draft can't replace an RFC")
+ raise forms.ValidationError("An Internet-Draft can't replace an RFC")
return self.cleaned_data['replaces']
def replaces(request, name):
@@ -858,7 +858,7 @@ def restore_draft_file(request, draft):
shutil.move(file, settings.INTERNET_DRAFT_PATH)
log.log(" Moved file %s to %s" % (file, settings.INTERNET_DRAFT_PATH))
except shutil.Error as ex:
- messages.warning(request, 'There was an error restoring the draft file: {} ({})'.format(file, ex))
+ messages.warning(request, 'There was an error restoring the Internet-Draft file: {} ({})'.format(file, ex))
log.log(" Exception %s when attempting to move %s" % (ex, file))
@@ -1152,7 +1152,7 @@ def clean_ad(self):
state = self.doc.get_state('draft-iesg')
if not ad:
if state.slug not in ['idexists','dead']:
- raise forms.ValidationError("Drafts in state %s must have an assigned AD." % state)
+ raise forms.ValidationError("Internet-Drafts in state %s must have an assigned AD." % state)
return ad
@role_required("Area Director", "Secretariat")
diff --git a/ietf/doc/views_stats.py b/ietf/doc/views_stats.py
index 699373a4ecb..7d56e8569b4 100644
--- a/ietf/doc/views_stats.py
+++ b/ietf/doc/views_stats.py
@@ -66,9 +66,9 @@ def get_doctypes(queryargs, pluralize=False):
or queryargs.get('activedrafts') == 'on'
or queryargs.get('olddrafts') == 'on'):
if pluralize:
- doctypes.append('Drafts')
+ doctypes.append('Internet-Drafts')
else:
- doctypes.append('Draft')
+ doctypes.append('Internet-Draft')
alltypes = DocTypeName.objects.exclude(slug__in='draft').order_by('name');
for doctype in alltypes:
if 'include-' + doctype.slug in queryargs:
@@ -166,8 +166,8 @@ def chart_conf_person_drafts(request, id):
conf = {}
else:
conf = copy.deepcopy(settings.CHART_TYPE_COLUMN_OPTIONS)
- conf['title']['text'] = "New draft revisions over time for %s" % person.name
- conf['series'][0]['name'] = "Submitted drafts"
+ conf['title']['text'] = "New Internet-Draft revisions over time for %s" % person.name
+ conf['series'][0]['name'] = "Submitted Internet-Drafts"
return JsonResponse(conf)
@cache_page(60*15)
diff --git a/ietf/group/milestones.py b/ietf/group/milestones.py
index 43748a1f251..64ebb389e21 100644
--- a/ietf/group/milestones.py
+++ b/ietf/group/milestones.py
@@ -29,7 +29,7 @@ class MilestoneForm(forms.Form):
desc = forms.CharField(max_length=500, label="Milestone", required=True)
due = DatepickerDateField(date_format="MM yyyy", picker_settings={"min-view-mode": "months", "autoclose": "1", "view-mode": "years" }, required=True)
order = forms.IntegerField(required=True, widget=forms.HiddenInput)
- docs = SearchableDocumentsField(label="Drafts", required=False, help_text="Any drafts that the milestone concerns.")
+ docs = SearchableDocumentsField(label="Internet-Drafts", required=False, help_text="Any Internet-Drafts that the milestone concerns.")
resolved_checkbox = forms.BooleanField(required=False, label="Resolved")
resolved = forms.CharField(label="Resolved as", max_length=50, required=False)
diff --git a/ietf/idindex/index.py b/ietf/idindex/index.py
index 441febdd962..cda8310b45b 100644
--- a/ietf/idindex/index.py
+++ b/ietf/idindex/index.py
@@ -62,7 +62,7 @@ def add_line(f1, f2, f3, f4):
state += "::" + "::".join(tags)
add_line(d.name + "-" + d.rev,
formatted_rev_date(d.name),
- "In IESG processing - ID Tracker state <" + state + ">",
+ "In IESG processing - I-D Tracker state <" + state + ">",
"",
)
diff --git a/ietf/ipr/forms.py b/ietf/ipr/forms.py
index 06248e2a734..5f6c76c3778 100644
--- a/ietf/ipr/forms.py
+++ b/ietf/ipr/forms.py
@@ -413,7 +413,7 @@ def save(self, *args, **kwargs):
class SearchForm(forms.Form):
state = forms.MultipleChoiceField(choices=[], widget=forms.CheckboxSelectMultiple,required=False)
- draft = forms.CharField(label="Draft name", max_length=128, required=False)
+ draft = forms.CharField(label="Internet-Draft name", max_length=128, required=False)
rfc = forms.IntegerField(label="RFC number", required=False)
holder = forms.CharField(label="Name of patent owner/applicant", max_length=128,required=False)
patent = forms.CharField(label="Text in patent information", max_length=128,required=False)
@@ -428,4 +428,4 @@ def __init__(self, *args, **kwargs):
class StateForm(forms.Form):
state = forms.ModelChoiceField(queryset=IprDisclosureStateName.objects,label="New State",empty_label=None)
comment = forms.CharField(required=False, widget=forms.Textarea, help_text="You may add a comment to be included in the disclosure history.", strip=False)
- private = forms.BooleanField(label="Private comment", required=False, help_text="If this box is checked the comment will not appear in the disclosure's public history view.")
\ No newline at end of file
+ private = forms.BooleanField(label="Private comment", required=False, help_text="If this box is checked the comment will not appear in the disclosure's public history view.")
diff --git a/ietf/ipr/management/commands/generate_draft_recursive_txt.py b/ietf/ipr/management/commands/generate_draft_recursive_txt.py
index 240fc5348ed..2c61a7604f6 100644
--- a/ietf/ipr/management/commands/generate_draft_recursive_txt.py
+++ b/ietf/ipr/management/commands/generate_draft_recursive_txt.py
@@ -8,7 +8,7 @@
class Command(BaseCommand):
- help = ("Generate machine-readable list of IPR disclosures by draft name (recursive)")
+ help = ("Generate machine-readable list of IPR disclosures by Internet-Draft name (recursive)")
def handle(self, *args, **options):
try:
diff --git a/ietf/ipr/utils.py b/ietf/ipr/utils.py
index 43f5494b1c4..f288803de25 100644
--- a/ietf/ipr/utils.py
+++ b/ietf/ipr/utils.py
@@ -79,7 +79,7 @@ def generate_draft_recursive_txt():
docipr[name] = []
docipr[name].append(o.disclosure_id)
- lines = [ "# Machine-readable list of IPR disclosures by draft name" ]
+ lines = [ "# Machine-readable list of IPR disclosures by Internet-Draft name" ]
for name, iprs in docipr.items():
lines.append(name + "\t" + "\t".join(str(ipr_id) for ipr_id in sorted(iprs)))
diff --git a/ietf/person/models.py b/ietf/person/models.py
index a7e30b2de9e..6731212d0e4 100644
--- a/ietf/person/models.py
+++ b/ietf/person/models.py
@@ -57,7 +57,7 @@ class Person(models.Model):
biography = models.TextField(blank=True, help_text="Short biography for use on leadership pages. Use plain text or reStructuredText markup.")
photo = models.ImageField(storage=NoLocationMigrationFileSystemStorage(), upload_to=settings.PHOTOS_DIRNAME, blank=True, default=None)
photo_thumb = models.ImageField(storage=NoLocationMigrationFileSystemStorage(), upload_to=settings.PHOTOS_DIRNAME, blank=True, default=None)
- name_from_draft = models.CharField("Full Name (from submission)", null=True, max_length=255, editable=False, help_text="Name as found in a draft submission.")
+ name_from_draft = models.CharField("Full Name (from submission)", null=True, max_length=255, editable=False, help_text="Name as found in an Internet-Draft submission.")
def __str__(self):
return self.plain_name()
@@ -281,7 +281,7 @@ class Email(models.Model):
person = ForeignKey(Person, null=True)
time = models.DateTimeField(auto_now_add=True)
primary = models.BooleanField(default=False)
- origin = models.CharField(max_length=150, blank=False, help_text="The origin of the address: the user's email address, or 'author: DRAFTNAME' if a draft, or 'role: GROUP/ROLE' if a role.") # User.username or Document.name
+ origin = models.CharField(max_length=150, blank=False, help_text="The origin of the address: the user's email address, or 'author: DRAFTNAME' if an Internet-Draft, or 'role: GROUP/ROLE' if a role.") # User.username or Document.name
active = models.BooleanField(default=True) # Old email addresses are *not* purged, as history
# information points to persons through these
diff --git a/ietf/review/models.py b/ietf/review/models.py
index f0ec780948a..269e45e75bd 100644
--- a/ietf/review/models.py
+++ b/ietf/review/models.py
@@ -34,7 +34,7 @@ class ReviewerSettings(models.Model):
min_interval = models.IntegerField(verbose_name="Can review at most", choices=INTERVALS, blank=True, null=True)
filter_re = models.CharField(max_length=255, verbose_name="Filter regexp", blank=True,
validators=[validate_regular_expression_string, ],
- help_text="Draft names matching this regular expression should not be assigned")
+ help_text="Internet-Draft names matching this regular expression should not be assigned")
skip_next = models.IntegerField(default=0, verbose_name="Skip next assignments")
remind_days_before_deadline = models.IntegerField(null=True, blank=True, help_text="To get an email reminder in case you forget to do an assigned review, enter the number of days before review deadline you want to receive it. Clear the field if you don't want this reminder.")
remind_days_open_reviews = models.PositiveIntegerField(null=True, blank=True, verbose_name="Periodic reminder of open reviews every X days", help_text="To get a periodic email reminder of all your open reviews, enter the number of days between these reminders. Clear the field if you don't want these reminders.")
diff --git a/ietf/stats/views.py b/ietf/stats/views.py
index dd1cc96bdcc..44fbfb71799 100644
--- a/ietf/stats/views.py
+++ b/ietf/stats/views.py
@@ -182,7 +182,7 @@ def build_document_stats_url(stats_type_override=Ellipsis, get_overrides=None):
possible_document_types = add_url_to_choices([
("", "All"),
("rfc", "RFCs"),
- ("draft", "Drafts"),
+ ("draft", "Internet-Drafts"),
], lambda slug: build_document_stats_url(get_overrides={ "type": slug }))
document_type = get_choice(request, "type", possible_document_types) or ""
diff --git a/ietf/submit/forms.py b/ietf/submit/forms.py
index 7a4bd38f17c..f2f68f627d5 100644
--- a/ietf/submit/forms.py
+++ b/ietf/submit/forms.py
@@ -103,7 +103,7 @@ def set_cutoff_warnings(self):
elif now <= cutoff_00:
self.cutoff_warning = (
'The last submission time for new Internet-Drafts before the meeting is %s. '
- 'After that, you will not be able to submit drafts until after %s (IETF-meeting local time)' % (cutoff_00_str, reopen_str, ))
+ 'After that, you will not be able to submit Internet-Drafts until after %s (IETF-meeting local time)' % (cutoff_00_str, reopen_str, ))
else:
if now.date() >= (cutoff_00.date() - meeting.idsubmit_cutoff_warning_days) and now.date() < cutoff_00.date():
self.cutoff_warning = ( 'The last submission time for new documents (i.e., version -00 Internet-Drafts) before %s is %s.
' % (meeting, cutoff_00_str) +
@@ -207,7 +207,7 @@ def cleanup(): # called when context exited, even in case of exception
self.add_error('xml', msgs)
return
except Exception as e:
- self.add_error('xml', f'Error parsing XML draft: {e}')
+ self.add_error('xml', f'Error parsing XML Internet-Draft: {e}')
return
self.filename = xml_draft.filename
@@ -236,19 +236,19 @@ def cleanup(): # called when context exited, even in case of exception
raise forms.ValidationError('')
if not self.filename:
- raise forms.ValidationError("Could not extract a valid draft name from the upload. "
- "To fix this in a text upload, please make sure that the full draft name including "
+ raise forms.ValidationError("Could not extract a valid Internet-Draft name from the upload. "
+ "To fix this in a text upload, please make sure that the full Internet-Draft name including "
"revision number appears centered on its own line below the document title on the "
"first page. In an xml upload, please make sure that the top-level "
- "element has a docName attribute which provides the full draft name including "
+ "element has a docName attribute which provides the full Internet-Draft name including "
"revision number.")
if not self.revision:
- raise forms.ValidationError("Could not extract a valid draft revision from the upload. "
- "To fix this in a text upload, please make sure that the full draft name including "
+ raise forms.ValidationError("Could not extract a valid Internet-Draft revision from the upload. "
+ "To fix this in a text upload, please make sure that the full Internet-Draft name including "
"revision number appears centered on its own line below the document title on the "
"first page. In an xml upload, please make sure that the top-level "
- "element has a docName attribute which provides the full draft name including "
+ "element has a docName attribute which provides the full Internet-Draft name including "
"revision number.")
if self.cleaned_data.get('txt') or self.cleaned_data.get('xml'):
@@ -272,7 +272,7 @@ def cleanup(): # called when context exited, even in case of exception
raise forms.ValidationError(mark_safe(self.cutoff_warning))
# check thresholds that depend on the draft / group
self.check_submissions_thresholds(
- "for the draft %s" % self.filename,
+ "for the Internet-Draft %s" % self.filename,
dict(name=self.filename, rev=self.revision, submission_date=today),
settings.IDSUBMIT_MAX_DAILY_SAME_DRAFT_NAME, settings.IDSUBMIT_MAX_DAILY_SAME_DRAFT_NAME_SIZE,
)
@@ -306,7 +306,7 @@ def deduce_group(name):
else:
name_parts = name.split("-")
if len(name_parts) < 3:
- raise forms.ValidationError("The draft name \"%s\" is missing a third part, please rename it" % name)
+ raise forms.ValidationError("The Internet-Draft name \"%s\" is missing a third part, please rename it" % name)
if name.startswith('draft-ietf-') or name.startswith("draft-irtf-"):
if name_parts[1] == "ietf":
@@ -324,7 +324,7 @@ def deduce_group(name):
try:
return Group.objects.get(acronym=name_parts[2], type=group_type)
except Group.DoesNotExist:
- raise forms.ValidationError('There is no active group with acronym \'%s\', please rename your draft' % name_parts[2])
+ raise forms.ValidationError('There is no active group with acronym \'%s\', please rename your Internet-Draft' % name_parts[2])
elif name.startswith("draft-rfc-"):
return Group.objects.get(acronym="iesg")
@@ -338,7 +338,7 @@ def deduce_group(name):
if group:
return group
else:
- raise forms.ValidationError('Draft names starting with draft-%s- are restricted, please pick a different name' % ntype)
+ raise forms.ValidationError('Internet-Draft names starting with draft-%s- are restricted, please pick a different name' % ntype)
return None
@@ -541,19 +541,19 @@ def cleanup(): # called when context exited, even in case of exception
raise forms.ValidationError('')
if not self.filename:
- raise forms.ValidationError("Could not extract a valid draft name from the upload. "
- "To fix this in a text upload, please make sure that the full draft name including "
+ raise forms.ValidationError("Could not extract a valid Internet-Draft name from the upload. "
+ "To fix this in a text upload, please make sure that the full Internet-Draft name including "
"revision number appears centered on its own line below the document title on the "
"first page. In an xml upload, please make sure that the top-level "
- "element has a docName attribute which provides the full draft name including "
+ "element has a docName attribute which provides the full Internet-Draft name including "
"revision number.")
if not self.revision:
- raise forms.ValidationError("Could not extract a valid draft revision from the upload. "
- "To fix this in a text upload, please make sure that the full draft name including "
+ raise forms.ValidationError("Could not extract a valid Internet-Draft revision from the upload. "
+ "To fix this in a text upload, please make sure that the full Internet-Draft name including "
"revision number appears centered on its own line below the document title on the "
"first page. In an xml upload, please make sure that the top-level "
- "element has a docName attribute which provides the full draft name including "
+ "element has a docName attribute which provides the full Internet-Draft name including "
"revision number.")
if not self.title:
@@ -576,7 +576,7 @@ def cleanup(): # called when context exited, even in case of exception
today = date_today()
self.check_submissions_thresholds(
- "for the draft %s" % self.filename,
+ "for the Internet-Draft %s" % self.filename,
dict(name=self.filename, rev=self.revision, submission_date=today),
settings.IDSUBMIT_MAX_DAILY_SAME_DRAFT_NAME, settings.IDSUBMIT_MAX_DAILY_SAME_DRAFT_NAME_SIZE,
)
@@ -653,24 +653,24 @@ def clean(self):
self.add_error(
'replaces',
forms.ValidationError(
- 'Unknown draft name(s): ' + ', '.join(unknown_names)
+ 'Unknown Internet-Draft name(s): ' + ', '.join(unknown_names)
),
)
for alias in aliases_replaced:
if alias.document.name == self.filename:
self.add_error(
'replaces',
- forms.ValidationError("A draft cannot replace itself"),
+ forms.ValidationError("An Internet-Draft cannot replace itself"),
)
elif alias.document.type_id != "draft":
self.add_error(
'replaces',
- forms.ValidationError("A draft can only replace another draft"),
+ forms.ValidationError("An Internet-Draft can only replace another Internet-Draft"),
)
elif alias.document.get_state_slug() == "rfc":
self.add_error(
'replaces',
- forms.ValidationError("A draft cannot replace an RFC"),
+ forms.ValidationError("An Internet-Draft cannot replace an RFC"),
)
elif alias.document.get_state_slug('draft-iesg') in ('approved', 'ann', 'rfcqueue'):
self.add_error(
@@ -716,7 +716,7 @@ def cleaned_line(self):
return line
class ReplacesForm(forms.Form):
- replaces = SearchableDocAliasesField(required=False, help_text="Any drafts that this document replaces (approval required for replacing a draft you are not the author of)")
+ replaces = SearchableDocAliasesField(required=False, help_text="Any Internet-Drafts that this document replaces (approval required for replacing an Internet-Draft you are not the author of)")
def __init__(self, *args, **kwargs):
self.name = kwargs.pop("name")
@@ -725,11 +725,11 @@ def __init__(self, *args, **kwargs):
def clean_replaces(self):
for alias in self.cleaned_data['replaces']:
if alias.document.name == self.name:
- raise forms.ValidationError("A draft cannot replace itself.")
+ raise forms.ValidationError("An Internet-Draft cannot replace itself.")
if alias.document.type_id != "draft":
- raise forms.ValidationError("A draft can only replace another draft")
+ raise forms.ValidationError("An Internet-Draft can only replace another Internet-Draft")
if alias.document.get_state_slug() == "rfc":
- raise forms.ValidationError("A draft cannot replace an RFC")
+ raise forms.ValidationError("An Internet-Draft cannot replace an RFC")
if alias.document.get_state_slug('draft-iesg') in ('approved','ann','rfcqueue'):
raise forms.ValidationError(alias.name+" is approved by the IESG and cannot be replaced")
return self.cleaned_data['replaces']
@@ -781,15 +781,15 @@ def clean_name(self):
if components[-1] == "00":
raise forms.ValidationError("Name appears to end with a revision number -00 - do not include the revision.")
if len(components) < 4:
- raise forms.ValidationError("Name has less than four dash-delimited components - can't form a valid group draft name.")
+ raise forms.ValidationError("Name has less than four dash-delimited components - can't form a valid group Internet-Draft name.")
acronym = components[2]
if acronym not in [ g.acronym for g in self.groups ]:
- raise forms.ValidationError("Group acronym not recognized as one you can approve drafts for.")
+ raise forms.ValidationError("Group acronym not recognized as one you can approve Internet-Drafts for.")
if Preapproval.objects.filter(name=n):
raise forms.ValidationError("Pre-approval for this name already exists.")
if Submission.objects.filter(state="posted", name=n):
- raise forms.ValidationError("A draft with this name has already been submitted and accepted. A pre-approval would not make any difference.")
+ raise forms.ValidationError("An Internet-Draft with this name has already been submitted and accepted. A pre-approval would not make any difference.")
return n
@@ -802,7 +802,7 @@ class SubmissionEmailForm(forms.Form):
if submission_pk is None we are starting a new submission and name
must be unique. Otherwise the name must match the submission.name.
'''
- name = forms.CharField(required=True, max_length=255, label="Draft name")
+ name = forms.CharField(required=True, max_length=255, label="Internet-Draft name")
submission_pk = forms.IntegerField(required=False, widget=forms.HiddenInput())
direction = forms.ChoiceField(choices=(("incoming", "Incoming"), ("outgoing", "Outgoing")),
widget=forms.RadioSelect)
diff --git a/ietf/submit/mail.py b/ietf/submit/mail.py
index 81d2233af2b..93f97026cc2 100644
--- a/ietf/submit/mail.py
+++ b/ietf/submit/mail.py
@@ -52,7 +52,7 @@ def send_submission_confirmation(request, submission, chair_notice=False):
return all_addrs
def send_full_url(request, submission):
- subject = 'Full URL for managing submission of draft %s' % submission.name
+ subject = 'Full URL for managing submission of Internet-Draft %s' % submission.name
from_email = settings.IDSUBMIT_FROM_EMAIL
(to_email, cc) = gather_address_lists('sub_management_url_requested',submission=submission)
url = settings.IDTRACKER_BASE_URL + urlreverse('ietf.submit.views.submission_status', kwargs=dict(submission_id=submission.pk, access_token=submission.access_token()))
@@ -75,7 +75,7 @@ def send_approval_request(request, submission, replaced_doc=None):
If replaced_doc is not None, requests will be sent to the wg chairs or ADs
responsible for that doc's group instead of the submission.
"""
- subject = 'New draft waiting for approval: %s' % submission.name
+ subject = 'New Internet-Draft waiting for approval: %s' % submission.name
from_email = settings.IDSUBMIT_FROM_EMAIL
# Sort out which MailTrigger to use
diff --git a/ietf/submit/tests.py b/ietf/submit/tests.py
index ad1891c9542..67b573d3666 100644
--- a/ietf/submit/tests.py
+++ b/ietf/submit/tests.py
@@ -3249,7 +3249,7 @@ def test_process_uploaded_submission_invalid(self):
process_uploaded_submission(submission)
submission = Submission.objects.get(pk=submission.pk) # refresh
self.assertEqual(submission.state_id, 'cancel')
- self.assertIn('Only XML draft submissions', submission.submissionevent_set.last().desc)
+ self.assertIn('Only XML Internet-Draft submissions', submission.submissionevent_set.last().desc)
# wrong state
submission = SubmissionFactory(
@@ -3416,7 +3416,7 @@ def do_post_submission(self, rev, author=None, name=None, group=None, email=None
def test_api_submit_info(self):
url = urlreverse('ietf.submit.views.api_submit')
r = self.client.get(url)
- expected = "A simplified draft submission interface, intended for automation"
+ expected = "A simplified Internet-Draft submission interface, intended for automation"
self.assertContains(r, expected, status_code=200)
def test_api_submit_bad_method(self):
diff --git a/ietf/submit/utils.py b/ietf/submit/utils.py
index 6fb0a36b663..8b89792f9e0 100644
--- a/ietf/submit/utils.py
+++ b/ietf/submit/utils.py
@@ -126,9 +126,9 @@ def validate_submission_name(name):
if re.search(r'-\d\d$', name):
name = name[:-3]
if len(name) > 50:
- return "Expected the draft name to be at most 50 ascii characters long; found %d." % len(name)
+ return "Expected the Internet-Draft name to be at most 50 ASCII characters long; found %d." % len(name)
else:
- msg = "Expected name 'draft-...' using lowercase ascii letters, digits, and hyphen; found '%s'." % name
+ msg = "Expected name 'draft-...' using lowercase ASCII letters, digits, and hyphen; found '%s'." % name
if '.' in name:
msg += " Did you include a filename extension in the name by mistake?"
return msg
@@ -309,10 +309,10 @@ def post_submission(request, submission, approved_doc_desc, approved_subm_desc):
# update draft attributes
try:
draft = Document.objects.get(name=submission.name)
- log.log(f"{submission.name}: retrieved draft: {draft}")
+ log.log(f"{submission.name}: retrieved Internet-Draft: {draft}")
except Document.DoesNotExist:
draft = Document.objects.create(name=submission.name, type_id="draft")
- log.log(f"{submission.name}: created draft: {draft}")
+ log.log(f"{submission.name}: created Internet-Draft: {draft}")
prev_rev = draft.rev
@@ -341,7 +341,7 @@ def post_submission(request, submission, approved_doc_desc, approved_subm_desc):
draft.stream = StreamName.objects.get(slug=stream_slug)
draft.expires = timezone.now() + datetime.timedelta(settings.INTERNET_DRAFT_DAYS_TO_EXPIRE)
- log.log(f"{submission.name}: got draft details")
+ log.log(f"{submission.name}: got Internet-Draft details")
events = []
@@ -417,9 +417,9 @@ def post_submission(request, submission, approved_doc_desc, approved_subm_desc):
e = DocEvent(type="changed_document", doc=draft, rev=draft.rev)
if draft.stream_id == 'ietf':
- e.desc = "Sub state has been changed to AD Followup from Revised ID Needed"
+ e.desc = "Sub state has been changed to AD Followup from Revised I-D Needed"
else:
- e.desc = "Revised ID Needed tag cleared"
+ e.desc = "Revised I-D Needed tag cleared"
e.by = system
e.save()
events.append(e)
@@ -1134,9 +1134,9 @@ def process_submission_xml(submission):
xml_draft = XMLDraft(xml_path)
if submission.name != xml_draft.filename:
- raise SubmissionError('XML draft filename disagrees with submission filename')
+ raise SubmissionError('XML Internet-Draft filename disagrees with submission filename')
if submission.rev != xml_draft.revision:
- raise SubmissionError('XML draft revision disagrees with submission revision')
+ raise SubmissionError('XML Internet-Draft revision disagrees with submission revision')
authors = xml_draft.get_author_list()
for a in authors:
@@ -1176,17 +1176,17 @@ def process_submission_text(submission):
if submission.name != text_draft.filename:
raise SubmissionError(
- f'Text draft filename ({text_draft.filename}) disagrees with submission filename ({submission.name})'
+ f'Text Internet-Draft filename ({text_draft.filename}) disagrees with submission filename ({submission.name})'
)
if submission.rev != text_draft.revision:
raise SubmissionError(
- f'Text draft revision ({text_draft.revision}) disagrees with submission revision ({submission.rev})')
+ f'Text Internet-Draft revision ({text_draft.revision}) disagrees with submission revision ({submission.rev})')
text_title = _normalize_title(text_draft.get_title())
if not text_title:
raise SubmissionError('Could not extract a valid title from the text')
if text_title != submission.title:
raise SubmissionError(
- f'Text draft title ({text_title}) disagrees with submission title ({submission.title})')
+ f'Text Internet-Draft title ({text_title}) disagrees with submission title ({submission.title})')
submission.abstract = text_draft.get_abstract()
submission.document_date = text_draft.get_creation_date()
@@ -1213,7 +1213,7 @@ def abort_submission(error):
return # do nothing
if submission.file_types != '.xml':
- abort_submission('Only XML draft submissions can be processed.')
+ abort_submission('Only XML Internet-Draft submissions can be processed.')
try:
process_submission_xml(submission)
diff --git a/ietf/submit/views.py b/ietf/submit/views.py
index 9dcb88d1388..e875d14762b 100644
--- a/ietf/submit/views.py
+++ b/ietf/submit/views.py
@@ -101,7 +101,7 @@ def upload_submission(request):
except DataError as e:
form = SubmissionManualUploadForm(request=request)
form._errors = {}
- form._errors["__all__"] = form.error_class(["There was a failure processing your upload -- please verify that your draft passes idnits. (%s)" % e.message])
+ form._errors["__all__"] = form.error_class(["There was a failure processing your upload -- please verify that your Internet-Draft passes idnits. (%s)" % e.message])
if debug.debug:
raise
else:
@@ -472,7 +472,7 @@ def submission_status(request, submission_id, access_token=None):
approvals_received = submitter_form.cleaned_data['approvals_received']
if submission.rev == '00' and submission.group and not submission.group.is_active:
- permission_denied(request, 'Posting a new draft for an inactive group is not permitted.')
+ permission_denied(request, 'Posting a new Internet-Draft for an inactive group is not permitted.')
if approvals_received:
if not is_secretariat:
diff --git a/ietf/sync/discrepancies.py b/ietf/sync/discrepancies.py
index 08283080484..8268b0967df 100644
--- a/ietf/sync/discrepancies.py
+++ b/ietf/sync/discrepancies.py
@@ -4,25 +4,25 @@
def find_discrepancies():
res = []
- title = "Drafts that have been sent to the RFC Editor but do not have an RFC Editor state"
+ title = "Internet-Drafts that have been sent to the RFC Editor but do not have an RFC Editor state"
docs = Document.objects.filter(states__in=list(State.objects.filter(used=True, type="draft-iesg", slug__in=("ann", "rfcqueue")))).exclude(states__in=list(State.objects.filter(used=True, type="draft-rfceditor")))
res.append((title, docs))
- title = "Drafts that have the IANA Action state \"In Progress\" but do not have a \"IANA\" RFC-Editor state/tag"
+ title = "Internet-Drafts that have the IANA Action state \"In Progress\" but do not have a \"IANA\" RFC-Editor state/tag"
docs = Document.objects.filter(states__in=list(State.objects.filter(used=True, type="draft-iana-action", slug__in=("inprog",)))).exclude(tags="iana").exclude(states__in=list(State.objects.filter(used=True, type="draft-rfceditor", slug="iana")))
res.append((title, docs))
- title = "Drafts that have the IANA Action state \"Waiting on RFC Editor\" or \"RFC-Ed-Ack\" but are in the RFC Editor state \"IANA\"/tagged with \"IANA\""
+ title = "Internet-Drafts that have the IANA Action state \"Waiting on RFC Editor\" or \"RFC-Ed-Ack\" but are in the RFC Editor state \"IANA\"/tagged with \"IANA\""
docs = Document.objects.filter(states__in=list(State.objects.filter(used=True, type="draft-iana-action", slug__in=("waitrfc", "rfcedack")))).filter(models.Q(tags="iana") | models.Q(states__in=list(State.objects.filter(used=True, type="draft-rfceditor", slug="iana"))))
res.append((title, docs))
- title = "Drafts that have a state other than \"RFC Ed Queue\", \"RFC Published\" or \"Sent to the RFC Editor\" and have an RFC Editor or IANA Action state"
+ title = "Internet-Drafts that have a state other than \"RFC Ed Queue\", \"RFC Published\" or \"Sent to the RFC Editor\" and have an RFC Editor or IANA Action state"
docs = Document.objects.exclude(states__in=list(State.objects.filter(used=True, type="draft-iesg", slug__in=("rfcqueue", "pub"))) + list(State.objects.filter(used=True, type__in=("draft-stream-iab", "draft-stream-ise", "draft-stream-irtf"), slug="rfc-edit"))).filter(states__in=list(State.objects.filter(used=True, type__in=("draft-iana-action", "draft-rfceditor"))))
diff --git a/ietf/sync/rfceditor.py b/ietf/sync/rfceditor.py
index 1fde4fa1deb..59356dd48ca 100644
--- a/ietf/sync/rfceditor.py
+++ b/ietf/sync/rfceditor.py
@@ -567,7 +567,7 @@ def post_approved_draft(url, name):
"Authorization": "Basic %s" % force_str(base64.encodebytes(smart_bytes("%s:%s" % (username, password)))).replace("\n", ""),
}
- log("Posting RFC-Editor notification of approved draft '%s' to '%s'" % (name, url))
+ log("Posting RFC-Editor notification of approved Internet-Draft '%s' to '%s'" % (name, url))
text = error = ""
try:
@@ -578,7 +578,7 @@ def post_approved_draft(url, name):
timeout=settings.DEFAULT_REQUESTS_TIMEOUT,
)
- log("RFC-Editor notification result for draft '%s': %s:'%s'" % (name, r.status_code, r.text))
+ log("RFC-Editor notification result for Internet-Draft '%s': %s:'%s'" % (name, r.status_code, r.text))
if r.status_code != 200:
raise RuntimeError("Status code is not 200 OK (it's %s)." % r.status_code)
@@ -589,7 +589,7 @@ def post_approved_draft(url, name):
except Exception as e:
# catch everything so we don't leak exceptions, convert them
# into string instead
- msg = "Exception on RFC-Editor notification for draft '%s': %s: %s" % (name, type(e), str(e))
+ msg = "Exception on RFC-Editor notification for Internet-Draft '%s': %s: %s" % (name, type(e), str(e))
log(msg)
if settings.SERVER_MODE == 'test':
debug.say(msg)
diff --git a/ietf/templates/doc/document_draft.html b/ietf/templates/doc/document_draft.html
index f763159fca0..72256b63298 100644
--- a/ietf/templates/doc/document_draft.html
+++ b/ietf/templates/doc/document_draft.html
@@ -713,14 +713,14 @@
{% if user.is_authenticated %}
+ title="Remove from your personal I-D list">
Untrack
+ title="Add to your personal I-D list">
Track
diff --git a/ietf/templates/doc/search/search_result_row.html b/ietf/templates/doc/search/search_result_row.html
index 8767f2a52a6..d47dd4389c3 100644
--- a/ietf/templates/doc/search/search_result_row.html
+++ b/ietf/templates/doc/search/search_result_row.html
@@ -11,14 +11,14 @@
{% if user.is_authenticated %}
+ aria-label="Remove from your personal I-D list"
+ title="Remove from your personal I-D list">
+ aria-label="Add to your personal I-D list"
+ title="Add to your personal I-D list">
@@ -151,4 +151,4 @@
{% endif %}
{% endif %}
-
+
\ No newline at end of file
diff --git a/ietf/templates/idindex/all_id2.txt b/ietf/templates/idindex/all_id2.txt
index 30ecb9cc85c..29c43231e4d 100644
--- a/ietf/templates/idindex/all_id2.txt
+++ b/ietf/templates/idindex/all_id2.txt
@@ -8,7 +8,7 @@
# 2 one of "Active", "Expired", "RFC", "Withdrawn by Submitter",
# "Replaced", or "Withdrawn by IETF"
# 3 if #2 is "Active", the IESG state for the document (such as
-# "In Last Call", "AD Evaluation::Revised ID Needed", or "I-D Exists");
+# "In Last Call", "AD Evaluation::Revised I-D Needed", or "I-D Exists");
# otherwise empty
# 4 if #2 is "RFC", the RFC number (otherwise empty)
# 5 if #2 is "Replaced", the replacing Internet-Draft name (otherwise empty)
diff --git a/ietf/templates/meeting/important-dates.html b/ietf/templates/meeting/important-dates.html
index a21fbc47881..6d2237ae531 100644
--- a/ietf/templates/meeting/important-dates.html
+++ b/ietf/templates/meeting/important-dates.html
@@ -64,7 +64,7 @@
{% endif %}
{% if d.name.slug == 'idcutoff' %}
Upload using the
- ID Submission Tool.
+ I-D Submission Tool.
{% endif %}
{% if d.name.slug == 'draftwgagenda' or d.name.slug == 'revwgagenda' or d.name.slug == 'procsub' or d.name.slug == 'revslug' %}
Upload using the
diff --git a/ietf/templates/meeting/important_dates_for_meeting.ics b/ietf/templates/meeting/important_dates_for_meeting.ics
index 181bfe15e0c..df5fe468189 100644
--- a/ietf/templates/meeting/important_dates_for_meeting.ics
+++ b/ietf/templates/meeting/important_dates_for_meeting.ics
@@ -15,9 +15,9 @@ DESCRIPTION:{{ d.name.desc }}{% if first and d.name.slug == 'openreg' or first a
{{ request.scheme }}://{{ request.get_host }}{% url 'ietf.secr.sreq.views.main' %}{% endif %}{% if d.name.slug == 'cutoffbofreq' %}\n
To request a BOF, please see instructions on Requesting a BOF:\n
https://www.ietf.org/how/bofs/bof-procedures/{% endif %}{% if d.name.slug == 'idcutoff' %}\n
- Upload using the ID Submission Tool:\n
+ Upload using the I-D Submission Tool:\n
{{ request.scheme }}://{{ request.get_host }}{% url 'ietf.submit.views.upload_submission' %}{% endif %}{% if d.name.slug == 'draftwgagenda' or d.name.slug == 'revwgagenda' or d.name.slug == 'procsub' or d.name.slug == 'revslug' %}\n
Upload using the Meeting Materials Management Tool:\n
{{ request.scheme }}://{{ request.get_host }}{% url 'ietf.meeting.views.materials' num=meeting.number %}{% endif %}
END:VEVENT
-{% endfor %}
\ No newline at end of file
+{% endfor %}
diff --git a/ietf/utils/draft.py b/ietf/utils/draft.py
index 3ab25d6e530..00e09d6e4a2 100755
--- a/ietf/utils/draft.py
+++ b/ietf/utils/draft.py
@@ -936,7 +936,7 @@ def dotexp(s):
companies[i] = None
break
else:
- _warn("Author tuple doesn't match text in draft: %s, %s" % (authors[i], fullname))
+ _warn("Author tuple doesn't match text in Internet-Draft: %s, %s" % (authors[i], fullname))
authors[i] = None
break
except AssertionError:
@@ -1266,7 +1266,7 @@ def getmeta(fn):
fields["eventsource"] = "draft"
if " " in fn or not fn.endswith(".txt"):
- _warn("Skipping unexpected draft name: '%s'" % (fn))
+ _warn("Skipping unexpected Internet-Draft name: '%s'" % (fn))
return {}
if os.path.exists(fn):
@@ -1409,7 +1409,7 @@ def _main(outfile=sys.stdout):
files = [ "-" ]
for file in files:
- _debug( "Reading drafts from '%s'" % file)
+ _debug( "Reading Internet-Drafts from '%s'" % file)
if file == "-":
file = sys.stdin
elif file.endswith(".gz"):
From d9795a76aca763865961d642914c6b25718f1a31 Mon Sep 17 00:00:00 2001
From: Lars Eggert
Date: Wed, 8 Feb 2023 14:43:52 +0200
Subject: [PATCH 04/11] Fix tests
---
ietf/submit/tests.py | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/ietf/submit/tests.py b/ietf/submit/tests.py
index 67b573d3666..d1056e34d81 100644
--- a/ietf/submit/tests.py
+++ b/ietf/submit/tests.py
@@ -327,7 +327,7 @@ def submit_new_wg(self, formats):
self.assertEqual(r.status_code, 302)
status_url = r["Location"]
self.assertEqual(len(outbox), mailbox_before + 1)
- self.assertTrue("New draft waiting for approval" in outbox[-1]["Subject"])
+ self.assertTrue("New Internet-Draft waiting for approval" in outbox[-1]["Subject"])
self.assertTrue(name in outbox[-1]["Subject"])
# as chair of WG, we should see approval button
@@ -438,7 +438,7 @@ def test_submit_new_wg_as_author(self):
# Approval request notification should be sent to the WG chair
self.assertEqual(len(outbox), mailbox_before + 1)
- self.assertTrue("New draft waiting for approval" in outbox[-1]["Subject"])
+ self.assertTrue("New Internet-Draft waiting for approval" in outbox[-1]["Subject"])
self.assertTrue(name in outbox[-1]["Subject"])
self.assertTrue('mars-chairs@ietf.org' in outbox[-1]['To'])
@@ -791,7 +791,7 @@ def do_submit_existing_concluded_wg_test(self, group_state_id='conclude', submit
# Approval request notification should be sent to the AD for the group
self.assertEqual(len(outbox), mailbox_before + 1)
- self.assertTrue("New draft waiting for approval" in outbox[-1]["Subject"])
+ self.assertTrue("New Internet-Draft waiting for approval" in outbox[-1]["Subject"])
self.assertTrue(name in outbox[-1]["Subject"])
self.assertTrue(ad.user.email in outbox[-1]['To'])
@@ -1224,7 +1224,7 @@ def submit_new_individual_replacing_wg(self, logged_in=False, group_state_id='ac
ad.user.email if notify_ad else '%s-chairs@ietf.org' % replaced_draft.group.acronym,
notice['To']
)
- self.assertIn('New draft waiting for approval', notice['Subject'])
+ self.assertIn('New Internet-Draft waiting for approval', notice['Subject'])
def test_submit_new_individual_replacing_wg(self):
self.submit_new_individual_replacing_wg()
@@ -3061,7 +3061,7 @@ def test_replaces_field(self):
files=files_dict,
)
self.assertFalse(form.is_valid())
- self.assertIn('A draft cannot replace itself', form.errors['replaces'])
+ self.assertIn('An Internet-Draft cannot replace itself', form.errors['replaces'])
# can't replace non-draft
review = ReviewFactory()
@@ -3071,7 +3071,7 @@ def test_replaces_field(self):
files=files_dict,
)
self.assertFalse(form.is_valid())
- self.assertIn('A draft can only replace another draft', form.errors['replaces'])
+ self.assertIn('An Internet-Draft can only replace another Internet-Draft', form.errors['replaces'])
# can't replace RFC
rfc = WgRfcFactory()
@@ -3081,7 +3081,7 @@ def test_replaces_field(self):
files=files_dict,
)
self.assertFalse(form.is_valid())
- self.assertIn('A draft cannot replace an RFC', form.errors['replaces'])
+ self.assertIn('An Internet-Draft cannot replace an RFC', form.errors['replaces'])
# can't replace draft approved by iesg
existing_drafts[0].set_state(State.objects.get(type='draft-iesg', slug='approved'))
@@ -3217,7 +3217,7 @@ def test_process_uploaded_submission_invalid(self):
process_uploaded_submission(submission)
submission = Submission.objects.get(pk=submission.pk) # refresh
self.assertEqual(submission.state_id, 'cancel')
- self.assertIn('draft filename disagrees', submission.submissionevent_set.last().desc)
+ self.assertIn('Internet-Draft filename disagrees', submission.submissionevent_set.last().desc)
# rev mismatch
submission = SubmissionFactory(
From 70c88c5837ead316138bdedaf50d316b4acb94e4 Mon Sep 17 00:00:00 2001
From: Lars Eggert
Date: Wed, 8 Feb 2023 14:51:47 +0200
Subject: [PATCH 05/11] a -> an
---
ietf/templates/submit/api_submission_info.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ietf/templates/submit/api_submission_info.html b/ietf/templates/submit/api_submission_info.html
index 30a874e0a8c..3153d4257c0 100644
--- a/ietf/templates/submit/api_submission_info.html
+++ b/ietf/templates/submit/api_submission_info.html
@@ -82,7 +82,7 @@
Internet-Draft submission API instructions
(replacing 123 with the id for the submission).)
- Here is an example of submitting a Internet-Draft and polling its status through the API:
+ Here is an example of submitting an Internet-Draft and polling its status through the API:
$ curl -s -F "user=user.name@example.com" -F "xml=@~/draft-user-example.xml" -F "replaces=draft-user-replaced-draft" {% absurl 'ietf.submit.views.api_submission' %} | jq
From 8319cd7284426b59967f88bcb5e289b117bbde1a Mon Sep 17 00:00:00 2001
From: Lars Eggert
Date: Thu, 9 Feb 2023 12:09:04 +0200
Subject: [PATCH 06/11] Undo case-change to ASCII
---
ietf/submit/utils.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/ietf/submit/utils.py b/ietf/submit/utils.py
index 8b89792f9e0..99d4e3ce364 100644
--- a/ietf/submit/utils.py
+++ b/ietf/submit/utils.py
@@ -126,9 +126,9 @@ def validate_submission_name(name):
if re.search(r'-\d\d$', name):
name = name[:-3]
if len(name) > 50:
- return "Expected the Internet-Draft name to be at most 50 ASCII characters long; found %d." % len(name)
+ return "Expected the Internet-Draft name to be at most 50 ascii characters long; found %d." % len(name)
else:
- msg = "Expected name 'draft-...' using lowercase ASCII letters, digits, and hyphen; found '%s'." % name
+ msg = "Expected name 'draft-...' using lowercase ascii letters, digits, and hyphen; found '%s'." % name
if '.' in name:
msg += " Did you include a filename extension in the name by mistake?"
return msg
From e29037df8a975cf850afc5c5bc8692eca791b9da Mon Sep 17 00:00:00 2001
From: Lars Eggert
Date: Thu, 9 Feb 2023 12:13:21 +0200
Subject: [PATCH 07/11] Address code review comments
---
ietf/templates/meeting/add_session_drafts.html | 2 +-
ietf/utils/draft.py | 4 +++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/ietf/templates/meeting/add_session_drafts.html b/ietf/templates/meeting/add_session_drafts.html
index 66452e813f1..00358054a3e 100644
--- a/ietf/templates/meeting/add_session_drafts.html
+++ b/ietf/templates/meeting/add_session_drafts.html
@@ -6,7 +6,7 @@
{% block content %}
{% origin %}
- Add I-Ds to {{ session.meeting }}
+ Add Internet-Drafts to {{ session.meeting }}
{% if session_number %}: Session {{ session_number }}{% endif %}
{{ session.group.acronym }}
diff --git a/ietf/utils/draft.py b/ietf/utils/draft.py
index 00e09d6e4a2..82fec27f111 100755
--- a/ietf/utils/draft.py
+++ b/ietf/utils/draft.py
@@ -629,8 +629,10 @@ def extract_authors(self):
address_section = r"^ *([0-9]+\.)? *(Author|Editor)('s|s'|s|\(s\)) (Address|Addresses|Information)"
+ # "Internet Draft" (without the dash) is correct here, because the usage is to
+ # suppress incorrect author name extraction
ignore = [
- "Standards Track", "Current Practice", "Internet-Draft", "Working Group",
+ "Standards Track", "Current Practice", "Internet Draft", "Working Group",
"Expiration Date",
]
From b129a1f9ea5b451314c696375b8abb72776fda0e Mon Sep 17 00:00:00 2001
From: Lars Eggert
Date: Thu, 9 Feb 2023 12:19:01 +0200
Subject: [PATCH 08/11] Add migrations
---
ietf/person/migrations/0030_id_term_1.py | 33 ++++++++++++++++++++++++
ietf/person/migrations/0031_id_term_2.py | 24 +++++++++++++++++
2 files changed, 57 insertions(+)
create mode 100644 ietf/person/migrations/0030_id_term_1.py
create mode 100644 ietf/person/migrations/0031_id_term_2.py
diff --git a/ietf/person/migrations/0030_id_term_1.py b/ietf/person/migrations/0030_id_term_1.py
new file mode 100644
index 00000000000..81ba0c00939
--- /dev/null
+++ b/ietf/person/migrations/0030_id_term_1.py
@@ -0,0 +1,33 @@
+# Generated by Django 2.2.28 on 2023-02-09 10:13
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('person', '0029_use_timezone_now_for_person_models'),
+ ]
+
+ operations = [
+ migrations.AlterField(
+ model_name='email',
+ name='origin',
+ field=models.CharField(help_text="The origin of the address: the user's email address, or 'author: DRAFTNAME' if an Internet-Draft, or 'role: GROUP/ROLE' if a role.", max_length=150),
+ ),
+ migrations.AlterField(
+ model_name='historicalemail',
+ name='origin',
+ field=models.CharField(help_text="The origin of the address: the user's email address, or 'author: DRAFTNAME' if an Internet-Draft, or 'role: GROUP/ROLE' if a role.", max_length=150),
+ ),
+ migrations.AlterField(
+ model_name='historicalperson',
+ name='name_from_draft',
+ field=models.CharField(editable=False, help_text='Name as found in an Internet-Draft submission.', max_length=255, null=True, verbose_name='Full Name (from submission)'),
+ ),
+ migrations.AlterField(
+ model_name='person',
+ name='name_from_draft',
+ field=models.CharField(editable=False, help_text='Name as found in an Internet-Draft submission.', max_length=255, null=True, verbose_name='Full Name (from submission)'),
+ ),
+ ]
diff --git a/ietf/person/migrations/0031_id_term_2.py b/ietf/person/migrations/0031_id_term_2.py
new file mode 100644
index 00000000000..c0f87a8402b
--- /dev/null
+++ b/ietf/person/migrations/0031_id_term_2.py
@@ -0,0 +1,24 @@
+# Generated by Django 2.2.28 on 2023-02-09 10:13
+
+from django.db import migrations, models
+import ietf.utils.validators
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('review', '0030_use_date_today_helper'),
+ ]
+
+ operations = [
+ migrations.AlterField(
+ model_name='historicalreviewersettings',
+ name='filter_re',
+ field=models.CharField(blank=True, help_text='Internet-Draft names matching this regular expression should not be assigned', max_length=255, validators=[ietf.utils.validators.RegexStringValidator()], verbose_name='Filter regexp'),
+ ),
+ migrations.AlterField(
+ model_name='reviewersettings',
+ name='filter_re',
+ field=models.CharField(blank=True, help_text='Internet-Draft names matching this regular expression should not be assigned', max_length=255, validators=[ietf.utils.validators.RegexStringValidator()], verbose_name='Filter regexp'),
+ ),
+ ]
From e6bea082ab4d3465e8fa1ba7606476b6d8133bf1 Mon Sep 17 00:00:00 2001
From: Lars Eggert
Date: Fri, 10 Feb 2023 12:06:11 +0200
Subject: [PATCH 09/11] Add merged migration
---
ietf/person/migrations/0032_id_term.py | 14 ++++++++++++++
1 file changed, 14 insertions(+)
create mode 100644 ietf/person/migrations/0032_id_term.py
diff --git a/ietf/person/migrations/0032_id_term.py b/ietf/person/migrations/0032_id_term.py
new file mode 100644
index 00000000000..69d5d79e386
--- /dev/null
+++ b/ietf/person/migrations/0032_id_term.py
@@ -0,0 +1,14 @@
+# Generated by Django 2.2.28 on 2023-02-10 10:05
+
+from django.db import migrations
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('person', '0030_id_term_1'),
+ ('person', '0031_id_term_2'),
+ ]
+
+ operations = [
+ ]
From e8cea1c36463ce23d8a7a90b6f899d41b6c3ea49 Mon Sep 17 00:00:00 2001
From: Robert Sparks
Date: Fri, 10 Feb 2023 14:03:58 -0600
Subject: [PATCH 10/11] fix: straighten out migrations
---
ietf/person/migrations/0030_id_term_1.py | 33 ------------------------
ietf/person/migrations/0031_id_term_2.py | 24 -----------------
ietf/person/migrations/0032_id_term.py | 14 ----------
3 files changed, 71 deletions(-)
delete mode 100644 ietf/person/migrations/0030_id_term_1.py
delete mode 100644 ietf/person/migrations/0031_id_term_2.py
delete mode 100644 ietf/person/migrations/0032_id_term.py
diff --git a/ietf/person/migrations/0030_id_term_1.py b/ietf/person/migrations/0030_id_term_1.py
deleted file mode 100644
index 81ba0c00939..00000000000
--- a/ietf/person/migrations/0030_id_term_1.py
+++ /dev/null
@@ -1,33 +0,0 @@
-# Generated by Django 2.2.28 on 2023-02-09 10:13
-
-from django.db import migrations, models
-
-
-class Migration(migrations.Migration):
-
- dependencies = [
- ('person', '0029_use_timezone_now_for_person_models'),
- ]
-
- operations = [
- migrations.AlterField(
- model_name='email',
- name='origin',
- field=models.CharField(help_text="The origin of the address: the user's email address, or 'author: DRAFTNAME' if an Internet-Draft, or 'role: GROUP/ROLE' if a role.", max_length=150),
- ),
- migrations.AlterField(
- model_name='historicalemail',
- name='origin',
- field=models.CharField(help_text="The origin of the address: the user's email address, or 'author: DRAFTNAME' if an Internet-Draft, or 'role: GROUP/ROLE' if a role.", max_length=150),
- ),
- migrations.AlterField(
- model_name='historicalperson',
- name='name_from_draft',
- field=models.CharField(editable=False, help_text='Name as found in an Internet-Draft submission.', max_length=255, null=True, verbose_name='Full Name (from submission)'),
- ),
- migrations.AlterField(
- model_name='person',
- name='name_from_draft',
- field=models.CharField(editable=False, help_text='Name as found in an Internet-Draft submission.', max_length=255, null=True, verbose_name='Full Name (from submission)'),
- ),
- ]
diff --git a/ietf/person/migrations/0031_id_term_2.py b/ietf/person/migrations/0031_id_term_2.py
deleted file mode 100644
index c0f87a8402b..00000000000
--- a/ietf/person/migrations/0031_id_term_2.py
+++ /dev/null
@@ -1,24 +0,0 @@
-# Generated by Django 2.2.28 on 2023-02-09 10:13
-
-from django.db import migrations, models
-import ietf.utils.validators
-
-
-class Migration(migrations.Migration):
-
- dependencies = [
- ('review', '0030_use_date_today_helper'),
- ]
-
- operations = [
- migrations.AlterField(
- model_name='historicalreviewersettings',
- name='filter_re',
- field=models.CharField(blank=True, help_text='Internet-Draft names matching this regular expression should not be assigned', max_length=255, validators=[ietf.utils.validators.RegexStringValidator()], verbose_name='Filter regexp'),
- ),
- migrations.AlterField(
- model_name='reviewersettings',
- name='filter_re',
- field=models.CharField(blank=True, help_text='Internet-Draft names matching this regular expression should not be assigned', max_length=255, validators=[ietf.utils.validators.RegexStringValidator()], verbose_name='Filter regexp'),
- ),
- ]
diff --git a/ietf/person/migrations/0032_id_term.py b/ietf/person/migrations/0032_id_term.py
deleted file mode 100644
index 69d5d79e386..00000000000
--- a/ietf/person/migrations/0032_id_term.py
+++ /dev/null
@@ -1,14 +0,0 @@
-# Generated by Django 2.2.28 on 2023-02-10 10:05
-
-from django.db import migrations
-
-
-class Migration(migrations.Migration):
-
- dependencies = [
- ('person', '0030_id_term_1'),
- ('person', '0031_id_term_2'),
- ]
-
- operations = [
- ]
From c2de2a93386474f547074465e4d8fff4edec1810 Mon Sep 17 00:00:00 2001
From: Robert Sparks
Date: Fri, 10 Feb 2023 14:09:28 -0600
Subject: [PATCH 11/11] fix: finish straightening out migrations
---
ietf/person/migrations/0030_id_term.py | 33 ++++++++++++++++++++++++++
ietf/review/migrations/0031_id_term.py | 24 +++++++++++++++++++
2 files changed, 57 insertions(+)
create mode 100644 ietf/person/migrations/0030_id_term.py
create mode 100644 ietf/review/migrations/0031_id_term.py
diff --git a/ietf/person/migrations/0030_id_term.py b/ietf/person/migrations/0030_id_term.py
new file mode 100644
index 00000000000..3be33c9b373
--- /dev/null
+++ b/ietf/person/migrations/0030_id_term.py
@@ -0,0 +1,33 @@
+# Generated by Django 2.2.28 on 2023-02-10 19:58
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('person', '0029_use_timezone_now_for_person_models'),
+ ]
+
+ operations = [
+ migrations.AlterField(
+ model_name='email',
+ name='origin',
+ field=models.CharField(help_text="The origin of the address: the user's email address, or 'author: DRAFTNAME' if an Internet-Draft, or 'role: GROUP/ROLE' if a role.", max_length=150),
+ ),
+ migrations.AlterField(
+ model_name='historicalemail',
+ name='origin',
+ field=models.CharField(help_text="The origin of the address: the user's email address, or 'author: DRAFTNAME' if an Internet-Draft, or 'role: GROUP/ROLE' if a role.", max_length=150),
+ ),
+ migrations.AlterField(
+ model_name='historicalperson',
+ name='name_from_draft',
+ field=models.CharField(editable=False, help_text='Name as found in an Internet-Draft submission.', max_length=255, null=True, verbose_name='Full Name (from submission)'),
+ ),
+ migrations.AlterField(
+ model_name='person',
+ name='name_from_draft',
+ field=models.CharField(editable=False, help_text='Name as found in an Internet-Draft submission.', max_length=255, null=True, verbose_name='Full Name (from submission)'),
+ ),
+ ]
diff --git a/ietf/review/migrations/0031_id_term.py b/ietf/review/migrations/0031_id_term.py
new file mode 100644
index 00000000000..6abb0dadbe9
--- /dev/null
+++ b/ietf/review/migrations/0031_id_term.py
@@ -0,0 +1,24 @@
+# Generated by Django 2.2.28 on 2023-02-10 19:58
+
+from django.db import migrations, models
+import ietf.utils.validators
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('review', '0030_use_date_today_helper'),
+ ]
+
+ operations = [
+ migrations.AlterField(
+ model_name='historicalreviewersettings',
+ name='filter_re',
+ field=models.CharField(blank=True, help_text='Internet-Draft names matching this regular expression should not be assigned', max_length=255, validators=[ietf.utils.validators.RegexStringValidator()], verbose_name='Filter regexp'),
+ ),
+ migrations.AlterField(
+ model_name='reviewersettings',
+ name='filter_re',
+ field=models.CharField(blank=True, help_text='Internet-Draft names matching this regular expression should not be assigned', max_length=255, validators=[ietf.utils.validators.RegexStringValidator()], verbose_name='Filter regexp'),
+ ),
+ ]