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

Potentially problematic release.


This version of aa-fleetfinder might be problematic. Click here for more details.

Files changed (30) hide show
  1. {aa_fleetfinder-2.3.3.dist-info → aa_fleetfinder-2.4.0.dist-info}/METADATA +1 -1
  2. {aa_fleetfinder-2.3.3.dist-info → aa_fleetfinder-2.4.0.dist-info}/RECORD +28 -30
  3. fleetfinder/__init__.py +1 -1
  4. fleetfinder/locale/cs_CZ/LC_MESSAGES/django.po +1 -1
  5. fleetfinder/locale/de/LC_MESSAGES/django.mo +0 -0
  6. fleetfinder/locale/de/LC_MESSAGES/django.po +4 -4
  7. fleetfinder/locale/django.pot +2 -2
  8. fleetfinder/locale/es/LC_MESSAGES/django.po +1 -1
  9. fleetfinder/locale/fr_FR/LC_MESSAGES/django.mo +0 -0
  10. fleetfinder/locale/fr_FR/LC_MESSAGES/django.po +7 -7
  11. fleetfinder/locale/it_IT/LC_MESSAGES/django.po +1 -1
  12. fleetfinder/locale/ja/LC_MESSAGES/django.po +1 -1
  13. fleetfinder/locale/ko_KR/LC_MESSAGES/django.mo +0 -0
  14. fleetfinder/locale/ko_KR/LC_MESSAGES/django.po +6 -5
  15. fleetfinder/locale/nl_NL/LC_MESSAGES/django.po +1 -1
  16. fleetfinder/locale/pl_PL/LC_MESSAGES/django.po +1 -1
  17. fleetfinder/locale/ru/LC_MESSAGES/django.po +1 -1
  18. fleetfinder/locale/sk/LC_MESSAGES/django.po +1 -1
  19. fleetfinder/locale/uk/LC_MESSAGES/django.mo +0 -0
  20. fleetfinder/locale/uk/LC_MESSAGES/django.po +6 -5
  21. fleetfinder/locale/zh_Hans/LC_MESSAGES/django.po +1 -1
  22. fleetfinder/templates/fleetfinder/bundles/css/fleetfinder-css.html +2 -2
  23. fleetfinder/templates/fleetfinder/bundles/css/slim-select-css.html +2 -2
  24. fleetfinder/templates/fleetfinder/bundles/js/slim-select-js.html +2 -2
  25. fleetfinder/templatetags/fleetfinder.py +1 -70
  26. fleetfinder/tests/test_templatetags.py +1 -88
  27. fleetfinder/helper/__init__.py +0 -0
  28. fleetfinder/helper/static_files.py +0 -42
  29. {aa_fleetfinder-2.3.3.dist-info → aa_fleetfinder-2.4.0.dist-info}/WHEEL +0 -0
  30. {aa_fleetfinder-2.3.3.dist-info → aa_fleetfinder-2.4.0.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.3
3
+ Version: 2.4.0
4
4
  Summary: Fleet finder plugin for Alliance Auth
5
5
  Project-URL: Changelog, https://github.com/ppfeufer/aa-fleetfinder/blob/master/CHANGELOG.md
6
6
  Project-URL: Documentation, https://github.com/ppfeufer/aa-fleetfinder/blob/master/README.md
@@ -1,4 +1,4 @@
1
- fleetfinder/__init__.py,sha256=SHtJnahQ5hk70yDDtAfs9JD4_mQ34WE2FfP6LUt1zOE,197
1
+ fleetfinder/__init__.py,sha256=OQvE5artc_nBFw4SUqE4xrjhS3q700-mFsTPrVjU6Bg,197
2
2
  fleetfinder/app_settings.py,sha256=XE5oZFg2Vhn5OYQFehoOwjgVgKAvXcyj5NGmrbr3bk8,261
3
3
  fleetfinder/apps.py,sha256=5t6R6HS_2cK3oCtTomvOM0dagt4sQkbnIWBhxT8dHrw,448
4
4
  fleetfinder/auth_hooks.py,sha256=_oHqIEfTFDB1lsVAOrEGCc6aLiLpRtjcPw7CdLNSdKw,1234
@@ -8,35 +8,33 @@ fleetfinder/providers.py,sha256=R6cy9MAxPw8AcZuIQwpQ1Knv13ItWCBCAspnJ_G30_U,205
8
8
  fleetfinder/tasks.py,sha256=pqDMPHFMXej4dPrf8fxucuYKtj9JPlActiNPIc4eAAQ,10969
9
9
  fleetfinder/urls.py,sha256=oL6zOnvQaGXFp-mOhsL9C_jU16YSPMAXUBM8s2_m4_U,1128
10
10
  fleetfinder/views.py,sha256=cWjkmZACn2lS1aSxnxC7qm_a2G-9U4x-6dzIfJID_K0,9723
11
- fleetfinder/helper/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
12
- fleetfinder/helper/static_files.py,sha256=SeXQOKBchaWcKRcNtTqVF_oEvL4-nXNkDHpuYxbNzRk,1085
13
- fleetfinder/locale/django.pot,sha256=NozkINUQ4caF6QnwtER1cANPP5i7ZOZT_oD8XAUc_Ho,5713
11
+ fleetfinder/locale/django.pot,sha256=EcKORjU7YDbucH1oxrJqx_g1WQ2D8iTPUkY3PKlZ3IM,5713
14
12
  fleetfinder/locale/cs_CZ/LC_MESSAGES/django.mo,sha256=5R9bbNXwdd02SL7SFFIErS-ytrzIyCYPf0VZOtg9KT8,954
15
- fleetfinder/locale/cs_CZ/LC_MESSAGES/django.po,sha256=FIF4aXh_TSZnamf4_BSJZQ8LRgHCDZemoAVD0g9TfP0,6093
16
- fleetfinder/locale/de/LC_MESSAGES/django.mo,sha256=0Hw0C_HjNm5bfULklTio3jQNbDObhPXjymmNW-_14ls,3865
17
- fleetfinder/locale/de/LC_MESSAGES/django.po,sha256=bC7JTNKLBSF4jjoCl9Ka6zQWKhPg7eFw8YXiNj6-DcI,7188
13
+ fleetfinder/locale/cs_CZ/LC_MESSAGES/django.po,sha256=r2FPTXfyOj99tGeFbeVxUcaiAwASiqNnq3ecGvl4qmc,6093
14
+ fleetfinder/locale/de/LC_MESSAGES/django.mo,sha256=oGRFdrfSMBASIBw7RIaYmIUCGDfXrkExbUWKp5iGw8s,3808
15
+ fleetfinder/locale/de/LC_MESSAGES/django.po,sha256=2QPIlef1CfCgRluw3L7DVSeOd3Bv2_55Q0L6sIeHvEA,7193
18
16
  fleetfinder/locale/es/LC_MESSAGES/django.mo,sha256=PMpQLF76l-RHZwyLSFGatNOiBc1W88afvlZf9XpJANA,2978
19
- fleetfinder/locale/es/LC_MESSAGES/django.po,sha256=VoXHKu-BKD87wWxKcahZIYfk2P0jXG4T6dDyFTAZAac,7681
20
- fleetfinder/locale/fr_FR/LC_MESSAGES/django.mo,sha256=PrAqn21OP-eXs9QBF5XRDMPg0h1Flgv2df8gOzL4d70,2096
21
- fleetfinder/locale/fr_FR/LC_MESSAGES/django.po,sha256=KhpdkfCCqW_bftmnZR90VBbwSOYaViZ9C_gUPWbWftE,6687
17
+ fleetfinder/locale/es/LC_MESSAGES/django.po,sha256=MyI5aFt1RN7aonBqc3YYVMPZh_CacnS2sZFLrr3YomI,7681
18
+ fleetfinder/locale/fr_FR/LC_MESSAGES/django.mo,sha256=YRnYDqb5xhNh94JmtVjqu2Ge6w0RifUrfYFfj0flgbE,2543
19
+ fleetfinder/locale/fr_FR/LC_MESSAGES/django.po,sha256=kiNBf5dOxsoq1NdLXO_WqPEYvVlHU-LlA38sS7mJViY,6891
22
20
  fleetfinder/locale/it_IT/LC_MESSAGES/django.mo,sha256=T8RDYnDQ22o4_xxwcmq3znMN5QKlZbty-mWB7dxdEbI,588
23
- fleetfinder/locale/it_IT/LC_MESSAGES/django.po,sha256=1xJS8unjnnBnhwqRtAe9aYdIXrmk7H-v5KoDuCZMx-Q,5917
21
+ fleetfinder/locale/it_IT/LC_MESSAGES/django.po,sha256=4cmsltDYEHvi6U1aDezyP_XjOjRrciwyG9yW4fvgGnY,5917
24
22
  fleetfinder/locale/ja/LC_MESSAGES/django.mo,sha256=5mlXpXBHCUM4QNz2hzagZSgJeR-QJIzEEBPxXzGN64I,1579
25
- fleetfinder/locale/ja/LC_MESSAGES/django.po,sha256=ESBt7UnegMPVpWpHZ9-uJroJr2u5SZbbmBDv2ohma2I,6381
26
- fleetfinder/locale/ko_KR/LC_MESSAGES/django.mo,sha256=-_NjmlWe2ve5WRA9zV05anjOMsQQdNOhk8_mEplh7nU,3315
27
- fleetfinder/locale/ko_KR/LC_MESSAGES/django.po,sha256=y7nWxT72VKk_9NU5q4FG5ks5Y5yijWtlhxoZDad7e-s,7535
23
+ fleetfinder/locale/ja/LC_MESSAGES/django.po,sha256=Uv5iE2lrYNlwl_bGy7ArsIX3e8G0GBXt37_7FhSbd60,6381
24
+ fleetfinder/locale/ko_KR/LC_MESSAGES/django.mo,sha256=9cfJWD33X_4WYSaFyGZIMzBtUgbmpU0-rkU5vdVRiTI,3272
25
+ fleetfinder/locale/ko_KR/LC_MESSAGES/django.po,sha256=TJ-ramixEyXaH2dbjOCdNbkmkh9EYWY12Wo2JAROD2k,7566
28
26
  fleetfinder/locale/nl_NL/LC_MESSAGES/django.mo,sha256=hY0OE4OeTR2OJEImNcsL8tWjBqe0rJYToAlRXZ44ngA,480
29
- fleetfinder/locale/nl_NL/LC_MESSAGES/django.po,sha256=qbuECUgC-YWJXPsDu_-_SCUnnCyVp8qJVFHMrUgE6EA,5835
27
+ fleetfinder/locale/nl_NL/LC_MESSAGES/django.po,sha256=DHyvwF2UrqaEx9-e-U2G2zzoX9EMTjskqJN8ldqwaUQ,5835
30
28
  fleetfinder/locale/pl_PL/LC_MESSAGES/django.mo,sha256=Tn664mvAzrylWiO5ferY3XeQuZTRuND77MPmgAZSvZs,1008
31
- fleetfinder/locale/pl_PL/LC_MESSAGES/django.po,sha256=ZGUzsi9tfPvMs37ZFmKKo2hfNgfB1HVPSHMbl0H2dZE,6125
29
+ fleetfinder/locale/pl_PL/LC_MESSAGES/django.po,sha256=HtkrmXv5dqgJKxu6I4p3I1kgN3B-ojPLh9RkjGobg4Q,6125
32
30
  fleetfinder/locale/ru/LC_MESSAGES/django.mo,sha256=nphsjOteZ0-rwwH52Jovk4Jy1ouz-9Wo-7WC6_Bmc_k,4716
33
- fleetfinder/locale/ru/LC_MESSAGES/django.po,sha256=9DZsGqiAmowqDU81iby5AwqhAwmhvrpcAvj1uJVGF6I,8165
31
+ fleetfinder/locale/ru/LC_MESSAGES/django.po,sha256=MTB5o4cA725TiWyDZQuQY_P0Kfk9nQlLjFZtQziG_vw,8165
34
32
  fleetfinder/locale/sk/LC_MESSAGES/django.mo,sha256=ydYhRqhAuhtbbNwWz_TkLnphHfGgKDcKugeyLxmpZWk,559
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
33
+ fleetfinder/locale/sk/LC_MESSAGES/django.po,sha256=Gt6L9HogjbY_uWr4UpBuo9hkpjMK_YgIcsMiGuONbiE,5910
34
+ fleetfinder/locale/uk/LC_MESSAGES/django.mo,sha256=NfWLKGzF2U1WHI_R5OjskcPta-uVhTE6sDwCyi3pSyc,4697
35
+ fleetfinder/locale/uk/LC_MESSAGES/django.po,sha256=v5-43YuRjKYczkzQFYr4hz44-mUCnFWuDOu7MuZPniY,8255
38
36
  fleetfinder/locale/zh_Hans/LC_MESSAGES/django.mo,sha256=3tiyQVoDtsbjyYPetn2m9kG5lBB0c_7HyZhzhENsbWs,3624
39
- fleetfinder/locale/zh_Hans/LC_MESSAGES/django.po,sha256=nBYrsRNxZbje6-KFcQ2uU5nuz2JFQ7BaZFTs__HNUQ0,7037
37
+ fleetfinder/locale/zh_Hans/LC_MESSAGES/django.po,sha256=FRzDKO4iwLrRJu-fdlZIJ2k3cRiRo_TWtiJk6Cu_wKE,7037
40
38
  fleetfinder/migrations/0001_initial.py,sha256=4Jsjh77PXS87OHBHam8KOFSTaRvlS-qpPmD5vNnVagI,2445
41
39
  fleetfinder/migrations/0002_esi_error_handling_and_verbose_names.py,sha256=CqOqsJDz-GFj3E6DwShKf0fUIgEKhd4NMJIfu21eEJ0,3229
42
40
  fleetfinder/migrations/0003_alter_fleet_fleet_commander_alter_fleet_groups_and_more.py,sha256=RbjYRrPVTq-adUQPbXpXVRAT2VmOW0wEdacWhxlggX4,1606
@@ -54,22 +52,22 @@ fleetfinder/templates/fleetfinder/dashboard.html,sha256=UAFDMAcp1EYMUWy7UapVIdLg
54
52
  fleetfinder/templates/fleetfinder/edit-fleet.html,sha256=XahECF3ZJKTiAr8oNp7bqbIHjACpfxi1_mIhXP1XIvY,1206
55
53
  fleetfinder/templates/fleetfinder/fleet-details.html,sha256=8XDYQrO7sTIc8O7_p_In0A85gK4DuAwlAoFPvLDRidk,4595
56
54
  fleetfinder/templates/fleetfinder/join-fleet.html,sha256=mn_B8o5MUlG4UYvFajoGaGmtTbQDJiYIZa-LsSmer50,2000
57
- fleetfinder/templates/fleetfinder/bundles/css/fleetfinder-css.html,sha256=0yJLTi3Xx1qzGT-V53D191HMqWkkJFESFvX1nhbY16A,75
58
- fleetfinder/templates/fleetfinder/bundles/css/slim-select-css.html,sha256=4sC5sa6eGutAH1VsaTY-THtlxNYQzaL-6rNcKVouLiM,97
59
- fleetfinder/templates/fleetfinder/bundles/js/slim-select-js.html,sha256=aXa7Cg4vcLywqaGRGz9v0bPL7B3-V6en1OrnR9vRWsI,95
55
+ fleetfinder/templates/fleetfinder/bundles/css/fleetfinder-css.html,sha256=qwygOlxlL_346BHPBNU8KZhNFdJKmOXx81zSsDIKbjk,71
56
+ fleetfinder/templates/fleetfinder/bundles/css/slim-select-css.html,sha256=i_aZCBfN7XVHEcXycjQDvmt1kVYwDw_5QobTW1jYcwA,93
57
+ fleetfinder/templates/fleetfinder/bundles/js/slim-select-js.html,sha256=1IAeWgMkHrbVbhwSBOekt7NfFc8y4LvKh2OqXQmu940,91
60
58
  fleetfinder/templates/fleetfinder/partials/body/form-fleet-details.html,sha256=8xfjGRNmzIUHrlV-xz2P11vupAdpC8oUGFPxlnjJKFQ,2149
61
59
  fleetfinder/templates/fleetfinder/partials/footer/app-translation-footer.html,sha256=nDZPOnsQLBN9meAhxnhd0ynUQIVi3YPzhi47n89zcIg,422
62
60
  fleetfinder/templates/fleetfinder/partials/header/header-nav-left.html,sha256=l9GUryGNYZjfej_SKa_wg2aQZE5ybPBFz21dgGixcwk,287
63
61
  fleetfinder/templates/fleetfinder/partials/header/header-nav-right.html,sha256=o8njJMpjCG0W9O_fP-NNOM1Mi1gUl7fARV1XTXrJXCI,575
64
62
  fleetfinder/templatetags/__init__.py,sha256=sP2D1ovt2gGAPLcGQkByRgXYhvUJ6C52mZMlLIALQ8s,37
65
- fleetfinder/templatetags/fleetfinder.py,sha256=KNiNKtDZPiv6ETDY1QtpwbA0VzYxCQXWmJrQ7nou8Jo,3017
63
+ fleetfinder/templatetags/fleetfinder.py,sha256=I_pLRgCPS6MYdzvsLZL0quNTor_BNz_2125DnpvqbFE,717
66
64
  fleetfinder/tests/__init__.py,sha256=NLuMBNDHYOXDmPgpyG-g_kDaATVQWv1iC-dJ8BA1kZc,29
67
65
  fleetfinder/tests/test_access.py,sha256=rQAfeEre2CmCszFTLV_53HK7m5Odq7ZqACJ3kcedgjk,1691
68
66
  fleetfinder/tests/test_auth_hooks.py,sha256=XEB0LJmxxJCDlYhxKzcRiEHYrn1k_NkShrDGV_bcweg,2174
69
67
  fleetfinder/tests/test_settings.py,sha256=CuarOzsrkoMx7dmqolsnhnuhis7N10GaOULo6KYIl7k,710
70
- fleetfinder/tests/test_templatetags.py,sha256=XaeDgIBuSh_ydX8TBeK92KpHu3dfbpzjYCK_TnDhbzc,4092
68
+ fleetfinder/tests/test_templatetags.py,sha256=lIe1X0TCuFwWcgsqZw4VGQLgqMsqEjNbPwqhtD8c4Qk,1414
71
69
  fleetfinder/tests/utils.py,sha256=ynwH67jb14UFi6hpLAXe_FcYdQcjET_sxuUylWPNpnk,1451
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,,
70
+ aa_fleetfinder-2.4.0.dist-info/METADATA,sha256=b_Tz-FDe1lEF5UCNF4KR40G4dk4BgyEIPtdhrK6SNAU,48063
71
+ aa_fleetfinder-2.4.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
72
+ aa_fleetfinder-2.4.0.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
73
+ aa_fleetfinder-2.4.0.dist-info/RECORD,,
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.3"
8
+ __version__ = "2.4.0"
9
9
  __title__ = _("Fleet Finder")
10
10
  __verbose_name__ = "Fleet Finder for Alliance Auth"
@@ -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-04-09 10:23+0200\n"
9
+ "POT-Creation-Date: 2025-06-03 10:57+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"
Binary file
@@ -1,13 +1,13 @@
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
- # "H. Peter Pfeufer" <info@ppfeufer.de>, 2023, 2024.
4
+ # "H. Peter Pfeufer" <info@ppfeufer.de>, 2023, 2024, 2025.
5
5
  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-04-09 10:23+0200\n"
10
- "PO-Revision-Date: 2024-05-10 14:03+0000\n"
9
+ "POT-Creation-Date: 2025-06-03 10:57+0200\n"
10
+ "PO-Revision-Date: 2025-04-25 11:24+0000\n"
11
11
  "Last-Translator: Peter Pfeufer <info@ppfeufer.de>\n"
12
12
  "Language-Team: German <https://weblate.ppfeufer.de/projects/alliance-auth-apps/aa-fleetfinder/de/>\n"
13
13
  "Language: de\n"
@@ -15,7 +15,7 @@ msgstr ""
15
15
  "Content-Type: text/plain; charset=UTF-8\n"
16
16
  "Content-Transfer-Encoding: 8bit\n"
17
17
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
18
- "X-Generator: Weblate 5.5.3\n"
18
+ "X-Generator: Weblate 5.11\n"
19
19
 
20
20
  #: fleetfinder/__init__.py:9 fleetfinder/models.py:24
21
21
  #: fleetfinder/templates/fleetfinder/base.html:6
@@ -6,9 +6,9 @@
6
6
  #, fuzzy
7
7
  msgid ""
8
8
  msgstr ""
9
- "Project-Id-Version: AA Fleet Finder 2.3.3\n"
9
+ "Project-Id-Version: AA Fleet Finder 2.4.0\n"
10
10
  "Report-Msgid-Bugs-To: https://github.com/ppfeufer/aa-fleetfinder/issues\n"
11
- "POT-Creation-Date: 2025-04-09 10:23+0200\n"
11
+ "POT-Creation-Date: 2025-06-03 10:57+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"
@@ -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-04-09 10:23+0200\n"
10
+ "POT-Creation-Date: 2025-06-03 10:57+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"
@@ -6,13 +6,13 @@
6
6
  # Matthias P <randomusernetcom@gmail.com>, 2024.
7
7
  # Hexo <ghostcig@free.fr>, 2024.
8
8
  # Houbi_Houba <paul.lacape@live.fr>, 2024.
9
- # balbozorre <loic.petiot2002@gmail.com>, 2024.
9
+ # balbozorre <loic.petiot2002@gmail.com>, 2024, 2025.
10
10
  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-04-09 10:23+0200\n"
15
- "PO-Revision-Date: 2024-12-10 17:15+0000\n"
14
+ "POT-Creation-Date: 2025-06-03 10:57+0200\n"
15
+ "PO-Revision-Date: 2025-05-20 16:24+0000\n"
16
16
  "Last-Translator: balbozorre <loic.petiot2002@gmail.com>\n"
17
17
  "Language-Team: French <https://weblate.ppfeufer.de/projects/alliance-auth-apps/aa-fleetfinder/fr/>\n"
18
18
  "Language: fr_FR\n"
@@ -20,7 +20,7 @@ msgstr ""
20
20
  "Content-Type: text/plain; charset=UTF-8\n"
21
21
  "Content-Transfer-Encoding: 8bit\n"
22
22
  "Plural-Forms: nplurals=2; plural=n > 1;\n"
23
- "X-Generator: Weblate 5.8.4\n"
23
+ "X-Generator: Weblate 5.11.4\n"
24
24
 
25
25
  #: fleetfinder/__init__.py:9 fleetfinder/models.py:24
26
26
  #: fleetfinder/templates/fleetfinder/base.html:6
@@ -74,16 +74,16 @@ msgstr "Date et heure de création"
74
74
  #: fleetfinder/models.py:62
75
75
  #: fleetfinder/templates/fleetfinder/partials/body/form-fleet-details.html:37
76
76
  msgid "Fleet MOTD"
77
- msgstr ""
77
+ msgstr "MOTD de la flotte"
78
78
 
79
79
  #: fleetfinder/models.py:63
80
80
  msgid "Free move"
81
- msgstr ""
81
+ msgstr "Mouvement libre"
82
82
 
83
83
  #: fleetfinder/models.py:69
84
84
  #: fleetfinder/templates/fleetfinder/partials/body/form-fleet-details.html:32
85
85
  msgid "Only selected groups will have access to the fleet. If no groups are selected the fleet will be available to all who have access to this module."
86
- msgstr ""
86
+ msgstr "Seuls les groupes sélectionnés auront accès à la flotte. Si aucun groupe n'est sélectionné, la flotte sera accessible à tous ceux qui ont accès à ce module."
87
87
 
88
88
  #: fleetfinder/models.py:73
89
89
  msgid "Group restrictions"
@@ -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-04-09 10:23+0200\n"
10
+ "POT-Creation-Date: 2025-06-03 10:57+0200\n"
11
11
  "PO-Revision-Date: 2024-12-22 21:15+0000\n"
12
12
  "Last-Translator: Peter Pfeufer <info@ppfeufer.de>\n"
13
13
  "Language-Team: Italian <https://weblate.ppfeufer.de/projects/alliance-auth-apps/aa-fleetfinder/it/>\n"
@@ -8,7 +8,7 @@ msgid ""
8
8
  msgstr ""
9
9
  "Project-Id-Version: AA Fleet Finder 2.2.1\n"
10
10
  "Report-Msgid-Bugs-To: https://github.com/ppfeufer/aa-fleetfinder/issues\n"
11
- "POT-Creation-Date: 2025-04-09 10:23+0200\n"
11
+ "POT-Creation-Date: 2025-06-03 10:57+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"
@@ -4,20 +4,21 @@
4
4
  # Author50CO <tkddlschry@gmail.com>, 2023, 2024.
5
5
  # Peter Pfeufer <info@ppfeufer.de>, 2023, 2024.
6
6
  # Mind of the Raven <okanieva@gmail.com>, 2024.
7
+ # SiO4 <hohoit0078@gmail.com>, 2025.
7
8
  msgid ""
8
9
  msgstr ""
9
10
  "Project-Id-Version: AA Fleet Finder 2.2.1\n"
10
11
  "Report-Msgid-Bugs-To: https://github.com/ppfeufer/aa-fleetfinder/issues\n"
11
- "POT-Creation-Date: 2025-04-09 10:23+0200\n"
12
- "PO-Revision-Date: 2024-05-10 14:03+0000\n"
13
- "Last-Translator: Mind of the Raven <okanieva@gmail.com>\n"
12
+ "POT-Creation-Date: 2025-06-03 10:57+0200\n"
13
+ "PO-Revision-Date: 2025-04-28 07:24+0000\n"
14
+ "Last-Translator: SiO4 <hohoit0078@gmail.com>\n"
14
15
  "Language-Team: Korean <https://weblate.ppfeufer.de/projects/alliance-auth-apps/aa-fleetfinder/ko/>\n"
15
16
  "Language: ko_KR\n"
16
17
  "MIME-Version: 1.0\n"
17
18
  "Content-Type: text/plain; charset=UTF-8\n"
18
19
  "Content-Transfer-Encoding: 8bit\n"
19
20
  "Plural-Forms: nplurals=1; plural=0;\n"
20
- "X-Generator: Weblate 5.5.3\n"
21
+ "X-Generator: Weblate 5.11.1\n"
21
22
 
22
23
  #: fleetfinder/__init__.py:9 fleetfinder/models.py:24
23
24
  #: fleetfinder/templates/fleetfinder/base.html:6
@@ -204,7 +205,7 @@ msgstr "이 앱을 번역하거나 기존 번역을 개선하고 싶으신가요
204
205
 
205
206
  #: fleetfinder/templates/fleetfinder/partials/footer/app-translation-footer.html:8
206
207
  msgid "Join our team of translators!"
207
- msgstr "번역팀에 참여하세요!"
208
+ msgstr "번역가 팀에 참여하세요!"
208
209
 
209
210
  #: fleetfinder/templates/fleetfinder/partials/header/header-nav-left.html:6
210
211
  #, fuzzy
@@ -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-04-09 10:23+0200\n"
10
+ "POT-Creation-Date: 2025-06-03 10:57+0200\n"
11
11
  "PO-Revision-Date: 2024-05-10 14:03+0000\n"
12
12
  "Last-Translator: Anonymous <noreply@weblate.org>\n"
13
13
  "Language-Team: Dutch <https://weblate.ppfeufer.de/projects/alliance-auth-apps/aa-fleetfinder/nl/>\n"
@@ -6,7 +6,7 @@ msgid ""
6
6
  msgstr ""
7
7
  "Project-Id-Version: AA Fleet Finder 2.2.1\n"
8
8
  "Report-Msgid-Bugs-To: https://github.com/ppfeufer/aa-fleetfinder/issues\n"
9
- "POT-Creation-Date: 2025-04-09 10:23+0200\n"
9
+ "POT-Creation-Date: 2025-06-03 10:57+0200\n"
10
10
  "PO-Revision-Date: 2024-05-10 14:03+0000\n"
11
11
  "Last-Translator: Peter Pfeufer <info@ppfeufer.de>\n"
12
12
  "Language-Team: Polish <https://weblate.ppfeufer.de/projects/alliance-auth-apps/aa-fleetfinder/pl/>\n"
@@ -9,7 +9,7 @@ msgid ""
9
9
  msgstr ""
10
10
  "Project-Id-Version: AA Fleet Finder 2.2.1\n"
11
11
  "Report-Msgid-Bugs-To: https://github.com/ppfeufer/aa-fleetfinder/issues\n"
12
- "POT-Creation-Date: 2025-04-09 10:23+0200\n"
12
+ "POT-Creation-Date: 2025-06-03 10:57+0200\n"
13
13
  "PO-Revision-Date: 2024-06-06 14:27+0000\n"
14
14
  "Last-Translator: Roycce_ <malyasov.roma@mail.ru>\n"
15
15
  "Language-Team: Russian <https://weblate.ppfeufer.de/projects/alliance-auth-apps/aa-fleetfinder/ru/>\n"
@@ -7,7 +7,7 @@ msgid ""
7
7
  msgstr ""
8
8
  "Project-Id-Version: AA Fleet Finder 2.2.1\n"
9
9
  "Report-Msgid-Bugs-To: https://github.com/ppfeufer/aa-fleetfinder/issues\n"
10
- "POT-Creation-Date: 2025-04-09 10:23+0200\n"
10
+ "POT-Creation-Date: 2025-06-03 10:57+0200\n"
11
11
  "PO-Revision-Date: 2024-05-10 14:03+0000\n"
12
12
  "Last-Translator: Anonymous <noreply@weblate.org>\n"
13
13
  "Language-Team: Slovak <https://weblate.ppfeufer.de/projects/alliance-auth-apps/aa-fleetfinder/sk/>\n"
Binary file
@@ -5,13 +5,14 @@
5
5
  # Peter Pfeufer <info@ppfeufer.de>, 2023, 2024.
6
6
  # Kristof <kristof@teh.ninja>, 2023, 2024.
7
7
  # M <skrypets@gmail.com>, 2025.
8
+ # s0k0l -_- <salarysalo@gmail.com>, 2025.
8
9
  msgid ""
9
10
  msgstr ""
10
11
  "Project-Id-Version: AA Fleet Finder 2.2.1\n"
11
12
  "Report-Msgid-Bugs-To: https://github.com/ppfeufer/aa-fleetfinder/issues\n"
12
- "POT-Creation-Date: 2025-04-09 10:23+0200\n"
13
- "PO-Revision-Date: 2025-03-23 08:24+0000\n"
14
- "Last-Translator: M <skrypets@gmail.com>\n"
13
+ "POT-Creation-Date: 2025-06-03 10:57+0200\n"
14
+ "PO-Revision-Date: 2025-04-10 07:05+0000\n"
15
+ "Last-Translator: s0k0l -_- <salarysalo@gmail.com>\n"
15
16
  "Language-Team: Ukrainian <https://weblate.ppfeufer.de/projects/alliance-auth-apps/aa-fleetfinder/uk/>\n"
16
17
  "Language: uk\n"
17
18
  "MIME-Version: 1.0\n"
@@ -76,7 +77,7 @@ msgstr "«Шапка» флоту"
76
77
 
77
78
  #: fleetfinder/models.py:63
78
79
  msgid "Free move"
79
- msgstr "Дозволити вільне переміщення"
80
+ msgstr "вільне переміщення"
80
81
 
81
82
  #: fleetfinder/models.py:69
82
83
  #: fleetfinder/templates/fleetfinder/partials/body/form-fleet-details.html:32
@@ -107,7 +108,7 @@ msgstr "Створити флот"
107
108
 
108
109
  #: fleetfinder/templates/fleetfinder/dashboard.html:10
109
110
  msgid "Fleets available to you"
110
- msgstr "Доступні флоти"
111
+ msgstr "Флоти що доступні Вам"
111
112
 
112
113
  #: fleetfinder/templates/fleetfinder/dashboard.html:21
113
114
  msgid "Created at"
@@ -9,7 +9,7 @@ msgid ""
9
9
  msgstr ""
10
10
  "Project-Id-Version: AA Fleet Finder 2.2.1\n"
11
11
  "Report-Msgid-Bugs-To: https://github.com/ppfeufer/aa-fleetfinder/issues\n"
12
- "POT-Creation-Date: 2025-04-09 10:23+0200\n"
12
+ "POT-Creation-Date: 2025-06-03 10:57+0200\n"
13
13
  "PO-Revision-Date: 2024-06-06 14:27+0000\n"
14
14
  "Last-Translator: Peter Pfeufer <info@ppfeufer.de>\n"
15
15
  "Language-Team: Chinese (Simplified) <https://weblate.ppfeufer.de/projects/alliance-auth-apps/aa-fleetfinder/zh_Hans/>\n"
@@ -1,3 +1,3 @@
1
- {% load fleetfinder %}
1
+ {% load sri %}
2
2
 
3
- {% fleetfinder_static "css/fleetfinder.min.css" %}
3
+ {% sri_static "fleetfinder/css/fleetfinder.min.css" %}
@@ -1,3 +1,3 @@
1
- {% load fleetfinder %}
1
+ {% load sri %}
2
2
 
3
- {% fleetfinder_static "libs/slim-select/2.6.0/css/slimselect.min.css" %}
3
+ {% sri_static "fleetfinder/libs/slim-select/2.6.0/css/slimselect.min.css" %}
@@ -1,3 +1,3 @@
1
- {% load fleetfinder %}
1
+ {% load sri %}
2
2
 
3
- {% fleetfinder_static "libs/slim-select/2.6.0/js/slimselect.min.js" %}
3
+ {% sri_static "fleetfinder/libs/slim-select/2.6.0/js/slimselect.min.js" %}
@@ -2,13 +2,8 @@
2
2
  Versioned static URLs to break browser caches when changing the app version
3
3
  """
4
4
 
5
- # Standard Library
6
- import os
7
-
8
5
  # Django
9
6
  from django.template.defaulttags import register
10
- from django.templatetags.static import static
11
- from django.utils.safestring import mark_safe
12
7
 
13
8
  # Alliance Auth
14
9
  from allianceauth.services.hooks import get_extension_logger
@@ -17,75 +12,11 @@ from allianceauth.services.hooks import get_extension_logger
17
12
  from app_utils.logging import LoggerAddTag
18
13
 
19
14
  # AA Fleet Finder
20
- from fleetfinder import __title__, __version__
21
- from fleetfinder.app_settings import debug_enabled
22
- from fleetfinder.constants import PACKAGE_NAME
23
- from fleetfinder.helper.static_files import calculate_integrity_hash
15
+ from fleetfinder import __title__
24
16
 
25
17
  logger = LoggerAddTag(my_logger=get_extension_logger(__name__), prefix=__title__)
26
18
 
27
19
 
28
- @register.simple_tag
29
- def fleetfinder_static(relative_file_path: str, script_type: str = None) -> str | None:
30
- """
31
- Versioned static URL
32
-
33
- :param relative_file_path: The file path relative to the `{APP_NAME}/{PACKAGE_NAME}/static/{PACKAGE_NAME}` folder
34
- :type relative_file_path: str
35
- :param script_type: The script type
36
- :type script_type: str
37
- :return: Versioned static URL
38
- :rtype: str
39
- """
40
-
41
- logger.debug(f"Getting versioned static URL for: {relative_file_path}")
42
-
43
- file_type = os.path.splitext(relative_file_path)[1][1:]
44
-
45
- logger.debug(f"File extension: {file_type}")
46
-
47
- # Only support CSS and JS files
48
- if file_type not in ["css", "js"]:
49
- raise ValueError(f"Unsupported file type: {file_type}")
50
-
51
- static_file_path = os.path.join(PACKAGE_NAME, relative_file_path)
52
- static_url = static(static_file_path)
53
-
54
- # Integrity hash calculation only for non-debug mode
55
- sri_string = (
56
- f' integrity="{calculate_integrity_hash(relative_file_path)}" crossorigin="anonymous"'
57
- if not debug_enabled()
58
- else ""
59
- )
60
-
61
- # Versioned URL for CSS and JS files
62
- # Add version query parameter to break browser caches when changing the app version
63
- # Do not add version query parameter for libs as they are already versioned through their file path
64
- versioned_url = (
65
- static_url
66
- if relative_file_path.startswith("libs/")
67
- else static_url + "?v=" + __version__
68
- )
69
-
70
- return_value = None
71
-
72
- # Return the versioned URL with integrity hash for CSS
73
- if file_type == "css":
74
- return_value = mark_safe(
75
- f'<link rel="stylesheet" href="{versioned_url}"{sri_string}>'
76
- )
77
-
78
- # Return the versioned URL with integrity hash for JS files
79
- if file_type == "js":
80
- js_type = f' type="{script_type}"' if script_type else ""
81
-
82
- return_value = mark_safe(
83
- f'<script{js_type} src="{versioned_url}"{sri_string}></script>'
84
- )
85
-
86
- return return_value
87
-
88
-
89
20
  @register.filter
90
21
  def get_item(dictionary: dict | None, key: str) -> str | None:
91
22
  """
@@ -3,99 +3,12 @@ Test the apps' template tags
3
3
  """
4
4
 
5
5
  # Django
6
- from django.template import Context, Template
7
- from django.test import TestCase, override_settings
6
+ from django.test import TestCase
8
7
 
9
8
  # AA Fleet Finder
10
- from fleetfinder import __version__
11
- from fleetfinder.constants import PACKAGE_NAME
12
- from fleetfinder.helper.static_files import calculate_integrity_hash
13
9
  from fleetfinder.templatetags.fleetfinder import get_item
14
10
 
15
11
 
16
- class TestVersionedStatic(TestCase):
17
- """
18
- Test the `fleetfinder_static` template tag
19
- """
20
-
21
- @override_settings(DEBUG=False)
22
- def test_versioned_static(self):
23
- """
24
- Test should return the versioned static
25
-
26
- :return:
27
- :rtype:
28
- """
29
-
30
- context = Context(dict_={"version": __version__})
31
- template_to_render = Template(
32
- template_string=(
33
- "{% load fleetfinder %}"
34
- "{% fleetfinder_static 'css/fleetfinder.min.css' %}"
35
- )
36
- )
37
-
38
- rendered_template = template_to_render.render(context=context)
39
-
40
- expected_static_css_src = (
41
- f'/static/{PACKAGE_NAME}/css/fleetfinder.min.css?v={context["version"]}'
42
- )
43
- expected_static_css_src_integrity = calculate_integrity_hash(
44
- "css/fleetfinder.min.css"
45
- )
46
-
47
- self.assertIn(member=expected_static_css_src, container=rendered_template)
48
- self.assertIn(
49
- member=expected_static_css_src_integrity, container=rendered_template
50
- )
51
-
52
- @override_settings(DEBUG=True)
53
- def test_versioned_static_with_debug_enabled(self) -> None:
54
- """
55
- Test versioned static template tag with DEBUG enabled
56
-
57
- :return:
58
- :rtype:
59
- """
60
-
61
- context = Context({"version": __version__})
62
- template_to_render = Template(
63
- template_string=(
64
- "{% load fleetfinder %}"
65
- "{% fleetfinder_static 'css/fleetfinder.min.css' %}"
66
- )
67
- )
68
-
69
- rendered_template = template_to_render.render(context=context)
70
-
71
- expected_static_css_src = (
72
- f'/static/{PACKAGE_NAME}/css/fleetfinder.min.css?v={context["version"]}'
73
- )
74
-
75
- self.assertIn(member=expected_static_css_src, container=rendered_template)
76
- self.assertNotIn(member="integrity=", container=rendered_template)
77
-
78
- @override_settings(DEBUG=False)
79
- def test_invalid_file_type(self) -> None:
80
- """
81
- Test should raise a ValueError for an invalid file type
82
-
83
- :return:
84
- :rtype:
85
- """
86
-
87
- context = Context({"version": __version__})
88
- template_to_render = Template(
89
- template_string=(
90
- "{% load fleetfinder %}"
91
- "{% fleetfinder_static 'invalid/invalid.txt' %}"
92
- )
93
- )
94
-
95
- with self.assertRaises(ValueError):
96
- template_to_render.render(context=context)
97
-
98
-
99
12
  class TestGetItem(TestCase):
100
13
  """
101
14
  Test the `get_item` template tag
File without changes
@@ -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 Fleet Finder
19
- from fleetfinder import __title__
20
- from fleetfinder.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
- 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
- )
41
-
42
- return integrity_hash