Use https where possible.
Signed-off-by: Adam Waldenberg <adam.waldenberg@ejwa.se>
This commit is contained in:
parent
7b61a46d7c
commit
d6a2f33de5
|
@ -80,7 +80,7 @@ def output_header():
|
||||||
if __selected_format__ == "htmlembedded":
|
if __selected_format__ == "htmlembedded":
|
||||||
jquery_js = ">" + __get_zip_file_content__("jquery.js")
|
jquery_js = ">" + __get_zip_file_content__("jquery.js")
|
||||||
else:
|
else:
|
||||||
jquery_js = " src=\"http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js\">"
|
jquery_js = " src=\"https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js\">"
|
||||||
|
|
||||||
print(html_header.format(title = _("Repository statistics for {0}").format(os.path.basename(basedir.get_basedir_git())),
|
print(html_header.format(title = _("Repository statistics for {0}").format(os.path.basename(basedir.get_basedir_git())),
|
||||||
jquery = jquery_js,
|
jquery = jquery_js,
|
||||||
|
@ -91,7 +91,7 @@ def output_header():
|
||||||
logo = logo.decode("utf-8", "replace"),
|
logo = logo.decode("utf-8", "replace"),
|
||||||
logo_text = _("The output has been generated by {0} {1}. The statistical analysis tool"
|
logo_text = _("The output has been generated by {0} {1}. The statistical analysis tool"
|
||||||
" for git repositories.").format(
|
" for git repositories.").format(
|
||||||
"<a href=\"http://gitinspector.googlecode.com\">gitinspector</a>",
|
"<a href=\"https://gitinspector.googlecode.com\">gitinspector</a>",
|
||||||
version.__version__),
|
version.__version__),
|
||||||
repo_text = _("Statistical information for the repository '{0}' was gathered on {1}.").format(
|
repo_text = _("Statistical information for the repository '{0}' was gathered on {1}.").format(
|
||||||
os.path.basename(basedir. get_basedir_git()), localization.get_date()),
|
os.path.basename(basedir. get_basedir_git()), localization.get_date()),
|
||||||
|
|
|
@ -27,7 +27,7 @@ import hashlib
|
||||||
|
|
||||||
def get_url(email, size=20):
|
def get_url(email, size=20):
|
||||||
md5hash = hashlib.md5(email.encode("utf-8").lower().strip()).hexdigest()
|
md5hash = hashlib.md5(email.encode("utf-8").lower().strip()).hexdigest()
|
||||||
base_url = "http://www.gravatar.com/avatar/" + md5hash
|
base_url = "https://www.gravatar.com/avatar/" + md5hash
|
||||||
params = None
|
params = None
|
||||||
|
|
||||||
if format.get_selected() == "html":
|
if format.get_selected() == "html":
|
||||||
|
|
Loading…
Reference in New Issue