Permalink
Browse files

A few notes about things to do before the release

  • Loading branch information...
1 parent 86ab3b6 commit 6234114488cc274d0357e611646d2796a9dd8c01 Stephane Bortzmeyer committed Dec 21, 2012
Showing with 3 additions and 2 deletions.
  1. +3 −2 DNSLG/Formatter.py
View
@@ -691,7 +691,7 @@ def result(self, querier):
"""
# TODO: better presentation of "admin" (replacement of . by @ and mailto: URL)
# TODO: better presentation of intervals? (Weeks, days, etc)
-# TODO: indicate the type of the record before the answer? Not obvious.
+# TODO: indicate the type of the record before the answer? Not obvious. At least add an explanatory text instead of just the data (TODO CRIT)
soa_html_template = """
<span>Zone administrator <span tal:replace="admin"/>, master server <a class="hostname" tal:attributes="href path" tal:content="master"/>, serial number <span tal:replace="serial"/>, refresh interval <span tal:replace="refresh"/> s, retry interval <span tal:replace="retry"/> s, expiration delay <span tal:replace="expire"/> s, negative reply TTL <span tal:replace="minimum"/> s</span>
"""
@@ -705,7 +705,7 @@ def result(self, querier):
<span>Priority <span tal:content="priority"/>, weight <span tal:content="weight"/>, host <a class="hostname" tal:attributes="href path" tal:content="hostname"/>, port <span tal:content="port"/>,</span>
"""
txt_html_template = """
-<span tal:content="text"/>
+Text <span tal:content="text"/>
"""
spf_html_template = """
<span tal:content="text"/>
@@ -978,6 +978,7 @@ def format(self, answer, qtype, flags, querier):
self.naptr_template.expand (icontext, iresult,
suppressXMLDeclaration=True,
outputEncoding=querier.encoding)
+ # TODO CRIT: handle RRSIG (46) and NSEC (47) and NSEC3
else:
icontext.addGlobal ("rrtype", rdata.rdtype)
self.unknown_template.expand (icontext, iresult,

0 comments on commit 6234114

Please sign in to comment.