Skip to content

Commit

Permalink
Merge pull request #4926 from yakky/merge/3.1.5.pre3
Browse files Browse the repository at this point in the history
Forwardport 3.1.x code
  • Loading branch information
yakky committed Jan 19, 2016
2 parents ad51df7 + 6bc7a90 commit fcb405b
Show file tree
Hide file tree
Showing 314 changed files with 3,037 additions and 884 deletions.
2 changes: 1 addition & 1 deletion AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Current and previous core designers:
* Christian Bertschy


Contributors (based on gitlog) (482):
Contributors (based on gitlog) (515):

* A. Bram Neijt
* aaloy
Expand Down
4 changes: 2 additions & 2 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
- Fixed an issue where ``allow_children`` and ``disable_child_plugins`` didn't work on dragitems


=== 3.1.4 ===
=== 3.1.4 (2015-11-24) ===

- Fixed a problem in ``0010_migrate_use_structure.py`` that broke some migration paths to Django 1.8
- Fixed ``fix_tree`` command
Expand Down Expand Up @@ -173,7 +173,7 @@
- Add "Structure mode" permission


=== 3.0.16 ===
=== 3.0.16 (2015-11-24) ===

- Fixed JavaScript error when using ``PageSelectWidget``
- Fixed whitespace markup issues in draft mode
Expand Down
2 changes: 1 addition & 1 deletion cms/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-

__version__ = '3.2.1.dev1'
__version__ = '3.2.1.dev2'

default_app_config = 'cms.apps.CMSConfig'
2 changes: 1 addition & 1 deletion cms/admin/pageadmin.py
Original file line number Diff line number Diff line change
Expand Up @@ -1406,7 +1406,7 @@ def resolve(self, request):
except:
obj = None
if obj:
if not request.toolbar or not request.toolbar.edit_mode:
if not getattr(request, 'toolbar', False) or not getattr(request.toolbar, 'edit_mode', False):
if isinstance(obj, Page):
if obj.get_public_object():
url = obj.get_public_object().get_absolute_url()
Expand Down
4 changes: 2 additions & 2 deletions cms/extensions/toolbar.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from cms.utils.urlutils import admin_reverse
from cms.api import get_page_draft
from cms.toolbar_base import CMSToolbar
from cms.utils import get_cms_setting
from cms.utils import get_cms_setting, get_language_list
from cms.utils.permissions import has_page_change_permission
from django.core.urlresolvers import NoReverseMatch

Expand Down Expand Up @@ -126,7 +126,7 @@ def get_title_extension_admin(self, language=None):
if language:
titles = page.get_title_obj(language),
else:
titles = page.title_set.all()
titles = page.title_set.filter(language__in=get_language_list(page.site_id))
# Titles
for title in titles:
try:
Expand Down
Binary file modified cms/locale/af/LC_MESSAGES/django.mo
Binary file not shown.
2 changes: 1 addition & 1 deletion cms/locale/af/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ msgstr ""
"POT-Creation-Date: 2015-11-11 18:31+0100\n"
"PO-Revision-Date: 2015-11-11 17:31+0000\n"
"Last-Translator: yakky <i.spalletti@nephila.it>\n"
"Language-Team: Afrikaans (http://www.transifex.com/digi604/django-cms/language/af/)\n"
"Language-Team: Afrikaans (http://www.transifex.com/divio/django-cms/language/af/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
Expand Down
Binary file modified cms/locale/af/LC_MESSAGES/djangojs.mo
Binary file not shown.
2 changes: 1 addition & 1 deletion cms/locale/af/LC_MESSAGES/djangojs.po
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ msgstr ""
"POT-Creation-Date: 2015-11-05 10:16-0500\n"
"PO-Revision-Date: 2015-10-31 12:28+0000\n"
"Last-Translator: yakky <i.spalletti@nephila.it>\n"
"Language-Team: Afrikaans (http://www.transifex.com/digi604/django-cms/language/af/)\n"
"Language-Team: Afrikaans (http://www.transifex.com/divio/django-cms/language/af/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
Expand Down
Binary file modified cms/locale/ar/LC_MESSAGES/django.mo
Binary file not shown.
2 changes: 1 addition & 1 deletion cms/locale/ar/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ msgstr ""
"POT-Creation-Date: 2015-11-11 18:31+0100\n"
"PO-Revision-Date: 2015-11-11 17:31+0000\n"
"Last-Translator: yakky <i.spalletti@nephila.it>\n"
"Language-Team: Arabic (http://www.transifex.com/digi604/django-cms/language/ar/)\n"
"Language-Team: Arabic (http://www.transifex.com/divio/django-cms/language/ar/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
Expand Down
Binary file modified cms/locale/ar/LC_MESSAGES/djangojs.mo
Binary file not shown.
2 changes: 1 addition & 1 deletion cms/locale/ar/LC_MESSAGES/djangojs.po
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ msgstr ""
"POT-Creation-Date: 2015-11-05 10:16-0500\n"
"PO-Revision-Date: 2015-10-31 12:28+0000\n"
"Last-Translator: yakky <i.spalletti@nephila.it>\n"
"Language-Team: Arabic (http://www.transifex.com/digi604/django-cms/language/ar/)\n"
"Language-Team: Arabic (http://www.transifex.com/divio/django-cms/language/ar/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
Expand Down
Binary file modified cms/locale/be/LC_MESSAGES/django.mo
Binary file not shown.
2 changes: 1 addition & 1 deletion cms/locale/be/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ msgstr ""
"POT-Creation-Date: 2015-11-11 18:31+0100\n"
"PO-Revision-Date: 2015-11-11 17:31+0000\n"
"Last-Translator: yakky <i.spalletti@nephila.it>\n"
"Language-Team: Belarusian (http://www.transifex.com/digi604/django-cms/language/be/)\n"
"Language-Team: Belarusian (http://www.transifex.com/divio/django-cms/language/be/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
Expand Down
Binary file modified cms/locale/be/LC_MESSAGES/djangojs.mo
Binary file not shown.
2 changes: 1 addition & 1 deletion cms/locale/be/LC_MESSAGES/djangojs.po
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ msgstr ""
"POT-Creation-Date: 2015-11-05 10:16-0500\n"
"PO-Revision-Date: 2015-10-31 12:28+0000\n"
"Last-Translator: yakky <i.spalletti@nephila.it>\n"
"Language-Team: Belarusian (http://www.transifex.com/digi604/django-cms/language/be/)\n"
"Language-Team: Belarusian (http://www.transifex.com/divio/django-cms/language/be/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
Expand Down
Binary file modified cms/locale/bg/LC_MESSAGES/django.mo
Binary file not shown.
2 changes: 1 addition & 1 deletion cms/locale/bg/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ msgstr ""
"POT-Creation-Date: 2015-11-11 18:31+0100\n"
"PO-Revision-Date: 2015-11-11 17:31+0000\n"
"Last-Translator: yakky <i.spalletti@nephila.it>\n"
"Language-Team: Bulgarian (http://www.transifex.com/digi604/django-cms/language/bg/)\n"
"Language-Team: Bulgarian (http://www.transifex.com/divio/django-cms/language/bg/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
Expand Down
Binary file modified cms/locale/bg/LC_MESSAGES/djangojs.mo
Binary file not shown.
2 changes: 1 addition & 1 deletion cms/locale/bg/LC_MESSAGES/djangojs.po
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ msgstr ""
"POT-Creation-Date: 2015-11-05 10:16-0500\n"
"PO-Revision-Date: 2015-10-31 12:28+0000\n"
"Last-Translator: yakky <i.spalletti@nephila.it>\n"
"Language-Team: Bulgarian (http://www.transifex.com/digi604/django-cms/language/bg/)\n"
"Language-Team: Bulgarian (http://www.transifex.com/divio/django-cms/language/bg/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
Expand Down
Binary file modified cms/locale/bn/LC_MESSAGES/django.mo
Binary file not shown.
2 changes: 1 addition & 1 deletion cms/locale/bn/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ msgstr ""
"POT-Creation-Date: 2015-11-11 18:31+0100\n"
"PO-Revision-Date: 2015-11-11 17:31+0000\n"
"Last-Translator: yakky <i.spalletti@nephila.it>\n"
"Language-Team: Bengali (http://www.transifex.com/digi604/django-cms/language/bn/)\n"
"Language-Team: Bengali (http://www.transifex.com/divio/django-cms/language/bn/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
Expand Down
Binary file modified cms/locale/bn/LC_MESSAGES/djangojs.mo
Binary file not shown.
2 changes: 1 addition & 1 deletion cms/locale/bn/LC_MESSAGES/djangojs.po
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ msgstr ""
"POT-Creation-Date: 2015-11-05 10:16-0500\n"
"PO-Revision-Date: 2015-10-31 12:28+0000\n"
"Last-Translator: yakky <i.spalletti@nephila.it>\n"
"Language-Team: Bengali (http://www.transifex.com/digi604/django-cms/language/bn/)\n"
"Language-Team: Bengali (http://www.transifex.com/divio/django-cms/language/bn/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
Expand Down
Binary file modified cms/locale/ca/LC_MESSAGES/django.mo
Binary file not shown.
2 changes: 1 addition & 1 deletion cms/locale/ca/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ msgstr ""
"POT-Creation-Date: 2015-11-11 18:31+0100\n"
"PO-Revision-Date: 2015-11-12 09:24+0000\n"
"Last-Translator: Roger Pons <rogerpons@gmail.com>\n"
"Language-Team: Catalan (http://www.transifex.com/digi604/django-cms/language/ca/)\n"
"Language-Team: Catalan (http://www.transifex.com/divio/django-cms/language/ca/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
Expand Down
Binary file modified cms/locale/ca/LC_MESSAGES/djangojs.mo
Binary file not shown.
2 changes: 1 addition & 1 deletion cms/locale/ca/LC_MESSAGES/djangojs.po
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ msgstr ""
"POT-Creation-Date: 2015-11-05 10:16-0500\n"
"PO-Revision-Date: 2015-10-31 12:28+0000\n"
"Last-Translator: yakky <i.spalletti@nephila.it>\n"
"Language-Team: Catalan (http://www.transifex.com/digi604/django-cms/language/ca/)\n"
"Language-Team: Catalan (http://www.transifex.com/divio/django-cms/language/ca/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
Expand Down
Binary file modified cms/locale/cs/LC_MESSAGES/django.mo
Binary file not shown.
2 changes: 1 addition & 1 deletion cms/locale/cs/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ msgstr ""
"POT-Creation-Date: 2015-11-11 18:31+0100\n"
"PO-Revision-Date: 2015-11-11 17:31+0000\n"
"Last-Translator: yakky <i.spalletti@nephila.it>\n"
"Language-Team: Czech (http://www.transifex.com/digi604/django-cms/language/cs/)\n"
"Language-Team: Czech (http://www.transifex.com/divio/django-cms/language/cs/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
Expand Down
Binary file modified cms/locale/cs/LC_MESSAGES/djangojs.mo
Binary file not shown.
2 changes: 1 addition & 1 deletion cms/locale/cs/LC_MESSAGES/djangojs.po
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ msgstr ""
"POT-Creation-Date: 2015-11-05 10:16-0500\n"
"PO-Revision-Date: 2015-10-31 12:28+0000\n"
"Last-Translator: yakky <i.spalletti@nephila.it>\n"
"Language-Team: Czech (http://www.transifex.com/digi604/django-cms/language/cs/)\n"
"Language-Team: Czech (http://www.transifex.com/divio/django-cms/language/cs/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
Expand Down
Binary file modified cms/locale/cy/LC_MESSAGES/django.mo
Binary file not shown.
2 changes: 1 addition & 1 deletion cms/locale/cy/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ msgstr ""
"POT-Creation-Date: 2015-11-11 18:31+0100\n"
"PO-Revision-Date: 2015-11-11 17:31+0000\n"
"Last-Translator: yakky <i.spalletti@nephila.it>\n"
"Language-Team: Welsh (http://www.transifex.com/digi604/django-cms/language/cy/)\n"
"Language-Team: Welsh (http://www.transifex.com/divio/django-cms/language/cy/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
Expand Down
Binary file modified cms/locale/cy/LC_MESSAGES/djangojs.mo
Binary file not shown.
2 changes: 1 addition & 1 deletion cms/locale/cy/LC_MESSAGES/djangojs.po
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ msgstr ""
"POT-Creation-Date: 2015-11-05 10:16-0500\n"
"PO-Revision-Date: 2015-10-31 12:28+0000\n"
"Last-Translator: yakky <i.spalletti@nephila.it>\n"
"Language-Team: Welsh (http://www.transifex.com/digi604/django-cms/language/cy/)\n"
"Language-Team: Welsh (http://www.transifex.com/divio/django-cms/language/cy/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
Expand Down
Binary file modified cms/locale/da/LC_MESSAGES/django.mo
Binary file not shown.
2 changes: 1 addition & 1 deletion cms/locale/da/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ msgstr ""
"POT-Creation-Date: 2015-11-11 18:31+0100\n"
"PO-Revision-Date: 2015-11-11 17:31+0000\n"
"Last-Translator: yakky <i.spalletti@nephila.it>\n"
"Language-Team: Danish (http://www.transifex.com/digi604/django-cms/language/da/)\n"
"Language-Team: Danish (http://www.transifex.com/divio/django-cms/language/da/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
Expand Down
Binary file modified cms/locale/da/LC_MESSAGES/djangojs.mo
Binary file not shown.
2 changes: 1 addition & 1 deletion cms/locale/da/LC_MESSAGES/djangojs.po
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ msgstr ""
"POT-Creation-Date: 2015-11-05 10:16-0500\n"
"PO-Revision-Date: 2015-10-31 12:28+0000\n"
"Last-Translator: yakky <i.spalletti@nephila.it>\n"
"Language-Team: Danish (http://www.transifex.com/digi604/django-cms/language/da/)\n"
"Language-Team: Danish (http://www.transifex.com/divio/django-cms/language/da/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
Expand Down
Binary file modified cms/locale/de/LC_MESSAGES/django.mo
Binary file not shown.
14 changes: 7 additions & 7 deletions cms/locale/de/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ msgstr ""
"Project-Id-Version: django-cms\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-11-11 18:31+0100\n"
"PO-Revision-Date: 2015-11-11 17:31+0000\n"
"Last-Translator: yakky <i.spalletti@nephila.it>\n"
"Language-Team: German (http://www.transifex.com/digi604/django-cms/language/de/)\n"
"PO-Revision-Date: 2015-12-03 12:14+0000\n"
"Last-Translator: Diana Dünki <diana.duenki@divio.ch>\n"
"Language-Team: German (http://www.transifex.com/divio/django-cms/language/de/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
Expand Down Expand Up @@ -1353,11 +1353,11 @@ msgstr[1] ""
#: templates/admin/cms/page/tree/base.html:108
#, python-format
msgid "%(full_result_count)s total"
msgstr ""
msgstr "%(full_result_count)s Total"

#: templates/admin/cms/page/tree/base.html:108
msgid "Show all"
msgstr ""
msgstr "Alle anzeigen"

#: templates/admin/cms/page/tree/base.html:123
msgid "Filter:"
Expand All @@ -1377,7 +1377,7 @@ msgstr "Filter"

#: templates/admin/cms/page/tree/base_header.html:8
msgid "View"
msgstr ""
msgstr "Ansehen"

#: templates/admin/cms/page/tree/base_header.html:12
msgid "Menu"
Expand Down Expand Up @@ -1570,7 +1570,7 @@ msgstr "Editieren"

#: templates/cms/toolbar/dragitem.html:22
msgid "This plugin cannot be moved or edited outside of its parent"
msgstr ""
msgstr "Dieses Plugin kann nicht ausserhalb des Parents-Plugins verschoben oder editiert werden"

#: templates/cms/toolbar/dragitem.html:33
msgid "Clipboard is empty."
Expand Down
Binary file modified cms/locale/de/LC_MESSAGES/djangojs.mo
Binary file not shown.
2 changes: 1 addition & 1 deletion cms/locale/de/LC_MESSAGES/djangojs.po
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ msgstr ""
"POT-Creation-Date: 2015-11-05 10:16-0500\n"
"PO-Revision-Date: 2015-10-31 12:28+0000\n"
"Last-Translator: yakky <i.spalletti@nephila.it>\n"
"Language-Team: German (http://www.transifex.com/digi604/django-cms/language/de/)\n"
"Language-Team: German (http://www.transifex.com/divio/django-cms/language/de/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
Expand Down
Binary file modified cms/locale/el/LC_MESSAGES/django.mo
Binary file not shown.
2 changes: 1 addition & 1 deletion cms/locale/el/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ msgstr ""
"POT-Creation-Date: 2015-11-11 18:31+0100\n"
"PO-Revision-Date: 2015-11-11 17:31+0000\n"
"Last-Translator: yakky <i.spalletti@nephila.it>\n"
"Language-Team: Greek (http://www.transifex.com/digi604/django-cms/language/el/)\n"
"Language-Team: Greek (http://www.transifex.com/divio/django-cms/language/el/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
Expand Down
Binary file modified cms/locale/el/LC_MESSAGES/djangojs.mo
Binary file not shown.
2 changes: 1 addition & 1 deletion cms/locale/el/LC_MESSAGES/djangojs.po
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ msgstr ""
"POT-Creation-Date: 2015-11-05 10:16-0500\n"
"PO-Revision-Date: 2015-10-31 12:28+0000\n"
"Last-Translator: yakky <i.spalletti@nephila.it>\n"
"Language-Team: Greek (http://www.transifex.com/digi604/django-cms/language/el/)\n"
"Language-Team: Greek (http://www.transifex.com/divio/django-cms/language/el/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
Expand Down
Binary file modified cms/locale/en/LC_MESSAGES/django.mo
Binary file not shown.
Loading

0 comments on commit fcb405b

Please sign in to comment.