From c5918b9b3c8a0efc5e920894a2c046ce56da1b04 Mon Sep 17 00:00:00 2001 From: salartarium Date: Fri, 18 Oct 2024 02:29:33 +0000 Subject: [PATCH] Use https where applicable --- README.md | 6 +++--- allianceauth/eveonline/evelinks/dotlan.py | 2 +- allianceauth/eveonline/evelinks/tests/test_evelinks.py | 10 +++++----- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 5e9f5e94..1b4232ea 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ [![django](https://img.shields.io/pypi/djversions/allianceauth?label=django)](https://pypi.org/project/allianceauth/) [![version](https://img.shields.io/pypi/v/allianceauth?label=release)](https://pypi.org/project/allianceauth/) [![pipeline status](https://gitlab.com/allianceauth/allianceauth/badges/master/pipeline.svg)](https://gitlab.com/allianceauth/allianceauth/commits/master) -[![Documentation Status](https://readthedocs.org/projects/allianceauth/badge/?version=latest)](http://allianceauth.readthedocs.io/?badge=latest) +[![Documentation Status](https://readthedocs.org/projects/allianceauth/badge/?version=latest)](https://allianceauth.readthedocs.io/?badge=latest) [![coverage report](https://gitlab.com/allianceauth/allianceauth/badges/master/coverage.svg)](https://gitlab.com/allianceauth/allianceauth/commits/master) [![Chat on Discord](https://img.shields.io/discord/399006117012832262.svg)](https://discord.gg/fjnHAmk) @@ -14,7 +14,7 @@ An auth system for EVE Online to help in-game organizations manage online servic ## Content - [Overview](#overview) -- [Documentation](http://allianceauth.rtfd.io) +- [Documentation](https://allianceauth.rtfd.io) - [Support](#support) - [Release Notes](https://gitlab.com/allianceauth/allianceauth/-/releases) - [Developer Team](#development-team) @@ -38,7 +38,7 @@ Main features: - English :flag_gb:, Chinese :flag_cn:, German :flag_de:, Spanish :flag_es:, Korean :flag_kr:, Russian :flag_ru:, Italian :flag_it:, French :flag_fr:, Japanese :flag_jp: and Ukrainian :flag_ua: Localization -For further details about AA - including an installation guide and a full list of included services and plugin apps - please see the [official documentation](http://allianceauth.rtfd.io). +For further details about AA - including an installation guide and a full list of included services and plugin apps - please see the [official documentation](https://allianceauth.rtfd.io). ## Screenshot diff --git a/allianceauth/eveonline/evelinks/dotlan.py b/allianceauth/eveonline/evelinks/dotlan.py index b782eabd..ad295193 100644 --- a/allianceauth/eveonline/evelinks/dotlan.py +++ b/allianceauth/eveonline/evelinks/dotlan.py @@ -10,7 +10,7 @@ from . import ( ) -_BASE_URL = 'http://evemaps.dotlan.net' +_BASE_URL = 'https://evemaps.dotlan.net' def _build_url(category: str, name: str) -> str: diff --git a/allianceauth/eveonline/evelinks/tests/test_evelinks.py b/allianceauth/eveonline/evelinks/tests/test_evelinks.py index 32f79f05..09aa30fb 100644 --- a/allianceauth/eveonline/evelinks/tests/test_evelinks.py +++ b/allianceauth/eveonline/evelinks/tests/test_evelinks.py @@ -31,29 +31,29 @@ class TestDotlan(TestCase): def test_alliance_url(self): self.assertEqual( dotlan.alliance_url('Wayne Enterprices'), - 'http://evemaps.dotlan.net/alliance/Wayne_Enterprices' + 'https://evemaps.dotlan.net/alliance/Wayne_Enterprices' ) def test_corporation_url(self): self.assertEqual( dotlan.corporation_url('Wayne Technology'), - 'http://evemaps.dotlan.net/corp/Wayne_Technology' + 'https://evemaps.dotlan.net/corp/Wayne_Technology' ) self.assertEqual( dotlan.corporation_url('Crédit Agricole'), - 'http://evemaps.dotlan.net/corp/Cr%C3%A9dit_Agricole' + 'https://evemaps.dotlan.net/corp/Cr%C3%A9dit_Agricole' ) def test_region_url(self): self.assertEqual( dotlan.region_url('Black Rise'), - 'http://evemaps.dotlan.net/map/Black_Rise' + 'https://evemaps.dotlan.net/map/Black_Rise' ) def test_solar_system_url(self): self.assertEqual( dotlan.solar_system_url('Jita'), - 'http://evemaps.dotlan.net/system/Jita' + 'https://evemaps.dotlan.net/system/Jita' )