aa-fleetfinder 2.4.0__py3-none-any.whl → 2.5.1__py3-none-any.whl

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.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: aa-fleetfinder
3
- Version: 2.4.0
3
+ Version: 2.5.1
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'
@@ -1,40 +1,39 @@
1
- fleetfinder/__init__.py,sha256=OQvE5artc_nBFw4SUqE4xrjhS3q700-mFsTPrVjU6Bg,197
1
+ fleetfinder/__init__.py,sha256=R42XepzNhMjWv6RNtK5bYMGeHzlyjhr8_RZ7SflTKTU,415
2
2
  fleetfinder/app_settings.py,sha256=XE5oZFg2Vhn5OYQFehoOwjgVgKAvXcyj5NGmrbr3bk8,261
3
3
  fleetfinder/apps.py,sha256=5t6R6HS_2cK3oCtTomvOM0dagt4sQkbnIWBhxT8dHrw,448
4
4
  fleetfinder/auth_hooks.py,sha256=_oHqIEfTFDB1lsVAOrEGCc6aLiLpRtjcPw7CdLNSdKw,1234
5
- fleetfinder/constants.py,sha256=apKYhl8Wu9pvifDXr4fU9wAb-1SpB7NhpBc_DJNPe5U,601
6
5
  fleetfinder/models.py,sha256=MEqsa-gRzFlCoU5awPwlLUzJ_2A2sNo9cPtfT-hVCNU,2805
7
- fleetfinder/providers.py,sha256=R6cy9MAxPw8AcZuIQwpQ1Knv13ItWCBCAspnJ_G30_U,205
6
+ fleetfinder/providers.py,sha256=Je9FZvALV1ARn_34yllhztl5nG3tT7y1ri7utFHwO_o,298
8
7
  fleetfinder/tasks.py,sha256=pqDMPHFMXej4dPrf8fxucuYKtj9JPlActiNPIc4eAAQ,10969
9
8
  fleetfinder/urls.py,sha256=oL6zOnvQaGXFp-mOhsL9C_jU16YSPMAXUBM8s2_m4_U,1128
10
9
  fleetfinder/views.py,sha256=cWjkmZACn2lS1aSxnxC7qm_a2G-9U4x-6dzIfJID_K0,9723
11
- fleetfinder/locale/django.pot,sha256=EcKORjU7YDbucH1oxrJqx_g1WQ2D8iTPUkY3PKlZ3IM,5713
10
+ fleetfinder/locale/django.pot,sha256=4eBwY44UW1zK1jl1iSqXY2Ko756LlCRwtb0xl2SSQjc,5713
12
11
  fleetfinder/locale/cs_CZ/LC_MESSAGES/django.mo,sha256=5R9bbNXwdd02SL7SFFIErS-ytrzIyCYPf0VZOtg9KT8,954
13
- fleetfinder/locale/cs_CZ/LC_MESSAGES/django.po,sha256=r2FPTXfyOj99tGeFbeVxUcaiAwASiqNnq3ecGvl4qmc,6093
12
+ fleetfinder/locale/cs_CZ/LC_MESSAGES/django.po,sha256=O0PvXb5JaEplw4V9oA5Sa-lCTPERNgT1EI8bLPG9DWk,6093
14
13
  fleetfinder/locale/de/LC_MESSAGES/django.mo,sha256=oGRFdrfSMBASIBw7RIaYmIUCGDfXrkExbUWKp5iGw8s,3808
15
- fleetfinder/locale/de/LC_MESSAGES/django.po,sha256=2QPIlef1CfCgRluw3L7DVSeOd3Bv2_55Q0L6sIeHvEA,7193
16
- fleetfinder/locale/es/LC_MESSAGES/django.mo,sha256=PMpQLF76l-RHZwyLSFGatNOiBc1W88afvlZf9XpJANA,2978
17
- fleetfinder/locale/es/LC_MESSAGES/django.po,sha256=MyI5aFt1RN7aonBqc3YYVMPZh_CacnS2sZFLrr3YomI,7681
14
+ fleetfinder/locale/de/LC_MESSAGES/django.po,sha256=sUUFQUZR1RbLzaQzjzxJ70AHOnObON-Cuc9Md7d4jio,7193
15
+ fleetfinder/locale/es/LC_MESSAGES/django.mo,sha256=mcwRf6XMLVJDJ5wAkCOtwV7rqf_BkgZqBUY6p026kaI,3648
16
+ fleetfinder/locale/es/LC_MESSAGES/django.po,sha256=5TJGbubFoYuTWaLe-6huE7ECMkiGboNz8TbeHaH19lQ,7239
18
17
  fleetfinder/locale/fr_FR/LC_MESSAGES/django.mo,sha256=YRnYDqb5xhNh94JmtVjqu2Ge6w0RifUrfYFfj0flgbE,2543
19
- fleetfinder/locale/fr_FR/LC_MESSAGES/django.po,sha256=kiNBf5dOxsoq1NdLXO_WqPEYvVlHU-LlA38sS7mJViY,6891
18
+ fleetfinder/locale/fr_FR/LC_MESSAGES/django.po,sha256=wX9GudnIddzGj03hEfDzBLHzhr8j1g3ymfIwahyksMk,6891
20
19
  fleetfinder/locale/it_IT/LC_MESSAGES/django.mo,sha256=T8RDYnDQ22o4_xxwcmq3znMN5QKlZbty-mWB7dxdEbI,588
21
- fleetfinder/locale/it_IT/LC_MESSAGES/django.po,sha256=4cmsltDYEHvi6U1aDezyP_XjOjRrciwyG9yW4fvgGnY,5917
20
+ fleetfinder/locale/it_IT/LC_MESSAGES/django.po,sha256=07VjTTXNauy-SfSYslqcFxl1Vc6f77051pxMDuDNRiE,5917
22
21
  fleetfinder/locale/ja/LC_MESSAGES/django.mo,sha256=5mlXpXBHCUM4QNz2hzagZSgJeR-QJIzEEBPxXzGN64I,1579
23
- fleetfinder/locale/ja/LC_MESSAGES/django.po,sha256=Uv5iE2lrYNlwl_bGy7ArsIX3e8G0GBXt37_7FhSbd60,6381
22
+ fleetfinder/locale/ja/LC_MESSAGES/django.po,sha256=0jCZAymoMRfFI8lD9nRO_94cgid2ztRKafXdyzv3gBQ,6381
24
23
  fleetfinder/locale/ko_KR/LC_MESSAGES/django.mo,sha256=9cfJWD33X_4WYSaFyGZIMzBtUgbmpU0-rkU5vdVRiTI,3272
25
- fleetfinder/locale/ko_KR/LC_MESSAGES/django.po,sha256=TJ-ramixEyXaH2dbjOCdNbkmkh9EYWY12Wo2JAROD2k,7566
24
+ fleetfinder/locale/ko_KR/LC_MESSAGES/django.po,sha256=LEJ1f1fps2XjkAcZRtRMy5jTq7s6ZDb74M1Gg1mi2Uo,7566
26
25
  fleetfinder/locale/nl_NL/LC_MESSAGES/django.mo,sha256=hY0OE4OeTR2OJEImNcsL8tWjBqe0rJYToAlRXZ44ngA,480
27
- fleetfinder/locale/nl_NL/LC_MESSAGES/django.po,sha256=DHyvwF2UrqaEx9-e-U2G2zzoX9EMTjskqJN8ldqwaUQ,5835
26
+ fleetfinder/locale/nl_NL/LC_MESSAGES/django.po,sha256=n6DfJ-LVA9oIbI94L1ZTxGb2ZOGeP2IZIrbYweKlxkY,5835
28
27
  fleetfinder/locale/pl_PL/LC_MESSAGES/django.mo,sha256=Tn664mvAzrylWiO5ferY3XeQuZTRuND77MPmgAZSvZs,1008
29
- fleetfinder/locale/pl_PL/LC_MESSAGES/django.po,sha256=HtkrmXv5dqgJKxu6I4p3I1kgN3B-ojPLh9RkjGobg4Q,6125
28
+ fleetfinder/locale/pl_PL/LC_MESSAGES/django.po,sha256=X4BJC90soq2U-Sr7vt9T2s4XQD9mD3_0FVrRLXdSHmM,6125
30
29
  fleetfinder/locale/ru/LC_MESSAGES/django.mo,sha256=nphsjOteZ0-rwwH52Jovk4Jy1ouz-9Wo-7WC6_Bmc_k,4716
31
- fleetfinder/locale/ru/LC_MESSAGES/django.po,sha256=MTB5o4cA725TiWyDZQuQY_P0Kfk9nQlLjFZtQziG_vw,8165
30
+ fleetfinder/locale/ru/LC_MESSAGES/django.po,sha256=jtPRicrdXYcEl0xUQRjP0xh4dCshYjZwFgciQ-VB0Qk,8165
32
31
  fleetfinder/locale/sk/LC_MESSAGES/django.mo,sha256=ydYhRqhAuhtbbNwWz_TkLnphHfGgKDcKugeyLxmpZWk,559
33
- fleetfinder/locale/sk/LC_MESSAGES/django.po,sha256=Gt6L9HogjbY_uWr4UpBuo9hkpjMK_YgIcsMiGuONbiE,5910
32
+ fleetfinder/locale/sk/LC_MESSAGES/django.po,sha256=Lkr3m21iUcmDWJh-j6gfgCCnNXE5y5uNehNQBRc4ASA,5910
34
33
  fleetfinder/locale/uk/LC_MESSAGES/django.mo,sha256=NfWLKGzF2U1WHI_R5OjskcPta-uVhTE6sDwCyi3pSyc,4697
35
- fleetfinder/locale/uk/LC_MESSAGES/django.po,sha256=v5-43YuRjKYczkzQFYr4hz44-mUCnFWuDOu7MuZPniY,8255
34
+ fleetfinder/locale/uk/LC_MESSAGES/django.po,sha256=5E6FnHG81fAyfPxf23HFmPx5NxT-O2lOOLRKwOaYPLk,8255
36
35
  fleetfinder/locale/zh_Hans/LC_MESSAGES/django.mo,sha256=3tiyQVoDtsbjyYPetn2m9kG5lBB0c_7HyZhzhENsbWs,3624
37
- fleetfinder/locale/zh_Hans/LC_MESSAGES/django.po,sha256=FRzDKO4iwLrRJu-fdlZIJ2k3cRiRo_TWtiJk6Cu_wKE,7037
36
+ fleetfinder/locale/zh_Hans/LC_MESSAGES/django.po,sha256=r3HQ5DdJVmlO5bylAhaaVeH1ipiLGDeBA29C0Fz1Bls,7037
38
37
  fleetfinder/migrations/0001_initial.py,sha256=4Jsjh77PXS87OHBHam8KOFSTaRvlS-qpPmD5vNnVagI,2445
39
38
  fleetfinder/migrations/0002_esi_error_handling_and_verbose_names.py,sha256=CqOqsJDz-GFj3E6DwShKf0fUIgEKhd4NMJIfu21eEJ0,3229
40
39
  fleetfinder/migrations/0003_alter_fleet_fleet_commander_alter_fleet_groups_and_more.py,sha256=RbjYRrPVTq-adUQPbXpXVRAT2VmOW0wEdacWhxlggX4,1606
@@ -66,8 +65,9 @@ fleetfinder/tests/test_access.py,sha256=rQAfeEre2CmCszFTLV_53HK7m5Odq7ZqACJ3kced
66
65
  fleetfinder/tests/test_auth_hooks.py,sha256=XEB0LJmxxJCDlYhxKzcRiEHYrn1k_NkShrDGV_bcweg,2174
67
66
  fleetfinder/tests/test_settings.py,sha256=CuarOzsrkoMx7dmqolsnhnuhis7N10GaOULo6KYIl7k,710
68
67
  fleetfinder/tests/test_templatetags.py,sha256=lIe1X0TCuFwWcgsqZw4VGQLgqMsqEjNbPwqhtD8c4Qk,1414
68
+ fleetfinder/tests/test_user_agent.py,sha256=sqKr_2IXoqULgqmFqoNV8fUR2Xv9QkA7On0Ae0FRuM8,1003
69
69
  fleetfinder/tests/utils.py,sha256=ynwH67jb14UFi6hpLAXe_FcYdQcjET_sxuUylWPNpnk,1451
70
- aa_fleetfinder-2.4.0.dist-info/METADATA,sha256=b_Tz-FDe1lEF5UCNF4KR40G4dk4BgyEIPtdhrK6SNAU,48063
71
- aa_fleetfinder-2.4.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
72
- aa_fleetfinder-2.4.0.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
73
- aa_fleetfinder-2.4.0.dist-info/RECORD,,
70
+ aa_fleetfinder-2.5.1.dist-info/METADATA,sha256=6SpivE17meytD_p-AoaJw_NfbhfGIl9R89ZI4EXJKHI,48096
71
+ aa_fleetfinder-2.5.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
72
+ aa_fleetfinder-2.5.1.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
73
+ aa_fleetfinder-2.5.1.dist-info/RECORD,,
fleetfinder/__init__.py CHANGED
@@ -5,6 +5,13 @@ Initialize the app
5
5
  # Django
6
6
  from django.utils.translation import gettext_lazy as _
7
7
 
8
- __version__ = "2.4.0"
8
+ __version__ = "2.5.1"
9
9
  __title__ = _("Fleet Finder")
10
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__}"
@@ -6,7 +6,7 @@ msgid ""
6
6
  msgstr ""
7
7
  "Project-Id-Version: AA Fleet Finder 2.2.1\n"
8
8
  "Report-Msgid-Bugs-To: https://github.com/ppfeufer/aa-fleetfinder/issues\n"
9
- "POT-Creation-Date: 2025-06-03 10:57+0200\n"
9
+ "POT-Creation-Date: 2025-08-04 22:06+0200\n"
10
10
  "PO-Revision-Date: 2024-07-10 14:26+0000\n"
11
11
  "Last-Translator: Dadas Aideron <dadas.aideron@gmail.com>\n"
12
12
  "Language-Team: Czech <https://weblate.ppfeufer.de/projects/alliance-auth-apps/aa-fleetfinder/cs/>\n"
@@ -6,7 +6,7 @@ msgid ""
6
6
  msgstr ""
7
7
  "Project-Id-Version: AA Fleet Finder 2.2.1\n"
8
8
  "Report-Msgid-Bugs-To: https://github.com/ppfeufer/aa-fleetfinder/issues\n"
9
- "POT-Creation-Date: 2025-06-03 10:57+0200\n"
9
+ "POT-Creation-Date: 2025-08-04 22:06+0200\n"
10
10
  "PO-Revision-Date: 2025-04-25 11:24+0000\n"
11
11
  "Last-Translator: Peter Pfeufer <info@ppfeufer.de>\n"
12
12
  "Language-Team: German <https://weblate.ppfeufer.de/projects/alliance-auth-apps/aa-fleetfinder/de/>\n"
@@ -6,9 +6,9 @@
6
6
  #, fuzzy
7
7
  msgid ""
8
8
  msgstr ""
9
- "Project-Id-Version: AA Fleet Finder 2.4.0\n"
9
+ "Project-Id-Version: AA Fleet Finder 2.5.1\n"
10
10
  "Report-Msgid-Bugs-To: https://github.com/ppfeufer/aa-fleetfinder/issues\n"
11
- "POT-Creation-Date: 2025-06-03 10:57+0200\n"
11
+ "POT-Creation-Date: 2025-08-04 22:06+0200\n"
12
12
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
Binary file
@@ -2,13 +2,13 @@
2
2
  # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3
3
  # This file is distributed under the same license as the PACKAGE package.
4
4
  # Zigor Fernandez Moreno <sietehierros@gmail.com>, 2023, 2024.
5
- # Peter Pfeufer <info@ppfeufer.de>, 2023, 2024.
5
+ # Peter Pfeufer <info@ppfeufer.de>, 2023, 2024, 2025.
6
6
  msgid ""
7
7
  msgstr ""
8
8
  "Project-Id-Version: AA Fleet Finder 2.2.1\n"
9
9
  "Report-Msgid-Bugs-To: https://github.com/ppfeufer/aa-fleetfinder/issues\n"
10
- "POT-Creation-Date: 2025-06-03 10:57+0200\n"
11
- "PO-Revision-Date: 2024-12-02 17:40+0000\n"
10
+ "POT-Creation-Date: 2025-08-04 22:06+0200\n"
11
+ "PO-Revision-Date: 2025-07-29 20:18+0000\n"
12
12
  "Last-Translator: Peter Pfeufer <info@ppfeufer.de>\n"
13
13
  "Language-Team: Spanish <https://weblate.ppfeufer.de/projects/alliance-auth-apps/aa-fleetfinder/es/>\n"
14
14
  "Language: es\n"
@@ -16,7 +16,7 @@ msgstr ""
16
16
  "Content-Type: text/plain; charset=UTF-8\n"
17
17
  "Content-Transfer-Encoding: 8bit\n"
18
18
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
19
- "X-Generator: Weblate 5.8.4\n"
19
+ "X-Generator: Weblate 5.12.2\n"
20
20
 
21
21
  #: fleetfinder/__init__.py:9 fleetfinder/models.py:24
22
22
  #: fleetfinder/templates/fleetfinder/base.html:6
@@ -56,14 +56,10 @@ msgstr "El FC se cambió a otra flota."
56
56
 
57
57
  #: fleetfinder/models.py:51 fleetfinder/templates/fleetfinder/dashboard.html:20
58
58
  #: fleetfinder/templates/fleetfinder/partials/body/form-fleet-details.html:10
59
- #, fuzzy
60
- #| msgid "Fleet Name"
61
59
  msgid "Fleet name"
62
- msgstr "Nombre de la Flota"
60
+ msgstr "Nombre de la flota"
63
61
 
64
62
  #: fleetfinder/models.py:59 fleetfinder/templates/fleetfinder/dashboard.html:19
65
- #, fuzzy
66
- #| msgid "Fleet Commander"
67
63
  msgid "Fleet commander"
68
64
  msgstr "Comandante de Flota"
69
65
 
@@ -104,8 +100,6 @@ msgstr "Recuento de errores del ESI"
104
100
  #: fleetfinder/templates/fleetfinder/create-fleet.html:6
105
101
  #: fleetfinder/templates/fleetfinder/create-fleet.html:14
106
102
  #: fleetfinder/templates/fleetfinder/partials/header/header-nav-right.html:4
107
- #, fuzzy
108
- #| msgid "Create Fleet"
109
103
  msgid "Create fleet"
110
104
  msgstr "Crear Flota"
111
105
 
@@ -114,8 +108,6 @@ msgid "Fleets available to you"
114
108
  msgstr ""
115
109
 
116
110
  #: fleetfinder/templates/fleetfinder/dashboard.html:21
117
- #, fuzzy
118
- #| msgid "Created At"
119
111
  msgid "Created at"
120
112
  msgstr "Creado En"
121
113
 
@@ -133,8 +125,6 @@ msgstr "Editar"
133
125
 
134
126
  #: fleetfinder/templates/fleetfinder/edit-fleet.html:6
135
127
  #: fleetfinder/templates/fleetfinder/edit-fleet.html:14
136
- #, fuzzy
137
- #| msgid "Edit Fleet"
138
128
  msgid "Edit fleet"
139
129
  msgstr "Editar la Flota"
140
130
 
@@ -158,8 +148,6 @@ msgid "Count"
158
148
  msgstr ""
159
149
 
160
150
  #: fleetfinder/templates/fleetfinder/fleet-details.html:41
161
- #, fuzzy
162
- #| msgid "Fleet Members"
163
151
  msgid "Fleet members"
164
152
  msgstr "Miembros de la Flota"
165
153
 
@@ -172,14 +160,10 @@ msgid "System"
172
160
  msgstr "Sistema"
173
161
 
174
162
  #: fleetfinder/templates/fleetfinder/join-fleet.html:6 fleetfinder/views.py:90
175
- #, fuzzy
176
- #| msgid "Join Fleet"
177
163
  msgid "Join fleet"
178
164
  msgstr "Unirse a la Flota"
179
165
 
180
166
  #: fleetfinder/templates/fleetfinder/join-fleet.html:14
181
- #, fuzzy
182
- #| msgid "Fleet Invitation"
183
167
  msgid "Fleet invitation"
184
168
  msgstr "Invitación a la Flota"
185
169
 
@@ -192,14 +176,10 @@ msgid "Send fleet invites"
192
176
  msgstr "Enviar invitaciones de Flota"
193
177
 
194
178
  #: fleetfinder/templates/fleetfinder/partials/body/form-fleet-details.html:15
195
- #, fuzzy
196
- #| msgid "Select Groups"
197
179
  msgid "Select groups"
198
180
  msgstr "Grupos Seleccionados"
199
181
 
200
182
  #: fleetfinder/templates/fleetfinder/partials/body/form-fleet-details.html:46
201
- #, fuzzy
202
- #| msgid "Enable Free Move"
203
183
  msgid "Enable free move"
204
184
  msgstr "Habilitar Movimiento Libre"
205
185
 
@@ -216,20 +196,14 @@ msgid "Join our team of translators!"
216
196
  msgstr "¡Únete a nuestro equipo de traductores!"
217
197
 
218
198
  #: fleetfinder/templates/fleetfinder/partials/header/header-nav-left.html:6
219
- #, fuzzy
220
- #| msgid "Available Fleets"
221
199
  msgid "Available fleets"
222
200
  msgstr "Flotas Disponibles"
223
201
 
224
202
  #: fleetfinder/views.py:103
225
- #, fuzzy
226
- #| msgid "View Fleet Details"
227
203
  msgid "View fleet details"
228
204
  msgstr "Ver detalles de la Flota"
229
205
 
230
206
  #: fleetfinder/views.py:112
231
- #, fuzzy
232
- #| msgid "Edit Fleet Advert"
233
207
  msgid "Edit fleet advert"
234
208
  msgstr "Editar Anuncio de la Flota"
235
209
 
@@ -11,7 +11,7 @@ msgid ""
11
11
  msgstr ""
12
12
  "Project-Id-Version: AA Fleet Finder 2.2.1\n"
13
13
  "Report-Msgid-Bugs-To: https://github.com/ppfeufer/aa-fleetfinder/issues\n"
14
- "POT-Creation-Date: 2025-06-03 10:57+0200\n"
14
+ "POT-Creation-Date: 2025-08-04 22:06+0200\n"
15
15
  "PO-Revision-Date: 2025-05-20 16:24+0000\n"
16
16
  "Last-Translator: balbozorre <loic.petiot2002@gmail.com>\n"
17
17
  "Language-Team: French <https://weblate.ppfeufer.de/projects/alliance-auth-apps/aa-fleetfinder/fr/>\n"
@@ -7,7 +7,7 @@ msgid ""
7
7
  msgstr ""
8
8
  "Project-Id-Version: AA Fleet Finder 2.2.1\n"
9
9
  "Report-Msgid-Bugs-To: https://github.com/ppfeufer/aa-fleetfinder/issues\n"
10
- "POT-Creation-Date: 2025-06-03 10:57+0200\n"
10
+ "POT-Creation-Date: 2025-08-04 22:06+0200\n"
11
11
  "PO-Revision-Date: 2024-12-22 21:15+0000\n"
12
12
  "Last-Translator: Peter Pfeufer <info@ppfeufer.de>\n"
13
13
  "Language-Team: Italian <https://weblate.ppfeufer.de/projects/alliance-auth-apps/aa-fleetfinder/it/>\n"
@@ -8,7 +8,7 @@ msgid ""
8
8
  msgstr ""
9
9
  "Project-Id-Version: AA Fleet Finder 2.2.1\n"
10
10
  "Report-Msgid-Bugs-To: https://github.com/ppfeufer/aa-fleetfinder/issues\n"
11
- "POT-Creation-Date: 2025-06-03 10:57+0200\n"
11
+ "POT-Creation-Date: 2025-08-04 22:06+0200\n"
12
12
  "PO-Revision-Date: 2024-08-06 11:28+0000\n"
13
13
  "Last-Translator: Peter Pfeufer <info@ppfeufer.de>\n"
14
14
  "Language-Team: Japanese <https://weblate.ppfeufer.de/projects/alliance-auth-apps/aa-fleetfinder/ja/>\n"
@@ -9,7 +9,7 @@ msgid ""
9
9
  msgstr ""
10
10
  "Project-Id-Version: AA Fleet Finder 2.2.1\n"
11
11
  "Report-Msgid-Bugs-To: https://github.com/ppfeufer/aa-fleetfinder/issues\n"
12
- "POT-Creation-Date: 2025-06-03 10:57+0200\n"
12
+ "POT-Creation-Date: 2025-08-04 22:06+0200\n"
13
13
  "PO-Revision-Date: 2025-04-28 07:24+0000\n"
14
14
  "Last-Translator: SiO4 <hohoit0078@gmail.com>\n"
15
15
  "Language-Team: Korean <https://weblate.ppfeufer.de/projects/alliance-auth-apps/aa-fleetfinder/ko/>\n"
@@ -7,7 +7,7 @@ msgid ""
7
7
  msgstr ""
8
8
  "Project-Id-Version: AA Fleet Finder 2.2.1\n"
9
9
  "Report-Msgid-Bugs-To: https://github.com/ppfeufer/aa-fleetfinder/issues\n"
10
- "POT-Creation-Date: 2025-06-03 10:57+0200\n"
10
+ "POT-Creation-Date: 2025-08-04 22:06+0200\n"
11
11
  "PO-Revision-Date: 2024-05-10 14:03+0000\n"
12
12
  "Last-Translator: Anonymous <noreply@weblate.org>\n"
13
13
  "Language-Team: Dutch <https://weblate.ppfeufer.de/projects/alliance-auth-apps/aa-fleetfinder/nl/>\n"
@@ -6,7 +6,7 @@ msgid ""
6
6
  msgstr ""
7
7
  "Project-Id-Version: AA Fleet Finder 2.2.1\n"
8
8
  "Report-Msgid-Bugs-To: https://github.com/ppfeufer/aa-fleetfinder/issues\n"
9
- "POT-Creation-Date: 2025-06-03 10:57+0200\n"
9
+ "POT-Creation-Date: 2025-08-04 22:06+0200\n"
10
10
  "PO-Revision-Date: 2024-05-10 14:03+0000\n"
11
11
  "Last-Translator: Peter Pfeufer <info@ppfeufer.de>\n"
12
12
  "Language-Team: Polish <https://weblate.ppfeufer.de/projects/alliance-auth-apps/aa-fleetfinder/pl/>\n"
@@ -9,7 +9,7 @@ msgid ""
9
9
  msgstr ""
10
10
  "Project-Id-Version: AA Fleet Finder 2.2.1\n"
11
11
  "Report-Msgid-Bugs-To: https://github.com/ppfeufer/aa-fleetfinder/issues\n"
12
- "POT-Creation-Date: 2025-06-03 10:57+0200\n"
12
+ "POT-Creation-Date: 2025-08-04 22:06+0200\n"
13
13
  "PO-Revision-Date: 2024-06-06 14:27+0000\n"
14
14
  "Last-Translator: Roycce_ <malyasov.roma@mail.ru>\n"
15
15
  "Language-Team: Russian <https://weblate.ppfeufer.de/projects/alliance-auth-apps/aa-fleetfinder/ru/>\n"
@@ -7,7 +7,7 @@ msgid ""
7
7
  msgstr ""
8
8
  "Project-Id-Version: AA Fleet Finder 2.2.1\n"
9
9
  "Report-Msgid-Bugs-To: https://github.com/ppfeufer/aa-fleetfinder/issues\n"
10
- "POT-Creation-Date: 2025-06-03 10:57+0200\n"
10
+ "POT-Creation-Date: 2025-08-04 22:06+0200\n"
11
11
  "PO-Revision-Date: 2024-05-10 14:03+0000\n"
12
12
  "Last-Translator: Anonymous <noreply@weblate.org>\n"
13
13
  "Language-Team: Slovak <https://weblate.ppfeufer.de/projects/alliance-auth-apps/aa-fleetfinder/sk/>\n"
@@ -10,7 +10,7 @@ msgid ""
10
10
  msgstr ""
11
11
  "Project-Id-Version: AA Fleet Finder 2.2.1\n"
12
12
  "Report-Msgid-Bugs-To: https://github.com/ppfeufer/aa-fleetfinder/issues\n"
13
- "POT-Creation-Date: 2025-06-03 10:57+0200\n"
13
+ "POT-Creation-Date: 2025-08-04 22:06+0200\n"
14
14
  "PO-Revision-Date: 2025-04-10 07:05+0000\n"
15
15
  "Last-Translator: s0k0l -_- <salarysalo@gmail.com>\n"
16
16
  "Language-Team: Ukrainian <https://weblate.ppfeufer.de/projects/alliance-auth-apps/aa-fleetfinder/uk/>\n"
@@ -9,7 +9,7 @@ msgid ""
9
9
  msgstr ""
10
10
  "Project-Id-Version: AA Fleet Finder 2.2.1\n"
11
11
  "Report-Msgid-Bugs-To: https://github.com/ppfeufer/aa-fleetfinder/issues\n"
12
- "POT-Creation-Date: 2025-06-03 10:57+0200\n"
12
+ "POT-Creation-Date: 2025-08-04 22:06+0200\n"
13
13
  "PO-Revision-Date: 2024-06-06 14:27+0000\n"
14
14
  "Last-Translator: Peter Pfeufer <info@ppfeufer.de>\n"
15
15
  "Language-Team: Chinese (Simplified) <https://weblate.ppfeufer.de/projects/alliance-auth-apps/aa-fleetfinder/zh_Hans/>\n"
fleetfinder/providers.py CHANGED
@@ -6,7 +6,9 @@ Providers
6
6
  from esi.clients import EsiClientProvider
7
7
 
8
8
  # AA Fleet Finder
9
- from fleetfinder.constants import USER_AGENT
9
+ from fleetfinder import __app_name_useragent__, __github_url__, __version__
10
10
 
11
11
  # ESI client
12
- esi = EsiClientProvider(app_info_text=USER_AGENT)
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
+ )
fleetfinder/constants.py DELETED
@@ -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)