1
0
mirror of https://github.com/moparisthebest/xeps synced 2024-11-21 16:55:07 -05:00

gen-scripts: Encrypt all URLs ;-)

This commit is contained in:
Georg Lukas 2017-02-16 16:31:38 +01:00 committed by Sam Whited
parent 7b7169f08a
commit 29b8c3e2b1
4 changed files with 9 additions and 9 deletions

View File

@ -124,7 +124,7 @@ if len(revNodes) > 1:
prevRevNode = revNodes[1] prevRevNode = revNodes[1]
prevVersionNode = (prevRevNode.getElementsByTagName("version")[0]) prevVersionNode = (prevRevNode.getElementsByTagName("version")[0])
prevVersion = getText(prevVersionNode.childNodes) prevVersion = getText(prevVersionNode.childNodes)
diffs = 'http://xmpp.org/extensions/diff/api/xep/' + xepnum + '/diff/' + prevVersion + '/vs/' + version diffs = 'https://xmpp.org/extensions/diff/api/xep/' + xepnum + '/diff/' + prevVersion + '/vs/' + version
else: else:
diffs = 'N/A' diffs = 'N/A'
@ -139,7 +139,7 @@ else:
# Abstract: $abstract # Abstract: $abstract
# Changelog: $remark ($initials) # Changelog: $remark ($initials)
# Diff: $diffs ### no longer in use # Diff: $diffs ### no longer in use
# URL: http://xmpp.org/extensions/xep-$xepnum.html # URL: https://xmpp.org/extensions/xep-$xepnum.html
fromaddr = "editor@xmpp.org" fromaddr = "editor@xmpp.org"
# for testing... # for testing...
@ -171,7 +171,7 @@ versionline = 'Version ' + version + ' of XEP-' + xepnum + ' (' + title + ') has
abstractline = 'Abstract: ' + abstract abstractline = 'Abstract: ' + abstract
changelogline = 'Changelog: ' + remark + ' (' + initials + ')' changelogline = 'Changelog: ' + remark + ' (' + initials + ')'
diffsline = 'Diff: ' + diffs diffsline = 'Diff: ' + diffs
urlline = 'URL: http://xmpp.org/extensions/xep-' + xepnum + '.html' urlline = 'URL: https://xmpp.org/extensions/xep-' + xepnum + '.html'
msg = "From: XMPP Extensions Editor <%s>\r\n" % fromaddr msg = "From: XMPP Extensions Editor <%s>\r\n" % fromaddr
msg = msg + "To: %s\r\n" % toaddrs msg = msg + "To: %s\r\n" % toaddrs

View File

@ -102,7 +102,7 @@ remark = getText(remarkNode.childNodes)
# #
# Abstract: $abstract # Abstract: $abstract
# #
# URL: http://xmpp.org/extensions/xep-$xepnum.html # URL: https://xmpp.org/extensions/xep-$xepnum.html
# #
# If and when a new revision of this XEP is published, # If and when a new revision of this XEP is published,
# its status will be changed back to Experimental. # its status will be changed back to Experimental.
@ -117,7 +117,7 @@ toaddrs = "standards@xmpp.org"
thesubject = 'DEFERRED: XEP-' + xepnum + " (" + title + ")" thesubject = 'DEFERRED: XEP-' + xepnum + " (" + title + ")"
introline = 'XEP-' + xepnum + ' (' + title + ') has been Deferred because of inactivity.' introline = 'XEP-' + xepnum + ' (' + title + ') has been Deferred because of inactivity.'
abstractline = 'Abstract: ' + abstract abstractline = 'Abstract: ' + abstract
urlline = 'URL: http://xmpp.org/extensions/xep-' + xepnum + '.html' urlline = 'URL: https://xmpp.org/extensions/xep-' + xepnum + '.html'
endline = 'If and when a new revision of this XEP is published, its status will be changed back to Experimental.' endline = 'If and when a new revision of this XEP is published, its status will be changed back to Experimental.'
#msg = "From: %s\r\n" % fromaddr #msg = "From: %s\r\n" % fromaddr

View File

@ -104,7 +104,7 @@ remark = getText(remarkNode.childNodes)
# #
# Abstract: $abstract # Abstract: $abstract
# #
# URL: http://xmpp.org/extensions/inbox/$xepname.html # URL: https://xmpp.org/extensions/inbox/$xepname.html
# #
# The $approver will now consider whether to accept # The $approver will now consider whether to accept
# this proposal as a full XEP. # this proposal as a full XEP.
@ -120,7 +120,7 @@ thesubject = 'Proposed XMPP Extension: ' + title
introline = 'The XMPP Extensions Editor has received a proposal for a new XEP.' introline = 'The XMPP Extensions Editor has received a proposal for a new XEP.'
titleline = 'Title: ' + title titleline = 'Title: ' + title
abstractline = 'Abstract: ' + abstract abstractline = 'Abstract: ' + abstract
urlline = 'URL: http://xmpp.org/extensions/inbox/' + xepname + '.html' urlline = 'URL: https://xmpp.org/extensions/inbox/' + xepname + '.html'
actionline = 'The ' + approver + ' will decide in the next two weeks whether to accept this proposal as an official XEP.' actionline = 'The ' + approver + ' will decide in the next two weeks whether to accept this proposal as an official XEP.'
msg = "From: XMPP Extensions Editor <%s>\r\n" % fromaddr msg = "From: XMPP Extensions Editor <%s>\r\n" % fromaddr

View File

@ -105,7 +105,7 @@ remark = getText(remarkNode.childNodes)
# #
# Abstract: $abstract # Abstract: $abstract
# #
# URL: http://xmpp.org/extensions/xep-$xepnum.html # URL: https://xmpp.org/extensions/xep-$xepnum.html
# #
# This Last Call begins today and shall end at the close # This Last Call begins today and shall end at the close
# of business on $enddate. # of business on $enddate.
@ -134,7 +134,7 @@ toaddrs = "standards@xmpp.org"
thesubject = 'LAST CALL: XEP-' + xepnum + " (" + title + ")" thesubject = 'LAST CALL: XEP-' + xepnum + " (" + title + ")"
introline = 'This message constitutes notice of a Last Call for comments on XEP-' + xepnum + ' (' + title + ').' introline = 'This message constitutes notice of a Last Call for comments on XEP-' + xepnum + ' (' + title + ').'
abstractline = 'Abstract: ' + abstract abstractline = 'Abstract: ' + abstract
urlline = 'URL: http://xmpp.org/extensions/xep-' + xepnum + '.html' urlline = 'URL: https://xmpp.org/extensions/xep-' + xepnum + '.html'
schedline = 'This Last Call begins today and shall end at the close of business on ' + enddate + '.' schedline = 'This Last Call begins today and shall end at the close of business on ' + enddate + '.'
qline0 = 'Please consider the following questions during this Last Call and send your feedback to the standards@xmpp.org discussion list:' qline0 = 'Please consider the following questions during this Last Call and send your feedback to the standards@xmpp.org discussion list:'
qline1 = '1. Is this specification needed to fill gaps in the XMPP protocol stack or to clarify an existing protocol?' qline1 = '1. Is this specification needed to fill gaps in the XMPP protocol stack or to clarify an existing protocol?'