Skip to content

Commit da17e7c

Browse files
committed
Merged in [19713] from lars@eggert.org:
Remove ietf/templates/iesg/scribe_template.html and related, which is not used anymore according to the secretariat. (On merge, rjsparks@nostrum.com also removed the three other templates that only that one included, and removed the test that covered the view tht was removed). - Legacy-Id: 19732 Note: SVN reference [19713] has been migrated to Git commit 7042038
1 parent 1656f58 commit da17e7c

8 files changed

Lines changed: 3 additions & 206 deletions

File tree

ietf/iesg/tests.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -369,17 +369,6 @@ def test_agenda_txt(self):
369369
# Make sure the sort places 6.9 before 6.10
370370
self.assertLess(r.content.find(b"6.9"), r.content.find(b"6.10"))
371371

372-
def test_agenda_scribe_template(self):
373-
r = self.client.get(urlreverse("ietf.iesg.views.agenda_scribe_template"))
374-
self.assertEqual(r.status_code, 200)
375-
376-
for k, d in self.telechat_docs.items():
377-
if d.type_id == "charter":
378-
continue # scribe template doesn't contain chartering info
379-
380-
self.assertContains(r, d.name, msg_prefix="%s '%s' not in response" % (k, d.name))
381-
self.assertContains(r, d.title, msg_prefix="%s '%s' title not in response" % (k, d.title))
382-
383372
def test_agenda_moderator_package(self):
384373
url = urlreverse("ietf.iesg.views.agenda_moderator_package")
385374
login_testing_unauthorized(self, "secretary", url)

ietf/iesg/urls.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@
4747
url(r'^agenda/(?:%(date)s/)?$' % settings.URL_REGEXPS, views.agenda),
4848
url(r'^agenda/(?:%(date)s/)?agenda.txt$' % settings.URL_REGEXPS, views.agenda_txt),
4949
url(r'^agenda/(?:%(date)s/)?agenda.json$' % settings.URL_REGEXPS, views.agenda_json),
50-
url(r'^agenda/(?:%(date)s/)?scribe_template.html$' % settings.URL_REGEXPS, views.agenda_scribe_template),
5150
url(r'^agenda/(?:%(date)s/)?moderator_package.html$' % settings.URL_REGEXPS, views.agenda_moderator_package),
5251
url(r'^agenda/(?:%(date)s/)?agenda_package.txt$' % settings.URL_REGEXPS, views.agenda_package),
5352

@@ -58,4 +57,4 @@
5857
url(r'^discusses/$', views.discusses),
5958
url(r'^milestones/$', views.milestones_needing_review),
6059
url(r'^photos/$', views.photos),
61-
]
60+
]

ietf/iesg/views.py

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -212,21 +212,6 @@ def agenda_txt(request, date=None):
212212
"domain": Site.objects.get_current().domain,
213213
}, content_type="text/plain; charset=%s"%settings.DEFAULT_CHARSET)
214214

215-
def agenda_scribe_template(request, date=None):
216-
data = agenda_data(date)
217-
sections = sorted((num, section) for num, section in data["sections"].items() if "2" <= num < "4")
218-
appendix_docs = []
219-
for num, section in sections:
220-
if "docs" in section:
221-
# why are we here including documents that have no discuss/comment?
222-
appendix_docs.extend(section["docs"])
223-
return render(request, "iesg/scribe_template.html", {
224-
"date": data["date"],
225-
"sections": sections,
226-
"appendix_docs": appendix_docs,
227-
"domain": Site.objects.get_current().domain,
228-
} )
229-
230215
@role_required('Area Director', 'Secretariat')
231216
def agenda_moderator_package(request, date=None):
232217
"""Output telechat agenda with one page per section, with each
@@ -542,4 +527,4 @@ def photos(request):
542527
role.last_initial = role.person.last_name()[0]
543528
return render(request, 'iesg/photos.html', {'group_type': 'IESG', 'role': '', 'roles': roles })
544529

545-
530+

ietf/templates/iesg/scribe_conflict_doc.html

Lines changed: 0 additions & 24 deletions
This file was deleted.

ietf/templates/iesg/scribe_doc.html

Lines changed: 0 additions & 26 deletions
This file was deleted.

ietf/templates/iesg/scribe_doc_ballot.html

Lines changed: 0 additions & 34 deletions
This file was deleted.

ietf/templates/iesg/scribe_template.html

Lines changed: 0 additions & 91 deletions
This file was deleted.

ietf/utils/crawlurls.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,10 @@
99
/iesg/decisions/
1010
/iesg/agenda/documents.txt
1111
/iesg/agenda/agenda.json
12-
/iesg/agenda/scribe_template.html
1312
/wg/1wg-summary.txt
1413
/wg/1wg-summary-by-acronym.txt
1514
/wg/1wg-charters.txt
1615
/wg/1wg-charters-by-acronym.txt
1716
/sitemap.xml
1817
/sitemap-ipr.xml
19-
/sitemap-liaison.xml
18+
/sitemap-liaison.xml

0 commit comments

Comments
 (0)