aa-intel-tool 2.6.3__tar.gz → 2.7.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.
Files changed (145) hide show
  1. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/PKG-INFO +1 -1
  2. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/__init__.py +1 -1
  3. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/locale/cs_CZ/LC_MESSAGES/django.po +1 -2
  4. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/locale/de/LC_MESSAGES/django.po +1 -2
  5. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/locale/django.pot +2 -3
  6. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/locale/es/LC_MESSAGES/django.po +1 -2
  7. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/locale/fr_FR/LC_MESSAGES/django.po +1 -2
  8. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/locale/it_IT/LC_MESSAGES/django.po +1 -2
  9. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/locale/ja/LC_MESSAGES/django.po +1 -2
  10. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/locale/ko_KR/LC_MESSAGES/django.po +1 -2
  11. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/locale/nl_NL/LC_MESSAGES/django.po +1 -2
  12. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/locale/pl_PL/LC_MESSAGES/django.po +1 -2
  13. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/locale/ru/LC_MESSAGES/django.po +1 -2
  14. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/locale/sk/LC_MESSAGES/django.po +1 -2
  15. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/locale/uk/LC_MESSAGES/django.mo +0 -0
  16. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/locale/uk/LC_MESSAGES/django.po +7 -12
  17. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/locale/zh_Hans/LC_MESSAGES/django.po +1 -2
  18. aa_intel_tool-2.7.0/aa_intel_tool/templates/aa_intel_tool/bundles/aa-intel-tool-chatscan-highlight-js.html +3 -0
  19. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/templates/aa_intel_tool/bundles/aa-intel-tool-chatscan-js.html +2 -2
  20. aa_intel_tool-2.7.0/aa_intel_tool/templates/aa_intel_tool/bundles/aa-intel-tool-css.html +3 -0
  21. aa_intel_tool-2.7.0/aa_intel_tool/templates/aa_intel_tool/bundles/aa-intel-tool-dscan-highlight-js.html +3 -0
  22. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/templates/aa_intel_tool/bundles/aa-intel-tool-dscan-js.html +2 -2
  23. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/templates/aa_intel_tool/bundles/aa-intel-tool-fleetcomp-js.html +2 -2
  24. aa_intel_tool-2.7.0/aa_intel_tool/templates/aa_intel_tool/bundles/aa-intel-tool-fleetcomposition-highlight-js.html +3 -0
  25. aa_intel_tool-2.7.0/aa_intel_tool/templates/aa_intel_tool/bundles/aa-intel-tool-js.html +3 -0
  26. aa_intel_tool-2.7.0/aa_intel_tool/templates/aa_intel_tool/bundles/aa-intel-tool-scan-result-common-js.html +3 -0
  27. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/templates/aa_intel_tool/views/index.html +0 -7
  28. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/tests/test_access.py +1 -7
  29. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/tests/test_auth_hooks.py +1 -7
  30. aa_intel_tool-2.6.3/aa_intel_tool/helper/static_files.py +0 -42
  31. aa_intel_tool-2.6.3/aa_intel_tool/templates/aa_intel_tool/bundles/aa-intel-tool-chatscan-highlight-js.html +0 -3
  32. aa_intel_tool-2.6.3/aa_intel_tool/templates/aa_intel_tool/bundles/aa-intel-tool-css.html +0 -3
  33. aa_intel_tool-2.6.3/aa_intel_tool/templates/aa_intel_tool/bundles/aa-intel-tool-dscan-highlight-js.html +0 -3
  34. aa_intel_tool-2.6.3/aa_intel_tool/templates/aa_intel_tool/bundles/aa-intel-tool-fleetcomposition-highlight-js.html +0 -3
  35. aa_intel_tool-2.6.3/aa_intel_tool/templates/aa_intel_tool/bundles/aa-intel-tool-js.html +0 -3
  36. aa_intel_tool-2.6.3/aa_intel_tool/templates/aa_intel_tool/bundles/aa-intel-tool-scan-result-common-js.html +0 -3
  37. aa_intel_tool-2.6.3/aa_intel_tool/templatetags/__init__.py +0 -3
  38. aa_intel_tool-2.6.3/aa_intel_tool/templatetags/aa_intel_tool.py +0 -88
  39. aa_intel_tool-2.6.3/aa_intel_tool/tests/test_templatetags.py +0 -103
  40. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/.gitignore +0 -0
  41. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/LICENSE +0 -0
  42. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/README.md +0 -0
  43. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/admin.py +0 -0
  44. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/app_settings.py +0 -0
  45. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/apps.py +0 -0
  46. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/auth_hooks.py +0 -0
  47. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/constants.py +0 -0
  48. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/exceptions.py +0 -0
  49. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/form.py +0 -0
  50. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/helper/data_structure.py +0 -0
  51. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/helper/eve_character.py +0 -0
  52. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/locale/cs_CZ/LC_MESSAGES/django.mo +0 -0
  53. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/locale/de/LC_MESSAGES/django.mo +0 -0
  54. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/locale/es/LC_MESSAGES/django.mo +0 -0
  55. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/locale/fr_FR/LC_MESSAGES/django.mo +0 -0
  56. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/locale/it_IT/LC_MESSAGES/django.mo +0 -0
  57. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/locale/ja/LC_MESSAGES/django.mo +0 -0
  58. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/locale/ko_KR/LC_MESSAGES/django.mo +0 -0
  59. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/locale/nl_NL/LC_MESSAGES/django.mo +0 -0
  60. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/locale/pl_PL/LC_MESSAGES/django.mo +0 -0
  61. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/locale/ru/LC_MESSAGES/django.mo +0 -0
  62. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/locale/sk/LC_MESSAGES/django.mo +0 -0
  63. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/locale/zh_Hans/LC_MESSAGES/django.mo +0 -0
  64. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/management/commands/aa_intel_tool_load_eve_types.py +0 -0
  65. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/migrations/0001_initial.py +0 -0
  66. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/migrations/0002_alter_scan_raw_data.py +0 -0
  67. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/migrations/__init__.py +0 -0
  68. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/models.py +0 -0
  69. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/parser/__init__.py +0 -0
  70. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/parser/general.py +0 -0
  71. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/parser/helper/db.py +0 -0
  72. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/parser/module/chatlist.py +0 -0
  73. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/parser/module/dscan.py +0 -0
  74. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/parser/module/fleetcomp.py +0 -0
  75. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/scripts/drop_tables.sql +0 -0
  76. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/static/aa_intel_tool/css/aa-intel-tool.css +0 -0
  77. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/static/aa_intel_tool/css/aa-intel-tool.min.css +0 -0
  78. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/static/aa_intel_tool/css/aa-intel-tool.min.css.map +0 -0
  79. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-chatscan-highlight.js +0 -0
  80. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-chatscan-highlight.min.js +0 -0
  81. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-chatscan-highlight.min.js.map +0 -0
  82. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-chatscan.js +0 -0
  83. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-chatscan.min.js +0 -0
  84. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-chatscan.min.js.map +0 -0
  85. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-dscan-highlight.js +0 -0
  86. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-dscan-highlight.min.js +0 -0
  87. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-dscan-highlight.min.js.map +0 -0
  88. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-dscan.js +0 -0
  89. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-dscan.min.js +0 -0
  90. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-dscan.min.js.map +0 -0
  91. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-fleetcomposition-highlight.js +0 -0
  92. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-fleetcomposition-highlight.min.js +0 -0
  93. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-fleetcomposition-highlight.min.js.map +0 -0
  94. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-fleetcomposition.js +0 -0
  95. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-fleetcomposition.min.js +0 -0
  96. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-fleetcomposition.min.js.map +0 -0
  97. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-scan-result-common.js +0 -0
  98. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-scan-result-common.min.js +0 -0
  99. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-scan-result-common.min.js.map +0 -0
  100. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool.js +0 -0
  101. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool.min.js +0 -0
  102. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool.min.js.map +0 -0
  103. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/tasks.py +0 -0
  104. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/templates/aa_intel_tool/base.html +0 -0
  105. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/templates/aa_intel_tool/partials/body/scan-retention-note.html +0 -0
  106. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/templates/aa_intel_tool/partials/footer/app-translation-footer.html +0 -0
  107. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/templates/aa_intel_tool/partials/index/form.html +0 -0
  108. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/templates/aa_intel_tool/partials/scan/buttons.html +0 -0
  109. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/templates/aa_intel_tool/partials/scan/chatlist/alliances.html +0 -0
  110. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/templates/aa_intel_tool/partials/scan/chatlist/corporations.html +0 -0
  111. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/templates/aa_intel_tool/partials/scan/chatlist/pilots.html +0 -0
  112. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/templates/aa_intel_tool/partials/scan/dscan/interesting-on-grid/items.html +0 -0
  113. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/templates/aa_intel_tool/partials/scan/dscan/interesting-on-grid.html +0 -0
  114. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/templates/aa_intel_tool/partials/scan/dscan/ships-breakdown/ship-classes.html +0 -0
  115. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/templates/aa_intel_tool/partials/scan/dscan/ships-breakdown/ship-types.html +0 -0
  116. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/templates/aa_intel_tool/partials/scan/dscan/ships-breakdown.html +0 -0
  117. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/templates/aa_intel_tool/partials/scan/dscan/system-information.html +0 -0
  118. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/templates/aa_intel_tool/partials/scan/evetime.html +0 -0
  119. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/templates/aa_intel_tool/partials/scan/fleetcomp/fleet-details/pilots.html +0 -0
  120. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/templates/aa_intel_tool/partials/scan/fleetcomp/fleet-details.html +0 -0
  121. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/templates/aa_intel_tool/partials/scan/fleetcomp/participation.html +0 -0
  122. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/templates/aa_intel_tool/views/scan/chatlist.html +0 -0
  123. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/templates/aa_intel_tool/views/scan/dscan.html +0 -0
  124. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/templates/aa_intel_tool/views/scan/fleetcomp.html +0 -0
  125. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/tests/__init__.py +0 -0
  126. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/tests/test-data/chatscan-faulty.txt +0 -0
  127. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/tests/test-data/chatscan.txt +0 -0
  128. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/tests/test-data/dscan-german-client.txt +0 -0
  129. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/tests/test-data/dscan-russian-client.txt +0 -0
  130. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/tests/test-data/dscan.txt +0 -0
  131. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/tests/test-data/fleetcomp.txt +0 -0
  132. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/tests/test_admin.py +0 -0
  133. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/tests/test_app_settings.py +0 -0
  134. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/tests/test_helper_data_structures.py +0 -0
  135. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/tests/test_helper_eve_character.py +0 -0
  136. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/tests/test_models.py +0 -0
  137. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/tests/test_parser_general.py +0 -0
  138. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/tests/test_parser_helper_db.py +0 -0
  139. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/tests/test_parser_module_chatlist.py +0 -0
  140. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/tests/utils.py +0 -0
  141. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/urls.py +0 -0
  142. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/views/__init__.py +0 -0
  143. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/views/ajax.py +0 -0
  144. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/aa_intel_tool/views/general.py +0 -0
  145. {aa_intel_tool-2.6.3 → aa_intel_tool-2.7.0}/pyproject.toml +0 -0
@@ -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
@@ -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
@@ -0,0 +1,3 @@
1
+ {% load sri %}
2
+
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" %}
@@ -0,0 +1,3 @@
1
+ {% load sri %}
2
+
3
+ {% sri_static "aa_intel_tool/css/aa-intel-tool.min.css" %}
@@ -0,0 +1,3 @@
1
+ {% load sri %}
2
+
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 %}
@@ -0,0 +1,3 @@
1
+ {% load sri %}
2
+
3
+ {% sri_static "aa_intel_tool/javascript/aa-intel-tool-fleetcomposition-highlight.min.js" %}
@@ -0,0 +1,3 @@
1
+ {% load sri %}
2
+
3
+ {% sri_static "aa_intel_tool/javascript/aa-intel-tool.min.js" %}
@@ -0,0 +1,3 @@
1
+ {% load sri %}
2
+
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,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
- {% load aa_intel_tool %}
2
-
3
- {% aa_intel_tool_static "javascript/aa-intel-tool-chatscan-highlight.min.js" %}
@@ -1,3 +0,0 @@
1
- {% load aa_intel_tool %}
2
-
3
- {% aa_intel_tool_static "css/aa-intel-tool.min.css" %}
@@ -1,3 +0,0 @@
1
- {% load aa_intel_tool %}
2
-
3
- {% aa_intel_tool_static "javascript/aa-intel-tool-dscan-highlight.min.js" %}
@@ -1,3 +0,0 @@
1
- {% load aa_intel_tool %}
2
-
3
- {% aa_intel_tool_static "javascript/aa-intel-tool-fleetcomposition-highlight.min.js" %}
@@ -1,3 +0,0 @@
1
- {% load aa_intel_tool %}
2
-
3
- {% aa_intel_tool_static "javascript/aa-intel-tool.min.js" %}
@@ -1,3 +0,0 @@
1
- {% load aa_intel_tool %}
2
-
3
- {% aa_intel_tool_static "javascript/aa-intel-tool-scan-result-common.min.js" %}
@@ -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)
File without changes
File without changes
File without changes