aa-intel-tool 2.6.3__py3-none-any.whl → 2.7.0__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.
Files changed (36) hide show
  1. aa_intel_tool/__init__.py +1 -1
  2. aa_intel_tool/locale/cs_CZ/LC_MESSAGES/django.po +1 -2
  3. aa_intel_tool/locale/de/LC_MESSAGES/django.po +1 -2
  4. aa_intel_tool/locale/django.pot +2 -3
  5. aa_intel_tool/locale/es/LC_MESSAGES/django.po +1 -2
  6. aa_intel_tool/locale/fr_FR/LC_MESSAGES/django.po +1 -2
  7. aa_intel_tool/locale/it_IT/LC_MESSAGES/django.po +1 -2
  8. aa_intel_tool/locale/ja/LC_MESSAGES/django.po +1 -2
  9. aa_intel_tool/locale/ko_KR/LC_MESSAGES/django.po +1 -2
  10. aa_intel_tool/locale/nl_NL/LC_MESSAGES/django.po +1 -2
  11. aa_intel_tool/locale/pl_PL/LC_MESSAGES/django.po +1 -2
  12. aa_intel_tool/locale/ru/LC_MESSAGES/django.po +1 -2
  13. aa_intel_tool/locale/sk/LC_MESSAGES/django.po +1 -2
  14. aa_intel_tool/locale/uk/LC_MESSAGES/django.mo +0 -0
  15. aa_intel_tool/locale/uk/LC_MESSAGES/django.po +7 -12
  16. aa_intel_tool/locale/zh_Hans/LC_MESSAGES/django.po +1 -2
  17. aa_intel_tool/templates/aa_intel_tool/bundles/aa-intel-tool-chatscan-highlight-js.html +2 -2
  18. aa_intel_tool/templates/aa_intel_tool/bundles/aa-intel-tool-chatscan-js.html +2 -2
  19. aa_intel_tool/templates/aa_intel_tool/bundles/aa-intel-tool-css.html +2 -2
  20. aa_intel_tool/templates/aa_intel_tool/bundles/aa-intel-tool-dscan-highlight-js.html +2 -2
  21. aa_intel_tool/templates/aa_intel_tool/bundles/aa-intel-tool-dscan-js.html +2 -2
  22. aa_intel_tool/templates/aa_intel_tool/bundles/aa-intel-tool-fleetcomp-js.html +2 -2
  23. aa_intel_tool/templates/aa_intel_tool/bundles/aa-intel-tool-fleetcomposition-highlight-js.html +2 -2
  24. aa_intel_tool/templates/aa_intel_tool/bundles/aa-intel-tool-js.html +2 -2
  25. aa_intel_tool/templates/aa_intel_tool/bundles/aa-intel-tool-scan-result-common-js.html +2 -2
  26. aa_intel_tool/templates/aa_intel_tool/views/index.html +0 -7
  27. aa_intel_tool/tests/test_access.py +1 -7
  28. aa_intel_tool/tests/test_auth_hooks.py +1 -7
  29. {aa_intel_tool-2.6.3.dist-info → aa_intel_tool-2.7.0.dist-info}/METADATA +1 -1
  30. {aa_intel_tool-2.6.3.dist-info → aa_intel_tool-2.7.0.dist-info}/RECORD +32 -36
  31. aa_intel_tool/helper/static_files.py +0 -42
  32. aa_intel_tool/templatetags/__init__.py +0 -3
  33. aa_intel_tool/templatetags/aa_intel_tool.py +0 -88
  34. aa_intel_tool/tests/test_templatetags.py +0 -103
  35. {aa_intel_tool-2.6.3.dist-info → aa_intel_tool-2.7.0.dist-info}/WHEEL +0 -0
  36. {aa_intel_tool-2.6.3.dist-info → aa_intel_tool-2.7.0.dist-info}/licenses/LICENSE +0 -0
aa_intel_tool/__init__.py CHANGED
@@ -5,5 +5,5 @@ App init
5
5
  # Django
6
6
  from django.utils.translation import gettext_lazy as _
7
7
 
8
- __version__ = "2.6.3"
8
+ __version__ = "2.7.0"
9
9
  __title__ = _("Intel Parser")
@@ -6,7 +6,7 @@ msgid ""
6
6
  msgstr ""
7
7
  "Project-Id-Version: AA Intel Tool 2.5.1\n"
8
8
  "Report-Msgid-Bugs-To: https://github.com/ppfeufer/aa-intel-tool/issues\n"
9
- "POT-Creation-Date: 2025-05-05 22:48+0200\n"
9
+ "POT-Creation-Date: 2025-06-03 12:14+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-intel-tool/cs/>\n"
@@ -20,7 +20,6 @@ msgstr ""
20
20
  #: aa_intel_tool/__init__.py:9
21
21
  #: aa_intel_tool/templates/aa_intel_tool/base.html:7
22
22
  #: aa_intel_tool/templates/aa_intel_tool/base.html:11
23
- #: aa_intel_tool/templates/aa_intel_tool/views/index.html:8
24
23
  #: aa_intel_tool/templates/aa_intel_tool/views/scan/chatlist.html:5
25
24
  #: aa_intel_tool/templates/aa_intel_tool/views/scan/dscan.html:5
26
25
  #: aa_intel_tool/templates/aa_intel_tool/views/scan/fleetcomp.html:5
@@ -6,7 +6,7 @@ msgid ""
6
6
  msgstr ""
7
7
  "Project-Id-Version: AA Intel Tool 2.5.1\n"
8
8
  "Report-Msgid-Bugs-To: https://github.com/ppfeufer/aa-intel-tool/issues\n"
9
- "POT-Creation-Date: 2025-05-05 22:48+0200\n"
9
+ "POT-Creation-Date: 2025-06-03 12:14+0200\n"
10
10
  "PO-Revision-Date: 2025-05-02 17: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-intel-tool/de/>\n"
@@ -20,7 +20,6 @@ msgstr ""
20
20
  #: aa_intel_tool/__init__.py:9
21
21
  #: aa_intel_tool/templates/aa_intel_tool/base.html:7
22
22
  #: aa_intel_tool/templates/aa_intel_tool/base.html:11
23
- #: aa_intel_tool/templates/aa_intel_tool/views/index.html:8
24
23
  #: aa_intel_tool/templates/aa_intel_tool/views/scan/chatlist.html:5
25
24
  #: aa_intel_tool/templates/aa_intel_tool/views/scan/dscan.html:5
26
25
  #: aa_intel_tool/templates/aa_intel_tool/views/scan/fleetcomp.html:5
@@ -6,9 +6,9 @@
6
6
  #, fuzzy
7
7
  msgid ""
8
8
  msgstr ""
9
- "Project-Id-Version: AA Intel Tool 2.6.3\n"
9
+ "Project-Id-Version: AA Intel Tool 2.7.0\n"
10
10
  "Report-Msgid-Bugs-To: https://github.com/ppfeufer/aa-intel-tool/issues\n"
11
- "POT-Creation-Date: 2025-05-05 22:48+0200\n"
11
+ "POT-Creation-Date: 2025-06-03 12:14+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"
@@ -21,7 +21,6 @@ msgstr ""
21
21
  #: aa_intel_tool/__init__.py:9
22
22
  #: aa_intel_tool/templates/aa_intel_tool/base.html:7
23
23
  #: aa_intel_tool/templates/aa_intel_tool/base.html:11
24
- #: aa_intel_tool/templates/aa_intel_tool/views/index.html:8
25
24
  #: aa_intel_tool/templates/aa_intel_tool/views/scan/chatlist.html:5
26
25
  #: aa_intel_tool/templates/aa_intel_tool/views/scan/dscan.html:5
27
26
  #: aa_intel_tool/templates/aa_intel_tool/views/scan/fleetcomp.html:5
@@ -8,7 +8,7 @@ msgid ""
8
8
  msgstr ""
9
9
  "Project-Id-Version: AA Intel Tool 2.5.1\n"
10
10
  "Report-Msgid-Bugs-To: https://github.com/ppfeufer/aa-intel-tool/issues\n"
11
- "POT-Creation-Date: 2025-05-05 22:48+0200\n"
11
+ "POT-Creation-Date: 2025-06-03 12:14+0200\n"
12
12
  "PO-Revision-Date: 2024-12-02 17:40+0000\n"
13
13
  "Last-Translator: Peter Pfeufer <info@ppfeufer.de>\n"
14
14
  "Language-Team: Spanish <https://weblate.ppfeufer.de/projects/alliance-auth-apps/aa-intel-tool/es/>\n"
@@ -22,7 +22,6 @@ msgstr ""
22
22
  #: aa_intel_tool/__init__.py:9
23
23
  #: aa_intel_tool/templates/aa_intel_tool/base.html:7
24
24
  #: aa_intel_tool/templates/aa_intel_tool/base.html:11
25
- #: aa_intel_tool/templates/aa_intel_tool/views/index.html:8
26
25
  #: aa_intel_tool/templates/aa_intel_tool/views/scan/chatlist.html:5
27
26
  #: aa_intel_tool/templates/aa_intel_tool/views/scan/dscan.html:5
28
27
  #: aa_intel_tool/templates/aa_intel_tool/views/scan/fleetcomp.html:5
@@ -9,7 +9,7 @@ msgid ""
9
9
  msgstr ""
10
10
  "Project-Id-Version: AA Intel Tool 2.5.1\n"
11
11
  "Report-Msgid-Bugs-To: https://github.com/ppfeufer/aa-intel-tool/issues\n"
12
- "POT-Creation-Date: 2025-05-05 22:48+0200\n"
12
+ "POT-Creation-Date: 2025-06-03 12:14+0200\n"
13
13
  "PO-Revision-Date: 2025-03-25 13:24+0000\n"
14
14
  "Last-Translator: Peter Pfeufer <info@ppfeufer.de>\n"
15
15
  "Language-Team: French <https://weblate.ppfeufer.de/projects/alliance-auth-apps/aa-intel-tool/fr/>\n"
@@ -23,7 +23,6 @@ msgstr ""
23
23
  #: aa_intel_tool/__init__.py:9
24
24
  #: aa_intel_tool/templates/aa_intel_tool/base.html:7
25
25
  #: aa_intel_tool/templates/aa_intel_tool/base.html:11
26
- #: aa_intel_tool/templates/aa_intel_tool/views/index.html:8
27
26
  #: aa_intel_tool/templates/aa_intel_tool/views/scan/chatlist.html:5
28
27
  #: aa_intel_tool/templates/aa_intel_tool/views/scan/dscan.html:5
29
28
  #: aa_intel_tool/templates/aa_intel_tool/views/scan/fleetcomp.html:5
@@ -7,7 +7,7 @@ msgid ""
7
7
  msgstr ""
8
8
  "Project-Id-Version: AA Intel Tool 2.5.1\n"
9
9
  "Report-Msgid-Bugs-To: https://github.com/ppfeufer/aa-intel-tool/issues\n"
10
- "POT-Creation-Date: 2025-05-05 22:48+0200\n"
10
+ "POT-Creation-Date: 2025-06-03 12:14+0200\n"
11
11
  "PO-Revision-Date: 2024-05-10 14:07+0000\n"
12
12
  "Last-Translator: Anonymous <noreply@weblate.org>\n"
13
13
  "Language-Team: Italian <https://weblate.ppfeufer.de/projects/alliance-auth-apps/aa-intel-tool/it/>\n"
@@ -21,7 +21,6 @@ msgstr ""
21
21
  #: aa_intel_tool/__init__.py:9
22
22
  #: aa_intel_tool/templates/aa_intel_tool/base.html:7
23
23
  #: aa_intel_tool/templates/aa_intel_tool/base.html:11
24
- #: aa_intel_tool/templates/aa_intel_tool/views/index.html:8
25
24
  #: aa_intel_tool/templates/aa_intel_tool/views/scan/chatlist.html:5
26
25
  #: aa_intel_tool/templates/aa_intel_tool/views/scan/dscan.html:5
27
26
  #: aa_intel_tool/templates/aa_intel_tool/views/scan/fleetcomp.html:5
@@ -6,7 +6,7 @@ msgid ""
6
6
  msgstr ""
7
7
  "Project-Id-Version: AA Intel Tool 2.5.1\n"
8
8
  "Report-Msgid-Bugs-To: https://github.com/ppfeufer/aa-intel-tool/issues\n"
9
- "POT-Creation-Date: 2025-05-05 22:48+0200\n"
9
+ "POT-Creation-Date: 2025-06-03 12:14+0200\n"
10
10
  "PO-Revision-Date: 2024-08-05 10:10+0000\n"
11
11
  "Last-Translator: Anata_no_Usiro <yt23542354m@gmail.com>\n"
12
12
  "Language-Team: Japanese <https://weblate.ppfeufer.de/projects/alliance-auth-apps/aa-intel-tool/ja/>\n"
@@ -20,7 +20,6 @@ msgstr ""
20
20
  #: aa_intel_tool/__init__.py:9
21
21
  #: aa_intel_tool/templates/aa_intel_tool/base.html:7
22
22
  #: aa_intel_tool/templates/aa_intel_tool/base.html:11
23
- #: aa_intel_tool/templates/aa_intel_tool/views/index.html:8
24
23
  #: aa_intel_tool/templates/aa_intel_tool/views/scan/chatlist.html:5
25
24
  #: aa_intel_tool/templates/aa_intel_tool/views/scan/dscan.html:5
26
25
  #: aa_intel_tool/templates/aa_intel_tool/views/scan/fleetcomp.html:5
@@ -10,7 +10,7 @@ msgid ""
10
10
  msgstr ""
11
11
  "Project-Id-Version: AA Intel Tool 2.5.1\n"
12
12
  "Report-Msgid-Bugs-To: https://github.com/ppfeufer/aa-intel-tool/issues\n"
13
- "POT-Creation-Date: 2025-05-05 22:48+0200\n"
13
+ "POT-Creation-Date: 2025-06-03 12:14+0200\n"
14
14
  "PO-Revision-Date: 2025-04-28 07:24+0000\n"
15
15
  "Last-Translator: SiO4 <hohoit0078@gmail.com>\n"
16
16
  "Language-Team: Korean <https://weblate.ppfeufer.de/projects/alliance-auth-apps/aa-intel-tool/ko/>\n"
@@ -24,7 +24,6 @@ msgstr ""
24
24
  #: aa_intel_tool/__init__.py:9
25
25
  #: aa_intel_tool/templates/aa_intel_tool/base.html:7
26
26
  #: aa_intel_tool/templates/aa_intel_tool/base.html:11
27
- #: aa_intel_tool/templates/aa_intel_tool/views/index.html:8
28
27
  #: aa_intel_tool/templates/aa_intel_tool/views/scan/chatlist.html:5
29
28
  #: aa_intel_tool/templates/aa_intel_tool/views/scan/dscan.html:5
30
29
  #: aa_intel_tool/templates/aa_intel_tool/views/scan/fleetcomp.html:5
@@ -7,7 +7,7 @@ msgid ""
7
7
  msgstr ""
8
8
  "Project-Id-Version: AA Intel Tool 2.5.1\n"
9
9
  "Report-Msgid-Bugs-To: https://github.com/ppfeufer/aa-intel-tool/issues\n"
10
- "POT-Creation-Date: 2025-05-05 22:48+0200\n"
10
+ "POT-Creation-Date: 2025-06-03 12:14+0200\n"
11
11
  "PO-Revision-Date: 2024-05-10 14:07+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-intel-tool/nl/>\n"
@@ -21,7 +21,6 @@ msgstr ""
21
21
  #: aa_intel_tool/__init__.py:9
22
22
  #: aa_intel_tool/templates/aa_intel_tool/base.html:7
23
23
  #: aa_intel_tool/templates/aa_intel_tool/base.html:11
24
- #: aa_intel_tool/templates/aa_intel_tool/views/index.html:8
25
24
  #: aa_intel_tool/templates/aa_intel_tool/views/scan/chatlist.html:5
26
25
  #: aa_intel_tool/templates/aa_intel_tool/views/scan/dscan.html:5
27
26
  #: aa_intel_tool/templates/aa_intel_tool/views/scan/fleetcomp.html:5
@@ -6,7 +6,7 @@ msgid ""
6
6
  msgstr ""
7
7
  "Project-Id-Version: AA Intel Tool 2.5.1\n"
8
8
  "Report-Msgid-Bugs-To: https://github.com/ppfeufer/aa-intel-tool/issues\n"
9
- "POT-Creation-Date: 2025-05-05 22:48+0200\n"
9
+ "POT-Creation-Date: 2025-06-03 12:14+0200\n"
10
10
  "PO-Revision-Date: 2024-05-10 14:07+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-intel-tool/pl/>\n"
@@ -20,7 +20,6 @@ msgstr ""
20
20
  #: aa_intel_tool/__init__.py:9
21
21
  #: aa_intel_tool/templates/aa_intel_tool/base.html:7
22
22
  #: aa_intel_tool/templates/aa_intel_tool/base.html:11
23
- #: aa_intel_tool/templates/aa_intel_tool/views/index.html:8
24
23
  #: aa_intel_tool/templates/aa_intel_tool/views/scan/chatlist.html:5
25
24
  #: aa_intel_tool/templates/aa_intel_tool/views/scan/dscan.html:5
26
25
  #: aa_intel_tool/templates/aa_intel_tool/views/scan/fleetcomp.html:5
@@ -9,7 +9,7 @@ msgid ""
9
9
  msgstr ""
10
10
  "Project-Id-Version: AA Intel Tool 2.5.1\n"
11
11
  "Report-Msgid-Bugs-To: https://github.com/ppfeufer/aa-intel-tool/issues\n"
12
- "POT-Creation-Date: 2025-05-05 22:48+0200\n"
12
+ "POT-Creation-Date: 2025-06-03 12:14+0200\n"
13
13
  "PO-Revision-Date: 2025-03-25 13:24+0000\n"
14
14
  "Last-Translator: Peter Pfeufer <info@ppfeufer.de>\n"
15
15
  "Language-Team: Russian <https://weblate.ppfeufer.de/projects/alliance-auth-apps/aa-intel-tool/ru/>\n"
@@ -23,7 +23,6 @@ msgstr ""
23
23
  #: aa_intel_tool/__init__.py:9
24
24
  #: aa_intel_tool/templates/aa_intel_tool/base.html:7
25
25
  #: aa_intel_tool/templates/aa_intel_tool/base.html:11
26
- #: aa_intel_tool/templates/aa_intel_tool/views/index.html:8
27
26
  #: aa_intel_tool/templates/aa_intel_tool/views/scan/chatlist.html:5
28
27
  #: aa_intel_tool/templates/aa_intel_tool/views/scan/dscan.html:5
29
28
  #: aa_intel_tool/templates/aa_intel_tool/views/scan/fleetcomp.html:5
@@ -7,7 +7,7 @@ msgid ""
7
7
  msgstr ""
8
8
  "Project-Id-Version: AA Intel Tool 2.5.1\n"
9
9
  "Report-Msgid-Bugs-To: https://github.com/ppfeufer/aa-intel-tool/issues\n"
10
- "POT-Creation-Date: 2025-05-05 22:48+0200\n"
10
+ "POT-Creation-Date: 2025-06-03 12:14+0200\n"
11
11
  "PO-Revision-Date: 2024-05-10 14:07+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-intel-tool/sk/>\n"
@@ -21,7 +21,6 @@ msgstr ""
21
21
  #: aa_intel_tool/__init__.py:9
22
22
  #: aa_intel_tool/templates/aa_intel_tool/base.html:7
23
23
  #: aa_intel_tool/templates/aa_intel_tool/base.html:11
24
- #: aa_intel_tool/templates/aa_intel_tool/views/index.html:8
25
24
  #: aa_intel_tool/templates/aa_intel_tool/views/scan/chatlist.html:5
26
25
  #: aa_intel_tool/templates/aa_intel_tool/views/scan/dscan.html:5
27
26
  #: aa_intel_tool/templates/aa_intel_tool/views/scan/fleetcomp.html:5
@@ -1,28 +1,27 @@
1
1
  # SOME DESCRIPTIVE TITLE.
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
- # Peter Pfeufer <info@ppfeufer.de>, 2023, 2024.
4
+ # Peter Pfeufer <info@ppfeufer.de>, 2023, 2024, 2025.
5
5
  # M <skrypets@gmail.com>, 2025.
6
6
  # s0k0l -_- <salarysalo@gmail.com>, 2025.
7
7
  msgid ""
8
8
  msgstr ""
9
9
  "Project-Id-Version: AA Intel Tool 2.5.1\n"
10
10
  "Report-Msgid-Bugs-To: https://github.com/ppfeufer/aa-intel-tool/issues\n"
11
- "POT-Creation-Date: 2025-05-05 22:48+0200\n"
12
- "PO-Revision-Date: 2025-04-10 07:05+0000\n"
13
- "Last-Translator: s0k0l -_- <salarysalo@gmail.com>\n"
11
+ "POT-Creation-Date: 2025-06-03 12:14+0200\n"
12
+ "PO-Revision-Date: 2025-06-03 10:22+0000\n"
13
+ "Last-Translator: Peter Pfeufer <info@ppfeufer.de>\n"
14
14
  "Language-Team: Ukrainian <https://weblate.ppfeufer.de/projects/alliance-auth-apps/aa-intel-tool/uk/>\n"
15
15
  "Language: uk\n"
16
16
  "MIME-Version: 1.0\n"
17
17
  "Content-Type: text/plain; charset=UTF-8\n"
18
18
  "Content-Transfer-Encoding: 8bit\n"
19
19
  "Plural-Forms: nplurals=4; plural=n==1 ? 3 : (n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
20
- "X-Generator: Weblate 5.10.4\n"
20
+ "X-Generator: Weblate 5.11.4\n"
21
21
 
22
22
  #: aa_intel_tool/__init__.py:9
23
23
  #: aa_intel_tool/templates/aa_intel_tool/base.html:7
24
24
  #: aa_intel_tool/templates/aa_intel_tool/base.html:11
25
- #: aa_intel_tool/templates/aa_intel_tool/views/index.html:8
26
25
  #: aa_intel_tool/templates/aa_intel_tool/views/scan/chatlist.html:5
27
26
  #: aa_intel_tool/templates/aa_intel_tool/views/scan/dscan.html:5
28
27
  #: aa_intel_tool/templates/aa_intel_tool/views/scan/fleetcomp.html:5
@@ -203,16 +202,12 @@ msgid "Something went wrong. Nothing copied. Maybe your browser does not support
203
202
  msgstr "Шось пішло не так. Нічого не скопійовано. Можливо, Ваш браузер не підтримує цю функцію."
204
203
 
205
204
  #: aa_intel_tool/templates/aa_intel_tool/base.html:25
206
- #, fuzzy
207
- #| msgid "Unaffiliated / No Alliance"
208
205
  msgid "Unaffiliated"
209
- msgstr "Незалежний / без аліянсу"
206
+ msgstr "Незалежний"
210
207
 
211
208
  #: aa_intel_tool/templates/aa_intel_tool/base.html:26
212
- #, fuzzy
213
- #| msgid "Alliance"
214
209
  msgid "No Alliance"
215
- msgstr "Аліянс"
210
+ msgstr ""
216
211
 
217
212
  #: aa_intel_tool/templates/aa_intel_tool/base.html:27
218
213
  msgid "NPC Corp"
@@ -12,7 +12,7 @@ msgid ""
12
12
  msgstr ""
13
13
  "Project-Id-Version: AA Intel Tool 2.5.1\n"
14
14
  "Report-Msgid-Bugs-To: https://github.com/ppfeufer/aa-intel-tool/issues\n"
15
- "POT-Creation-Date: 2025-05-05 22:48+0200\n"
15
+ "POT-Creation-Date: 2025-06-03 12:14+0200\n"
16
16
  "PO-Revision-Date: 2025-02-18 09:17+0000\n"
17
17
  "Last-Translator: Peter Pfeufer <info@ppfeufer.de>\n"
18
18
  "Language-Team: Chinese (Simplified Han script) <https://weblate.ppfeufer.de/projects/alliance-auth-apps/aa-intel-tool/zh_Hans/>\n"
@@ -26,7 +26,6 @@ msgstr ""
26
26
  #: aa_intel_tool/__init__.py:9
27
27
  #: aa_intel_tool/templates/aa_intel_tool/base.html:7
28
28
  #: aa_intel_tool/templates/aa_intel_tool/base.html:11
29
- #: aa_intel_tool/templates/aa_intel_tool/views/index.html:8
30
29
  #: aa_intel_tool/templates/aa_intel_tool/views/scan/chatlist.html:5
31
30
  #: aa_intel_tool/templates/aa_intel_tool/views/scan/dscan.html:5
32
31
  #: aa_intel_tool/templates/aa_intel_tool/views/scan/fleetcomp.html:5
@@ -1,3 +1,3 @@
1
- {% load aa_intel_tool %}
1
+ {% load sri %}
2
2
 
3
- {% aa_intel_tool_static "javascript/aa-intel-tool-chatscan-highlight.min.js" %}
3
+ {% sri_static "aa_intel_tool/javascript/aa-intel-tool-chatscan-highlight.min.js" %}
@@ -1,8 +1,8 @@
1
- {% load aa_intel_tool %}
1
+ {% load sri %}
2
2
 
3
3
  {% if not common_already_loaded %}
4
4
  {% include "aa_intel_tool/bundles/aa-intel-tool-scan-result-common-js.html" %}
5
5
  {% include "aa_intel_tool/bundles/aa-intel-tool-chatscan-highlight-js.html" %}
6
6
  {% endif %}
7
7
 
8
- {% aa_intel_tool_static "javascript/aa-intel-tool-chatscan.min.js" %}
8
+ {% sri_static "aa_intel_tool/javascript/aa-intel-tool-chatscan.min.js" %}
@@ -1,3 +1,3 @@
1
- {% load aa_intel_tool %}
1
+ {% load sri %}
2
2
 
3
- {% aa_intel_tool_static "css/aa-intel-tool.min.css" %}
3
+ {% sri_static "aa_intel_tool/css/aa-intel-tool.min.css" %}
@@ -1,3 +1,3 @@
1
- {% load aa_intel_tool %}
1
+ {% load sri %}
2
2
 
3
- {% aa_intel_tool_static "javascript/aa-intel-tool-dscan-highlight.min.js" %}
3
+ {% sri_static "aa_intel_tool/javascript/aa-intel-tool-dscan-highlight.min.js" %}
@@ -1,6 +1,6 @@
1
- {% load aa_intel_tool %}
1
+ {% load sri %}
2
2
 
3
3
  {% include "aa_intel_tool/bundles/aa-intel-tool-scan-result-common-js.html" %}
4
4
  {% include "aa_intel_tool/bundles/aa-intel-tool-dscan-highlight-js.html" %}
5
5
 
6
- {% aa_intel_tool_static "javascript/aa-intel-tool-dscan.min.js" %}
6
+ {% sri_static "aa_intel_tool/javascript/aa-intel-tool-dscan.min.js" %}
@@ -1,9 +1,9 @@
1
- {% load aa_intel_tool %}
1
+ {% load sri %}
2
2
 
3
3
  {% include "aa_intel_tool/bundles/aa-intel-tool-scan-result-common-js.html" %}
4
4
  {% include "aa_intel_tool/bundles/aa-intel-tool-fleetcomposition-highlight-js.html" %}
5
5
 
6
- {% aa_intel_tool_static "javascript/aa-intel-tool-fleetcomposition.min.js" %}
6
+ {% sri_static "aa_intel_tool/javascript/aa-intel-tool-fleetcomposition.min.js" %}
7
7
 
8
8
  {% if app_settings.INTELTOOL_ENABLE_MODULE_CHATSCAN %}
9
9
  {% include "aa_intel_tool/bundles/aa-intel-tool-chatscan-highlight-js.html" with common_already_loaded=True %}
@@ -1,3 +1,3 @@
1
- {% load aa_intel_tool %}
1
+ {% load sri %}
2
2
 
3
- {% aa_intel_tool_static "javascript/aa-intel-tool-fleetcomposition-highlight.min.js" %}
3
+ {% sri_static "aa_intel_tool/javascript/aa-intel-tool-fleetcomposition-highlight.min.js" %}
@@ -1,3 +1,3 @@
1
- {% load aa_intel_tool %}
1
+ {% load sri %}
2
2
 
3
- {% aa_intel_tool_static "javascript/aa-intel-tool.min.js" %}
3
+ {% sri_static "aa_intel_tool/javascript/aa-intel-tool.min.js" %}
@@ -1,3 +1,3 @@
1
- {% load aa_intel_tool %}
1
+ {% load sri %}
2
2
 
3
- {% aa_intel_tool_static "javascript/aa-intel-tool-scan-result-common.min.js" %}
3
+ {% sri_static "aa_intel_tool/javascript/aa-intel-tool-scan-result-common.min.js" %}
@@ -3,13 +3,6 @@
3
3
  {% load evelinks %}
4
4
  {% load i18n %}
5
5
 
6
- {% block aa_intel_tool_header %}
7
- {% if not user.is_authenticated %}
8
- {% translate "Intel Parser" as translated_header %}
9
- {% include "framework/header/page-header.html" with title=translated_header %}
10
- {% endif %}
11
- {% endblock %}
12
-
13
6
  {% block aa_intel_tool_body %}
14
7
  {% include "aa_intel_tool/partials/index/form.html" %}
15
8
  {% include "aa_intel_tool/partials/body/scan-retention-note.html" %}
@@ -45,13 +45,7 @@ class TestAccess(TestCase):
45
45
 
46
46
  cls.header_top = '<div class="navbar-brand">Intel Parser</div>'
47
47
 
48
- cls.header_public_page = """
49
- <div class="aa-intel-tool-header">
50
- <h1 class="page-header text-center mb-3">
51
- Intel Parser
52
- </h1>
53
- </div>
54
- """
48
+ cls.header_public_page = '<div class="navbar-brand">Intel Parser</div>'
55
49
 
56
50
  def test_access_to_index_for_logged_in_user(self):
57
51
  """
@@ -43,13 +43,7 @@ class TestHooks(TestCase):
43
43
  </li>
44
44
  """
45
45
 
46
- cls.header_public_page = """
47
- <div class="aa-intel-tool-header">
48
- <h1 class="page-header text-center mb-3">
49
- Intel Parser
50
- </h1>
51
- </div>
52
- """
46
+ cls.header_public_page = '<div class="navbar-brand">Intel Parser</div>'
53
47
 
54
48
  def test_render_hook_with_user_logged_in(self):
55
49
  """
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: aa-intel-tool
3
- Version: 2.6.3
3
+ Version: 2.7.0
4
4
  Summary: A simple parser for D-Scans and more for Alliance Auth
5
5
  Project-URL: Changelog, https://github.com/ppfeufer/aa-intel-tool/blob/master/CHANGELOG.md
6
6
  Project-URL: Documentation, https://github.com/ppfeufer/aa-intel-tool/blob/master/README.md
@@ -1,4 +1,4 @@
1
- aa_intel_tool/__init__.py,sha256=5Thy5KKfPrcSXLexPxjEWNmGIuk63BuKDTbJL8Fws7o,135
1
+ aa_intel_tool/__init__.py,sha256=3gupCtj7jGH4diQqZppVHGId3j0dzexmusuFxpvkkUU,135
2
2
  aa_intel_tool/admin.py,sha256=ZSsxpL4LmV0nxQRww6BwY5BPLM23JxpnCPwMQbACv78,2441
3
3
  aa_intel_tool/app_settings.py,sha256=oDhUQii5p_DqWnBRXg26Q3rZwSmElMlzkhtr5WqiRK8,2531
4
4
  aa_intel_tool/apps.py,sha256=rfCtJ2bFQB4sDdl-zYo_i034oq-fF1Ad3NAU55NoBQk,452
@@ -11,34 +11,33 @@ aa_intel_tool/tasks.py,sha256=lkW1kDJzU8iOINp_tKEL5rG9DM5icvEkyYQUhGrW_hU,1088
11
11
  aa_intel_tool/urls.py,sha256=cncBfnPbJErN9w0qM83ZmtlnMJEolDHLQllU8bvxUa0,720
12
12
  aa_intel_tool/helper/data_structure.py,sha256=ajH_hDWR5TV22gF0AMIZsu1PcY73OzPdOHx1d_D0GsM,302
13
13
  aa_intel_tool/helper/eve_character.py,sha256=dJ-7D-qhibX9fNJ6pQO1qDerYrWJPstGh2V1UiEgTIQ,4859
14
- aa_intel_tool/helper/static_files.py,sha256=QgM9Y-wyR8Ansq5alZRIeWNr3-DjAq_yEz50Dc0D1ZA,1070
15
- aa_intel_tool/locale/django.pot,sha256=VCANZ44gNkRMJMQ-v-1_YtH-yDxbrHUotUd4g6rjjgU,13199
14
+ aa_intel_tool/locale/django.pot,sha256=SgzX-I_Gj8DoxlB-KV1q391NQFeOyRZTYGwMwn1LgIY,13139
16
15
  aa_intel_tool/locale/cs_CZ/LC_MESSAGES/django.mo,sha256=CHgMtrHlb-VEo5fUh2G3IrCNxoIScE-LzX6xjz1YkRc,864
17
- aa_intel_tool/locale/cs_CZ/LC_MESSAGES/django.po,sha256=ML894Drf7Be97Bzg4QqTFddMurJN3WtadKLY6LiFPts,13560
16
+ aa_intel_tool/locale/cs_CZ/LC_MESSAGES/django.po,sha256=BsUaFEYxfNNuZuRZUAwRzRVWkk2_CdW4ON7ElZYZZYo,13500
18
17
  aa_intel_tool/locale/de/LC_MESSAGES/django.mo,sha256=e8PF0Qu91Fv2uM3y6nkgsFWmOS0z0eJO-lT5_h9fFAM,7729
19
- aa_intel_tool/locale/de/LC_MESSAGES/django.po,sha256=8qe0IrvTEhW4TdSs4UIkbXTfVAIAT6UB7I5otqZ6thY,17303
18
+ aa_intel_tool/locale/de/LC_MESSAGES/django.po,sha256=TO7K1bIfz7F4O2ezppgJWuOwrsZ0aW91oxSzJWGqJ68,17243
20
19
  aa_intel_tool/locale/es/LC_MESSAGES/django.mo,sha256=9vAXi9Jp1IkMbmCJLC-sboBSLAqCOuF-4ZAPUmeLKBI,2041
21
- aa_intel_tool/locale/es/LC_MESSAGES/django.po,sha256=wA1q172QVbrOdOXFO3mZeGiGwC3vEw2kqrGt7IuAtfI,14365
20
+ aa_intel_tool/locale/es/LC_MESSAGES/django.po,sha256=Z5di1_HGAYkWwCwVlAADWC5S324lnFhvKnjCgboH6u4,14305
22
21
  aa_intel_tool/locale/fr_FR/LC_MESSAGES/django.mo,sha256=rTwIqSaNYKhOl2fiM-vLkVlGNtATGJS-nHwZ523I_0o,6620
23
- aa_intel_tool/locale/fr_FR/LC_MESSAGES/django.po,sha256=ilkl_MtL2Q7hStuTYqef9eJcIlvCLjPccmX9IUgiPC4,17608
22
+ aa_intel_tool/locale/fr_FR/LC_MESSAGES/django.po,sha256=5VOczU7vxAipDcEQAZ7Ka6uhAbOUSRA58IfRMb49fog,17548
24
23
  aa_intel_tool/locale/it_IT/LC_MESSAGES/django.mo,sha256=dqJTO-ELuQ2KgN37kNG65LG7jjb4IhNkU2Tq1C4vswg,483
25
- aa_intel_tool/locale/it_IT/LC_MESSAGES/django.po,sha256=Tfev67EmcmdsabExncJiHEWiC5KeXe0MRRewTQ1wjYg,13249
24
+ aa_intel_tool/locale/it_IT/LC_MESSAGES/django.po,sha256=TjZetNDkwGjUaY0lx2vv7ZOrMe3jVoW6J_fW3psAa7k,13189
26
25
  aa_intel_tool/locale/ja/LC_MESSAGES/django.mo,sha256=QLIDRjta7RnIlXK5syiiuByJvHt3VDAW8ulGuV3oUmA,1183
27
- aa_intel_tool/locale/ja/LC_MESSAGES/django.po,sha256=S3ktUX5bkq9pOAVpbY5h4GK-h7Pi8xxjc8yEkYX-lTY,13522
26
+ aa_intel_tool/locale/ja/LC_MESSAGES/django.po,sha256=OhHO1kgIgO6NU5Gt5dbKjdZoX7Krajpx1v_jBy8jplI,13462
28
27
  aa_intel_tool/locale/ko_KR/LC_MESSAGES/django.mo,sha256=2aMqsSR_qUV9PzMoBBrcfyQxyg3fLte-9zinJftQ4BQ,7525
29
- aa_intel_tool/locale/ko_KR/LC_MESSAGES/django.po,sha256=MgWmgKkFWpGL7ANfoofDdNvRIIE603tAVv8ySKdZnNc,17687
28
+ aa_intel_tool/locale/ko_KR/LC_MESSAGES/django.po,sha256=IGXI0RFGvqodsY6c2qckF1WEVdpyB2WC3N2cy4bGjJ4,17627
30
29
  aa_intel_tool/locale/nl_NL/LC_MESSAGES/django.mo,sha256=K0pyH0sermqDXN9hnCQUDHcst_CewisXZp_Q0_3y-k4,479
31
- aa_intel_tool/locale/nl_NL/LC_MESSAGES/django.po,sha256=fHZs-BlEHLwlbsrm8jjzy7l6B2Ona3mIuW37cL4Fag4,13247
30
+ aa_intel_tool/locale/nl_NL/LC_MESSAGES/django.po,sha256=_dW_DtD7UWo7VgBGFBSEGbzGijwoqeWDQLUKSxQhcXo,13187
32
31
  aa_intel_tool/locale/pl_PL/LC_MESSAGES/django.mo,sha256=pviaTemIpmyQrIz-vEadYrZgOgntLAb5QtEkupkf35k,926
33
- aa_intel_tool/locale/pl_PL/LC_MESSAGES/django.po,sha256=JfPYQEXLPLINIGIx7xHFLpxbCMNdffItWPC6ooKV9BY,13509
32
+ aa_intel_tool/locale/pl_PL/LC_MESSAGES/django.po,sha256=pfyn88jg0e8D6yV5I1LyMDDo5IbeDxsBQFjyfU1XGQQ,13449
34
33
  aa_intel_tool/locale/ru/LC_MESSAGES/django.mo,sha256=cCSOc2yqFfkri0YWXGCNfUGqaneRqzPcP-bZtWxXm9c,10447
35
- aa_intel_tool/locale/ru/LC_MESSAGES/django.po,sha256=V2noJKgJ0NLn0JV2MfP-9HyLo_unjjJUBOF2WjlvF0c,20512
34
+ aa_intel_tool/locale/ru/LC_MESSAGES/django.po,sha256=n_EAccq_5dDGAuIC_v1DyjTIz17W603E-8ibXb39L4A,20452
36
35
  aa_intel_tool/locale/sk/LC_MESSAGES/django.mo,sha256=ag8xFgumlPADbLURJ5FQ4EARs6lIPpB4ulbuizC8J0I,558
37
- aa_intel_tool/locale/sk/LC_MESSAGES/django.po,sha256=FdTURgmv4jvr2x0HCioq23vmlCFoRrzc-uJuP70bgYk,13400
38
- aa_intel_tool/locale/uk/LC_MESSAGES/django.mo,sha256=wqf9vgCMQhN9gAvJQmPSJy7YrjMueQrFZC4Stg5NpIE,10082
39
- aa_intel_tool/locale/uk/LC_MESSAGES/django.po,sha256=YeIU5h8FCSIBeUZL043a-tZfLJcTBSKQpW19p6F3WcQ,19820
36
+ aa_intel_tool/locale/sk/LC_MESSAGES/django.po,sha256=TVUyAqOAJrXEaB4S-eeDl0PjKZI4iL26PMpIl6Ow8VI,13340
37
+ aa_intel_tool/locale/uk/LC_MESSAGES/django.mo,sha256=eLLVqCtpUFvs8iVDc_aqnHs6yTN5B5wP5-AxB0uzFpQ,10044
38
+ aa_intel_tool/locale/uk/LC_MESSAGES/django.po,sha256=ccuGOKT9CLgQBjanGNnooZGyFtIcIzKOuF3eF6VhCQo,19654
40
39
  aa_intel_tool/locale/zh_Hans/LC_MESSAGES/django.mo,sha256=H8cexShbockghFW27eCu9W5npytYa0k36woJeQ8wiGc,2444
41
- aa_intel_tool/locale/zh_Hans/LC_MESSAGES/django.po,sha256=Gk3rSqFlNsIhqPO8LYMl7IgkdE6kAkAVdAJSZWD-uJw,14095
40
+ aa_intel_tool/locale/zh_Hans/LC_MESSAGES/django.po,sha256=bRPhUt0FJfGnX3e_VGakbOJTVF76PXG6ZdP3kj3H26E,14035
42
41
  aa_intel_tool/management/commands/aa_intel_tool_load_eve_types.py,sha256=rojHdwLg57a3darJif8uFwGxxiBQeFIOGRdr6qI0c5g,1796
43
42
  aa_intel_tool/migrations/0001_initial.py,sha256=nwtThaFJ7wrOZld0MzQ-MLpHB9xG-SJOZPl8FbM8dFE,4339
44
43
  aa_intel_tool/migrations/0002_alter_scan_raw_data.py,sha256=LDXPIxhCJ3QToQqmdyZubNEgiuGPsZZTBGKTOyApULw,405
@@ -78,15 +77,15 @@ aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool.js,sha256=pTWjL2naLg
78
77
  aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool.min.js,sha256=_8B8T_Ec-tFmcdXaiPOSIgFl183ohz1u9SN9s9213AA,813
79
78
  aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool.min.js.map,sha256=6s-ynI-maKOt08BZjqb3r-a1xRPD7E36ECJ8Kpb4NHs,1062
80
79
  aa_intel_tool/templates/aa_intel_tool/base.html,sha256=Egzwy0TQha4fnakS7D9IJvweErinmvp2SlWLtN9Eak4,2289
81
- aa_intel_tool/templates/aa_intel_tool/bundles/aa-intel-tool-chatscan-highlight-js.html,sha256=JngEbZl9VTTz_O3l-EfTV--ZrVNXtlUBekVdhfohk4Y,106
82
- aa_intel_tool/templates/aa_intel_tool/bundles/aa-intel-tool-chatscan-js.html,sha256=xBxaOlHOmefupGsUOR_hHLI77W_vpDYwRto8DlixCVU,310
83
- aa_intel_tool/templates/aa_intel_tool/bundles/aa-intel-tool-css.html,sha256=zQshuYs8YZK5DP7jCzOVVzS6ZnWRmRQAv7WV3kxj7ag,81
84
- aa_intel_tool/templates/aa_intel_tool/bundles/aa-intel-tool-dscan-highlight-js.html,sha256=Fz2mGQFX0U-IYl4qsRAeat79siukEqKqj3W7l3OrFLI,103
85
- aa_intel_tool/templates/aa_intel_tool/bundles/aa-intel-tool-dscan-js.html,sha256=nd6Yf9l_xqhX3QEaPURKdul0ebtxBJIR95kvJ3_FFNs,249
86
- aa_intel_tool/templates/aa_intel_tool/bundles/aa-intel-tool-fleetcomp-js.html,sha256=MF28NdXsEA-5qFAHyEr5abODRfUsnlfQofCQOyMSZoc,559
87
- aa_intel_tool/templates/aa_intel_tool/bundles/aa-intel-tool-fleetcomposition-highlight-js.html,sha256=E_GHNcpKE_PhZ0VyePbIr_Vu7HqnUWjKsPwKn3J9FJI,114
88
- aa_intel_tool/templates/aa_intel_tool/bundles/aa-intel-tool-js.html,sha256=mNIDCO9aOCY3OmO79itoKk5wIu8TpyBXKMJoTm1H9eY,87
89
- aa_intel_tool/templates/aa_intel_tool/bundles/aa-intel-tool-scan-result-common-js.html,sha256=P0iyNeVP-DtKJbcpQA_ZqvYm1H0V2HdjNG7lDdtxrUI,106
80
+ aa_intel_tool/templates/aa_intel_tool/bundles/aa-intel-tool-chatscan-highlight-js.html,sha256=FymtpCad7ZM1WhcS1aaH0We77e-Ehm1W2nglER9QU8M,100
81
+ aa_intel_tool/templates/aa_intel_tool/bundles/aa-intel-tool-chatscan-js.html,sha256=Vv0KQQYf-mvLibRutFv7tx5weHds25vRCLzIMh4mIIs,304
82
+ aa_intel_tool/templates/aa_intel_tool/bundles/aa-intel-tool-css.html,sha256=Z5nNHC8E3Vwtq7vxLWnK1kSpXql05jJ5uksZ07iBGXU,75
83
+ aa_intel_tool/templates/aa_intel_tool/bundles/aa-intel-tool-dscan-highlight-js.html,sha256=nI2DZybWN9X_I_lDh5258S9K2ttzSIwGCO9QInYO9fg,97
84
+ aa_intel_tool/templates/aa_intel_tool/bundles/aa-intel-tool-dscan-js.html,sha256=DLCqnEEk446xcfaB-CKiaGVzQWdeowzcMGLDoPxLox8,243
85
+ aa_intel_tool/templates/aa_intel_tool/bundles/aa-intel-tool-fleetcomp-js.html,sha256=Ga30ClivqbCDfNA9ONoQPnx1eilNFSBkmNwvujbgBFI,553
86
+ aa_intel_tool/templates/aa_intel_tool/bundles/aa-intel-tool-fleetcomposition-highlight-js.html,sha256=tUmbWJXag90WJ_odqadDghyj8ALLhYMVYQGtaiKluhQ,108
87
+ aa_intel_tool/templates/aa_intel_tool/bundles/aa-intel-tool-js.html,sha256=vfdjUg4STErVLnhk3Sp1sODAep9hfLTblUV2RxQ-6EY,81
88
+ aa_intel_tool/templates/aa_intel_tool/bundles/aa-intel-tool-scan-result-common-js.html,sha256=HcXZDDTKFs7mQ0eSBY58ZkOk3pkQ-gNhIkNPwnvtGjA,100
90
89
  aa_intel_tool/templates/aa_intel_tool/partials/body/scan-retention-note.html,sha256=rf1A4UuYoGWaWlB_tqNgCuxihmjC8f9vOhAVvDkfoa8,386
91
90
  aa_intel_tool/templates/aa_intel_tool/partials/footer/app-translation-footer.html,sha256=nDZPOnsQLBN9meAhxnhd0ynUQIVi3YPzhi47n89zcIg,422
92
91
  aa_intel_tool/templates/aa_intel_tool/partials/index/form.html,sha256=EBt4fejLwk5xN9qm9BA3T6cWYtmcDeXnrGFD9rWT3X4,3114
@@ -104,24 +103,21 @@ aa_intel_tool/templates/aa_intel_tool/partials/scan/dscan/ships-breakdown/ship-t
104
103
  aa_intel_tool/templates/aa_intel_tool/partials/scan/fleetcomp/fleet-details.html,sha256=7o0IxbAoOfNA_IsqsiStjNBE6veq0TYL82Jt3eOVc80,1044
105
104
  aa_intel_tool/templates/aa_intel_tool/partials/scan/fleetcomp/participation.html,sha256=pZVAwOhp6e74lZtk4357YIbiiW2lqzvAZDZwlAjQu-A,678
106
105
  aa_intel_tool/templates/aa_intel_tool/partials/scan/fleetcomp/fleet-details/pilots.html,sha256=6vAGVjfMTckWnT_GztyUrsoI8gt28Ol52QD2kQHTd3Y,1653
107
- aa_intel_tool/templates/aa_intel_tool/views/index.html,sha256=E9uKNF5GC8iI08kS7mBjVmu4y8IrHjZspK1VtZ_dO5A,736
106
+ aa_intel_tool/templates/aa_intel_tool/views/index.html,sha256=VoeKZahgcXHD3kXDLkymbZnNHOHE4mcUQHVf1UrJjf8,485
108
107
  aa_intel_tool/templates/aa_intel_tool/views/scan/chatlist.html,sha256=t-YpvHlzM3Efok8d8ZNEgvwwxx1i_mnNy3zPY888KXE,1700
109
108
  aa_intel_tool/templates/aa_intel_tool/views/scan/dscan.html,sha256=G4vASN4GbWPuwAgMA9AX2LeNDfwrPGDuHRN9uZcVHo0,2177
110
109
  aa_intel_tool/templates/aa_intel_tool/views/scan/fleetcomp.html,sha256=cnQ4-XJJEonIJ-s-LnV_Ah-ug0opqDi38mm-801KZc8,2010
111
- aa_intel_tool/templatetags/__init__.py,sha256=sP2D1ovt2gGAPLcGQkByRgXYhvUJ6C52mZMlLIALQ8s,37
112
- aa_intel_tool/templatetags/aa_intel_tool.py,sha256=KRSpyEiP2-lJtp6Y5fHDDL-QSbew2kjvHSPxbm4kaoo,2747
113
110
  aa_intel_tool/tests/__init__.py,sha256=NLuMBNDHYOXDmPgpyG-g_kDaATVQWv1iC-dJ8BA1kZc,29
114
- aa_intel_tool/tests/test_access.py,sha256=_T1-SskmhrkC141lU_LvmUigeG3mPpYTabA9Q03rLIo,2747
111
+ aa_intel_tool/tests/test_access.py,sha256=YqfyrsG0Y_AOf-yGg1HrgOZSnpf4h5TWQSt4qo36kHw,2599
115
112
  aa_intel_tool/tests/test_admin.py,sha256=p4o-1M9AUn9mnBgMO9FweiTk_yPipx3mfGTI6DP3bjw,2485
116
113
  aa_intel_tool/tests/test_app_settings.py,sha256=GaGxZmIsTB790JdzLCapLPXjRGQCYrOp8jrIsNReahw,3235
117
- aa_intel_tool/tests/test_auth_hooks.py,sha256=Xikx6HYWgSarLiHVxnQmRpFBQNt-xfYgb53CjGvvJcY,2451
114
+ aa_intel_tool/tests/test_auth_hooks.py,sha256=6WkKpSC5P1gXDn-86fLVWL8kE27g7hW866DmPhIlwu4,2303
118
115
  aa_intel_tool/tests/test_helper_data_structures.py,sha256=1zRuh54-6YtDt7M1w7JpBRHlvS2rgBdnzvWLXV9Kl3s,765
119
116
  aa_intel_tool/tests/test_helper_eve_character.py,sha256=Vsy6jEI4yJ2h5rxBFdk64MJc5QZioCdTUhMv1o-TOkk,12330
120
117
  aa_intel_tool/tests/test_models.py,sha256=QPmzint8djEFj6PfEM3AfuT1cqIrDehCUsorAqNoCy0,5804
121
118
  aa_intel_tool/tests/test_parser_general.py,sha256=RL6fmuhZsudHZ9Zvrq5IThoovFrtfgsXPu8eQwkuTsM,25013
122
119
  aa_intel_tool/tests/test_parser_helper_db.py,sha256=f8qqPKUxG39X77iEICh_P1UmXDbHPnJc_tXe3FuxGYs,1642
123
120
  aa_intel_tool/tests/test_parser_module_chatlist.py,sha256=QTpoWUddqh4Mus-Yezh7Y8wu9gfHjcxulFbRNP1dRpo,4583
124
- aa_intel_tool/tests/test_templatetags.py,sha256=NdFCLy4KDoE-_WheZ0a36LGdzVvkPXCXZe-zP_i-j5k,3306
125
121
  aa_intel_tool/tests/utils.py,sha256=rRKeEZ2GkuoFJb7WoTgOOaXhlNwyb0xH3-5WRbWITBs,1435
126
122
  aa_intel_tool/tests/test-data/chatscan-faulty.txt,sha256=E1kv5BaZGagLP9VTaac8sVt0PMUMNpyMMqkx3dCZ8cg,40
127
123
  aa_intel_tool/tests/test-data/chatscan.txt,sha256=QkZER0l6-iw7uwTiDIpp2PUQ4NecaHWX83rZSrLp_LI,40
@@ -132,7 +128,7 @@ aa_intel_tool/tests/test-data/fleetcomp.txt,sha256=BYqCJznI3e6jlHTQwmr08wZr2D_an
132
128
  aa_intel_tool/views/__init__.py,sha256=zf5e30BdJ772oDJkQnBfFIi5a7-HEJByUIkv0iz3Kr8,29
133
129
  aa_intel_tool/views/ajax.py,sha256=7xBsd0Eg6enDl7JeI9vNJXaF66lWjhStLfYdJGAobvM,911
134
130
  aa_intel_tool/views/general.py,sha256=c2xD--Kkc9IfJg2x7VALPMhvwbssIY0qsbdFqfJEh-s,4040
135
- aa_intel_tool-2.6.3.dist-info/METADATA,sha256=B8Tg9m8YrqG3FIbX1FMLkZDcCy268dBIXBE-VcCHVys,55082
136
- aa_intel_tool-2.6.3.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
137
- aa_intel_tool-2.6.3.dist-info/licenses/LICENSE,sha256=UTib95uJWe2NQIG3TzU8-Hm-eaEZFqv9fqsjNT_xKWU,35151
138
- aa_intel_tool-2.6.3.dist-info/RECORD,,
131
+ aa_intel_tool-2.7.0.dist-info/METADATA,sha256=uXa14slhPXAgjvxs21n7O7mAi_Gff_vuixtgaUv_4dE,55082
132
+ aa_intel_tool-2.7.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
133
+ aa_intel_tool-2.7.0.dist-info/licenses/LICENSE,sha256=UTib95uJWe2NQIG3TzU8-Hm-eaEZFqv9fqsjNT_xKWU,35151
134
+ aa_intel_tool-2.7.0.dist-info/RECORD,,
@@ -1,42 +0,0 @@
1
- """
2
- Helper functions for static integrity calculations
3
- """
4
-
5
- # Standard Library
6
- import os
7
- from pathlib import Path
8
-
9
- # Third Party
10
- from sri import Algorithm, calculate_integrity
11
-
12
- # Alliance Auth
13
- from allianceauth.services.hooks import get_extension_logger
14
-
15
- # Alliance Auth (External Libs)
16
- from app_utils.logging import LoggerAddTag
17
-
18
- # AA Intel Tool
19
- from aa_intel_tool import __title__
20
- from aa_intel_tool.constants import APP_STATIC_DIR
21
-
22
- logger = LoggerAddTag(my_logger=get_extension_logger(__name__), prefix=__title__)
23
-
24
-
25
- def calculate_integrity_hash(relative_file_path: str) -> str:
26
- """
27
- Calculates the integrity hash for a given static file
28
-
29
- :param self:
30
- :type self:
31
- :param relative_file_path: The file path relative to the `{APP_NAME}/{PACKAGE_NAME}/static/{PACKAGE_NAME}` folder
32
- :type relative_file_path: str
33
- :return: The integrity hash
34
- :rtype: str
35
- """
36
-
37
- integrity_hash = calculate_integrity(
38
- path=Path(os.path.join(APP_STATIC_DIR, relative_file_path)),
39
- algorithm=Algorithm.SHA512,
40
- )
41
-
42
- return integrity_hash
@@ -1,3 +0,0 @@
1
- """
2
- Initialize the template tags
3
- """
@@ -1,88 +0,0 @@
1
- """
2
- Versioned static URLs to break browser caches when changing the app version
3
- """
4
-
5
- # Standard Library
6
- import os
7
-
8
- # Django
9
- from django.template.defaulttags import register
10
- from django.templatetags.static import static
11
- from django.utils.safestring import mark_safe
12
-
13
- # Alliance Auth
14
- from allianceauth.services.hooks import get_extension_logger
15
-
16
- # Alliance Auth (External Libs)
17
- from app_utils.logging import LoggerAddTag
18
-
19
- # AA Intel Tool
20
- from aa_intel_tool import __title__, __version__
21
- from aa_intel_tool.app_settings import debug_enabled
22
- from aa_intel_tool.constants import PACKAGE_NAME
23
- from aa_intel_tool.helper.static_files import calculate_integrity_hash
24
-
25
- logger = LoggerAddTag(my_logger=get_extension_logger(__name__), prefix=__title__)
26
-
27
-
28
- @register.simple_tag
29
- def aa_intel_tool_static(
30
- relative_file_path: str, script_type: str = None
31
- ) -> str | None:
32
- """
33
- Versioned static URL
34
-
35
- :param relative_file_path: The file path relative to the `{APP_NAME}/{PACKAGE_NAME}/static/{PACKAGE_NAME}` folder
36
- :type relative_file_path: str
37
- :param script_type: The script type
38
- :type script_type: str
39
- :return: Versioned static URL
40
- :rtype: str
41
- """
42
-
43
- logger.debug(f"Getting versioned static URL for: {relative_file_path}")
44
-
45
- file_type = os.path.splitext(relative_file_path)[1][1:]
46
-
47
- logger.debug(f"File extension: {file_type}")
48
-
49
- # Only support CSS and JS files
50
- if file_type not in ["css", "js"]:
51
- raise ValueError(f"Unsupported file type: {file_type}")
52
-
53
- static_file_path = os.path.join(PACKAGE_NAME, relative_file_path)
54
- static_url = static(static_file_path)
55
-
56
- # Integrity hash calculation only for non-debug mode
57
- sri_string = (
58
- f' integrity="{calculate_integrity_hash(relative_file_path)}" crossorigin="anonymous"'
59
- if not debug_enabled()
60
- else ""
61
- )
62
-
63
- # Versioned URL for CSS and JS files
64
- # Add version query parameter to break browser caches when changing the app version
65
- # Do not add version query parameter for libs as they are already versioned through their file path
66
- versioned_url = (
67
- static_url
68
- if relative_file_path.startswith("libs/")
69
- else static_url + "?v=" + __version__
70
- )
71
-
72
- return_value = None
73
-
74
- # Return the versioned URL with integrity hash for CSS
75
- if file_type == "css":
76
- return_value = mark_safe(
77
- f'<link rel="stylesheet" href="{versioned_url}"{sri_string}>'
78
- )
79
-
80
- # Return the versioned URL with integrity hash for JS files
81
- if file_type == "js":
82
- js_type = f' type="{script_type}"' if script_type else ""
83
-
84
- return_value = mark_safe(
85
- f'<script{js_type} src="{versioned_url}"{sri_string}></script>'
86
- )
87
-
88
- return return_value
@@ -1,103 +0,0 @@
1
- """
2
- Tests for the template tags
3
- """
4
-
5
- # Django
6
- from django.template import Context, Template
7
- from django.test import TestCase, override_settings
8
-
9
- # AA Intel Tool
10
- from aa_intel_tool import __version__
11
- from aa_intel_tool.constants import PACKAGE_NAME
12
- from aa_intel_tool.helper.static_files import calculate_integrity_hash
13
-
14
-
15
- class TestVersionedStatic(TestCase):
16
- """
17
- Tests for aa_intel_tool template tag
18
- """
19
-
20
- @override_settings(DEBUG=False)
21
- def test_versioned_static(self):
22
- """
23
- Test should return static URL string with a version
24
- :return:
25
- """
26
-
27
- context = Context(dict_={"version": __version__})
28
-
29
- template_to_render = Template(
30
- template_string=(
31
- "{% load aa_intel_tool %}"
32
- "{% aa_intel_tool_static 'css/aa-intel-tool.min.css' %}"
33
- "{% aa_intel_tool_static 'javascript/aa-intel-tool.min.js' %}"
34
- )
35
- )
36
-
37
- rendered_template = template_to_render.render(context=context)
38
-
39
- expected_static_css_src = (
40
- f'/static/{PACKAGE_NAME}/css/aa-intel-tool.min.css?v={context["version"]}'
41
- )
42
- expected_static_css_src_integrity = calculate_integrity_hash(
43
- "css/aa-intel-tool.min.css"
44
- )
45
- expected_static_js_src = f'/static/{PACKAGE_NAME}/javascript/aa-intel-tool.min.js?v={context["version"]}'
46
- expected_static_js_src_integrity = calculate_integrity_hash(
47
- "javascript/aa-intel-tool.min.js"
48
- )
49
-
50
- self.assertIn(member=expected_static_css_src, container=rendered_template)
51
- self.assertIn(
52
- member=expected_static_css_src_integrity, container=rendered_template
53
- )
54
- self.assertIn(member=expected_static_js_src, container=rendered_template)
55
- self.assertIn(
56
- member=expected_static_js_src_integrity, container=rendered_template
57
- )
58
-
59
- @override_settings(DEBUG=True)
60
- def test_versioned_static_with_debug_enabled(self) -> None:
61
- """
62
- Test versioned static template tag with DEBUG enabled
63
-
64
- :return:
65
- :rtype:
66
- """
67
-
68
- context = Context({"version": __version__})
69
- template_to_render = Template(
70
- template_string=(
71
- "{% load aa_intel_tool %}"
72
- "{% aa_intel_tool_static 'css/aa-intel-tool.min.css' %}"
73
- )
74
- )
75
-
76
- rendered_template = template_to_render.render(context=context)
77
-
78
- expected_static_css_src = (
79
- f'/static/{PACKAGE_NAME}/css/aa-intel-tool.min.css?v={context["version"]}'
80
- )
81
-
82
- self.assertIn(member=expected_static_css_src, container=rendered_template)
83
- self.assertNotIn(member="integrity=", container=rendered_template)
84
-
85
- @override_settings(DEBUG=False)
86
- def test_invalid_file_type(self) -> None:
87
- """
88
- Test should raise a ValueError for an invalid file type
89
-
90
- :return:
91
- :rtype:
92
- """
93
-
94
- context = Context({"version": __version__})
95
- template_to_render = Template(
96
- template_string=(
97
- "{% load aa_intel_tool %}"
98
- "{% aa_intel_tool_static 'invalid/invalid.txt' %}"
99
- )
100
- )
101
-
102
- with self.assertRaises(ValueError):
103
- template_to_render.render(context=context)