Skip to content

Commit

Permalink
Release v1.3.0
Browse files Browse the repository at this point in the history
**Deprecation Warning**: The validation endpoint (using the URL
``forms/(?P<pk>\d+)/validate/``) was only accessible via the ``GET``
verb. It may have caused issues if we tried to validate very long forms,
or forms with very large values, by hitting the querystring size limit.
As a consequence, as of 1.3.0, the ``GET`` method is deprecated in favor
of the ``POST`` method.

- Allow POST method for form validation endpoint.
- [Documentation] Fixed a missing ``cd`` in docs. You can't run pytest
  from project root (#293).
- includes 7 more languages (not translated yet): Czech, Danish,
  Finnish, Canadian French, Hungarian, Japanese, Swedish.
  • Loading branch information
brunobord committed Feb 14, 2018
1 parent 77ad92c commit b1c85af
Show file tree
Hide file tree
Showing 21 changed files with 298 additions and 18 deletions.
9 changes: 6 additions & 3 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,14 @@
ChangeLog
=========

master (unreleased)
===================
Release 1.3.0 (2018-02-14)
==========================

**Deprecation Warning**: The validation endpoint (using the URL ``forms/(?P<pk>\d+)/validate/``) was only accessible via the ``GET`` verb. It may have caused issues if we tried to validate very long forms, or forms with very large values, by hitting the querystring size limit. As a consequence, as of 1.3.0, the ``GET`` method is deprecated in favor of the ``POST`` method.

- Allow POST method for form validation endpoint. This version is the last to support the GET verb for the validation endpoint. We'll drop it in the next version.
- Allow POST method for form validation endpoint.
- [Documentation] Fixed a missing ``cd`` in docs. You can't run pytest from project root (#293).
- includes 7 more languages (not translated yet): Czech, Danish, Finnish, Canadian French, Hungarian, Japanese, Swedish.

Release 1.2.1 (2018-01-12)
==========================
Expand Down
2 changes: 1 addition & 1 deletion formidable/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
from .json_migrations import latest_version

default_app_config = 'formidable.app.FormidableConfig'
version = '1.3.0.dev0'
version = '1.3.0'
json_version = latest_version
38 changes: 38 additions & 0 deletions formidable/locale/cs_CZ/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
msgid ""
msgstr ""
"Project-Id-Version: django-formidable\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-10-04 09:25+0200\n"
"PO-Revision-Date: 2018-02-06 06:52-0500\n"
"Last-Translator: peopledoc <benjamin.cadars@people-doc.com>\n"
"Language-Team: Czech\n"
"Language: cs_CZ\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
"X-Generator: crowdin.com\n"
"X-Crowdin-Project: django-formidable\n"
"X-Crowdin-Language: cs\n"
"X-Crowdin-File: django.po\n"

#: validators.py:70
#, python-format
msgid "Ensure this field is greater than %(limit_value)s"
msgstr ""

#: validators.py:82
#, python-format
msgid "Ensure this field is less than %(limit_value)s"
msgstr ""

#: validators.py:94
#, python-format
msgid "Ensure this field is equal to %(limit_value)s"
msgstr ""

#: validators.py:107
#, python-format
msgid "Ensure this field is not equal to %(limit_value)s"
msgstr ""

38 changes: 38 additions & 0 deletions formidable/locale/da_DK/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
msgid ""
msgstr ""
"Project-Id-Version: django-formidable\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-10-04 09:25+0200\n"
"PO-Revision-Date: 2018-02-06 06:52-0500\n"
"Last-Translator: peopledoc <benjamin.cadars@people-doc.com>\n"
"Language-Team: Danish\n"
"Language: da_DK\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: crowdin.com\n"
"X-Crowdin-Project: django-formidable\n"
"X-Crowdin-Language: da\n"
"X-Crowdin-File: django.po\n"

#: validators.py:70
#, python-format
msgid "Ensure this field is greater than %(limit_value)s"
msgstr ""

#: validators.py:82
#, python-format
msgid "Ensure this field is less than %(limit_value)s"
msgstr ""

#: validators.py:94
#, python-format
msgid "Ensure this field is equal to %(limit_value)s"
msgstr ""

#: validators.py:107
#, python-format
msgid "Ensure this field is not equal to %(limit_value)s"
msgstr ""

3 changes: 2 additions & 1 deletion formidable/locale/de/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ msgstr ""
"Project-Id-Version: django-formidable\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-10-04 09:25+0200\n"
"PO-Revision-Date: 2017-08-23 06:42-0400\n"
"PO-Revision-Date: 2017-10-04 03:30-0400\n"
"Last-Translator: peopledoc <benjamin.cadars@people-doc.com>\n"
"Language-Team: German\n"
"Language: de_DE\n"
Expand Down Expand Up @@ -35,3 +35,4 @@ msgstr ""
#, python-format
msgid "Ensure this field is not equal to %(limit_value)s"
msgstr ""

3 changes: 2 additions & 1 deletion formidable/locale/en_GB/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ msgstr ""
"Project-Id-Version: django-formidable\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-10-04 09:25+0200\n"
"PO-Revision-Date: 2017-05-19 10:04-0400\n"
"PO-Revision-Date: 2017-10-04 03:30-0400\n"
"Last-Translator: peopledoc <benjamin.cadars@people-doc.com>\n"
"Language-Team: English, United Kingdom\n"
"Language: en_GB\n"
Expand Down Expand Up @@ -35,3 +35,4 @@ msgstr ""
#, python-format
msgid "Ensure this field is not equal to %(limit_value)s"
msgstr ""

3 changes: 2 additions & 1 deletion formidable/locale/en_US/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ msgstr ""
"Project-Id-Version: django-formidable\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-10-04 09:25+0200\n"
"PO-Revision-Date: 2017-05-19 10:04-0400\n"
"PO-Revision-Date: 2017-10-04 03:30-0400\n"
"Last-Translator: peopledoc <benjamin.cadars@people-doc.com>\n"
"Language-Team: English, United States\n"
"Language: en_US\n"
Expand Down Expand Up @@ -35,3 +35,4 @@ msgstr ""
#, python-format
msgid "Ensure this field is not equal to %(limit_value)s"
msgstr ""

3 changes: 2 additions & 1 deletion formidable/locale/es/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ msgstr ""
"Project-Id-Version: django-formidable\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-10-04 09:25+0200\n"
"PO-Revision-Date: 2017-05-19 10:04-0400\n"
"PO-Revision-Date: 2017-10-04 03:30-0400\n"
"Last-Translator: peopledoc <benjamin.cadars@people-doc.com>\n"
"Language-Team: Spanish\n"
"Language: es_ES\n"
Expand Down Expand Up @@ -35,3 +35,4 @@ msgstr ""
#, python-format
msgid "Ensure this field is not equal to %(limit_value)s"
msgstr ""

38 changes: 38 additions & 0 deletions formidable/locale/fi_FI/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
msgid ""
msgstr ""
"Project-Id-Version: django-formidable\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-10-04 09:25+0200\n"
"PO-Revision-Date: 2018-02-06 06:52-0500\n"
"Last-Translator: peopledoc <benjamin.cadars@people-doc.com>\n"
"Language-Team: Finnish\n"
"Language: fi_FI\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: crowdin.com\n"
"X-Crowdin-Project: django-formidable\n"
"X-Crowdin-Language: fi\n"
"X-Crowdin-File: django.po\n"

#: validators.py:70
#, python-format
msgid "Ensure this field is greater than %(limit_value)s"
msgstr ""

#: validators.py:82
#, python-format
msgid "Ensure this field is less than %(limit_value)s"
msgstr ""

#: validators.py:94
#, python-format
msgid "Ensure this field is equal to %(limit_value)s"
msgstr ""

#: validators.py:107
#, python-format
msgid "Ensure this field is not equal to %(limit_value)s"
msgstr ""

3 changes: 2 additions & 1 deletion formidable/locale/fr/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ msgstr ""
"Project-Id-Version: django-formidable\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-10-04 09:25+0200\n"
"PO-Revision-Date: 2017-07-05 03:04-0400\n"
"PO-Revision-Date: 2017-10-04 03:30-0400\n"
"Last-Translator: peopledoc <benjamin.cadars@people-doc.com>\n"
"Language-Team: French\n"
"Language: fr_FR\n"
Expand Down Expand Up @@ -35,3 +35,4 @@ msgstr "Vérifiez que ce champ est égal à %(limit_value)s"
#, python-format
msgid "Ensure this field is not equal to %(limit_value)s"
msgstr "Vérifiez que ce champ est différent de %(limit_value)s"

38 changes: 38 additions & 0 deletions formidable/locale/fr_CA/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
msgid ""
msgstr ""
"Project-Id-Version: django-formidable\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-10-04 09:25+0200\n"
"PO-Revision-Date: 2018-02-06 06:52-0500\n"
"Last-Translator: peopledoc <benjamin.cadars@people-doc.com>\n"
"Language-Team: French, Canada\n"
"Language: fr_CA\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
"X-Generator: crowdin.com\n"
"X-Crowdin-Project: django-formidable\n"
"X-Crowdin-Language: fr-CA\n"
"X-Crowdin-File: django.po\n"

#: validators.py:70
#, python-format
msgid "Ensure this field is greater than %(limit_value)s"
msgstr ""

#: validators.py:82
#, python-format
msgid "Ensure this field is less than %(limit_value)s"
msgstr ""

#: validators.py:94
#, python-format
msgid "Ensure this field is equal to %(limit_value)s"
msgstr ""

#: validators.py:107
#, python-format
msgid "Ensure this field is not equal to %(limit_value)s"
msgstr ""

38 changes: 38 additions & 0 deletions formidable/locale/hu_HU/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
msgid ""
msgstr ""
"Project-Id-Version: django-formidable\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-10-04 09:25+0200\n"
"PO-Revision-Date: 2018-02-06 06:52-0500\n"
"Last-Translator: peopledoc <benjamin.cadars@people-doc.com>\n"
"Language-Team: Hungarian\n"
"Language: hu_HU\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: crowdin.com\n"
"X-Crowdin-Project: django-formidable\n"
"X-Crowdin-Language: hu\n"
"X-Crowdin-File: django.po\n"

#: validators.py:70
#, python-format
msgid "Ensure this field is greater than %(limit_value)s"
msgstr ""

#: validators.py:82
#, python-format
msgid "Ensure this field is less than %(limit_value)s"
msgstr ""

#: validators.py:94
#, python-format
msgid "Ensure this field is equal to %(limit_value)s"
msgstr ""

#: validators.py:107
#, python-format
msgid "Ensure this field is not equal to %(limit_value)s"
msgstr ""

3 changes: 2 additions & 1 deletion formidable/locale/it/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ msgstr ""
"Project-Id-Version: django-formidable\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-10-04 09:25+0200\n"
"PO-Revision-Date: 2017-05-19 10:04-0400\n"
"PO-Revision-Date: 2017-10-04 03:30-0400\n"
"Last-Translator: peopledoc <benjamin.cadars@people-doc.com>\n"
"Language-Team: Italian\n"
"Language: it_IT\n"
Expand Down Expand Up @@ -35,3 +35,4 @@ msgstr ""
#, python-format
msgid "Ensure this field is not equal to %(limit_value)s"
msgstr ""

38 changes: 38 additions & 0 deletions formidable/locale/ja_JP/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
msgid ""
msgstr ""
"Project-Id-Version: django-formidable\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-10-04 09:25+0200\n"
"PO-Revision-Date: 2018-02-06 06:52-0500\n"
"Last-Translator: peopledoc <benjamin.cadars@people-doc.com>\n"
"Language-Team: Japanese\n"
"Language: ja_JP\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0;\n"
"X-Generator: crowdin.com\n"
"X-Crowdin-Project: django-formidable\n"
"X-Crowdin-Language: ja\n"
"X-Crowdin-File: django.po\n"

#: validators.py:70
#, python-format
msgid "Ensure this field is greater than %(limit_value)s"
msgstr ""

#: validators.py:82
#, python-format
msgid "Ensure this field is less than %(limit_value)s"
msgstr ""

#: validators.py:94
#, python-format
msgid "Ensure this field is equal to %(limit_value)s"
msgstr ""

#: validators.py:107
#, python-format
msgid "Ensure this field is not equal to %(limit_value)s"
msgstr ""

3 changes: 2 additions & 1 deletion formidable/locale/nb/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ msgstr ""
"Project-Id-Version: django-formidable\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-10-04 09:25+0200\n"
"PO-Revision-Date: 2017-05-19 10:04-0400\n"
"PO-Revision-Date: 2017-10-04 03:30-0400\n"
"Last-Translator: peopledoc <benjamin.cadars@people-doc.com>\n"
"Language-Team: Norwegian\n"
"Language: no_NO\n"
Expand Down Expand Up @@ -35,3 +35,4 @@ msgstr ""
#, python-format
msgid "Ensure this field is not equal to %(limit_value)s"
msgstr ""

3 changes: 2 additions & 1 deletion formidable/locale/nl/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ msgstr ""
"Project-Id-Version: django-formidable\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-10-04 09:25+0200\n"
"PO-Revision-Date: 2017-05-19 10:04-0400\n"
"PO-Revision-Date: 2017-10-04 03:30-0400\n"
"Last-Translator: peopledoc <benjamin.cadars@people-doc.com>\n"
"Language-Team: Dutch\n"
"Language: nl_NL\n"
Expand Down Expand Up @@ -35,3 +35,4 @@ msgstr ""
#, python-format
msgid "Ensure this field is not equal to %(limit_value)s"
msgstr ""

6 changes: 3 additions & 3 deletions formidable/locale/pl_PL/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,14 @@ msgstr ""
"Project-Id-Version: django-formidable\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-10-04 09:25+0200\n"
"PO-Revision-Date: 2017-05-19 10:04-0400\n"
"PO-Revision-Date: 2017-10-04 03:30-0400\n"
"Last-Translator: peopledoc <benjamin.cadars@people-doc.com>\n"
"Language-Team: Polish\n"
"Language: pl_PL\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
"|| n%100>=20) ? 1 : 2);\n"
"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
"X-Generator: crowdin.com\n"
"X-Crowdin-Project: django-formidable\n"
"X-Crowdin-Language: pl\n"
Expand All @@ -36,3 +35,4 @@ msgstr ""
#, python-format
msgid "Ensure this field is not equal to %(limit_value)s"
msgstr ""

Loading

0 comments on commit b1c85af

Please sign in to comment.