Skip to content

Commit

Permalink
build: Release 3.0.0 (#1376)
Browse files Browse the repository at this point in the history
* Update version, changelog, and de, fr, and nl locales

* Add Pillow 10 compatibility

* Fix: Swappable Image tests

* Remove pinning of Pillow for tests
  • Loading branch information
fsbraun authored Jul 6, 2023
1 parent 6a8d981 commit 3adffdf
Show file tree
Hide file tree
Showing 70 changed files with 1,479 additions and 1,267 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
CHANGELOG
=========

3.0.0rc2
3.0.0 (2023-07-05)
==================

* Add validation framework to prevent XSS attacks using HTML or SVG files (see docs)
Expand All @@ -18,6 +18,8 @@ CHANGELOG
* Fix several CSS quirks
* Fix folder widget
* Remove unused css from delete confirmation view and move file view
* Add Pillow 10 compatibility
* Update translations (de/fr/nl)

2.2.5 (2023-06-11)
==================
Expand Down
2 changes: 1 addition & 1 deletion filer/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
8. Publish the release and it will automatically release to pypi
"""

__version__ = '3.0.0rc3'
__version__ = '3.0.0'

default_app_config = 'filer.apps.FilerConfig'
Binary file modified filer/locale/ar/LC_MESSAGES/django.mo
Binary file not shown.
67 changes: 54 additions & 13 deletions filer/locale/ar/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
#
#
# Translators:
# Translators:
# Translators:
Expand All @@ -10,18 +10,18 @@ msgstr ""
"Project-Id-Version: django Filer\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-06-28 19:25+0200\n"
"PO-Revision-Date: 2018-04-09 06:58+0000\n"
"Last-Translator: yakky <[email protected]>\n"
"Language-Team: Arabic (http://www.transifex.com/divio/django-filer/language/"
"ar/)\n"
"Language: ar\n"
"PO-Revision-Date: 2012-07-13 15:50+0000\n"
"Last-Translator: Angelo Dini <[email protected]>\n"
"Language-Team: Arabic (http://app.transifex.com/divio/django-filer/language/ar/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 "
"&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"
"Language: ar\n"
"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"

#: admin/clipboardadmin.py:16
#| msgid ""
#| "ccount doesn't have permissions to rename all of the selected files."
msgid "You do not have permission to upload files."
msgstr ""

Expand All @@ -30,7 +30,8 @@ msgid "Can't find folder to upload. Please refresh and try again"
msgstr ""

#: admin/clipboardadmin.py:19
msgid "Can't use this folder, Permission Denied. Please select another folder."
msgid ""
"Can't use this folder, Permission Denied. Please select another folder."
msgstr ""

#: admin/fileadmin.py:45
Expand Down Expand Up @@ -448,6 +449,7 @@ msgid "folder permissions"
msgstr ""

#: models/foldermodels.py:359
#| msgid "Folders"
msgid "All Folders"
msgstr ""

Expand All @@ -466,6 +468,7 @@ msgid "Group: {group}"
msgstr ""

#: models/foldermodels.py:374
#| msgid "everybody"
msgid "Everybody"
msgstr ""

Expand All @@ -478,6 +481,7 @@ msgid "Read"
msgstr ""

#: models/foldermodels.py:389
#| msgid "can add children"
msgid "Add children"
msgstr ""

Expand Down Expand Up @@ -534,6 +538,7 @@ msgid "Show table view"
msgstr ""

#: settings.py:278
#| msgid "thumbnail option"
msgid "Show thumbnail view"
msgstr ""

Expand Down Expand Up @@ -662,8 +667,8 @@ msgstr ""

#: templates/admin/filer/folder/choose_copy_destination.html:23
msgid ""
"Your account doesn't have permissions to copy all of the selected files and/"
"or folders."
"Your account doesn't have permissions to copy all of the selected files "
"and/or folders."
msgstr ""

#: templates/admin/filer/folder/choose_copy_destination.html:25
Expand Down Expand Up @@ -738,8 +743,8 @@ msgstr ""

#: templates/admin/filer/folder/choose_move_destination.html:35
msgid ""
"Your account doesn't have permissions to move all of the selected files and/"
"or folders."
"Your account doesn't have permissions to move all of the selected files "
"and/or folders."
msgstr ""

#: templates/admin/filer/folder/choose_move_destination.html:47
Expand Down Expand Up @@ -938,11 +943,13 @@ msgstr ""

#: templates/admin/filer/folder/directory_table_list.html:144
#, python-format
#| msgid "Change '%(item_label)s' details"
msgid "Canonical url '%(item_label)s'"
msgstr ""

#: templates/admin/filer/folder/directory_table_list.html:148
#, python-format
#| msgid "Change '%(item_label)s' details"
msgid "Download '%(item_label)s'"
msgstr ""

Expand Down Expand Up @@ -1004,10 +1011,12 @@ msgstr ""

#: templates/admin/filer/folder/directory_thumbnail_list.html:15
#: templates/admin/filer/folder/directory_thumbnail_list.html:80
#| msgid "Select this file"
msgid "Select all"
msgstr ""

#: templates/admin/filer/folder/directory_thumbnail_list.html:77
#| msgid "Filer"
msgid "Files"
msgstr ""

Expand Down Expand Up @@ -1077,6 +1086,7 @@ msgstr ""
#: templates/admin/filer/tools/detail_info.html:20
#: templates/admin/filer/widgets/admin_file.html:32
#: templatetags/filer_admin_tags.py:101
#| msgid "file missing"
msgid "File is missing"
msgstr ""

Expand Down Expand Up @@ -1132,6 +1142,7 @@ msgid "Choose File"
msgstr ""

#: templates/admin/filer/widgets/admin_folder.html:16
#| msgid "Choose File"
msgid "Choose Folder"
msgstr ""

Expand All @@ -1157,6 +1168,36 @@ msgid ""
"vulnerability"
msgstr ""

#~ msgid "Open file"
#~ msgstr "Open file"

#~ msgid "Full size preview"
#~ msgstr "Full size preview"

#~ msgid "Add Description"
#~ msgstr "Add Description"

#~ msgid "Author"
#~ msgstr "Author"

#~ msgid "Add Alt-Text"
#~ msgstr "Add Alt-Text"

#~ msgid "Add caption"
#~ msgstr "Add caption"

#~ msgid "Add Tags"
#~ msgstr "Add Tags"

#~ msgid "Change File"
#~ msgstr "Change File"

#~ msgid "none selected"
#~ msgstr "none selected"

#~ msgid "Add Folder"
#~ msgstr "Add Folder"

#~ msgid "Subject Location"
#~ msgstr "Subject location"

Expand Down
Binary file modified filer/locale/bg/LC_MESSAGES/django.mo
Binary file not shown.
64 changes: 53 additions & 11 deletions filer/locale/bg/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
#
#
# Translators:
# Translators:
# Translators:
Expand All @@ -10,17 +10,18 @@ msgstr ""
"Project-Id-Version: django Filer\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-06-28 19:25+0200\n"
"PO-Revision-Date: 2018-04-09 06:58+0000\n"
"Last-Translator: yakky <[email protected]>\n"
"Language-Team: Bulgarian (http://www.transifex.com/divio/django-filer/"
"language/bg/)\n"
"Language: bg\n"
"PO-Revision-Date: 2012-07-13 15:50+0000\n"
"Last-Translator: Angelo Dini <[email protected]>\n"
"Language-Team: Bulgarian (http://app.transifex.com/divio/django-filer/language/bg/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: bg\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#: admin/clipboardadmin.py:16
#| msgid ""
#| "ccount doesn't have permissions to rename all of the selected files."
msgid "You do not have permission to upload files."
msgstr ""

Expand All @@ -29,7 +30,8 @@ msgid "Can't find folder to upload. Please refresh and try again"
msgstr ""

#: admin/clipboardadmin.py:19
msgid "Can't use this folder, Permission Denied. Please select another folder."
msgid ""
"Can't use this folder, Permission Denied. Please select another folder."
msgstr ""

#: admin/fileadmin.py:45
Expand Down Expand Up @@ -443,6 +445,7 @@ msgid "folder permissions"
msgstr ""

#: models/foldermodels.py:359
#| msgid "Folders"
msgid "All Folders"
msgstr ""

Expand All @@ -461,6 +464,7 @@ msgid "Group: {group}"
msgstr ""

#: models/foldermodels.py:374
#| msgid "everybody"
msgid "Everybody"
msgstr ""

Expand All @@ -473,6 +477,7 @@ msgid "Read"
msgstr ""

#: models/foldermodels.py:389
#| msgid "can add children"
msgid "Add children"
msgstr ""

Expand Down Expand Up @@ -529,6 +534,7 @@ msgid "Show table view"
msgstr ""

#: settings.py:278
#| msgid "thumbnail option"
msgid "Show thumbnail view"
msgstr ""

Expand Down Expand Up @@ -657,8 +663,8 @@ msgstr ""

#: templates/admin/filer/folder/choose_copy_destination.html:23
msgid ""
"Your account doesn't have permissions to copy all of the selected files and/"
"or folders."
"Your account doesn't have permissions to copy all of the selected files "
"and/or folders."
msgstr ""

#: templates/admin/filer/folder/choose_copy_destination.html:25
Expand Down Expand Up @@ -733,8 +739,8 @@ msgstr ""

#: templates/admin/filer/folder/choose_move_destination.html:35
msgid ""
"Your account doesn't have permissions to move all of the selected files and/"
"or folders."
"Your account doesn't have permissions to move all of the selected files "
"and/or folders."
msgstr ""

#: templates/admin/filer/folder/choose_move_destination.html:47
Expand Down Expand Up @@ -925,11 +931,13 @@ msgstr ""

#: templates/admin/filer/folder/directory_table_list.html:144
#, python-format
#| msgid "Change '%(item_label)s' details"
msgid "Canonical url '%(item_label)s'"
msgstr ""

#: templates/admin/filer/folder/directory_table_list.html:148
#, python-format
#| msgid "Change '%(item_label)s' details"
msgid "Download '%(item_label)s'"
msgstr ""

Expand Down Expand Up @@ -991,10 +999,12 @@ msgstr ""

#: templates/admin/filer/folder/directory_thumbnail_list.html:15
#: templates/admin/filer/folder/directory_thumbnail_list.html:80
#| msgid "Select this file"
msgid "Select all"
msgstr ""

#: templates/admin/filer/folder/directory_thumbnail_list.html:77
#| msgid "Filer"
msgid "Files"
msgstr ""

Expand Down Expand Up @@ -1060,6 +1070,7 @@ msgstr ""
#: templates/admin/filer/tools/detail_info.html:20
#: templates/admin/filer/widgets/admin_file.html:32
#: templatetags/filer_admin_tags.py:101
#| msgid "file missing"
msgid "File is missing"
msgstr ""

Expand Down Expand Up @@ -1115,6 +1126,7 @@ msgid "Choose File"
msgstr ""

#: templates/admin/filer/widgets/admin_folder.html:16
#| msgid "Choose File"
msgid "Choose Folder"
msgstr ""

Expand All @@ -1140,6 +1152,36 @@ msgid ""
"vulnerability"
msgstr ""

#~ msgid "Open file"
#~ msgstr "Open file"

#~ msgid "Full size preview"
#~ msgstr "Full size preview"

#~ msgid "Add Description"
#~ msgstr "Add Description"

#~ msgid "Author"
#~ msgstr "Author"

#~ msgid "Add Alt-Text"
#~ msgstr "Add Alt-Text"

#~ msgid "Add caption"
#~ msgstr "Add caption"

#~ msgid "Add Tags"
#~ msgstr "Add Tags"

#~ msgid "Change File"
#~ msgstr "Change File"

#~ msgid "none selected"
#~ msgstr "none selected"

#~ msgid "Add Folder"
#~ msgstr "Add Folder"

#~ msgid "Subject Location"
#~ msgstr "Subject location"

Expand Down
Binary file modified filer/locale/ca/LC_MESSAGES/django.mo
Binary file not shown.
Loading

0 comments on commit 3adffdf

Please sign in to comment.