Changed URLs with explicit scheme from http to https.

- Legacy-Id: 7555
This commit is contained in:
Henrik Levkowetz 2014-03-31 00:25:08 +00:00
parent af4c6e253c
commit f20a5d0cfb
9 changed files with 11 additions and 8 deletions

View file

@ -47,6 +47,7 @@ from django.db import models
from django.http import HttpResponse
from django.shortcuts import render_to_response, render, redirect
from django.template import RequestContext
from django.contrib.sites.models import Site
from ietf.doc.models import Document, TelechatDocEvent, LastCallDocEvent, ConsensusDocEvent, DocEvent, IESG_BALLOT_ACTIVE_STATES
@ -189,6 +190,7 @@ def agenda_txt(request, date=None):
return render_to_response("iesg/agenda.txt", {
"date": data["date"],
"sections": sorted(data["sections"].iteritems()),
"domain": Site.objects.get_current().domain,
}, context_instance=RequestContext(request), content_type="text/plain")
def agenda_scribe_template(request, date=None):
@ -203,6 +205,7 @@ def agenda_scribe_template(request, date=None):
"date": data["date"],
"sections": sections,
"appendix_docs": appendix_docs,
"domain": Site.objects.get_current().domain,
}, context_instance=RequestContext(request) )
@role_required('Area Director', 'Secretariat')

View file

@ -3,7 +3,7 @@ Hello,
In order to complete your subscription for {% if significant %}significant {% endif %}changes on {{ clist.long_name }}, please follow this link or copy it and paste it in your web browser:
http://{{ domain }}{% if significant %}{% url "confirm_significant_subscription" clist.id to_email today auth %}{% else %}{% url "confirm_subscription" clist.id to_email today auth %}{% endif %}
https://{{ domain }}{% if significant %}{% url "confirm_significant_subscription" clist.id to_email today auth %}{% else %}{% url "confirm_subscription" clist.id to_email today auth %}{% endif %}
Best regards,

View file

@ -3,7 +3,7 @@ Hello,
In order to complete the cancelation of your subscription to {% if significant %}significant {% endif %}changes on {{ clist.long_name }}, please follow this link or copy it and paste it in your web browser:
http://{{ domain }}{% if significant %}{% url "confirm_significant_unsubscription" clist.id to_email today auth %}{% else %}{% url "confirm_unsubscription" clist.id to_email today auth %}{% endif %}
https://{{ domain }}{% if significant %}{% url "confirm_significant_unsubscription" clist.id to_email today auth %}{% else %}{% url "confirm_unsubscription" clist.id to_email today auth %}{% endif %}
Best regards,

View file

@ -4,7 +4,7 @@ Summarized Agenda for the {{ date }} IESG Teleconference
This agenda was generated at {% now "Y-m-d H:i:s T" %}
Up-to-date web version of this agenda can be found at:
http://datatracker.ietf.org/iesg/agenda/
https://{{ domain }}/iesg/agenda/
{% for num, section in sections %}
{% if num|sectionlevel == 1 %}

View file

@ -13,7 +13,7 @@
{% endif %}
{% for ipr in doc.conflictdoc.ipr %}
{% if ipr.ipr.status == 1 %}
<br>IPR: <a href="http://datatracker.ietf.org/ipr/{{ ipr.ipr.ipr_id }}/">{{ ipr.ipr.title }}</a>
<br>IPR: <a href="https://{{ domain }}/ipr/{{ ipr.ipr.ipr_id }}/">{{ ipr.ipr.title }}</a>
{% endif %}
{% endfor %}
</div>

View file

@ -17,7 +17,7 @@
{% for ipr in doc.ipr %}
{% if ipr.ipr.status == 1 %}
<br>IPR: <a href="http://datatracker.ietf.org/ipr/{{ ipr.ipr.ipr_id }}/">{{ ipr.ipr.title }}</a>
<br>IPR: <a href="https://datatracker.ietf.org/ipr/{{ ipr.ipr.ipr_id }}/">{{ ipr.ipr.title }}</a>
{% endif %}
{% endfor %}

View file

@ -1,6 +1,6 @@
{% with doc.active_ballot as ballot %}
{% if ballot %}
<br><b>Discusses/comments</b> <a href="http://datatracker.ietf.org/doc/{{doc.canonical_name}}/ballot/">[ballot]</a>:
<br><b>Discusses/comments</b> <a href="https://datatracker.ietf.org/doc/{{doc.canonical_name}}/ballot/">[ballot]</a>:
<ul>
{% for p in ballot.active_ad_positions.values %}
{% if p.pos %}

View file

@ -6,7 +6,7 @@ to the user account '{{ user }}' at '{{ domain }}'.
If you requested this change, please confirm that this is your email
address by clicking on following link:
http://{{ domain }}{% url "confirm_new_email" user today email auth %}
https://{{ domain }}{% url "confirm_new_email" user today email auth %}
This link will expire in {{ expire }} days.

View file

@ -6,7 +6,7 @@ at {{ domain }}. In order to set a new password for the
{{ username }} account, please go to the following link and
follow the instructions there:
http://{{ domain }}{% url "confirm_account" username today realm auth %}
https://{{ domain }}{% url "confirm_account" username today realm auth %}
This link will expire in {{ expire }} days.