Skip to content

Commit

Permalink
Merge pull request #1568 from watchdogpolska/dev
Browse files Browse the repository at this point in the history
v1.2.11
  • Loading branch information
PiotrIw authored Sep 22, 2024
2 parents 2dc94ad + 46ec357 commit 690bc34
Show file tree
Hide file tree
Showing 14 changed files with 223 additions and 167 deletions.
9 changes: 9 additions & 0 deletions docker-compose.test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
# ```
# docker-compose --file docker-compose.yml --file docker-compose.test.yml up --build --exit-code-from tests db web tests
# ```
---
version: '2.1'

services:
Expand All @@ -23,6 +24,8 @@ services:
DJANGO_DEFAULT_FROM_EMAIL: "poradnia_dev <[email protected]>"
DJANGO_RICH_TEXT_ENABLED: "False"
ACCOUNT_EMAIL_VERIFICATION: "optional"
networks:
- poradnia-app-network

tests:
depends_on:
Expand All @@ -34,5 +37,11 @@ services:
volumes:
- ./tests:/e2e
- /e2e/node_modules # un-shadow node_modules
networks:
- poradnia-app-network
working_dir: /e2e
command: sh -c "wait-for-it web:8000 -t 60 && npx cypress run"

networks:
poradnia-app-network:
driver: bridge
15 changes: 14 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ services:
--max_allowed_packet=1024M
ports:
- "3306:3306"
networks:
- poradnia-app-network
environment:
MYSQL_ROOT_PASSWORD: "password"
volumes:
Expand All @@ -26,6 +28,8 @@ services:
dockerfile: .contrib/docker/Dockerfile.gulp
ports:
- "35729:35729"
networks:
- poradnia-app-network
volumes:
- .:/app

Expand Down Expand Up @@ -58,6 +62,8 @@ services:
MY_INTERNAL_IP: ${MY_INTERNAL_IP}
ports:
- "8000:8000"
networks:
- poradnia-app-network

maildump:
build:
Expand All @@ -69,7 +75,8 @@ services:
ports:
- "1080:1080"
- "1025:1025"

networks:
- poradnia-app-network
#
# To use email reception uncomment below section and fill in your dev IMAP
# mailbox secrets in imap-to-webhook-url.env
Expand All @@ -83,7 +90,13 @@ services:
# COMPRESS_EML: "True"
# env_file:
# - imap-to-webhook-url.env
# networks:
# - poradnia-app-network

volumes:
mysql-data:
maildump_data:

networks:
poradnia-app-network:
driver: bridge
32 changes: 15 additions & 17 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "1.0.1",
"dependencies": {
"bootstrap-sass": "^3.3.4",
"bootstrap": "^4.6.2",
"bootstrap": "^5.0.0",
"font-awesome": "^4.5.0",
"jquery": "^3.3.1",
"moment": "^2.29.4",
Expand Down
2 changes: 1 addition & 1 deletion poradnia/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "1.2.10"
__version__ = "1.2.11"


# Compatibility to eg. django-rest-framework
Expand Down
30 changes: 15 additions & 15 deletions poradnia/advicer/locale/pl/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ msgid ""
msgstr ""
"Project-Id-Version: poradnia\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-03-15 12:14+0100\n"
"POT-Creation-Date: 2024-09-21 18:48+0200\n"
"PO-Revision-Date: 2024-02-21 16:20+0124\n"
"Last-Translator: Piotr Iwa <[email protected]>\n"
"Language-Team: Polish\n"
Expand Down Expand Up @@ -50,7 +50,7 @@ msgstr "Przedmiot"

#: poradnia/advicer/filters.py:42 poradnia/advicer/filters.py:70
#: poradnia/advicer/models.py:131
#: poradnia/advicer/templates/advicer/advice_detail.html:119
#: poradnia/advicer/templates/advicer/advice_detail.html:123
#: poradnia/advicer/templates/advicer/advice_filter.html:24
#: poradnia/advicer/views.py:151
msgid "Advicer"
Expand All @@ -70,7 +70,7 @@ msgid "Community"
msgstr "Gmina"

#: poradnia/advicer/filters.py:51 poradnia/advicer/models.py:158
#: poradnia/advicer/templates/advicer/advice_detail.html:74
#: poradnia/advicer/templates/advicer/advice_detail.html:78
#: poradnia/advicer/views.py:102
msgid "Comment"
msgstr "Komentarz"
Expand Down Expand Up @@ -103,7 +103,7 @@ msgid "Statistic data"
msgstr "Dane statystyczne"

#: poradnia/advicer/filters.py:99 poradnia/advicer/forms.py:46
#: poradnia/advicer/templates/advicer/advice_detail.html:88
#: poradnia/advicer/templates/advicer/advice_detail.html:92
msgid "Details"
msgstr "Szczegóły"

Expand Down Expand Up @@ -159,13 +159,13 @@ msgid "Person who give a advice"
msgstr "Osoba, która udzieliła porady"

#: poradnia/advicer/models.py:136
#: poradnia/advicer/templates/advicer/advice_detail.html:91
#: poradnia/advicer/templates/advicer/advice_detail.html:95
#: poradnia/advicer/views.py:157
msgid "Grant on"
msgstr "Udzielona o"

#: poradnia/advicer/models.py:146
#: poradnia/advicer/templates/advicer/advice_detail.html:79
#: poradnia/advicer/templates/advicer/advice_detail.html:83
msgid "We helped?"
msgstr "Czy udzieliliśmy porady?"

Expand All @@ -178,7 +178,7 @@ msgid "Visible"
msgstr "Widoczne"

#: poradnia/advicer/models.py:164
#: poradnia/advicer/templates/advicer/advice_detail.html:69
#: poradnia/advicer/templates/advicer/advice_detail.html:73
#: poradnia/advicer/views.py:162
msgid "Unit of administrative division"
msgstr "Jednostka podziału terytorialnego"
Expand All @@ -205,7 +205,7 @@ msgid "Attachment"
msgstr "Załącznik"

#: poradnia/advicer/models.py:204
#: poradnia/advicer/templates/advicer/advice_detail.html:129
#: poradnia/advicer/templates/advicer/advice_detail.html:133
msgid "Attachments"
msgstr "Załączniki"

Expand Down Expand Up @@ -254,23 +254,23 @@ msgstr "Zagadnienie"
msgid "Area"
msgstr "Obszar"

#: poradnia/advicer/templates/advicer/advice_detail.html:57
#: poradnia/advicer/templates/advicer/advice_detail.html:61
msgid "Kind of person"
msgstr "Rodzaj osoby"

#: poradnia/advicer/templates/advicer/advice_detail.html:64
#: poradnia/advicer/templates/advicer/advice_detail.html:68
msgid "Kind of istitution"
msgstr "Rodzaj instytucji"

#: poradnia/advicer/templates/advicer/advice_detail.html:80
#: poradnia/advicer/templates/advicer/advice_detail.html:84
msgid "Yes,No"
msgstr "Tak,Nie"

#: poradnia/advicer/templates/advicer/advice_detail.html:99
#: poradnia/advicer/templates/advicer/advice_detail.html:103
msgid "Created"
msgstr "Utworzone"

#: poradnia/advicer/templates/advicer/advice_detail.html:101
#: poradnia/advicer/templates/advicer/advice_detail.html:105
#, python-format
msgid ""
"\n"
Expand All @@ -283,11 +283,11 @@ msgstr ""
" <time "
"datetime=\"%(created_on_date)s\">%(created_on_natural)s</time>"

#: poradnia/advicer/templates/advicer/advice_detail.html:108
#: poradnia/advicer/templates/advicer/advice_detail.html:112
msgid "Modified"
msgstr "Zmodyfikowane"

#: poradnia/advicer/templates/advicer/advice_detail.html:112
#: poradnia/advicer/templates/advicer/advice_detail.html:116
#, python-format
msgid ""
"\n"
Expand Down
Loading

0 comments on commit 690bc34

Please sign in to comment.