aa-fleetfinder 2.3.1__py3-none-any.whl → 2.3.3__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.

Files changed (31) hide show
  1. {aa_fleetfinder-2.3.1.dist-info → aa_fleetfinder-2.3.3.dist-info}/METADATA +12 -13
  2. {aa_fleetfinder-2.3.1.dist-info → aa_fleetfinder-2.3.3.dist-info}/RECORD +30 -27
  3. fleetfinder/__init__.py +1 -1
  4. fleetfinder/app_settings.py +20 -0
  5. fleetfinder/constants.py +7 -6
  6. fleetfinder/helper/static_files.py +7 -4
  7. fleetfinder/locale/cs_CZ/LC_MESSAGES/django.po +7 -11
  8. fleetfinder/locale/de/LC_MESSAGES/django.po +10 -11
  9. fleetfinder/locale/django.pot +8 -12
  10. fleetfinder/locale/es/LC_MESSAGES/django.po +10 -11
  11. fleetfinder/locale/fr_FR/LC_MESSAGES/django.po +7 -11
  12. fleetfinder/locale/it_IT/LC_MESSAGES/django.po +7 -11
  13. fleetfinder/locale/ja/LC_MESSAGES/django.po +7 -11
  14. fleetfinder/locale/ko_KR/LC_MESSAGES/django.po +10 -11
  15. fleetfinder/locale/nl_NL/LC_MESSAGES/django.po +7 -11
  16. fleetfinder/locale/pl_PL/LC_MESSAGES/django.po +10 -11
  17. fleetfinder/locale/ru/LC_MESSAGES/django.po +10 -11
  18. fleetfinder/locale/sk/LC_MESSAGES/django.po +7 -11
  19. fleetfinder/locale/uk/LC_MESSAGES/django.mo +0 -0
  20. fleetfinder/locale/uk/LC_MESSAGES/django.po +39 -57
  21. fleetfinder/locale/zh_Hans/LC_MESSAGES/django.po +10 -11
  22. fleetfinder/templates/fleetfinder/base.html +9 -4
  23. fleetfinder/templates/fleetfinder/partials/header/header-nav-left.html +9 -0
  24. fleetfinder/templates/fleetfinder/partials/header/header-nav-right.html +18 -0
  25. fleetfinder/templatetags/fleetfinder.py +39 -11
  26. fleetfinder/tests/test_settings.py +37 -0
  27. fleetfinder/tests/test_templatetags.py +116 -7
  28. fleetfinder/views.py +0 -14
  29. fleetfinder/templates/fleetfinder/partials/header/header-navigation.html +0 -35
  30. {aa_fleetfinder-2.3.1.dist-info → aa_fleetfinder-2.3.3.dist-info}/WHEEL +0 -0
  31. {aa_fleetfinder-2.3.1.dist-info → aa_fleetfinder-2.3.3.dist-info}/licenses/LICENSE +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: aa-fleetfinder
3
- Version: 2.3.1
3
+ Version: 2.3.3
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
@@ -728,18 +728,17 @@ Control access to your fleets through Alliance Auth.
728
728
 
729
729
  ______________________________________________________________________
730
730
 
731
- <!-- mdformat-toc start --slug=github --maxlevel=6 --minlevel=1 -->
732
-
733
- - [AA Fleet Finder](#aa-fleet-finder)
734
- - [Installation](#installation)
735
- - [Step 1: Install the Package](#step-1-install-the-package)
736
- - [Step 2: Configure Alliance Auth](#step-2-configure-alliance-auth)
737
- - [Step 3: Add the Scheduled Task](#step-3-add-the-scheduled-task)
738
- - [Step 4: Finalizing the Installation](#step-4-finalizing-the-installation)
739
- - [Step 4: Setup Permissions](#step-4-setup-permissions)
740
- - [Changelog](#changelog)
741
- - [Translation Status](#translation-status)
742
- - [Contributing](#contributing)
731
+ <!-- mdformat-toc start --slug=github --maxlevel=6 --minlevel=2 -->
732
+
733
+ - [Installation](#installation)
734
+ - [Step 1: Install the Package](#step-1-install-the-package)
735
+ - [Step 2: Configure Alliance Auth](#step-2-configure-alliance-auth)
736
+ - [Step 3: Add the Scheduled Task](#step-3-add-the-scheduled-task)
737
+ - [Step 4: Finalizing the Installation](#step-4-finalizing-the-installation)
738
+ - [Step 4: Setup Permissions](#step-4-setup-permissions)
739
+ - [Changelog](#changelog)
740
+ - [Translation Status](#translation-status)
741
+ - [Contributing](#contributing)
743
742
 
744
743
  <!-- mdformat-toc end -->
745
744
 
@@ -1,41 +1,42 @@
1
- fleetfinder/__init__.py,sha256=z13g2CRg4nA7T8VXjRymjXwujGjg57VhuPL88oicaE4,197
1
+ fleetfinder/__init__.py,sha256=SHtJnahQ5hk70yDDtAfs9JD4_mQ34WE2FfP6LUt1zOE,197
2
+ fleetfinder/app_settings.py,sha256=XE5oZFg2Vhn5OYQFehoOwjgVgKAvXcyj5NGmrbr3bk8,261
2
3
  fleetfinder/apps.py,sha256=5t6R6HS_2cK3oCtTomvOM0dagt4sQkbnIWBhxT8dHrw,448
3
4
  fleetfinder/auth_hooks.py,sha256=_oHqIEfTFDB1lsVAOrEGCc6aLiLpRtjcPw7CdLNSdKw,1234
4
- fleetfinder/constants.py,sha256=HcZGcxE8P0-MFJDKVUFI_s9IDmXx9yA4sfZRe1pWpvU,513
5
+ fleetfinder/constants.py,sha256=apKYhl8Wu9pvifDXr4fU9wAb-1SpB7NhpBc_DJNPe5U,601
5
6
  fleetfinder/models.py,sha256=MEqsa-gRzFlCoU5awPwlLUzJ_2A2sNo9cPtfT-hVCNU,2805
6
7
  fleetfinder/providers.py,sha256=R6cy9MAxPw8AcZuIQwpQ1Knv13ItWCBCAspnJ_G30_U,205
7
8
  fleetfinder/tasks.py,sha256=pqDMPHFMXej4dPrf8fxucuYKtj9JPlActiNPIc4eAAQ,10969
8
9
  fleetfinder/urls.py,sha256=oL6zOnvQaGXFp-mOhsL9C_jU16YSPMAXUBM8s2_m4_U,1128
9
- fleetfinder/views.py,sha256=bnkfdHiFqE5tNOqEAeny3UKf992NyFV7R5zHWdwA-0U,9988
10
+ fleetfinder/views.py,sha256=cWjkmZACn2lS1aSxnxC7qm_a2G-9U4x-6dzIfJID_K0,9723
10
11
  fleetfinder/helper/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
11
- fleetfinder/helper/static_files.py,sha256=_SyxxypaZhC0COVGqNom6NjE_PAH44_qVxBh9K1YFeI,1069
12
- fleetfinder/locale/django.pot,sha256=-3vzEpK_Uj8ibYQXWHDIfy09XoBXRtbzGr0hikESEzo,5833
12
+ fleetfinder/helper/static_files.py,sha256=SeXQOKBchaWcKRcNtTqVF_oEvL4-nXNkDHpuYxbNzRk,1085
13
+ fleetfinder/locale/django.pot,sha256=NozkINUQ4caF6QnwtER1cANPP5i7ZOZT_oD8XAUc_Ho,5713
13
14
  fleetfinder/locale/cs_CZ/LC_MESSAGES/django.mo,sha256=5R9bbNXwdd02SL7SFFIErS-ytrzIyCYPf0VZOtg9KT8,954
14
- fleetfinder/locale/cs_CZ/LC_MESSAGES/django.po,sha256=RfBBcnpB0gS1OpQIydN6lrZ6X6XEHkhG9knb3nkafjU,6213
15
+ fleetfinder/locale/cs_CZ/LC_MESSAGES/django.po,sha256=FIF4aXh_TSZnamf4_BSJZQ8LRgHCDZemoAVD0g9TfP0,6093
15
16
  fleetfinder/locale/de/LC_MESSAGES/django.mo,sha256=0Hw0C_HjNm5bfULklTio3jQNbDObhPXjymmNW-_14ls,3865
16
- fleetfinder/locale/de/LC_MESSAGES/django.po,sha256=S9Fulg2uvOmddSXH5KOQ_E6O54UCYjVM_H7oPHsYiO4,7265
17
+ fleetfinder/locale/de/LC_MESSAGES/django.po,sha256=bC7JTNKLBSF4jjoCl9Ka6zQWKhPg7eFw8YXiNj6-DcI,7188
17
18
  fleetfinder/locale/es/LC_MESSAGES/django.mo,sha256=PMpQLF76l-RHZwyLSFGatNOiBc1W88afvlZf9XpJANA,2978
18
- fleetfinder/locale/es/LC_MESSAGES/django.po,sha256=i97zXRmNhdSvDab8K8Jp8y72yCH7UlrDxpm7oaQQcWY,7758
19
+ fleetfinder/locale/es/LC_MESSAGES/django.po,sha256=VoXHKu-BKD87wWxKcahZIYfk2P0jXG4T6dDyFTAZAac,7681
19
20
  fleetfinder/locale/fr_FR/LC_MESSAGES/django.mo,sha256=PrAqn21OP-eXs9QBF5XRDMPg0h1Flgv2df8gOzL4d70,2096
20
- fleetfinder/locale/fr_FR/LC_MESSAGES/django.po,sha256=G6Di6h19_p2a7fYmU9dYXDqkj-HHM6P3excHA7wBvYU,6807
21
+ fleetfinder/locale/fr_FR/LC_MESSAGES/django.po,sha256=KhpdkfCCqW_bftmnZR90VBbwSOYaViZ9C_gUPWbWftE,6687
21
22
  fleetfinder/locale/it_IT/LC_MESSAGES/django.mo,sha256=T8RDYnDQ22o4_xxwcmq3znMN5QKlZbty-mWB7dxdEbI,588
22
- fleetfinder/locale/it_IT/LC_MESSAGES/django.po,sha256=CukE4CpPQgI4hpS_VoBHkGFa9P1SdSM3TDM86hNOXVg,6037
23
+ fleetfinder/locale/it_IT/LC_MESSAGES/django.po,sha256=1xJS8unjnnBnhwqRtAe9aYdIXrmk7H-v5KoDuCZMx-Q,5917
23
24
  fleetfinder/locale/ja/LC_MESSAGES/django.mo,sha256=5mlXpXBHCUM4QNz2hzagZSgJeR-QJIzEEBPxXzGN64I,1579
24
- fleetfinder/locale/ja/LC_MESSAGES/django.po,sha256=5zAZnpNQcyjnM5J4mfpeI8QS3KabIJbEevDULohDg9E,6501
25
+ fleetfinder/locale/ja/LC_MESSAGES/django.po,sha256=ESBt7UnegMPVpWpHZ9-uJroJr2u5SZbbmBDv2ohma2I,6381
25
26
  fleetfinder/locale/ko_KR/LC_MESSAGES/django.mo,sha256=-_NjmlWe2ve5WRA9zV05anjOMsQQdNOhk8_mEplh7nU,3315
26
- fleetfinder/locale/ko_KR/LC_MESSAGES/django.po,sha256=9nkvkfreOwnlOwjMvRW-2_DtjJ2Xr0b0QO7ne1ilkC4,7612
27
+ fleetfinder/locale/ko_KR/LC_MESSAGES/django.po,sha256=y7nWxT72VKk_9NU5q4FG5ks5Y5yijWtlhxoZDad7e-s,7535
27
28
  fleetfinder/locale/nl_NL/LC_MESSAGES/django.mo,sha256=hY0OE4OeTR2OJEImNcsL8tWjBqe0rJYToAlRXZ44ngA,480
28
- fleetfinder/locale/nl_NL/LC_MESSAGES/django.po,sha256=MfKJiBBi_uZpbDsz6_n-yb3hukDukCIKgH7OMWh8eq4,5955
29
+ fleetfinder/locale/nl_NL/LC_MESSAGES/django.po,sha256=qbuECUgC-YWJXPsDu_-_SCUnnCyVp8qJVFHMrUgE6EA,5835
29
30
  fleetfinder/locale/pl_PL/LC_MESSAGES/django.mo,sha256=Tn664mvAzrylWiO5ferY3XeQuZTRuND77MPmgAZSvZs,1008
30
- fleetfinder/locale/pl_PL/LC_MESSAGES/django.po,sha256=zKZ0gAKO-mm_UCFX8PoUldDXo6JBQcg-l7K1hIBjPlw,6202
31
+ fleetfinder/locale/pl_PL/LC_MESSAGES/django.po,sha256=ZGUzsi9tfPvMs37ZFmKKo2hfNgfB1HVPSHMbl0H2dZE,6125
31
32
  fleetfinder/locale/ru/LC_MESSAGES/django.mo,sha256=nphsjOteZ0-rwwH52Jovk4Jy1ouz-9Wo-7WC6_Bmc_k,4716
32
- fleetfinder/locale/ru/LC_MESSAGES/django.po,sha256=NFpRrl7K10haU8SeUIGS5pPg9XJDw0slARBqP--ool8,8242
33
+ fleetfinder/locale/ru/LC_MESSAGES/django.po,sha256=9DZsGqiAmowqDU81iby5AwqhAwmhvrpcAvj1uJVGF6I,8165
33
34
  fleetfinder/locale/sk/LC_MESSAGES/django.mo,sha256=ydYhRqhAuhtbbNwWz_TkLnphHfGgKDcKugeyLxmpZWk,559
34
- fleetfinder/locale/sk/LC_MESSAGES/django.po,sha256=Pyn7M_VnZdYDA9g5hIB2w73srrkhb7sxDB_FzD30ZqU,6030
35
- fleetfinder/locale/uk/LC_MESSAGES/django.mo,sha256=C2jS7TKByudWgnJF2lx_z3EQVKFUF1rmVA2p3t-OHj4,2054
36
- fleetfinder/locale/uk/LC_MESSAGES/django.po,sha256=VjEbwl1mUIh5lWyAoYlaPBVD-AZ8eC3bBQomD1LyaDk,7507
35
+ fleetfinder/locale/sk/LC_MESSAGES/django.po,sha256=HyK6qk9ZvWPPEIQ5UmcfhgGGKBpsB-idqw3tb02jgtQ,5910
36
+ fleetfinder/locale/uk/LC_MESSAGES/django.mo,sha256=ZviKY1Ze5tOM5MP8asDzGQe4vJUmS9yvYa1at9Lq1iI,4778
37
+ fleetfinder/locale/uk/LC_MESSAGES/django.po,sha256=pzSGXcYwBOiFD9pfWy-TBDJDQIzR_rpDse5_cVuaZM8,8210
37
38
  fleetfinder/locale/zh_Hans/LC_MESSAGES/django.mo,sha256=3tiyQVoDtsbjyYPetn2m9kG5lBB0c_7HyZhzhENsbWs,3624
38
- fleetfinder/locale/zh_Hans/LC_MESSAGES/django.po,sha256=SxzrY9fIRtlNp1Tod7uQQAF1CCTAU2kiS6JEhFt7gqw,7114
39
+ fleetfinder/locale/zh_Hans/LC_MESSAGES/django.po,sha256=nBYrsRNxZbje6-KFcQ2uU5nuz2JFQ7BaZFTs__HNUQ0,7037
39
40
  fleetfinder/migrations/0001_initial.py,sha256=4Jsjh77PXS87OHBHam8KOFSTaRvlS-qpPmD5vNnVagI,2445
40
41
  fleetfinder/migrations/0002_esi_error_handling_and_verbose_names.py,sha256=CqOqsJDz-GFj3E6DwShKf0fUIgEKhd4NMJIfu21eEJ0,3229
41
42
  fleetfinder/migrations/0003_alter_fleet_fleet_commander_alter_fleet_groups_and_more.py,sha256=RbjYRrPVTq-adUQPbXpXVRAT2VmOW0wEdacWhxlggX4,1606
@@ -47,7 +48,7 @@ fleetfinder/static/fleetfinder/libs/slim-select/2.6.0/css/slimselect.css,sha256=
47
48
  fleetfinder/static/fleetfinder/libs/slim-select/2.6.0/css/slimselect.min.css,sha256=GYCm-lR2rkNgRBBlPnK6B6q5DAve2IGBCCcJg-7Zpy0,9397
48
49
  fleetfinder/static/fleetfinder/libs/slim-select/2.6.0/css/slimselect.min.css.map,sha256=_6vjeCQxnhz-ZLaVJ3-0a3x7xY2N82z45xLZyRPuoUw,14992
49
50
  fleetfinder/static/fleetfinder/libs/slim-select/2.6.0/js/slimselect.min.js,sha256=SbN31KIE-T0-x8Th6Ui6QWM7c8lsGb3_q-RzUd9Ga9I,36199
50
- fleetfinder/templates/fleetfinder/base.html,sha256=md5ANAxfQcfd8O-bt22rD7-QpwdttofBfuHkiXYQ-Q8,726
51
+ fleetfinder/templates/fleetfinder/base.html,sha256=jtUSpk3VABhqp0xJKdDKKgpHa4Iwl1T9nQFenV7yDds,834
51
52
  fleetfinder/templates/fleetfinder/create-fleet.html,sha256=zkVw_qLFw5BvrlrayUKmZB19v5PkGVqVt7rVEl-rKzc,1196
52
53
  fleetfinder/templates/fleetfinder/dashboard.html,sha256=UAFDMAcp1EYMUWy7UapVIdLgPWFiavr3bEdsBfjiBEA,4881
53
54
  fleetfinder/templates/fleetfinder/edit-fleet.html,sha256=XahECF3ZJKTiAr8oNp7bqbIHjACpfxi1_mIhXP1XIvY,1206
@@ -58,15 +59,17 @@ fleetfinder/templates/fleetfinder/bundles/css/slim-select-css.html,sha256=4sC5sa
58
59
  fleetfinder/templates/fleetfinder/bundles/js/slim-select-js.html,sha256=aXa7Cg4vcLywqaGRGz9v0bPL7B3-V6en1OrnR9vRWsI,95
59
60
  fleetfinder/templates/fleetfinder/partials/body/form-fleet-details.html,sha256=8xfjGRNmzIUHrlV-xz2P11vupAdpC8oUGFPxlnjJKFQ,2149
60
61
  fleetfinder/templates/fleetfinder/partials/footer/app-translation-footer.html,sha256=nDZPOnsQLBN9meAhxnhd0ynUQIVi3YPzhi47n89zcIg,422
61
- fleetfinder/templates/fleetfinder/partials/header/header-navigation.html,sha256=m9pNf29rFEDVB6Jv6UL8nPazYx-BNkvKdrFnXGa2uSs,1302
62
+ fleetfinder/templates/fleetfinder/partials/header/header-nav-left.html,sha256=l9GUryGNYZjfej_SKa_wg2aQZE5ybPBFz21dgGixcwk,287
63
+ fleetfinder/templates/fleetfinder/partials/header/header-nav-right.html,sha256=o8njJMpjCG0W9O_fP-NNOM1Mi1gUl7fARV1XTXrJXCI,575
62
64
  fleetfinder/templatetags/__init__.py,sha256=sP2D1ovt2gGAPLcGQkByRgXYhvUJ6C52mZMlLIALQ8s,37
63
- fleetfinder/templatetags/fleetfinder.py,sha256=OG87mkGElIaD_9X83DtDECBLs-DKqHJYPI6MAA-_D1E,2424
65
+ fleetfinder/templatetags/fleetfinder.py,sha256=KNiNKtDZPiv6ETDY1QtpwbA0VzYxCQXWmJrQ7nou8Jo,3017
64
66
  fleetfinder/tests/__init__.py,sha256=NLuMBNDHYOXDmPgpyG-g_kDaATVQWv1iC-dJ8BA1kZc,29
65
67
  fleetfinder/tests/test_access.py,sha256=rQAfeEre2CmCszFTLV_53HK7m5Odq7ZqACJ3kcedgjk,1691
66
68
  fleetfinder/tests/test_auth_hooks.py,sha256=XEB0LJmxxJCDlYhxKzcRiEHYrn1k_NkShrDGV_bcweg,2174
67
- fleetfinder/tests/test_templatetags.py,sha256=xaYBdj0xpPvsATuyoTHrkBIG_ZFC0cNkNmgocev4hNU,1230
69
+ fleetfinder/tests/test_settings.py,sha256=CuarOzsrkoMx7dmqolsnhnuhis7N10GaOULo6KYIl7k,710
70
+ fleetfinder/tests/test_templatetags.py,sha256=XaeDgIBuSh_ydX8TBeK92KpHu3dfbpzjYCK_TnDhbzc,4092
68
71
  fleetfinder/tests/utils.py,sha256=ynwH67jb14UFi6hpLAXe_FcYdQcjET_sxuUylWPNpnk,1451
69
- aa_fleetfinder-2.3.1.dist-info/METADATA,sha256=9AnKA_cPBXEQgAJ-B4K8y7vvLu2pJd9E5Yu_J6mMNcw,48119
70
- aa_fleetfinder-2.3.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
71
- aa_fleetfinder-2.3.1.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
72
- aa_fleetfinder-2.3.1.dist-info/RECORD,,
72
+ aa_fleetfinder-2.3.3.dist-info/METADATA,sha256=k5I2rXp4ToJXx2W1mSaodmb_uZX8w3xPAm2mq9qerno,48063
73
+ aa_fleetfinder-2.3.3.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
74
+ aa_fleetfinder-2.3.3.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
75
+ aa_fleetfinder-2.3.3.dist-info/RECORD,,
fleetfinder/__init__.py CHANGED
@@ -5,6 +5,6 @@ Initialize the app
5
5
  # Django
6
6
  from django.utils.translation import gettext_lazy as _
7
7
 
8
- __version__ = "2.3.1"
8
+ __version__ = "2.3.3"
9
9
  __title__ = _("Fleet Finder")
10
10
  __verbose_name__ = "Fleet Finder for Alliance Auth"
@@ -0,0 +1,20 @@
1
+ """
2
+ App settings for FleetFinder.
3
+ """
4
+
5
+ # Standard Library
6
+ from re import RegexFlag
7
+
8
+ # Django
9
+ from django.conf import settings
10
+
11
+
12
+ def debug_enabled() -> RegexFlag:
13
+ """
14
+ Check if DEBUG is enabled
15
+
16
+ :return:
17
+ :rtype:
18
+ """
19
+
20
+ return settings.DEBUG
fleetfinder/constants.py CHANGED
@@ -11,11 +11,12 @@ from esi import __version__ as esi_version
11
11
  # AA Fleet Finder
12
12
  from fleetfinder import __version__
13
13
 
14
- AA_FLEETFINDER_BASE_DIR = os.path.join(os.path.dirname(__file__))
15
- AA_FLEETFINDER_STATIC_DIR = os.path.join(
16
- AA_FLEETFINDER_BASE_DIR, "static", "fleetfinder"
17
- )
18
-
19
14
  APP_NAME = "aa-fleetfinder"
15
+ APP_NAME_VERBOSE = "AA Fleet Finder"
16
+ APP_NAME_VERBOSE_USERAGENT = "AA-Fleet-Finder"
17
+ PACKAGE_NAME = "fleetfinder"
20
18
  GITHUB_URL = f"https://github.com/ppfeufer/{APP_NAME}"
21
- USER_AGENT = f"{APP_NAME}/{__version__} ({GITHUB_URL}) via django-esi/{esi_version}"
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)
@@ -17,7 +17,7 @@ from app_utils.logging import LoggerAddTag
17
17
 
18
18
  # AA Fleet Finder
19
19
  from fleetfinder import __title__
20
- from fleetfinder.constants import AA_FLEETFINDER_STATIC_DIR
20
+ from fleetfinder.constants import APP_STATIC_DIR
21
21
 
22
22
  logger = LoggerAddTag(my_logger=get_extension_logger(__name__), prefix=__title__)
23
23
 
@@ -25,15 +25,18 @@ logger = LoggerAddTag(my_logger=get_extension_logger(__name__), prefix=__title__
25
25
  def calculate_integrity_hash(relative_file_path: str) -> str:
26
26
  """
27
27
  Calculates the integrity hash for a given static file
28
+
28
29
  :param self:
29
30
  :type self:
30
- :param relative_file_path: The file path relative to the `aa-timezones/timezones/static/timezones` folder
31
+ :param relative_file_path: The file path relative to the `{APP_NAME}/{PACKAGE_NAME}/static/{PACKAGE_NAME}` folder
31
32
  :type relative_file_path: str
32
33
  :return: The integrity hash
33
34
  :rtype: str
34
35
  """
35
36
 
36
- file_path = os.path.join(AA_FLEETFINDER_STATIC_DIR, relative_file_path)
37
- integrity_hash = calculate_integrity(Path(file_path), Algorithm.SHA512)
37
+ file_path = os.path.join(APP_STATIC_DIR, relative_file_path)
38
+ integrity_hash = calculate_integrity(
39
+ path=Path(file_path), algorithm=Algorithm.SHA512
40
+ )
38
41
 
39
42
  return integrity_hash
@@ -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-01-20 16:14+0100\n"
9
+ "POT-Creation-Date: 2025-04-09 10:23+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"
@@ -98,7 +98,7 @@ msgstr ""
98
98
 
99
99
  #: fleetfinder/templates/fleetfinder/create-fleet.html:6
100
100
  #: fleetfinder/templates/fleetfinder/create-fleet.html:14
101
- #: fleetfinder/templates/fleetfinder/partials/header/header-navigation.html:27
101
+ #: fleetfinder/templates/fleetfinder/partials/header/header-nav-right.html:4
102
102
  msgid "Create fleet"
103
103
  msgstr ""
104
104
 
@@ -156,7 +156,7 @@ msgstr ""
156
156
  msgid "System"
157
157
  msgstr ""
158
158
 
159
- #: fleetfinder/templates/fleetfinder/join-fleet.html:6 fleetfinder/views.py:91
159
+ #: fleetfinder/templates/fleetfinder/join-fleet.html:6 fleetfinder/views.py:90
160
160
  msgid "Join fleet"
161
161
  msgstr ""
162
162
 
@@ -192,23 +192,19 @@ msgstr "Chceš pomoc s překladem této aplikace do tvého jazyka, nebo vylepši
192
192
  msgid "Join our team of translators!"
193
193
  msgstr "Připoj se k našemu týmu překladatelů!"
194
194
 
195
- #: fleetfinder/templates/fleetfinder/partials/header/header-navigation.html:6
195
+ #: fleetfinder/templates/fleetfinder/partials/header/header-nav-left.html:6
196
196
  msgid "Available fleets"
197
197
  msgstr ""
198
198
 
199
- #: fleetfinder/templates/fleetfinder/partials/header/header-navigation.html:17
200
- msgid "Toggle navigation"
201
- msgstr ""
202
-
203
- #: fleetfinder/views.py:104
199
+ #: fleetfinder/views.py:103
204
200
  msgid "View fleet details"
205
201
  msgstr ""
206
202
 
207
- #: fleetfinder/views.py:113
203
+ #: fleetfinder/views.py:112
208
204
  msgid "Edit fleet advert"
209
205
  msgstr ""
210
206
 
211
- #: fleetfinder/views.py:277
207
+ #: fleetfinder/views.py:276
212
208
  #, python-brace-format
213
209
  msgid "<h4>Error!</h4><p>ESI returned the following error: {esi_error_message}</p>"
214
210
  msgstr ""
@@ -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-01-20 16:14+0100\n"
9
+ "POT-Creation-Date: 2025-04-09 10:23+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: German <https://weblate.ppfeufer.de/projects/alliance-auth-apps/aa-fleetfinder/de/>\n"
@@ -98,7 +98,7 @@ msgstr "Anzahl der ESI Fehler"
98
98
 
99
99
  #: fleetfinder/templates/fleetfinder/create-fleet.html:6
100
100
  #: fleetfinder/templates/fleetfinder/create-fleet.html:14
101
- #: fleetfinder/templates/fleetfinder/partials/header/header-navigation.html:27
101
+ #: fleetfinder/templates/fleetfinder/partials/header/header-nav-right.html:4
102
102
  msgid "Create fleet"
103
103
  msgstr "Flotte erstellen"
104
104
 
@@ -156,7 +156,7 @@ msgstr "Name"
156
156
  msgid "System"
157
157
  msgstr "System"
158
158
 
159
- #: fleetfinder/templates/fleetfinder/join-fleet.html:6 fleetfinder/views.py:91
159
+ #: fleetfinder/templates/fleetfinder/join-fleet.html:6 fleetfinder/views.py:90
160
160
  msgid "Join fleet"
161
161
  msgstr "Flotte beitreten"
162
162
 
@@ -192,23 +192,22 @@ msgstr "Du möchtest helfen diese App in Deine Sprache zu übersetzen oder die b
192
192
  msgid "Join our team of translators!"
193
193
  msgstr "Tritt unserm Team von Übersetzern bei!"
194
194
 
195
- #: fleetfinder/templates/fleetfinder/partials/header/header-navigation.html:6
195
+ #: fleetfinder/templates/fleetfinder/partials/header/header-nav-left.html:6
196
196
  msgid "Available fleets"
197
197
  msgstr "Verfügbare Flotten"
198
198
 
199
- #: fleetfinder/templates/fleetfinder/partials/header/header-navigation.html:17
200
- msgid "Toggle navigation"
201
- msgstr "Navigation umschalten"
202
-
203
- #: fleetfinder/views.py:104
199
+ #: fleetfinder/views.py:103
204
200
  msgid "View fleet details"
205
201
  msgstr "Flottendetails anzeigen"
206
202
 
207
- #: fleetfinder/views.py:113
203
+ #: fleetfinder/views.py:112
208
204
  msgid "Edit fleet advert"
209
205
  msgstr "Flottenanzeige bearbeiten"
210
206
 
211
- #: fleetfinder/views.py:277
207
+ #: fleetfinder/views.py:276
212
208
  #, python-brace-format
213
209
  msgid "<h4>Error!</h4><p>ESI returned the following error: {esi_error_message}</p>"
214
210
  msgstr "<h4>Fehler!</h4><p>ESI hat den folgenden Fehler zurückgegeben: {esi_error_message}</p>"
211
+
212
+ #~ msgid "Toggle navigation"
213
+ #~ msgstr "Navigation umschalten"
@@ -6,9 +6,9 @@
6
6
  #, fuzzy
7
7
  msgid ""
8
8
  msgstr ""
9
- "Project-Id-Version: AA Fleet Finder 2.2.2\n"
9
+ "Project-Id-Version: AA Fleet Finder 2.3.3\n"
10
10
  "Report-Msgid-Bugs-To: https://github.com/ppfeufer/aa-fleetfinder/issues\n"
11
- "POT-Creation-Date: 2025-01-20 16:14+0100\n"
11
+ "POT-Creation-Date: 2025-04-09 10:23+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"
@@ -101,7 +101,7 @@ msgstr ""
101
101
 
102
102
  #: fleetfinder/templates/fleetfinder/create-fleet.html:6
103
103
  #: fleetfinder/templates/fleetfinder/create-fleet.html:14
104
- #: fleetfinder/templates/fleetfinder/partials/header/header-navigation.html:27
104
+ #: fleetfinder/templates/fleetfinder/partials/header/header-nav-right.html:4
105
105
  msgid "Create fleet"
106
106
  msgstr ""
107
107
 
@@ -159,7 +159,7 @@ msgstr ""
159
159
  msgid "System"
160
160
  msgstr ""
161
161
 
162
- #: fleetfinder/templates/fleetfinder/join-fleet.html:6 fleetfinder/views.py:91
162
+ #: fleetfinder/templates/fleetfinder/join-fleet.html:6 fleetfinder/views.py:90
163
163
  msgid "Join fleet"
164
164
  msgstr ""
165
165
 
@@ -197,23 +197,19 @@ msgstr ""
197
197
  msgid "Join our team of translators!"
198
198
  msgstr ""
199
199
 
200
- #: fleetfinder/templates/fleetfinder/partials/header/header-navigation.html:6
200
+ #: fleetfinder/templates/fleetfinder/partials/header/header-nav-left.html:6
201
201
  msgid "Available fleets"
202
202
  msgstr ""
203
203
 
204
- #: fleetfinder/templates/fleetfinder/partials/header/header-navigation.html:17
205
- msgid "Toggle navigation"
206
- msgstr ""
207
-
208
- #: fleetfinder/views.py:104
204
+ #: fleetfinder/views.py:103
209
205
  msgid "View fleet details"
210
206
  msgstr ""
211
207
 
212
- #: fleetfinder/views.py:113
208
+ #: fleetfinder/views.py:112
213
209
  msgid "Edit fleet advert"
214
210
  msgstr ""
215
211
 
216
- #: fleetfinder/views.py:277
212
+ #: fleetfinder/views.py:276
217
213
  #, python-brace-format
218
214
  msgid ""
219
215
  "<h4>Error!</h4><p>ESI returned the following error: {esi_error_message}</p>"
@@ -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-01-20 16:14+0100\n"
10
+ "POT-Creation-Date: 2025-04-09 10:23+0200\n"
11
11
  "PO-Revision-Date: 2024-12-02 17:40+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"
@@ -103,7 +103,7 @@ msgstr "Recuento de errores del ESI"
103
103
 
104
104
  #: fleetfinder/templates/fleetfinder/create-fleet.html:6
105
105
  #: fleetfinder/templates/fleetfinder/create-fleet.html:14
106
- #: fleetfinder/templates/fleetfinder/partials/header/header-navigation.html:27
106
+ #: fleetfinder/templates/fleetfinder/partials/header/header-nav-right.html:4
107
107
  #, fuzzy
108
108
  #| msgid "Create Fleet"
109
109
  msgid "Create fleet"
@@ -171,7 +171,7 @@ msgstr "Nombre"
171
171
  msgid "System"
172
172
  msgstr "Sistema"
173
173
 
174
- #: fleetfinder/templates/fleetfinder/join-fleet.html:6 fleetfinder/views.py:91
174
+ #: fleetfinder/templates/fleetfinder/join-fleet.html:6 fleetfinder/views.py:90
175
175
  #, fuzzy
176
176
  #| msgid "Join Fleet"
177
177
  msgid "Join fleet"
@@ -215,29 +215,28 @@ msgstr "¿Quieres ayudar a traducir esta aplicación a tu idioma o mejorar la tr
215
215
  msgid "Join our team of translators!"
216
216
  msgstr "¡Únete a nuestro equipo de traductores!"
217
217
 
218
- #: fleetfinder/templates/fleetfinder/partials/header/header-navigation.html:6
218
+ #: fleetfinder/templates/fleetfinder/partials/header/header-nav-left.html:6
219
219
  #, fuzzy
220
220
  #| msgid "Available Fleets"
221
221
  msgid "Available fleets"
222
222
  msgstr "Flotas Disponibles"
223
223
 
224
- #: fleetfinder/templates/fleetfinder/partials/header/header-navigation.html:17
225
- msgid "Toggle navigation"
226
- msgstr "Alternar la navegación"
227
-
228
- #: fleetfinder/views.py:104
224
+ #: fleetfinder/views.py:103
229
225
  #, fuzzy
230
226
  #| msgid "View Fleet Details"
231
227
  msgid "View fleet details"
232
228
  msgstr "Ver detalles de la Flota"
233
229
 
234
- #: fleetfinder/views.py:113
230
+ #: fleetfinder/views.py:112
235
231
  #, fuzzy
236
232
  #| msgid "Edit Fleet Advert"
237
233
  msgid "Edit fleet advert"
238
234
  msgstr "Editar Anuncio de la Flota"
239
235
 
240
- #: fleetfinder/views.py:277
236
+ #: fleetfinder/views.py:276
241
237
  #, python-brace-format
242
238
  msgid "<h4>Error!</h4><p>ESI returned the following error: {esi_error_message}</p>"
243
239
  msgstr "<h4>Error!</h4><p>El ESI devolvió el siguiente error: {esi_error_message}</p>"
240
+
241
+ #~ msgid "Toggle navigation"
242
+ #~ msgstr "Alternar la navegación"
@@ -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-01-20 16:14+0100\n"
14
+ "POT-Creation-Date: 2025-04-09 10:23+0200\n"
15
15
  "PO-Revision-Date: 2024-12-10 17:15+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"
@@ -103,7 +103,7 @@ msgstr ""
103
103
 
104
104
  #: fleetfinder/templates/fleetfinder/create-fleet.html:6
105
105
  #: fleetfinder/templates/fleetfinder/create-fleet.html:14
106
- #: fleetfinder/templates/fleetfinder/partials/header/header-navigation.html:27
106
+ #: fleetfinder/templates/fleetfinder/partials/header/header-nav-right.html:4
107
107
  msgid "Create fleet"
108
108
  msgstr ""
109
109
 
@@ -161,7 +161,7 @@ msgstr "Nom"
161
161
  msgid "System"
162
162
  msgstr "Système"
163
163
 
164
- #: fleetfinder/templates/fleetfinder/join-fleet.html:6 fleetfinder/views.py:91
164
+ #: fleetfinder/templates/fleetfinder/join-fleet.html:6 fleetfinder/views.py:90
165
165
  msgid "Join fleet"
166
166
  msgstr ""
167
167
 
@@ -197,23 +197,19 @@ msgstr "Voulez-vous aider à traduire cette application dans votre langue ou am
197
197
  msgid "Join our team of translators!"
198
198
  msgstr "Rejoignez notre équipe de traducteurs !"
199
199
 
200
- #: fleetfinder/templates/fleetfinder/partials/header/header-navigation.html:6
200
+ #: fleetfinder/templates/fleetfinder/partials/header/header-nav-left.html:6
201
201
  msgid "Available fleets"
202
202
  msgstr ""
203
203
 
204
- #: fleetfinder/templates/fleetfinder/partials/header/header-navigation.html:17
205
- msgid "Toggle navigation"
206
- msgstr ""
207
-
208
- #: fleetfinder/views.py:104
204
+ #: fleetfinder/views.py:103
209
205
  msgid "View fleet details"
210
206
  msgstr ""
211
207
 
212
- #: fleetfinder/views.py:113
208
+ #: fleetfinder/views.py:112
213
209
  msgid "Edit fleet advert"
214
210
  msgstr ""
215
211
 
216
- #: fleetfinder/views.py:277
212
+ #: fleetfinder/views.py:276
217
213
  #, python-brace-format
218
214
  msgid "<h4>Error!</h4><p>ESI returned the following error: {esi_error_message}</p>"
219
215
  msgstr ""
@@ -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-01-20 16:14+0100\n"
10
+ "POT-Creation-Date: 2025-04-09 10:23+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"
@@ -99,7 +99,7 @@ msgstr ""
99
99
 
100
100
  #: fleetfinder/templates/fleetfinder/create-fleet.html:6
101
101
  #: fleetfinder/templates/fleetfinder/create-fleet.html:14
102
- #: fleetfinder/templates/fleetfinder/partials/header/header-navigation.html:27
102
+ #: fleetfinder/templates/fleetfinder/partials/header/header-nav-right.html:4
103
103
  msgid "Create fleet"
104
104
  msgstr ""
105
105
 
@@ -157,7 +157,7 @@ msgstr ""
157
157
  msgid "System"
158
158
  msgstr ""
159
159
 
160
- #: fleetfinder/templates/fleetfinder/join-fleet.html:6 fleetfinder/views.py:91
160
+ #: fleetfinder/templates/fleetfinder/join-fleet.html:6 fleetfinder/views.py:90
161
161
  msgid "Join fleet"
162
162
  msgstr ""
163
163
 
@@ -193,23 +193,19 @@ msgstr ""
193
193
  msgid "Join our team of translators!"
194
194
  msgstr ""
195
195
 
196
- #: fleetfinder/templates/fleetfinder/partials/header/header-navigation.html:6
196
+ #: fleetfinder/templates/fleetfinder/partials/header/header-nav-left.html:6
197
197
  msgid "Available fleets"
198
198
  msgstr ""
199
199
 
200
- #: fleetfinder/templates/fleetfinder/partials/header/header-navigation.html:17
201
- msgid "Toggle navigation"
202
- msgstr ""
203
-
204
- #: fleetfinder/views.py:104
200
+ #: fleetfinder/views.py:103
205
201
  msgid "View fleet details"
206
202
  msgstr ""
207
203
 
208
- #: fleetfinder/views.py:113
204
+ #: fleetfinder/views.py:112
209
205
  msgid "Edit fleet advert"
210
206
  msgstr ""
211
207
 
212
- #: fleetfinder/views.py:277
208
+ #: fleetfinder/views.py:276
213
209
  #, python-brace-format
214
210
  msgid "<h4>Error!</h4><p>ESI returned the following error: {esi_error_message}</p>"
215
211
  msgstr ""
@@ -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-01-20 16:14+0100\n"
11
+ "POT-Creation-Date: 2025-04-09 10:23+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"
@@ -100,7 +100,7 @@ msgstr ""
100
100
 
101
101
  #: fleetfinder/templates/fleetfinder/create-fleet.html:6
102
102
  #: fleetfinder/templates/fleetfinder/create-fleet.html:14
103
- #: fleetfinder/templates/fleetfinder/partials/header/header-navigation.html:27
103
+ #: fleetfinder/templates/fleetfinder/partials/header/header-nav-right.html:4
104
104
  msgid "Create fleet"
105
105
  msgstr ""
106
106
 
@@ -158,7 +158,7 @@ msgstr "名前"
158
158
  msgid "System"
159
159
  msgstr ""
160
160
 
161
- #: fleetfinder/templates/fleetfinder/join-fleet.html:6 fleetfinder/views.py:91
161
+ #: fleetfinder/templates/fleetfinder/join-fleet.html:6 fleetfinder/views.py:90
162
162
  msgid "Join fleet"
163
163
  msgstr ""
164
164
 
@@ -194,23 +194,19 @@ msgstr ""
194
194
  msgid "Join our team of translators!"
195
195
  msgstr ""
196
196
 
197
- #: fleetfinder/templates/fleetfinder/partials/header/header-navigation.html:6
197
+ #: fleetfinder/templates/fleetfinder/partials/header/header-nav-left.html:6
198
198
  msgid "Available fleets"
199
199
  msgstr ""
200
200
 
201
- #: fleetfinder/templates/fleetfinder/partials/header/header-navigation.html:17
202
- msgid "Toggle navigation"
203
- msgstr ""
204
-
205
- #: fleetfinder/views.py:104
201
+ #: fleetfinder/views.py:103
206
202
  msgid "View fleet details"
207
203
  msgstr ""
208
204
 
209
- #: fleetfinder/views.py:113
205
+ #: fleetfinder/views.py:112
210
206
  msgid "Edit fleet advert"
211
207
  msgstr ""
212
208
 
213
- #: fleetfinder/views.py:277
209
+ #: fleetfinder/views.py:276
214
210
  #, python-brace-format
215
211
  msgid "<h4>Error!</h4><p>ESI returned the following error: {esi_error_message}</p>"
216
212
  msgstr ""