django-esi 8.1.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (100) hide show
  1. django_esi-8.1.0.dist-info/METADATA +93 -0
  2. django_esi-8.1.0.dist-info/RECORD +100 -0
  3. django_esi-8.1.0.dist-info/WHEEL +4 -0
  4. django_esi-8.1.0.dist-info/licenses/LICENSE +674 -0
  5. esi/__init__.py +7 -0
  6. esi/admin.py +42 -0
  7. esi/aiopenapi3/client.py +79 -0
  8. esi/aiopenapi3/plugins.py +224 -0
  9. esi/app_settings.py +112 -0
  10. esi/apps.py +11 -0
  11. esi/checks.py +56 -0
  12. esi/clients.py +657 -0
  13. esi/decorators.py +271 -0
  14. esi/errors.py +22 -0
  15. esi/exceptions.py +51 -0
  16. esi/helpers.py +63 -0
  17. esi/locale/cs_CZ/LC_MESSAGES/django.mo +0 -0
  18. esi/locale/cs_CZ/LC_MESSAGES/django.po +53 -0
  19. esi/locale/de/LC_MESSAGES/django.mo +0 -0
  20. esi/locale/de/LC_MESSAGES/django.po +58 -0
  21. esi/locale/en/LC_MESSAGES/django.mo +0 -0
  22. esi/locale/en/LC_MESSAGES/django.po +54 -0
  23. esi/locale/es/LC_MESSAGES/django.mo +0 -0
  24. esi/locale/es/LC_MESSAGES/django.po +59 -0
  25. esi/locale/fr_FR/LC_MESSAGES/django.mo +0 -0
  26. esi/locale/fr_FR/LC_MESSAGES/django.po +59 -0
  27. esi/locale/it_IT/LC_MESSAGES/django.mo +0 -0
  28. esi/locale/it_IT/LC_MESSAGES/django.po +59 -0
  29. esi/locale/ja/LC_MESSAGES/django.mo +0 -0
  30. esi/locale/ja/LC_MESSAGES/django.po +58 -0
  31. esi/locale/ko_KR/LC_MESSAGES/django.mo +0 -0
  32. esi/locale/ko_KR/LC_MESSAGES/django.po +58 -0
  33. esi/locale/nl_NL/LC_MESSAGES/django.mo +0 -0
  34. esi/locale/nl_NL/LC_MESSAGES/django.po +53 -0
  35. esi/locale/pl_PL/LC_MESSAGES/django.mo +0 -0
  36. esi/locale/pl_PL/LC_MESSAGES/django.po +53 -0
  37. esi/locale/ru/LC_MESSAGES/django.mo +0 -0
  38. esi/locale/ru/LC_MESSAGES/django.po +61 -0
  39. esi/locale/sk/LC_MESSAGES/django.mo +0 -0
  40. esi/locale/sk/LC_MESSAGES/django.po +55 -0
  41. esi/locale/uk/LC_MESSAGES/django.mo +0 -0
  42. esi/locale/uk/LC_MESSAGES/django.po +57 -0
  43. esi/locale/zh_Hans/LC_MESSAGES/django.mo +0 -0
  44. esi/locale/zh_Hans/LC_MESSAGES/django.po +58 -0
  45. esi/management/commands/__init__.py +0 -0
  46. esi/management/commands/esi_clear_spec_cache.py +21 -0
  47. esi/management/commands/generate_esi_stubs.py +661 -0
  48. esi/management/commands/migrate_to_ssov2.py +188 -0
  49. esi/managers.py +303 -0
  50. esi/managers.pyi +85 -0
  51. esi/migrations/0001_initial.py +55 -0
  52. esi/migrations/0002_scopes_20161208.py +56 -0
  53. esi/migrations/0003_hide_tokens_from_admin_site.py +23 -0
  54. esi/migrations/0004_remove_unique_access_token.py +18 -0
  55. esi/migrations/0005_remove_token_length_limit.py +23 -0
  56. esi/migrations/0006_remove_url_length_limit.py +18 -0
  57. esi/migrations/0007_fix_mysql_8_migration.py +18 -0
  58. esi/migrations/0008_nullable_refresh_token.py +18 -0
  59. esi/migrations/0009_set_old_tokens_to_sso_v1.py +18 -0
  60. esi/migrations/0010_set_new_tokens_to_sso_v2.py +18 -0
  61. esi/migrations/0011_add_token_indices.py +28 -0
  62. esi/migrations/0012_fix_token_type_choices.py +18 -0
  63. esi/migrations/0013_squashed_0012_fix_token_type_choices.py +57 -0
  64. esi/migrations/__init__.py +0 -0
  65. esi/models.py +349 -0
  66. esi/openapi_clients.py +1225 -0
  67. esi/rate_limiting.py +107 -0
  68. esi/signals.py +21 -0
  69. esi/static/esi/img/EVE_SSO_Login_Buttons_Large_Black.png +0 -0
  70. esi/static/esi/img/EVE_SSO_Login_Buttons_Large_White.png +0 -0
  71. esi/static/esi/img/EVE_SSO_Login_Buttons_Small_Black.png +0 -0
  72. esi/static/esi/img/EVE_SSO_Login_Buttons_Small_White.png +0 -0
  73. esi/stubs.py +2 -0
  74. esi/stubs.pyi +6807 -0
  75. esi/tasks.py +78 -0
  76. esi/templates/esi/select_token.html +116 -0
  77. esi/templatetags/__init__.py +0 -0
  78. esi/templatetags/scope_tags.py +8 -0
  79. esi/tests/__init__.py +134 -0
  80. esi/tests/client_authed_pilot.py +63 -0
  81. esi/tests/client_public_pilot.py +53 -0
  82. esi/tests/factories.py +47 -0
  83. esi/tests/factories_2.py +60 -0
  84. esi/tests/jwt_factory.py +135 -0
  85. esi/tests/test_checks.py +48 -0
  86. esi/tests/test_clients.py +1019 -0
  87. esi/tests/test_decorators.py +578 -0
  88. esi/tests/test_management_command.py +307 -0
  89. esi/tests/test_managers.py +673 -0
  90. esi/tests/test_models.py +403 -0
  91. esi/tests/test_openapi.json +854 -0
  92. esi/tests/test_openapi.py +1017 -0
  93. esi/tests/test_swagger.json +489 -0
  94. esi/tests/test_swagger_full.json +51112 -0
  95. esi/tests/test_tasks.py +116 -0
  96. esi/tests/test_templatetags.py +22 -0
  97. esi/tests/test_views.py +331 -0
  98. esi/tests/threading_pilot.py +69 -0
  99. esi/urls.py +9 -0
  100. esi/views.py +129 -0
@@ -0,0 +1,59 @@
1
+ # SOME DESCRIPTIVE TITLE.
2
+ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3
+ # This file is distributed under the same license as the PACKAGE package.
4
+ # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5
+ #
6
+ # Translators:
7
+ # rockclodbuster, 2023
8
+ #
9
+ #, fuzzy
10
+ msgid ""
11
+ msgstr ""
12
+ "Project-Id-Version: Django ESI 8.1.0\n"
13
+ "Report-Msgid-Bugs-To: https://gitlab.com/allianceauth/django-esi/-/issues\n"
14
+ "POT-Creation-Date: 2025-11-19 16:22+1000\n"
15
+ "PO-Revision-Date: 2020-12-28 06:44+0000\n"
16
+ "Last-Translator: rockclodbuster, 2023\n"
17
+ "Language-Team: French (France) (https://app.transifex.com/alliance-auth/"
18
+ "teams/107430/fr_FR/)\n"
19
+ "Language: fr_FR\n"
20
+ "MIME-Version: 1.0\n"
21
+ "Content-Type: text/plain; charset=UTF-8\n"
22
+ "Content-Transfer-Encoding: 8bit\n"
23
+ "Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % "
24
+ "1000000 == 0 ? 1 : 2;\n"
25
+
26
+ #: esi/models.py:66
27
+ msgid "Character"
28
+ msgstr ""
29
+
30
+ #: esi/models.py:67
31
+ msgid "Corporation"
32
+ msgstr ""
33
+
34
+ #: esi/templates/esi/select_token.html:13
35
+ msgid "ESI Token Selection"
36
+ msgstr ""
37
+
38
+ #: esi/templates/esi/select_token.html:44
39
+ msgid "Select Character"
40
+ msgstr "Sélectionnez un personnage"
41
+
42
+ #: esi/templates/esi/select_token.html:48
43
+ msgid "Scopes Requested"
44
+ msgstr ""
45
+
46
+ #: esi/templates/esi/select_token.html:61
47
+ #: esi/templates/esi/select_token.html:98
48
+ msgid "New Character"
49
+ msgstr "Nouveau personnage"
50
+
51
+ #: esi/templates/esi/select_token.html:71
52
+ #: esi/templates/esi/select_token.html:107
53
+ msgid "Add Token"
54
+ msgstr ""
55
+
56
+ #: esi/templates/esi/select_token.html:88
57
+ #: esi/templates/esi/select_token.html:89
58
+ msgid "Select"
59
+ msgstr "Sélectionnez"
Binary file
@@ -0,0 +1,59 @@
1
+ # SOME DESCRIPTIVE TITLE.
2
+ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3
+ # This file is distributed under the same license as the PACKAGE package.
4
+ # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5
+ #
6
+ # Translators:
7
+ # Thomas Turini, 2024
8
+ #
9
+ #, fuzzy
10
+ msgid ""
11
+ msgstr ""
12
+ "Project-Id-Version: Django ESI 8.1.0\n"
13
+ "Report-Msgid-Bugs-To: https://gitlab.com/allianceauth/django-esi/-/issues\n"
14
+ "POT-Creation-Date: 2025-11-19 16:22+1000\n"
15
+ "PO-Revision-Date: 2023-10-25 11:04+0000\n"
16
+ "Last-Translator: Thomas Turini, 2024\n"
17
+ "Language-Team: Italian (Italy) (https://app.transifex.com/alliance-auth/"
18
+ "teams/107430/it_IT/)\n"
19
+ "Language: it_IT\n"
20
+ "MIME-Version: 1.0\n"
21
+ "Content-Type: text/plain; charset=UTF-8\n"
22
+ "Content-Transfer-Encoding: 8bit\n"
23
+ "Plural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? "
24
+ "1 : 2;\n"
25
+
26
+ #: esi/models.py:66
27
+ msgid "Character"
28
+ msgstr "Personaggio"
29
+
30
+ #: esi/models.py:67
31
+ msgid "Corporation"
32
+ msgstr "Corporazione"
33
+
34
+ #: esi/templates/esi/select_token.html:13
35
+ msgid "ESI Token Selection"
36
+ msgstr "Selezione dei Token ESI"
37
+
38
+ #: esi/templates/esi/select_token.html:44
39
+ msgid "Select Character"
40
+ msgstr "Selezione Personaggio"
41
+
42
+ #: esi/templates/esi/select_token.html:48
43
+ msgid "Scopes Requested"
44
+ msgstr "Ambito Richiesto"
45
+
46
+ #: esi/templates/esi/select_token.html:61
47
+ #: esi/templates/esi/select_token.html:98
48
+ msgid "New Character"
49
+ msgstr "Nuovo Personaggio"
50
+
51
+ #: esi/templates/esi/select_token.html:71
52
+ #: esi/templates/esi/select_token.html:107
53
+ msgid "Add Token"
54
+ msgstr "Agg. Token"
55
+
56
+ #: esi/templates/esi/select_token.html:88
57
+ #: esi/templates/esi/select_token.html:89
58
+ msgid "Select"
59
+ msgstr "Seleziona"
Binary file
@@ -0,0 +1,58 @@
1
+ # SOME DESCRIPTIVE TITLE.
2
+ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3
+ # This file is distributed under the same license as the PACKAGE package.
4
+ # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5
+ #
6
+ # Translators:
7
+ # kotaneko, 2023
8
+ #
9
+ #, fuzzy
10
+ msgid ""
11
+ msgstr ""
12
+ "Project-Id-Version: Django ESI 8.1.0\n"
13
+ "Report-Msgid-Bugs-To: https://gitlab.com/allianceauth/django-esi/-/issues\n"
14
+ "POT-Creation-Date: 2025-11-19 16:22+1000\n"
15
+ "PO-Revision-Date: 2023-10-25 11:04+0000\n"
16
+ "Last-Translator: kotaneko, 2023\n"
17
+ "Language-Team: Japanese (https://app.transifex.com/alliance-auth/"
18
+ "teams/107430/ja/)\n"
19
+ "Language: ja\n"
20
+ "MIME-Version: 1.0\n"
21
+ "Content-Type: text/plain; charset=UTF-8\n"
22
+ "Content-Transfer-Encoding: 8bit\n"
23
+ "Plural-Forms: nplurals=1; plural=0;\n"
24
+
25
+ #: esi/models.py:66
26
+ msgid "Character"
27
+ msgstr ""
28
+
29
+ #: esi/models.py:67
30
+ msgid "Corporation"
31
+ msgstr ""
32
+
33
+ #: esi/templates/esi/select_token.html:13
34
+ msgid "ESI Token Selection"
35
+ msgstr "ESI トークンの選択"
36
+
37
+ #: esi/templates/esi/select_token.html:44
38
+ msgid "Select Character"
39
+ msgstr "キャラクター選択"
40
+
41
+ #: esi/templates/esi/select_token.html:48
42
+ msgid "Scopes Requested"
43
+ msgstr "Scopes が必要です"
44
+
45
+ #: esi/templates/esi/select_token.html:61
46
+ #: esi/templates/esi/select_token.html:98
47
+ msgid "New Character"
48
+ msgstr "新しいキャラクター"
49
+
50
+ #: esi/templates/esi/select_token.html:71
51
+ #: esi/templates/esi/select_token.html:107
52
+ msgid "Add Token"
53
+ msgstr ""
54
+
55
+ #: esi/templates/esi/select_token.html:88
56
+ #: esi/templates/esi/select_token.html:89
57
+ msgid "Select"
58
+ msgstr "選択"
Binary file
@@ -0,0 +1,58 @@
1
+ # SOME DESCRIPTIVE TITLE.
2
+ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3
+ # This file is distributed under the same license as the PACKAGE package.
4
+ # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5
+ #
6
+ # Translators:
7
+ # Seowon Jung <seowon@hawaii.edu>, 2023
8
+ #
9
+ #, fuzzy
10
+ msgid ""
11
+ msgstr ""
12
+ "Project-Id-Version: Django ESI 8.1.0\n"
13
+ "Report-Msgid-Bugs-To: https://gitlab.com/allianceauth/django-esi/-/issues\n"
14
+ "POT-Creation-Date: 2025-11-19 16:22+1000\n"
15
+ "PO-Revision-Date: 2023-10-25 11:04+0000\n"
16
+ "Last-Translator: Seowon Jung <seowon@hawaii.edu>, 2023\n"
17
+ "Language-Team: Korean (Korea) (https://app.transifex.com/alliance-auth/"
18
+ "teams/107430/ko_KR/)\n"
19
+ "Language: ko_KR\n"
20
+ "MIME-Version: 1.0\n"
21
+ "Content-Type: text/plain; charset=UTF-8\n"
22
+ "Content-Transfer-Encoding: 8bit\n"
23
+ "Plural-Forms: nplurals=1; plural=0;\n"
24
+
25
+ #: esi/models.py:66
26
+ msgid "Character"
27
+ msgstr ""
28
+
29
+ #: esi/models.py:67
30
+ msgid "Corporation"
31
+ msgstr ""
32
+
33
+ #: esi/templates/esi/select_token.html:13
34
+ msgid "ESI Token Selection"
35
+ msgstr "ESI 토큰 선택"
36
+
37
+ #: esi/templates/esi/select_token.html:44
38
+ msgid "Select Character"
39
+ msgstr "캐릭터 선택"
40
+
41
+ #: esi/templates/esi/select_token.html:48
42
+ msgid "Scopes Requested"
43
+ msgstr "요청된 범위"
44
+
45
+ #: esi/templates/esi/select_token.html:61
46
+ #: esi/templates/esi/select_token.html:98
47
+ msgid "New Character"
48
+ msgstr "새 캐릭터"
49
+
50
+ #: esi/templates/esi/select_token.html:71
51
+ #: esi/templates/esi/select_token.html:107
52
+ msgid "Add Token"
53
+ msgstr "토큰 추가"
54
+
55
+ #: esi/templates/esi/select_token.html:88
56
+ #: esi/templates/esi/select_token.html:89
57
+ msgid "Select"
58
+ msgstr "선택"
Binary file
@@ -0,0 +1,53 @@
1
+ # SOME DESCRIPTIVE TITLE.
2
+ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3
+ # This file is distributed under the same license as the PACKAGE package.
4
+ # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5
+ #
6
+ #, fuzzy
7
+ msgid ""
8
+ msgstr ""
9
+ "Project-Id-Version: Django ESI 8.1.0\n"
10
+ "Report-Msgid-Bugs-To: https://gitlab.com/allianceauth/django-esi/-/issues\n"
11
+ "POT-Creation-Date: 2025-11-19 16:22+1000\n"
12
+ "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13
+ "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
+ "Language-Team: LANGUAGE <LL@li.org>\n"
15
+ "Language: \n"
16
+ "MIME-Version: 1.0\n"
17
+ "Content-Type: text/plain; charset=UTF-8\n"
18
+ "Content-Transfer-Encoding: 8bit\n"
19
+
20
+ #: esi/models.py:66
21
+ msgid "Character"
22
+ msgstr ""
23
+
24
+ #: esi/models.py:67
25
+ msgid "Corporation"
26
+ msgstr ""
27
+
28
+ #: esi/templates/esi/select_token.html:13
29
+ msgid "ESI Token Selection"
30
+ msgstr ""
31
+
32
+ #: esi/templates/esi/select_token.html:44
33
+ msgid "Select Character"
34
+ msgstr ""
35
+
36
+ #: esi/templates/esi/select_token.html:48
37
+ msgid "Scopes Requested"
38
+ msgstr ""
39
+
40
+ #: esi/templates/esi/select_token.html:61
41
+ #: esi/templates/esi/select_token.html:98
42
+ msgid "New Character"
43
+ msgstr ""
44
+
45
+ #: esi/templates/esi/select_token.html:71
46
+ #: esi/templates/esi/select_token.html:107
47
+ msgid "Add Token"
48
+ msgstr ""
49
+
50
+ #: esi/templates/esi/select_token.html:88
51
+ #: esi/templates/esi/select_token.html:89
52
+ msgid "Select"
53
+ msgstr ""
Binary file
@@ -0,0 +1,53 @@
1
+ # SOME DESCRIPTIVE TITLE.
2
+ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3
+ # This file is distributed under the same license as the PACKAGE package.
4
+ # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5
+ #
6
+ #, fuzzy
7
+ msgid ""
8
+ msgstr ""
9
+ "Project-Id-Version: Django ESI 8.1.0\n"
10
+ "Report-Msgid-Bugs-To: https://gitlab.com/allianceauth/django-esi/-/issues\n"
11
+ "POT-Creation-Date: 2025-11-19 16:22+1000\n"
12
+ "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13
+ "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
+ "Language-Team: LANGUAGE <LL@li.org>\n"
15
+ "Language: \n"
16
+ "MIME-Version: 1.0\n"
17
+ "Content-Type: text/plain; charset=UTF-8\n"
18
+ "Content-Transfer-Encoding: 8bit\n"
19
+
20
+ #: esi/models.py:66
21
+ msgid "Character"
22
+ msgstr ""
23
+
24
+ #: esi/models.py:67
25
+ msgid "Corporation"
26
+ msgstr ""
27
+
28
+ #: esi/templates/esi/select_token.html:13
29
+ msgid "ESI Token Selection"
30
+ msgstr ""
31
+
32
+ #: esi/templates/esi/select_token.html:44
33
+ msgid "Select Character"
34
+ msgstr ""
35
+
36
+ #: esi/templates/esi/select_token.html:48
37
+ msgid "Scopes Requested"
38
+ msgstr ""
39
+
40
+ #: esi/templates/esi/select_token.html:61
41
+ #: esi/templates/esi/select_token.html:98
42
+ msgid "New Character"
43
+ msgstr ""
44
+
45
+ #: esi/templates/esi/select_token.html:71
46
+ #: esi/templates/esi/select_token.html:107
47
+ msgid "Add Token"
48
+ msgstr ""
49
+
50
+ #: esi/templates/esi/select_token.html:88
51
+ #: esi/templates/esi/select_token.html:89
52
+ msgid "Select"
53
+ msgstr ""
Binary file
@@ -0,0 +1,61 @@
1
+ # SOME DESCRIPTIVE TITLE.
2
+ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3
+ # This file is distributed under the same license as the PACKAGE package.
4
+ # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5
+ #
6
+ # Translators:
7
+ # Filipp Chertiev <f@fzfx.ru>, 2023
8
+ # Gnevich <and.vareba81@gmail.com>, 2025
9
+ #
10
+ #, fuzzy
11
+ msgid ""
12
+ msgstr ""
13
+ "Project-Id-Version: Django ESI 8.1.0\n"
14
+ "Report-Msgid-Bugs-To: https://gitlab.com/allianceauth/django-esi/-/issues\n"
15
+ "POT-Creation-Date: 2025-11-19 16:22+1000\n"
16
+ "PO-Revision-Date: 2023-10-25 11:04+0000\n"
17
+ "Last-Translator: Gnevich <and.vareba81@gmail.com>, 2025\n"
18
+ "Language-Team: Russian (https://app.transifex.com/alliance-auth/teams/107430/"
19
+ "ru/)\n"
20
+ "Language: ru\n"
21
+ "MIME-Version: 1.0\n"
22
+ "Content-Type: text/plain; charset=UTF-8\n"
23
+ "Content-Transfer-Encoding: 8bit\n"
24
+ "Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
25
+ "n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || "
26
+ "(n%100>=11 && n%100<=14)? 2 : 3);\n"
27
+
28
+ #: esi/models.py:66
29
+ msgid "Character"
30
+ msgstr "Персонаж"
31
+
32
+ #: esi/models.py:67
33
+ msgid "Corporation"
34
+ msgstr "Корпорация"
35
+
36
+ #: esi/templates/esi/select_token.html:13
37
+ msgid "ESI Token Selection"
38
+ msgstr "Выбор токена ESI"
39
+
40
+ #: esi/templates/esi/select_token.html:44
41
+ msgid "Select Character"
42
+ msgstr "Выбор персонажа"
43
+
44
+ #: esi/templates/esi/select_token.html:48
45
+ msgid "Scopes Requested"
46
+ msgstr "Запрошенные области видимости"
47
+
48
+ #: esi/templates/esi/select_token.html:61
49
+ #: esi/templates/esi/select_token.html:98
50
+ msgid "New Character"
51
+ msgstr "Новый персонаж"
52
+
53
+ #: esi/templates/esi/select_token.html:71
54
+ #: esi/templates/esi/select_token.html:107
55
+ msgid "Add Token"
56
+ msgstr "Добавить токен"
57
+
58
+ #: esi/templates/esi/select_token.html:88
59
+ #: esi/templates/esi/select_token.html:89
60
+ msgid "Select"
61
+ msgstr "Выбор"
Binary file
@@ -0,0 +1,55 @@
1
+ # SOME DESCRIPTIVE TITLE.
2
+ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3
+ # This file is distributed under the same license as the PACKAGE package.
4
+ # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5
+ #
6
+ #, fuzzy
7
+ msgid ""
8
+ msgstr ""
9
+ "Project-Id-Version: Django ESI 8.1.0\n"
10
+ "Report-Msgid-Bugs-To: https://gitlab.com/allianceauth/django-esi/-/issues\n"
11
+ "POT-Creation-Date: 2025-11-19 16:22+1000\n"
12
+ "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13
+ "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
+ "Language-Team: LANGUAGE <LL@li.org>\n"
15
+ "Language: \n"
16
+ "MIME-Version: 1.0\n"
17
+ "Content-Type: text/plain; charset=UTF-8\n"
18
+ "Content-Transfer-Encoding: 8bit\n"
19
+ "Plural-Forms: nplurals=4; plural=(n % 1 == 0 && n == 1 ? 0 : n % 1 == 0 && n "
20
+ ">= 2 && n <= 4 ? 1 : n % 1 != 0 ? 2: 3);\n"
21
+
22
+ #: esi/models.py:66
23
+ msgid "Character"
24
+ msgstr ""
25
+
26
+ #: esi/models.py:67
27
+ msgid "Corporation"
28
+ msgstr ""
29
+
30
+ #: esi/templates/esi/select_token.html:13
31
+ msgid "ESI Token Selection"
32
+ msgstr ""
33
+
34
+ #: esi/templates/esi/select_token.html:44
35
+ msgid "Select Character"
36
+ msgstr ""
37
+
38
+ #: esi/templates/esi/select_token.html:48
39
+ msgid "Scopes Requested"
40
+ msgstr ""
41
+
42
+ #: esi/templates/esi/select_token.html:61
43
+ #: esi/templates/esi/select_token.html:98
44
+ msgid "New Character"
45
+ msgstr ""
46
+
47
+ #: esi/templates/esi/select_token.html:71
48
+ #: esi/templates/esi/select_token.html:107
49
+ msgid "Add Token"
50
+ msgstr ""
51
+
52
+ #: esi/templates/esi/select_token.html:88
53
+ #: esi/templates/esi/select_token.html:89
54
+ msgid "Select"
55
+ msgstr ""
Binary file
@@ -0,0 +1,57 @@
1
+ # SOME DESCRIPTIVE TITLE.
2
+ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3
+ # This file is distributed under the same license as the PACKAGE package.
4
+ # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5
+ #
6
+ #, fuzzy
7
+ msgid ""
8
+ msgstr ""
9
+ "Project-Id-Version: Django ESI 8.1.0\n"
10
+ "Report-Msgid-Bugs-To: https://gitlab.com/allianceauth/django-esi/-/issues\n"
11
+ "POT-Creation-Date: 2025-11-19 16:22+1000\n"
12
+ "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13
+ "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
+ "Language-Team: LANGUAGE <LL@li.org>\n"
15
+ "Language: \n"
16
+ "MIME-Version: 1.0\n"
17
+ "Content-Type: text/plain; charset=UTF-8\n"
18
+ "Content-Transfer-Encoding: 8bit\n"
19
+ "Plural-Forms: nplurals=4; plural=(n % 1 == 0 && n % 10 == 1 && n % 100 != "
20
+ "11 ? 0 : n % 1 == 0 && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % "
21
+ "100 > 14) ? 1 : n % 1 == 0 && (n % 10 ==0 || (n % 10 >=5 && n % 10 <=9) || "
22
+ "(n % 100 >=11 && n % 100 <=14 )) ? 2: 3);\n"
23
+
24
+ #: esi/models.py:66
25
+ msgid "Character"
26
+ msgstr ""
27
+
28
+ #: esi/models.py:67
29
+ msgid "Corporation"
30
+ msgstr ""
31
+
32
+ #: esi/templates/esi/select_token.html:13
33
+ msgid "ESI Token Selection"
34
+ msgstr ""
35
+
36
+ #: esi/templates/esi/select_token.html:44
37
+ msgid "Select Character"
38
+ msgstr ""
39
+
40
+ #: esi/templates/esi/select_token.html:48
41
+ msgid "Scopes Requested"
42
+ msgstr ""
43
+
44
+ #: esi/templates/esi/select_token.html:61
45
+ #: esi/templates/esi/select_token.html:98
46
+ msgid "New Character"
47
+ msgstr ""
48
+
49
+ #: esi/templates/esi/select_token.html:71
50
+ #: esi/templates/esi/select_token.html:107
51
+ msgid "Add Token"
52
+ msgstr ""
53
+
54
+ #: esi/templates/esi/select_token.html:88
55
+ #: esi/templates/esi/select_token.html:89
56
+ msgid "Select"
57
+ msgstr ""
Binary file
@@ -0,0 +1,58 @@
1
+ # SOME DESCRIPTIVE TITLE.
2
+ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3
+ # This file is distributed under the same license as the PACKAGE package.
4
+ # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5
+ #
6
+ # Translators:
7
+ # heguyChen, 2023
8
+ #
9
+ #, fuzzy
10
+ msgid ""
11
+ msgstr ""
12
+ "Project-Id-Version: Django ESI 8.1.0\n"
13
+ "Report-Msgid-Bugs-To: https://gitlab.com/allianceauth/django-esi/-/issues\n"
14
+ "POT-Creation-Date: 2025-11-19 16:22+1000\n"
15
+ "PO-Revision-Date: 2023-10-25 11:04+0000\n"
16
+ "Last-Translator: heguyChen, 2023\n"
17
+ "Language-Team: Chinese Simplified (https://app.transifex.com/alliance-auth/"
18
+ "teams/107430/zh-Hans/)\n"
19
+ "Language: zh-Hans\n"
20
+ "MIME-Version: 1.0\n"
21
+ "Content-Type: text/plain; charset=UTF-8\n"
22
+ "Content-Transfer-Encoding: 8bit\n"
23
+ "Plural-Forms: nplurals=1; plural=0;\n"
24
+
25
+ #: esi/models.py:66
26
+ msgid "Character"
27
+ msgstr ""
28
+
29
+ #: esi/models.py:67
30
+ msgid "Corporation"
31
+ msgstr ""
32
+
33
+ #: esi/templates/esi/select_token.html:13
34
+ msgid "ESI Token Selection"
35
+ msgstr "ESI令牌选择器"
36
+
37
+ #: esi/templates/esi/select_token.html:44
38
+ msgid "Select Character"
39
+ msgstr "选择角色"
40
+
41
+ #: esi/templates/esi/select_token.html:48
42
+ msgid "Scopes Requested"
43
+ msgstr "授权范围"
44
+
45
+ #: esi/templates/esi/select_token.html:61
46
+ #: esi/templates/esi/select_token.html:98
47
+ msgid "New Character"
48
+ msgstr "新角色"
49
+
50
+ #: esi/templates/esi/select_token.html:71
51
+ #: esi/templates/esi/select_token.html:107
52
+ msgid "Add Token"
53
+ msgstr ""
54
+
55
+ #: esi/templates/esi/select_token.html:88
56
+ #: esi/templates/esi/select_token.html:89
57
+ msgid "Select"
58
+ msgstr "选择"
File without changes
@@ -0,0 +1,21 @@
1
+ from django.core.management.base import BaseCommand
2
+
3
+ class Command(BaseCommand):
4
+ help = 'Clear ESI OpenAPI specification document caches.'
5
+
6
+ def handle(self, *args, **options):
7
+ self.stdout.write("Finding all ESI Spec Caches.")
8
+ try:
9
+ from django_redis import get_redis_connection
10
+ _client = get_redis_connection("default")
11
+ except (NotImplementedError, ModuleNotFoundError):
12
+ from django.core.cache import caches
13
+ default_cache = caches['default']
14
+ _client = default_cache.get_master_client()
15
+
16
+ keys = _client.keys(":?:ESI_API_CACHE_*")
17
+ self.stdout.write(f"Found {len(keys)} cached entries")
18
+
19
+ if keys:
20
+ deleted = _client.delete(*keys)
21
+ self.stdout.write(f"Deleted {deleted} entries")