aa-sov-timer 2.4.3__tar.gz → 2.5.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 (86) hide show
  1. {aa_sov_timer-2.4.3 → aa_sov_timer-2.5.0}/PKG-INFO +4 -3
  2. {aa_sov_timer-2.4.3 → aa_sov_timer-2.5.0}/README.md +2 -2
  3. {aa_sov_timer-2.4.3 → aa_sov_timer-2.5.0}/pyproject.toml +1 -0
  4. aa_sov_timer-2.5.0/sovtimer/__init__.py +16 -0
  5. aa_sov_timer-2.5.0/sovtimer/constants.py +6 -0
  6. {aa_sov_timer-2.4.3 → aa_sov_timer-2.5.0}/sovtimer/locale/cs_CZ/LC_MESSAGES/django.po +1 -1
  7. {aa_sov_timer-2.4.3 → aa_sov_timer-2.5.0}/sovtimer/locale/de/LC_MESSAGES/django.po +1 -1
  8. {aa_sov_timer-2.4.3 → aa_sov_timer-2.5.0}/sovtimer/locale/django.pot +2 -2
  9. {aa_sov_timer-2.4.3 → aa_sov_timer-2.5.0}/sovtimer/locale/es/LC_MESSAGES/django.po +1 -1
  10. {aa_sov_timer-2.4.3 → aa_sov_timer-2.5.0}/sovtimer/locale/fr_FR/LC_MESSAGES/django.po +1 -1
  11. {aa_sov_timer-2.4.3 → aa_sov_timer-2.5.0}/sovtimer/locale/it_IT/LC_MESSAGES/django.po +1 -1
  12. {aa_sov_timer-2.4.3 → aa_sov_timer-2.5.0}/sovtimer/locale/ja/LC_MESSAGES/django.po +1 -1
  13. {aa_sov_timer-2.4.3 → aa_sov_timer-2.5.0}/sovtimer/locale/ko_KR/LC_MESSAGES/django.po +1 -1
  14. {aa_sov_timer-2.4.3 → aa_sov_timer-2.5.0}/sovtimer/locale/nl_NL/LC_MESSAGES/django.po +1 -1
  15. {aa_sov_timer-2.4.3 → aa_sov_timer-2.5.0}/sovtimer/locale/pl_PL/LC_MESSAGES/django.po +1 -1
  16. {aa_sov_timer-2.4.3 → aa_sov_timer-2.5.0}/sovtimer/locale/ru/LC_MESSAGES/django.po +1 -1
  17. {aa_sov_timer-2.4.3 → aa_sov_timer-2.5.0}/sovtimer/locale/sk/LC_MESSAGES/django.po +1 -1
  18. aa_sov_timer-2.5.0/sovtimer/locale/uk/LC_MESSAGES/django.mo +0 -0
  19. {aa_sov_timer-2.4.3 → aa_sov_timer-2.5.0}/sovtimer/locale/uk/LC_MESSAGES/django.po +7 -15
  20. {aa_sov_timer-2.4.3 → aa_sov_timer-2.5.0}/sovtimer/locale/zh_Hans/LC_MESSAGES/django.po +1 -1
  21. aa_sov_timer-2.5.0/sovtimer/providers.py +14 -0
  22. aa_sov_timer-2.5.0/sovtimer/tests/test_user_agent.py +40 -0
  23. aa_sov_timer-2.4.3/sovtimer/__init__.py +0 -9
  24. aa_sov_timer-2.4.3/sovtimer/constants.py +0 -19
  25. aa_sov_timer-2.4.3/sovtimer/locale/uk/LC_MESSAGES/django.mo +0 -0
  26. aa_sov_timer-2.4.3/sovtimer/providers.py +0 -12
  27. {aa_sov_timer-2.4.3 → aa_sov_timer-2.5.0}/.gitignore +0 -0
  28. {aa_sov_timer-2.4.3 → aa_sov_timer-2.5.0}/LICENSE +0 -0
  29. {aa_sov_timer-2.4.3 → aa_sov_timer-2.5.0}/sovtimer/app_settings.py +0 -0
  30. {aa_sov_timer-2.4.3 → aa_sov_timer-2.5.0}/sovtimer/apps.py +0 -0
  31. {aa_sov_timer-2.4.3 → aa_sov_timer-2.5.0}/sovtimer/auth_hooks.py +0 -0
  32. {aa_sov_timer-2.4.3 → aa_sov_timer-2.5.0}/sovtimer/locale/.gitkeep +0 -0
  33. {aa_sov_timer-2.4.3 → aa_sov_timer-2.5.0}/sovtimer/locale/cs_CZ/LC_MESSAGES/django.mo +0 -0
  34. {aa_sov_timer-2.4.3 → aa_sov_timer-2.5.0}/sovtimer/locale/de/LC_MESSAGES/django.mo +0 -0
  35. {aa_sov_timer-2.4.3 → aa_sov_timer-2.5.0}/sovtimer/locale/es/LC_MESSAGES/django.mo +0 -0
  36. {aa_sov_timer-2.4.3 → aa_sov_timer-2.5.0}/sovtimer/locale/fr_FR/LC_MESSAGES/django.mo +0 -0
  37. {aa_sov_timer-2.4.3 → aa_sov_timer-2.5.0}/sovtimer/locale/it_IT/LC_MESSAGES/django.mo +0 -0
  38. {aa_sov_timer-2.4.3 → aa_sov_timer-2.5.0}/sovtimer/locale/ja/LC_MESSAGES/django.mo +0 -0
  39. {aa_sov_timer-2.4.3 → aa_sov_timer-2.5.0}/sovtimer/locale/ko_KR/LC_MESSAGES/django.mo +0 -0
  40. {aa_sov_timer-2.4.3 → aa_sov_timer-2.5.0}/sovtimer/locale/nl_NL/LC_MESSAGES/django.mo +0 -0
  41. {aa_sov_timer-2.4.3 → aa_sov_timer-2.5.0}/sovtimer/locale/pl_PL/LC_MESSAGES/django.mo +0 -0
  42. {aa_sov_timer-2.4.3 → aa_sov_timer-2.5.0}/sovtimer/locale/ru/LC_MESSAGES/django.mo +0 -0
  43. {aa_sov_timer-2.4.3 → aa_sov_timer-2.5.0}/sovtimer/locale/sk/LC_MESSAGES/django.mo +0 -0
  44. {aa_sov_timer-2.4.3 → aa_sov_timer-2.5.0}/sovtimer/locale/zh_Hans/LC_MESSAGES/django.mo +0 -0
  45. {aa_sov_timer-2.4.3 → aa_sov_timer-2.5.0}/sovtimer/management/commands/__init__.py +0 -0
  46. {aa_sov_timer-2.4.3 → aa_sov_timer-2.5.0}/sovtimer/management/commands/sovtimer_load_initial_data.py +0 -0
  47. {aa_sov_timer-2.4.3 → aa_sov_timer-2.5.0}/sovtimer/migrations/0001_initial.py +0 -0
  48. {aa_sov_timer-2.4.3 → aa_sov_timer-2.5.0}/sovtimer/migrations/0002_aasovtimercampaigns_aasovtimerstructures.py +0 -0
  49. {aa_sov_timer-2.4.3 → aa_sov_timer-2.5.0}/sovtimer/migrations/0003_auto_20201113_1033.py +0 -0
  50. {aa_sov_timer-2.4.3 → aa_sov_timer-2.5.0}/sovtimer/migrations/0004_auto_20201113_1856.py +0 -0
  51. {aa_sov_timer-2.4.3 → aa_sov_timer-2.5.0}/sovtimer/migrations/0005_auto_20201114_0720.py +0 -0
  52. {aa_sov_timer-2.4.3 → aa_sov_timer-2.5.0}/sovtimer/migrations/0006_rename_models.py +0 -0
  53. {aa_sov_timer-2.4.3 → aa_sov_timer-2.5.0}/sovtimer/migrations/0007_cleanup_models.py +0 -0
  54. {aa_sov_timer-2.4.3 → aa_sov_timer-2.5.0}/sovtimer/migrations/0008_fix_campaign_attackers_score.py +0 -0
  55. {aa_sov_timer-2.4.3 → aa_sov_timer-2.5.0}/sovtimer/migrations/0009_alter_campaign_options_and_more.py +0 -0
  56. {aa_sov_timer-2.4.3 → aa_sov_timer-2.5.0}/sovtimer/migrations/0010_alter_campaign_event_type.py +0 -0
  57. {aa_sov_timer-2.4.3 → aa_sov_timer-2.5.0}/sovtimer/migrations/__init__.py +0 -0
  58. {aa_sov_timer-2.4.3 → aa_sov_timer-2.5.0}/sovtimer/models.py +0 -0
  59. {aa_sov_timer-2.4.3 → aa_sov_timer-2.5.0}/sovtimer/static/sovtimer/css/aa-sov-timer.css +0 -0
  60. {aa_sov_timer-2.4.3 → aa_sov_timer-2.5.0}/sovtimer/static/sovtimer/css/aa-sov-timer.min.css +0 -0
  61. {aa_sov_timer-2.4.3 → aa_sov_timer-2.5.0}/sovtimer/static/sovtimer/css/aa-sov-timer.min.css.map +0 -0
  62. {aa_sov_timer-2.4.3 → aa_sov_timer-2.5.0}/sovtimer/static/sovtimer/font/materialicons/v143/MaterialIcons-Regular.woff2 +0 -0
  63. {aa_sov_timer-2.4.3 → aa_sov_timer-2.5.0}/sovtimer/static/sovtimer/font/materialicons/v143/README.md +0 -0
  64. {aa_sov_timer-2.4.3 → aa_sov_timer-2.5.0}/sovtimer/static/sovtimer/images/zkillboard.png +0 -0
  65. {aa_sov_timer-2.4.3 → aa_sov_timer-2.5.0}/sovtimer/static/sovtimer/js/aa-sov-timer.js +0 -0
  66. {aa_sov_timer-2.4.3 → aa_sov_timer-2.5.0}/sovtimer/static/sovtimer/js/aa-sov-timer.min.js +0 -0
  67. {aa_sov_timer-2.4.3 → aa_sov_timer-2.5.0}/sovtimer/static/sovtimer/js/aa-sov-timer.min.js.map +0 -0
  68. {aa_sov_timer-2.4.3 → aa_sov_timer-2.5.0}/sovtimer/tasks.py +0 -0
  69. {aa_sov_timer-2.4.3 → aa_sov_timer-2.5.0}/sovtimer/templates/sovtimer/base.html +0 -0
  70. {aa_sov_timer-2.4.3 → aa_sov_timer-2.5.0}/sovtimer/templates/sovtimer/bundles/aa-sov-timer-css.html +0 -0
  71. {aa_sov_timer-2.4.3 → aa_sov_timer-2.5.0}/sovtimer/templates/sovtimer/bundles/aa-sov-timer-js.html +0 -0
  72. {aa_sov_timer-2.4.3 → aa_sov_timer-2.5.0}/sovtimer/templates/sovtimer/dashboard.html +0 -0
  73. {aa_sov_timer-2.4.3 → aa_sov_timer-2.5.0}/sovtimer/templates/sovtimer/partials/dashboard/table.html +0 -0
  74. {aa_sov_timer-2.4.3 → aa_sov_timer-2.5.0}/sovtimer/templates/sovtimer/partials/footer/app-translation-footer.html +0 -0
  75. {aa_sov_timer-2.4.3 → aa_sov_timer-2.5.0}/sovtimer/tests/__init__.py +0 -0
  76. {aa_sov_timer-2.4.3 → aa_sov_timer-2.5.0}/sovtimer/tests/fixtures/allianceauth.json +0 -0
  77. {aa_sov_timer-2.4.3 → aa_sov_timer-2.5.0}/sovtimer/tests/fixtures/load_allianceauth.py +0 -0
  78. {aa_sov_timer-2.4.3 → aa_sov_timer-2.5.0}/sovtimer/tests/fixtures/load_sovtimer.py +0 -0
  79. {aa_sov_timer-2.4.3 → aa_sov_timer-2.5.0}/sovtimer/tests/fixtures/sovtimer.json +0 -0
  80. {aa_sov_timer-2.4.3 → aa_sov_timer-2.5.0}/sovtimer/tests/fixtures/utils.py +0 -0
  81. {aa_sov_timer-2.4.3 → aa_sov_timer-2.5.0}/sovtimer/tests/test_ajax_calls.py +0 -0
  82. {aa_sov_timer-2.4.3 → aa_sov_timer-2.5.0}/sovtimer/tests/test_app_settings.py +0 -0
  83. {aa_sov_timer-2.4.3 → aa_sov_timer-2.5.0}/sovtimer/tests/test_integration.py +0 -0
  84. {aa_sov_timer-2.4.3 → aa_sov_timer-2.5.0}/sovtimer/tests/utils.py +0 -0
  85. {aa_sov_timer-2.4.3 → aa_sov_timer-2.5.0}/sovtimer/urls.py +0 -0
  86. {aa_sov_timer-2.4.3 → aa_sov_timer-2.5.0}/sovtimer/views.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: aa-sov-timer
3
- Version: 2.4.3
3
+ Version: 2.5.0
4
4
  Summary: Sov Campaign Timer for Alliance Auth
5
5
  Project-URL: Changelog, https://github.com/ppfeufer/aa-sov-timer/blob/master/CHANGELOG.md
6
6
  Project-URL: Documentation, https://github.com/ppfeufer/aa-sov-timer/blob/master/README.md
@@ -702,6 +702,7 @@ Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
702
702
  Requires-Python: >=3.10
703
703
  Requires-Dist: allianceauth-app-utils>=1.25
704
704
  Requires-Dist: allianceauth<5,>=4.6
705
+ Requires-Dist: django-esi>=7.0.1
705
706
  Requires-Dist: django-eveuniverse>=1.5.4
706
707
  Provides-Extra: tests-allianceauth-latest
707
708
  Requires-Dist: coverage; extra == 'tests-allianceauth-latest'
@@ -845,7 +846,7 @@ Now your system is updating the sovereignty campaigns every 30 seconds.
845
846
  Add the app to your `conf/requirements.txt`:
846
847
 
847
848
  ```text
848
- aa-sov-timer==2.4.3
849
+ aa-sov-timer==2.5.0
849
850
  ```
850
851
 
851
852
  #### Step 2: Update Your AA Settings<a name="step-2-update-your-aa-settings-1"></a>
@@ -909,7 +910,7 @@ Finally, restart your AA supervisor service.
909
910
  To update your existing installation of AA Sovereignty Timer, all you need to do is to update the respective line in your `conf/requirements.txt` file to the latest version.
910
911
 
911
912
  ```text
912
- aa-sov-timer==2.4.3
913
+ aa-sov-timer==2.5.0
913
914
  ```
914
915
 
915
916
  Now rebuild your containers and restart them:
@@ -135,7 +135,7 @@ Now your system is updating the sovereignty campaigns every 30 seconds.
135
135
  Add the app to your `conf/requirements.txt`:
136
136
 
137
137
  ```text
138
- aa-sov-timer==2.4.3
138
+ aa-sov-timer==2.5.0
139
139
  ```
140
140
 
141
141
  #### Step 2: Update Your AA Settings<a name="step-2-update-your-aa-settings-1"></a>
@@ -199,7 +199,7 @@ Finally, restart your AA supervisor service.
199
199
  To update your existing installation of AA Sovereignty Timer, all you need to do is to update the respective line in your `conf/requirements.txt` file to the latest version.
200
200
 
201
201
  ```text
202
- aa-sov-timer==2.4.3
202
+ aa-sov-timer==2.5.0
203
203
  ```
204
204
 
205
205
  Now rebuild your containers and restart them:
@@ -41,6 +41,7 @@ dynamic = [
41
41
  dependencies = [
42
42
  "allianceauth>=4.6,<5",
43
43
  "allianceauth-app-utils>=1.25",
44
+ "django-esi>=7.0.1",
44
45
  "django-eveuniverse>=1.5.4",
45
46
  ]
46
47
  optional-dependencies.tests-allianceauth-latest = [
@@ -0,0 +1,16 @@
1
+ """
2
+ App init
3
+ """
4
+
5
+ # Django
6
+ from django.utils.translation import gettext_lazy as _
7
+
8
+ __version__ = "2.5.0"
9
+ __title__ = _("Sovereignty Timers")
10
+
11
+ __package_name__ = "aa-sov-timer"
12
+ __app_name__ = "sovtimer"
13
+ __app_name_verbose__ = "AA Sovereignty Timer"
14
+ __app_name_useragent__ = "AA-Sovereignty-Timer"
15
+
16
+ __github_url__ = f"https://github.com/ppfeufer/{__package_name__}"
@@ -0,0 +1,6 @@
1
+ """
2
+ Constants we use throughout the app
3
+ """
4
+
5
+ # All internal URLs need to start with this prefix
6
+ INTERNAL_URL_PREFIX = "-"
@@ -6,7 +6,7 @@ msgid ""
6
6
  msgstr ""
7
7
  "Project-Id-Version: AA Sov Timer 2.2.1\n"
8
8
  "Report-Msgid-Bugs-To: https://github.com/ppfeufer/aa-sov-timer/issues\n"
9
- "POT-Creation-Date: 2025-06-20 19:18+0200\n"
9
+ "POT-Creation-Date: 2025-07-08 14:51+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-sov-timer/cs/>\n"
@@ -6,7 +6,7 @@ msgid ""
6
6
  msgstr ""
7
7
  "Project-Id-Version: AA Sov Timer 2.2.1\n"
8
8
  "Report-Msgid-Bugs-To: https://github.com/ppfeufer/aa-sov-timer/issues\n"
9
- "POT-Creation-Date: 2025-06-20 19:18+0200\n"
9
+ "POT-Creation-Date: 2025-07-08 14:51+0200\n"
10
10
  "PO-Revision-Date: 2025-06-20 16:44+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-sov-timer/de/>\n"
@@ -6,9 +6,9 @@
6
6
  #, fuzzy
7
7
  msgid ""
8
8
  msgstr ""
9
- "Project-Id-Version: AA Sov Timer 2.4.3\n"
9
+ "Project-Id-Version: AA Sov Timer 2.5.0\n"
10
10
  "Report-Msgid-Bugs-To: https://github.com/ppfeufer/aa-sov-timer/issues\n"
11
- "POT-Creation-Date: 2025-06-20 19:18+0200\n"
11
+ "POT-Creation-Date: 2025-07-08 14:51+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 Sov Timer 2.2.1\n"
9
9
  "Report-Msgid-Bugs-To: https://github.com/ppfeufer/aa-sov-timer/issues\n"
10
- "POT-Creation-Date: 2025-06-20 19:18+0200\n"
10
+ "POT-Creation-Date: 2025-07-08 14:51+0200\n"
11
11
  "PO-Revision-Date: 2024-12-15 10:37+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-sov-timer/es/>\n"
@@ -11,7 +11,7 @@ msgid ""
11
11
  msgstr ""
12
12
  "Project-Id-Version: AA Sov Timer 2.2.1\n"
13
13
  "Report-Msgid-Bugs-To: https://github.com/ppfeufer/aa-sov-timer/issues\n"
14
- "POT-Creation-Date: 2025-06-20 19:18+0200\n"
14
+ "POT-Creation-Date: 2025-07-08 14:51+0200\n"
15
15
  "PO-Revision-Date: 2025-06-18 19:24+0000\n"
16
16
  "Last-Translator: Acia Saraki <ouss2412@live.fr>\n"
17
17
  "Language-Team: French <https://weblate.ppfeufer.de/projects/alliance-auth-apps/aa-sov-timer/fr/>\n"
@@ -6,7 +6,7 @@ msgid ""
6
6
  msgstr ""
7
7
  "Project-Id-Version: AA Sov Timer 2.2.1\n"
8
8
  "Report-Msgid-Bugs-To: https://github.com/ppfeufer/aa-sov-timer/issues\n"
9
- "POT-Creation-Date: 2025-06-20 19:18+0200\n"
9
+ "POT-Creation-Date: 2025-07-08 14:51+0200\n"
10
10
  "PO-Revision-Date: 2024-12-22 21:15+0000\n"
11
11
  "Last-Translator: Peter Pfeufer <info@ppfeufer.de>\n"
12
12
  "Language-Team: Italian <https://weblate.ppfeufer.de/projects/alliance-auth-apps/aa-sov-timer/it/>\n"
@@ -7,7 +7,7 @@ msgid ""
7
7
  msgstr ""
8
8
  "Project-Id-Version: AA Sov Timer 2.2.1\n"
9
9
  "Report-Msgid-Bugs-To: https://github.com/ppfeufer/aa-sov-timer/issues\n"
10
- "POT-Creation-Date: 2025-06-20 19:18+0200\n"
10
+ "POT-Creation-Date: 2025-07-08 14:51+0200\n"
11
11
  "PO-Revision-Date: 2024-08-06 03:28+0000\n"
12
12
  "Last-Translator: Deleted User <noreply+44@weblate.org>\n"
13
13
  "Language-Team: Japanese <https://weblate.ppfeufer.de/projects/alliance-auth-apps/aa-sov-timer/ja/>\n"
@@ -10,7 +10,7 @@ msgid ""
10
10
  msgstr ""
11
11
  "Project-Id-Version: AA Sov Timer 2.2.1\n"
12
12
  "Report-Msgid-Bugs-To: https://github.com/ppfeufer/aa-sov-timer/issues\n"
13
- "POT-Creation-Date: 2025-06-20 19:18+0200\n"
13
+ "POT-Creation-Date: 2025-07-08 14:51+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-sov-timer/ko/>\n"
@@ -7,7 +7,7 @@ msgid ""
7
7
  msgstr ""
8
8
  "Project-Id-Version: AA Sov Timer 2.2.1\n"
9
9
  "Report-Msgid-Bugs-To: https://github.com/ppfeufer/aa-sov-timer/issues\n"
10
- "POT-Creation-Date: 2025-06-20 19:18+0200\n"
10
+ "POT-Creation-Date: 2025-07-08 14:51+0200\n"
11
11
  "PO-Revision-Date: 2024-05-10 14:12+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-sov-timer/nl/>\n"
@@ -6,7 +6,7 @@ msgid ""
6
6
  msgstr ""
7
7
  "Project-Id-Version: AA Sov Timer 2.2.1\n"
8
8
  "Report-Msgid-Bugs-To: https://github.com/ppfeufer/aa-sov-timer/issues\n"
9
- "POT-Creation-Date: 2025-06-20 19:18+0200\n"
9
+ "POT-Creation-Date: 2025-07-08 14:51+0200\n"
10
10
  "PO-Revision-Date: 2024-05-10 14:12+0000\n"
11
11
  "Last-Translator: Anonymous <noreply@weblate.org>\n"
12
12
  "Language-Team: Polish <https://weblate.ppfeufer.de/projects/alliance-auth-apps/aa-sov-timer/pl/>\n"
@@ -8,7 +8,7 @@ msgid ""
8
8
  msgstr ""
9
9
  "Project-Id-Version: AA Sov Timer 2.2.1\n"
10
10
  "Report-Msgid-Bugs-To: https://github.com/ppfeufer/aa-sov-timer/issues\n"
11
- "POT-Creation-Date: 2025-06-20 19:18+0200\n"
11
+ "POT-Creation-Date: 2025-07-08 14:51+0200\n"
12
12
  "PO-Revision-Date: 2024-12-15 10:37+0000\n"
13
13
  "Last-Translator: Peter Pfeufer <info@ppfeufer.de>\n"
14
14
  "Language-Team: Russian <https://weblate.ppfeufer.de/projects/alliance-auth-apps/aa-sov-timer/ru/>\n"
@@ -7,7 +7,7 @@ msgid ""
7
7
  msgstr ""
8
8
  "Project-Id-Version: AA Sov Timer 2.2.1\n"
9
9
  "Report-Msgid-Bugs-To: https://github.com/ppfeufer/aa-sov-timer/issues\n"
10
- "POT-Creation-Date: 2025-06-20 19:18+0200\n"
10
+ "POT-Creation-Date: 2025-07-08 14:51+0200\n"
11
11
  "PO-Revision-Date: 2024-05-10 14:12+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-sov-timer/sk/>\n"
@@ -9,8 +9,8 @@ msgid ""
9
9
  msgstr ""
10
10
  "Project-Id-Version: AA Sov Timer 2.2.1\n"
11
11
  "Report-Msgid-Bugs-To: https://github.com/ppfeufer/aa-sov-timer/issues\n"
12
- "POT-Creation-Date: 2025-06-20 19:18+0200\n"
13
- "PO-Revision-Date: 2025-04-10 07:05+0000\n"
12
+ "POT-Creation-Date: 2025-07-08 14:51+0200\n"
13
+ "PO-Revision-Date: 2025-07-06 20:30+0000\n"
14
14
  "Last-Translator: s0k0l -_- <salarysalo@gmail.com>\n"
15
15
  "Language-Team: Ukrainian <https://weblate.ppfeufer.de/projects/alliance-auth-apps/aa-sov-timer/uk/>\n"
16
16
  "Language: uk\n"
@@ -18,7 +18,7 @@ msgstr ""
18
18
  "Content-Type: text/plain; charset=UTF-8\n"
19
19
  "Content-Transfer-Encoding: 8bit\n"
20
20
  "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"
21
- "X-Generator: Weblate 5.10.4\n"
21
+ "X-Generator: Weblate 5.12.2\n"
22
22
 
23
23
  #: sovtimer/__init__.py:9
24
24
  msgid "Sovereignty Timers"
@@ -104,28 +104,20 @@ msgid "Sovereignty campaign list"
104
104
  msgstr "Список кампаній суверенітету"
105
105
 
106
106
  #: sovtimer/templates/sovtimer/partials/dashboard/table.html:12
107
- #, fuzzy
108
- #| msgid "Sovereignty campaigns"
109
107
  msgid "Total campaigns:"
110
- msgstr "Кампанії суверенітету"
108
+ msgstr "Усього кампаній:"
111
109
 
112
110
  #: sovtimer/templates/sovtimer/partials/dashboard/table.html:13
113
- #, fuzzy
114
- #| msgid "Timers upcoming (< 4hrs):"
115
111
  msgid "Upcoming campaigns (< 4hrs):"
116
- msgstr "Таймери (< 4 годин):"
112
+ msgstr "Найближчі таймери (< 4 годин):"
117
113
 
118
114
  #: sovtimer/templates/sovtimer/partials/dashboard/table.html:14
119
- #, fuzzy
120
- #| msgid "Active campaign"
121
115
  msgid "Active campaigns:"
122
- msgstr "активна кампанія"
116
+ msgstr "Активні кампанії:"
123
117
 
124
118
  #: sovtimer/templates/sovtimer/partials/dashboard/table.html:18
125
- #, fuzzy
126
- #| msgid "The sovereignty timer list is automatically updated every 30 seconds. Progress for any active campaigns will be shown as <i>Previous - Trend - Current</i>."
127
119
  msgid "The campaign list is automatically updated every 30 seconds. Progress for any active campaigns will be shown as <i>Previous - Trend - Current</i>."
128
- msgstr "Список таймерів суверенітету оновлюється автоматично кожні 30 секунд. Прогрес активних кампаній буде показаний як <i>Попереднє - Тренд - Поточне</i>."
120
+ msgstr "Список таймерів кампаній оновлюється автоматично кожні 30 секунд. Прогрес активних кампаній буде показаний як <i>Попереднє - Тренд - Поточне</i>."
129
121
 
130
122
  #: sovtimer/templates/sovtimer/partials/dashboard/table.html:30
131
123
  msgid "ADM"
@@ -10,7 +10,7 @@ msgid ""
10
10
  msgstr ""
11
11
  "Project-Id-Version: AA Sov Timer 2.2.1\n"
12
12
  "Report-Msgid-Bugs-To: https://github.com/ppfeufer/aa-sov-timer/issues\n"
13
- "POT-Creation-Date: 2025-06-20 19:18+0200\n"
13
+ "POT-Creation-Date: 2025-07-08 14:51+0200\n"
14
14
  "PO-Revision-Date: 2024-05-15 09:21+0000\n"
15
15
  "Last-Translator: SAM_FPS <sam_fps@163.com>\n"
16
16
  "Language-Team: Chinese (Simplified) <https://weblate.ppfeufer.de/projects/alliance-auth-apps/aa-sov-timer/zh_Hans/>\n"
@@ -0,0 +1,14 @@
1
+ """
2
+ Providers
3
+ """
4
+
5
+ # Alliance Auth
6
+ from esi.clients import EsiClientProvider
7
+
8
+ # AA Sovereignty Timer
9
+ from sovtimer import __app_name_useragent__, __github_url__, __version__
10
+
11
+ # ESI client
12
+ esi = EsiClientProvider(
13
+ ua_appname=__app_name_useragent__, ua_version=__version__, ua_url=__github_url__
14
+ )
@@ -0,0 +1,40 @@
1
+ """
2
+ Test user agent header for ESI requests
3
+ """
4
+
5
+ # Django
6
+ from django.conf import settings
7
+ from django.test import TestCase
8
+
9
+ # Alliance Auth
10
+ from esi import __url__ as esi_url
11
+ from esi import __version__ as esi_version
12
+
13
+ # AA Sovereignty Timer
14
+ from sovtimer import __app_name_useragent__, __github_url__, __version__
15
+ from sovtimer.providers import esi
16
+
17
+
18
+ class TestUserAgent(TestCase):
19
+ """
20
+ Test the user agent header for ESI requests
21
+ """
22
+
23
+ def test_user_agent_header(self):
24
+ """
25
+ Test that the user agent header is set correctly for ESI requests.
26
+
27
+ :return:
28
+ :rtype:
29
+ """
30
+
31
+ operation = esi.client.Universe.get_universe_factions()
32
+
33
+ self.assertEqual(
34
+ first=operation.future.request.headers["User-Agent"],
35
+ second=(
36
+ f"{__app_name_useragent__}/{__version__} "
37
+ f"({settings.ESI_USER_CONTACT_EMAIL}; +{__github_url__}) "
38
+ f"Django-ESI/{esi_version} (+{esi_url})"
39
+ ),
40
+ )
@@ -1,9 +0,0 @@
1
- """
2
- App init
3
- """
4
-
5
- # Django
6
- from django.utils.translation import gettext_lazy as _
7
-
8
- __version__ = "2.4.3"
9
- __title__ = _("Sovereignty Timers")
@@ -1,19 +0,0 @@
1
- """
2
- Constants we use throughout the app
3
- """
4
-
5
- # Alliance Auth
6
- from esi import __version__ as esi_version
7
-
8
- # AA Sovereignty Timer
9
- from sovtimer import __version__
10
-
11
- APP_NAME = "aa-sov-timer"
12
- APP_NAME_VERBOSE = "AA Sovereignty Timer"
13
- APP_NAME_VERBOSE_USERAGENT = "AA-Sovereignty-Timer"
14
- PACKAGE_NAME = "sovtimer"
15
- GITHUB_URL = f"https://github.com/ppfeufer/{APP_NAME}"
16
- USER_AGENT = f"{APP_NAME_VERBOSE_USERAGENT}/{__version__} (+{GITHUB_URL}) Django-ESI/{esi_version}"
17
-
18
- # All internal URLs need to start with this prefix
19
- INTERNAL_URL_PREFIX = "-"
@@ -1,12 +0,0 @@
1
- """
2
- Providers
3
- """
4
-
5
- # Alliance Auth
6
- from esi.clients import EsiClientProvider
7
-
8
- # AA Sovereignty Timer
9
- from sovtimer.constants import USER_AGENT
10
-
11
- # ESI client
12
- esi = EsiClientProvider(app_info_text=USER_AGENT)
File without changes
File without changes