-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #565 from rafsaf/servers_tz_support
Servers tz support
- Loading branch information
Showing
12 changed files
with
97 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Generated by Django 5.1.2 on 2024-11-25 18:46 | ||
|
||
import timezone_field.fields | ||
from django.db import migrations | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("base", "0092_targetvertex_player_id_targetvertex_village_id_and_more"), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name="server", | ||
name="tz", | ||
field=timezone_field.fields.TimeZoneField( | ||
default="Europe/Warsaw", use_pytz=False | ||
), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,6 +18,7 @@ | |
<link rel="shortcut icon" type="image/x-icon" href="{% static 'favicon.ico' %}"/> | ||
|
||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/jquery.min.js" integrity="sha512-bLT0Qm9VnAYZDflyKcBaQ2gg0hSYNQrJ8RilYldYQ1FxQYoCLtUjuuRuZo+fjqhx/qtq/1itJ0C2ejDxltZVFg==" crossorigin="anonymous"></script> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.65.18/codemirror.min.js" integrity="sha512-6cPYokihlrofMNApz7OXVQNObWjLiKGIBBb7+UB+AuMiRCLKmFKgrwms21sHq3bdFFZWpfHYRJBJvMFMPj1S9g==" crossorigin="anonymous" referrerpolicy="no-referrer"></script> | ||
{% block extra_media %}{% endblock %} | ||
{% block media_overwrite %}{% endblock %} | ||
</head> | ||
|
@@ -362,12 +363,10 @@ <h2 class=" py-3 font-nav">{% trans 'Planer in numbers' %}</h2> | |
</div> | ||
</div> | ||
</div> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.65.18/codemirror.min.js" integrity="sha512-6cPYokihlrofMNApz7OXVQNObWjLiKGIBBb7+UB+AuMiRCLKmFKgrwms21sHq3bdFFZWpfHYRJBJvMFMPj1S9g==" crossorigin="anonymous" referrerpolicy="no-referrer"></script> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.10.0/js/bootstrap-datepicker.min.js" integrity="sha512-LsnSViqQyaXpD4mBBdRYeP6sRwJiJveh2ZIbW41EBrNmKxgr/LFZIiWT6yr+nycvhvauz8c2nYMhrP80YhG7Cw==" crossorigin="anonymous" type="text/javascript"></script> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.10.0/locales/bootstrap-datepicker.pl.min.js" integrity="sha512-ScqJL8X5IqP89pKmQnXULodix6OkrTtcWiTdJxPGPGdrncyJkI7KOwNRPqzZ6lWnTk/u5xboSjEeYQgeyOHyhQ==" crossorigin="anonymous" type="text/javascript"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js" integrity="sha384-9/reFTGAW83EW2RDu2S0VKaIzap3H66lZH81PoYlFhbGU+6BZp6G7niu735Sk7lN" crossorigin="anonymous" type="text/javascript"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js" integrity="sha384-+sLIOodYLS7CIrQpBjl+C7nPvqq+FbNUBDunl/OZv93DB7Ln/533i8e/mZXLi/P+" crossorigin="anonymous" type="text/javascript"></script> | ||
<script src="https://kit.fontawesome.com/dc3f7108e7.js" integrity="sha512-Pno6T74neuITC5FxhpI6v4AQkpJg5GHo5MkiMCzQX2ViTnKl0L061exwTCvLKn1mMtafQgBpbNo5YOPhmBxrdw==" crossorigin="anonymous"></script> | ||
<script src="https://cdn.datatables.net/v/bs4/dt-2.1.8/r-3.0.3/sc-2.4.3/sl-2.1.0/datatables.min.js" integrity="sha512-hNbhH5QuUd9zHjKZ4zWtoc0sAViNexxHIQ4ZIzZcVpiJ+1Ho9lXY+ACho3KIK0PLqgcGyuZhH2Foeyl71Ck/xw==" crossorigin="anonymous"></script> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-timepicker/0.5.2/js/bootstrap-timepicker.min.js" integrity="sha512-2xXe2z/uA+2SyT/sTSt9Uq4jDKsT0lV4evd3eoE/oxKih8DSAsOF6LUb+ncafMJPAimWAXdu9W+yMXGrCVOzQA==" crossorigin="anonymous" type="text/javascript"></script> | ||
<script src="https://use.fontawesome.com/0cd1dfa084.js" integrity="sha512-XSA7J/2GxUaMIJDzp7A2wdLpeLM92mubLDuQH8s9RZ4EF6RQ2c2kn6fVcDf4ePc5yxpRhRfbGGswTHZmRnmwxQ==" crossorigin="anonymous"></script> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ msgid "" | |
msgstr "" | ||
"Project-Id-Version: PACKAGE VERSION\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2024-11-20 20:29+0100\n" | ||
"POT-Creation-Date: 2024-11-25 22:12+0100\n" | ||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||
"Language-Team: LANGUAGE <[email protected]>\n" | ||
|
@@ -32,7 +32,7 @@ msgid "World" | |
msgstr "Świat" | ||
|
||
#: base/forms.py:51 base/models/outline.py:141 base/models/outline.py:308 | ||
#: base/models/profile.py:35 | ||
#: base/models/profile.py:36 | ||
msgid "Army collection" | ||
msgstr "Zbiórka Wojska" | ||
|
||
|
@@ -64,7 +64,7 @@ msgid "Village in this line is duplicated: %s" | |
msgstr "Wioska w tej linii jest podwojona: %s" | ||
|
||
#: base/forms.py:139 base/models/outline.py:142 base/models/outline.py:310 | ||
#: base/models/profile.py:36 | ||
#: base/models/profile.py:37 | ||
msgid "Deff collection " | ||
msgstr "Zbiórka Obrona" | ||
|
||
|
@@ -644,7 +644,7 @@ msgstr "Stary tekst rozszerzony bezpośrednio w wiadomości" | |
msgid "Text for deputy directly in message" | ||
msgstr "Tekst dla zastępcy bezpośrednio w wiadomości" | ||
|
||
#: base/models/outline.py:285 base/models/profile.py:60 | ||
#: base/models/outline.py:285 base/models/profile.py:65 | ||
msgid "Outline Targets" | ||
msgstr "Cele Akcja" | ||
|
||
|
@@ -705,7 +705,12 @@ msgstr "Premium na 1 miesiąc" | |
msgid "Premium %s months" | ||
msgstr "Premium na %s miesiące" | ||
|
||
#: base/models/world.py:63 | ||
#: base/models/world.py:28 | ||
#, python-format | ||
msgid "%(dns)s (timezone: %(tz)s)" | ||
msgstr "%(dns)s (czas: %(tz)s)" | ||
|
||
#: base/models/world.py:74 | ||
msgid "World " | ||
msgstr "Świat " | ||
|
||
|
@@ -3215,26 +3220,3 @@ msgstr "Wioska" | |
#: utils/outline_finish.py:76 | ||
msgid "does not exists" | ||
msgstr "nie istnieje" | ||
|
||
#~ msgid "Back" | ||
#~ msgstr "Zaplecze" | ||
|
||
#~ msgid "Sign in and create tribal wars proffesional outlines." | ||
#~ msgstr "" | ||
#~ "Zaloguj się i twórz profesjonalne rozpiski offów w Plemiona Planerze." | ||
|
||
#~ msgid "Login" | ||
#~ msgstr "Login" | ||
|
||
#, fuzzy | ||
#~| msgid "" | ||
#~| "By checking this option, players will see the commands of all other " | ||
#~| "players for their own targets. By default, it's not turned on and " | ||
#~| "players only see their commands." | ||
#~ msgid "" | ||
#~ "By checking this option, players will see the commands of all other " | ||
#~ "players for their own targets. By default, it" | ||
#~ msgstr "" | ||
#~ "Zaznaczając tą opcję, gracze zobaczą komendy wszystkich innych graczy na " | ||
#~ "swoich celach. Domyślnie jest wyłączona, czyli gracze widzą tylko swoje " | ||
#~ "komendy." |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
authors = ["rafsaf <[email protected]>"] | ||
description = "Tribal Wars Planer django app, professional tool for creating outlines for off-game coordinators." | ||
name = "tribal_wars_planer" | ||
version = "5.7.1" | ||
version = "5.8.0" | ||
|
||
[tool.poetry.dependencies] | ||
python = ">=3.13,<3.14" | ||
|
@@ -34,6 +34,7 @@ django-otp-yubikey = "^1.1.0" | |
django-two-factor-auth = { extras = ["phonenumberslite"], version = "^1.17.0" } | ||
sentry-sdk = { extras = ["django"], version = "^2.18.0" } | ||
drf-spectacular = "^0.27.2" | ||
django-timezone-field = "^7.0" | ||
|
||
[tool.poetry.group.dev.dependencies] | ||
coverage = "^7.6.1" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters