aa-fleetfinder 2.4.0__tar.gz → 2.5.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of aa-fleetfinder might be problematic. Click here for more details.
- {aa_fleetfinder-2.4.0 → aa_fleetfinder-2.5.0}/PKG-INFO +2 -1
- aa_fleetfinder-2.5.0/fleetfinder/__init__.py +17 -0
- aa_fleetfinder-2.5.0/fleetfinder/providers.py +14 -0
- aa_fleetfinder-2.5.0/fleetfinder/tests/test_user_agent.py +40 -0
- {aa_fleetfinder-2.4.0 → aa_fleetfinder-2.5.0}/pyproject.toml +1 -0
- aa_fleetfinder-2.4.0/fleetfinder/__init__.py +0 -10
- aa_fleetfinder-2.4.0/fleetfinder/constants.py +0 -22
- aa_fleetfinder-2.4.0/fleetfinder/providers.py +0 -12
- {aa_fleetfinder-2.4.0 → aa_fleetfinder-2.5.0}/.gitignore +0 -0
- {aa_fleetfinder-2.4.0 → aa_fleetfinder-2.5.0}/LICENSE +0 -0
- {aa_fleetfinder-2.4.0 → aa_fleetfinder-2.5.0}/README.md +0 -0
- {aa_fleetfinder-2.4.0 → aa_fleetfinder-2.5.0}/fleetfinder/app_settings.py +0 -0
- {aa_fleetfinder-2.4.0 → aa_fleetfinder-2.5.0}/fleetfinder/apps.py +0 -0
- {aa_fleetfinder-2.4.0 → aa_fleetfinder-2.5.0}/fleetfinder/auth_hooks.py +0 -0
- {aa_fleetfinder-2.4.0 → aa_fleetfinder-2.5.0}/fleetfinder/locale/cs_CZ/LC_MESSAGES/django.mo +0 -0
- {aa_fleetfinder-2.4.0 → aa_fleetfinder-2.5.0}/fleetfinder/locale/cs_CZ/LC_MESSAGES/django.po +0 -0
- {aa_fleetfinder-2.4.0 → aa_fleetfinder-2.5.0}/fleetfinder/locale/de/LC_MESSAGES/django.mo +0 -0
- {aa_fleetfinder-2.4.0 → aa_fleetfinder-2.5.0}/fleetfinder/locale/de/LC_MESSAGES/django.po +0 -0
- {aa_fleetfinder-2.4.0 → aa_fleetfinder-2.5.0}/fleetfinder/locale/django.pot +0 -0
- {aa_fleetfinder-2.4.0 → aa_fleetfinder-2.5.0}/fleetfinder/locale/es/LC_MESSAGES/django.mo +0 -0
- {aa_fleetfinder-2.4.0 → aa_fleetfinder-2.5.0}/fleetfinder/locale/es/LC_MESSAGES/django.po +0 -0
- {aa_fleetfinder-2.4.0 → aa_fleetfinder-2.5.0}/fleetfinder/locale/fr_FR/LC_MESSAGES/django.mo +0 -0
- {aa_fleetfinder-2.4.0 → aa_fleetfinder-2.5.0}/fleetfinder/locale/fr_FR/LC_MESSAGES/django.po +0 -0
- {aa_fleetfinder-2.4.0 → aa_fleetfinder-2.5.0}/fleetfinder/locale/it_IT/LC_MESSAGES/django.mo +0 -0
- {aa_fleetfinder-2.4.0 → aa_fleetfinder-2.5.0}/fleetfinder/locale/it_IT/LC_MESSAGES/django.po +0 -0
- {aa_fleetfinder-2.4.0 → aa_fleetfinder-2.5.0}/fleetfinder/locale/ja/LC_MESSAGES/django.mo +0 -0
- {aa_fleetfinder-2.4.0 → aa_fleetfinder-2.5.0}/fleetfinder/locale/ja/LC_MESSAGES/django.po +0 -0
- {aa_fleetfinder-2.4.0 → aa_fleetfinder-2.5.0}/fleetfinder/locale/ko_KR/LC_MESSAGES/django.mo +0 -0
- {aa_fleetfinder-2.4.0 → aa_fleetfinder-2.5.0}/fleetfinder/locale/ko_KR/LC_MESSAGES/django.po +0 -0
- {aa_fleetfinder-2.4.0 → aa_fleetfinder-2.5.0}/fleetfinder/locale/nl_NL/LC_MESSAGES/django.mo +0 -0
- {aa_fleetfinder-2.4.0 → aa_fleetfinder-2.5.0}/fleetfinder/locale/nl_NL/LC_MESSAGES/django.po +0 -0
- {aa_fleetfinder-2.4.0 → aa_fleetfinder-2.5.0}/fleetfinder/locale/pl_PL/LC_MESSAGES/django.mo +0 -0
- {aa_fleetfinder-2.4.0 → aa_fleetfinder-2.5.0}/fleetfinder/locale/pl_PL/LC_MESSAGES/django.po +0 -0
- {aa_fleetfinder-2.4.0 → aa_fleetfinder-2.5.0}/fleetfinder/locale/ru/LC_MESSAGES/django.mo +0 -0
- {aa_fleetfinder-2.4.0 → aa_fleetfinder-2.5.0}/fleetfinder/locale/ru/LC_MESSAGES/django.po +0 -0
- {aa_fleetfinder-2.4.0 → aa_fleetfinder-2.5.0}/fleetfinder/locale/sk/LC_MESSAGES/django.mo +0 -0
- {aa_fleetfinder-2.4.0 → aa_fleetfinder-2.5.0}/fleetfinder/locale/sk/LC_MESSAGES/django.po +0 -0
- {aa_fleetfinder-2.4.0 → aa_fleetfinder-2.5.0}/fleetfinder/locale/uk/LC_MESSAGES/django.mo +0 -0
- {aa_fleetfinder-2.4.0 → aa_fleetfinder-2.5.0}/fleetfinder/locale/uk/LC_MESSAGES/django.po +0 -0
- {aa_fleetfinder-2.4.0 → aa_fleetfinder-2.5.0}/fleetfinder/locale/zh_Hans/LC_MESSAGES/django.mo +0 -0
- {aa_fleetfinder-2.4.0 → aa_fleetfinder-2.5.0}/fleetfinder/locale/zh_Hans/LC_MESSAGES/django.po +0 -0
- {aa_fleetfinder-2.4.0 → aa_fleetfinder-2.5.0}/fleetfinder/migrations/0001_initial.py +0 -0
- {aa_fleetfinder-2.4.0 → aa_fleetfinder-2.5.0}/fleetfinder/migrations/0002_esi_error_handling_and_verbose_names.py +0 -0
- {aa_fleetfinder-2.4.0 → aa_fleetfinder-2.5.0}/fleetfinder/migrations/0003_alter_fleet_fleet_commander_alter_fleet_groups_and_more.py +0 -0
- {aa_fleetfinder-2.4.0 → aa_fleetfinder-2.5.0}/fleetfinder/migrations/__init__.py +0 -0
- {aa_fleetfinder-2.4.0 → aa_fleetfinder-2.5.0}/fleetfinder/models.py +0 -0
- {aa_fleetfinder-2.4.0 → aa_fleetfinder-2.5.0}/fleetfinder/static/fleetfinder/css/fleetfinder.css +0 -0
- {aa_fleetfinder-2.4.0 → aa_fleetfinder-2.5.0}/fleetfinder/static/fleetfinder/css/fleetfinder.min.css +0 -0
- {aa_fleetfinder-2.4.0 → aa_fleetfinder-2.5.0}/fleetfinder/static/fleetfinder/css/fleetfinder.min.css.map +0 -0
- {aa_fleetfinder-2.4.0 → aa_fleetfinder-2.5.0}/fleetfinder/static/fleetfinder/libs/slim-select/2.6.0/css/slimselect.css +0 -0
- {aa_fleetfinder-2.4.0 → aa_fleetfinder-2.5.0}/fleetfinder/static/fleetfinder/libs/slim-select/2.6.0/css/slimselect.min.css +0 -0
- {aa_fleetfinder-2.4.0 → aa_fleetfinder-2.5.0}/fleetfinder/static/fleetfinder/libs/slim-select/2.6.0/css/slimselect.min.css.map +0 -0
- {aa_fleetfinder-2.4.0 → aa_fleetfinder-2.5.0}/fleetfinder/static/fleetfinder/libs/slim-select/2.6.0/js/slimselect.min.js +0 -0
- {aa_fleetfinder-2.4.0 → aa_fleetfinder-2.5.0}/fleetfinder/tasks.py +0 -0
- {aa_fleetfinder-2.4.0 → aa_fleetfinder-2.5.0}/fleetfinder/templates/fleetfinder/base.html +0 -0
- {aa_fleetfinder-2.4.0 → aa_fleetfinder-2.5.0}/fleetfinder/templates/fleetfinder/bundles/css/fleetfinder-css.html +0 -0
- {aa_fleetfinder-2.4.0 → aa_fleetfinder-2.5.0}/fleetfinder/templates/fleetfinder/bundles/css/slim-select-css.html +0 -0
- {aa_fleetfinder-2.4.0 → aa_fleetfinder-2.5.0}/fleetfinder/templates/fleetfinder/bundles/js/slim-select-js.html +0 -0
- {aa_fleetfinder-2.4.0 → aa_fleetfinder-2.5.0}/fleetfinder/templates/fleetfinder/create-fleet.html +0 -0
- {aa_fleetfinder-2.4.0 → aa_fleetfinder-2.5.0}/fleetfinder/templates/fleetfinder/dashboard.html +0 -0
- {aa_fleetfinder-2.4.0 → aa_fleetfinder-2.5.0}/fleetfinder/templates/fleetfinder/edit-fleet.html +0 -0
- {aa_fleetfinder-2.4.0 → aa_fleetfinder-2.5.0}/fleetfinder/templates/fleetfinder/fleet-details.html +0 -0
- {aa_fleetfinder-2.4.0 → aa_fleetfinder-2.5.0}/fleetfinder/templates/fleetfinder/join-fleet.html +0 -0
- {aa_fleetfinder-2.4.0 → aa_fleetfinder-2.5.0}/fleetfinder/templates/fleetfinder/partials/body/form-fleet-details.html +0 -0
- {aa_fleetfinder-2.4.0 → aa_fleetfinder-2.5.0}/fleetfinder/templates/fleetfinder/partials/footer/app-translation-footer.html +0 -0
- {aa_fleetfinder-2.4.0 → aa_fleetfinder-2.5.0}/fleetfinder/templates/fleetfinder/partials/header/header-nav-left.html +0 -0
- {aa_fleetfinder-2.4.0 → aa_fleetfinder-2.5.0}/fleetfinder/templates/fleetfinder/partials/header/header-nav-right.html +0 -0
- {aa_fleetfinder-2.4.0 → aa_fleetfinder-2.5.0}/fleetfinder/templatetags/__init__.py +0 -0
- {aa_fleetfinder-2.4.0 → aa_fleetfinder-2.5.0}/fleetfinder/templatetags/fleetfinder.py +0 -0
- {aa_fleetfinder-2.4.0 → aa_fleetfinder-2.5.0}/fleetfinder/tests/__init__.py +0 -0
- {aa_fleetfinder-2.4.0 → aa_fleetfinder-2.5.0}/fleetfinder/tests/test_access.py +0 -0
- {aa_fleetfinder-2.4.0 → aa_fleetfinder-2.5.0}/fleetfinder/tests/test_auth_hooks.py +0 -0
- {aa_fleetfinder-2.4.0 → aa_fleetfinder-2.5.0}/fleetfinder/tests/test_settings.py +0 -0
- {aa_fleetfinder-2.4.0 → aa_fleetfinder-2.5.0}/fleetfinder/tests/test_templatetags.py +0 -0
- {aa_fleetfinder-2.4.0 → aa_fleetfinder-2.5.0}/fleetfinder/tests/utils.py +0 -0
- {aa_fleetfinder-2.4.0 → aa_fleetfinder-2.5.0}/fleetfinder/urls.py +0 -0
- {aa_fleetfinder-2.4.0 → aa_fleetfinder-2.5.0}/fleetfinder/views.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: aa-fleetfinder
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.5.0
|
|
4
4
|
Summary: Fleet finder plugin for Alliance Auth
|
|
5
5
|
Project-URL: Changelog, https://github.com/ppfeufer/aa-fleetfinder/blob/master/CHANGELOG.md
|
|
6
6
|
Project-URL: Documentation, https://github.com/ppfeufer/aa-fleetfinder/blob/master/README.md
|
|
@@ -702,6 +702,7 @@ Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
|
|
|
702
702
|
Requires-Python: >=3.10
|
|
703
703
|
Requires-Dist: allianceauth-app-utils>=1.14.2
|
|
704
704
|
Requires-Dist: allianceauth<5,>=4.6
|
|
705
|
+
Requires-Dist: django-esi>=7.0.1
|
|
705
706
|
Provides-Extra: tests-allianceauth-latest
|
|
706
707
|
Requires-Dist: coverage; extra == 'tests-allianceauth-latest'
|
|
707
708
|
Requires-Dist: django-webtest; extra == 'tests-allianceauth-latest'
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Initialize the app
|
|
3
|
+
"""
|
|
4
|
+
|
|
5
|
+
# Django
|
|
6
|
+
from django.utils.translation import gettext_lazy as _
|
|
7
|
+
|
|
8
|
+
__version__ = "2.5.0"
|
|
9
|
+
__title__ = _("Fleet Finder")
|
|
10
|
+
__verbose_name__ = "Fleet Finder for Alliance Auth"
|
|
11
|
+
|
|
12
|
+
__package_name__ = "aa-fleetfinder"
|
|
13
|
+
__app_name__ = "fleetfinder"
|
|
14
|
+
__app_name_verbose__ = "AA Fleet Finder"
|
|
15
|
+
__app_name_useragent__ = "AA-Fleet-Finder"
|
|
16
|
+
|
|
17
|
+
__github_url__ = f"https://github.com/ppfeufer/{__package_name__}"
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Providers
|
|
3
|
+
"""
|
|
4
|
+
|
|
5
|
+
# Alliance Auth
|
|
6
|
+
from esi.clients import EsiClientProvider
|
|
7
|
+
|
|
8
|
+
# AA Fleet Finder
|
|
9
|
+
from fleetfinder import __app_name_useragent__, __github_url__, __version__
|
|
10
|
+
|
|
11
|
+
# ESI client
|
|
12
|
+
esi = EsiClientProvider(
|
|
13
|
+
ua_appname=__app_name_useragent__, ua_version=__version__, ua_url=__github_url__
|
|
14
|
+
)
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Test user agent header for ESI requests
|
|
3
|
+
"""
|
|
4
|
+
|
|
5
|
+
# Django
|
|
6
|
+
from django.conf import settings
|
|
7
|
+
from django.test import TestCase
|
|
8
|
+
|
|
9
|
+
# Alliance Auth
|
|
10
|
+
from esi import __url__ as esi_url
|
|
11
|
+
from esi import __version__ as esi_version
|
|
12
|
+
|
|
13
|
+
# AA Fleet Finder
|
|
14
|
+
from fleetfinder import __app_name_useragent__, __github_url__, __version__
|
|
15
|
+
from fleetfinder.providers import esi
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
class TestUserAgent(TestCase):
|
|
19
|
+
"""
|
|
20
|
+
Test the user agent header for ESI requests
|
|
21
|
+
"""
|
|
22
|
+
|
|
23
|
+
def test_user_agent_header(self):
|
|
24
|
+
"""
|
|
25
|
+
Test that the user agent header is set correctly for ESI requests.
|
|
26
|
+
|
|
27
|
+
:return:
|
|
28
|
+
:rtype:
|
|
29
|
+
"""
|
|
30
|
+
|
|
31
|
+
operation = esi.client.Universe.get_universe_factions()
|
|
32
|
+
|
|
33
|
+
self.assertEqual(
|
|
34
|
+
operation.future.request.headers["User-Agent"],
|
|
35
|
+
(
|
|
36
|
+
f"{__app_name_useragent__}/{__version__} "
|
|
37
|
+
f"({settings.ESI_USER_CONTACT_EMAIL}; +{__github_url__}) "
|
|
38
|
+
f"Django-ESI/{esi_version} (+{esi_url})"
|
|
39
|
+
),
|
|
40
|
+
)
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
"""
|
|
2
|
-
Constants used in this app
|
|
3
|
-
"""
|
|
4
|
-
|
|
5
|
-
# Standard Library
|
|
6
|
-
import os
|
|
7
|
-
|
|
8
|
-
# Alliance Auth
|
|
9
|
-
from esi import __version__ as esi_version
|
|
10
|
-
|
|
11
|
-
# AA Fleet Finder
|
|
12
|
-
from fleetfinder import __version__
|
|
13
|
-
|
|
14
|
-
APP_NAME = "aa-fleetfinder"
|
|
15
|
-
APP_NAME_VERBOSE = "AA Fleet Finder"
|
|
16
|
-
APP_NAME_VERBOSE_USERAGENT = "AA-Fleet-Finder"
|
|
17
|
-
PACKAGE_NAME = "fleetfinder"
|
|
18
|
-
GITHUB_URL = f"https://github.com/ppfeufer/{APP_NAME}"
|
|
19
|
-
USER_AGENT = f"{APP_NAME_VERBOSE_USERAGENT}/{__version__} (+{GITHUB_URL}) Django-ESI/{esi_version}"
|
|
20
|
-
|
|
21
|
-
APP_BASE_DIR = os.path.join(os.path.dirname(__file__))
|
|
22
|
-
APP_STATIC_DIR = os.path.join(APP_BASE_DIR, "static", PACKAGE_NAME)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{aa_fleetfinder-2.4.0 → aa_fleetfinder-2.5.0}/fleetfinder/locale/cs_CZ/LC_MESSAGES/django.mo
RENAMED
|
File without changes
|
{aa_fleetfinder-2.4.0 → aa_fleetfinder-2.5.0}/fleetfinder/locale/cs_CZ/LC_MESSAGES/django.po
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{aa_fleetfinder-2.4.0 → aa_fleetfinder-2.5.0}/fleetfinder/locale/fr_FR/LC_MESSAGES/django.mo
RENAMED
|
File without changes
|
{aa_fleetfinder-2.4.0 → aa_fleetfinder-2.5.0}/fleetfinder/locale/fr_FR/LC_MESSAGES/django.po
RENAMED
|
File without changes
|
{aa_fleetfinder-2.4.0 → aa_fleetfinder-2.5.0}/fleetfinder/locale/it_IT/LC_MESSAGES/django.mo
RENAMED
|
File without changes
|
{aa_fleetfinder-2.4.0 → aa_fleetfinder-2.5.0}/fleetfinder/locale/it_IT/LC_MESSAGES/django.po
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{aa_fleetfinder-2.4.0 → aa_fleetfinder-2.5.0}/fleetfinder/locale/ko_KR/LC_MESSAGES/django.mo
RENAMED
|
File without changes
|
{aa_fleetfinder-2.4.0 → aa_fleetfinder-2.5.0}/fleetfinder/locale/ko_KR/LC_MESSAGES/django.po
RENAMED
|
File without changes
|
{aa_fleetfinder-2.4.0 → aa_fleetfinder-2.5.0}/fleetfinder/locale/nl_NL/LC_MESSAGES/django.mo
RENAMED
|
File without changes
|
{aa_fleetfinder-2.4.0 → aa_fleetfinder-2.5.0}/fleetfinder/locale/nl_NL/LC_MESSAGES/django.po
RENAMED
|
File without changes
|
{aa_fleetfinder-2.4.0 → aa_fleetfinder-2.5.0}/fleetfinder/locale/pl_PL/LC_MESSAGES/django.mo
RENAMED
|
File without changes
|
{aa_fleetfinder-2.4.0 → aa_fleetfinder-2.5.0}/fleetfinder/locale/pl_PL/LC_MESSAGES/django.po
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{aa_fleetfinder-2.4.0 → aa_fleetfinder-2.5.0}/fleetfinder/locale/zh_Hans/LC_MESSAGES/django.mo
RENAMED
|
File without changes
|
{aa_fleetfinder-2.4.0 → aa_fleetfinder-2.5.0}/fleetfinder/locale/zh_Hans/LC_MESSAGES/django.po
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{aa_fleetfinder-2.4.0 → aa_fleetfinder-2.5.0}/fleetfinder/static/fleetfinder/css/fleetfinder.css
RENAMED
|
File without changes
|
{aa_fleetfinder-2.4.0 → aa_fleetfinder-2.5.0}/fleetfinder/static/fleetfinder/css/fleetfinder.min.css
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{aa_fleetfinder-2.4.0 → aa_fleetfinder-2.5.0}/fleetfinder/templates/fleetfinder/create-fleet.html
RENAMED
|
File without changes
|
{aa_fleetfinder-2.4.0 → aa_fleetfinder-2.5.0}/fleetfinder/templates/fleetfinder/dashboard.html
RENAMED
|
File without changes
|
{aa_fleetfinder-2.4.0 → aa_fleetfinder-2.5.0}/fleetfinder/templates/fleetfinder/edit-fleet.html
RENAMED
|
File without changes
|
{aa_fleetfinder-2.4.0 → aa_fleetfinder-2.5.0}/fleetfinder/templates/fleetfinder/fleet-details.html
RENAMED
|
File without changes
|
{aa_fleetfinder-2.4.0 → aa_fleetfinder-2.5.0}/fleetfinder/templates/fleetfinder/join-fleet.html
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|