Skip to content

Commit 3adffdf

Browse files
authored
build: Release 3.0.0 (#1376)
* Update version, changelog, and de, fr, and nl locales * Add Pillow 10 compatibility * Fix: Swappable Image tests * Remove pinning of Pillow for tests
1 parent 6a8d981 commit 3adffdf

File tree

70 files changed

+1479
-1267
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+1479
-1267
lines changed

CHANGELOG.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
CHANGELOG
33
=========
44

5-
3.0.0rc2
5+
3.0.0 (2023-07-05)
66
==================
77

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

2224
2.2.5 (2023-06-11)
2325
==================

filer/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@
1313
8. Publish the release and it will automatically release to pypi
1414
"""
1515

16-
__version__ = '3.0.0rc3'
16+
__version__ = '3.0.0'
1717

1818
default_app_config = 'filer.apps.FilerConfig'
8 Bytes
Binary file not shown.

filer/locale/ar/LC_MESSAGES/django.po

Lines changed: 54 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SOME DESCRIPTIVE TITLE.
22
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
33
# This file is distributed under the same license as the PACKAGE package.
4-
#
4+
#
55
# Translators:
66
# Translators:
77
# Translators:
@@ -10,18 +10,18 @@ msgstr ""
1010
"Project-Id-Version: django Filer\n"
1111
"Report-Msgid-Bugs-To: \n"
1212
"POT-Creation-Date: 2023-06-28 19:25+0200\n"
13-
"PO-Revision-Date: 2018-04-09 06:58+0000\n"
14-
"Last-Translator: yakky <[email protected]>\n"
15-
"Language-Team: Arabic (http://www.transifex.com/divio/django-filer/language/"
16-
"ar/)\n"
17-
"Language: ar\n"
13+
"PO-Revision-Date: 2012-07-13 15:50+0000\n"
14+
"Last-Translator: Angelo Dini <[email protected]>\n"
15+
"Language-Team: Arabic (http://app.transifex.com/divio/django-filer/language/ar/)\n"
1816
"MIME-Version: 1.0\n"
1917
"Content-Type: text/plain; charset=UTF-8\n"
2018
"Content-Transfer-Encoding: 8bit\n"
21-
"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 "
22-
"&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"
19+
"Language: ar\n"
20+
"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"
2321

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

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

3232
#: admin/clipboardadmin.py:19
33-
msgid "Can't use this folder, Permission Denied. Please select another folder."
33+
msgid ""
34+
"Can't use this folder, Permission Denied. Please select another folder."
3435
msgstr ""
3536

3637
#: admin/fileadmin.py:45
@@ -448,6 +449,7 @@ msgid "folder permissions"
448449
msgstr ""
449450

450451
#: models/foldermodels.py:359
452+
#| msgid "Folders"
451453
msgid "All Folders"
452454
msgstr ""
453455

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

468470
#: models/foldermodels.py:374
471+
#| msgid "everybody"
469472
msgid "Everybody"
470473
msgstr ""
471474

@@ -478,6 +481,7 @@ msgid "Read"
478481
msgstr ""
479482

480483
#: models/foldermodels.py:389
484+
#| msgid "can add children"
481485
msgid "Add children"
482486
msgstr ""
483487

@@ -534,6 +538,7 @@ msgid "Show table view"
534538
msgstr ""
535539

536540
#: settings.py:278
541+
#| msgid "thumbnail option"
537542
msgid "Show thumbnail view"
538543
msgstr ""
539544

@@ -662,8 +667,8 @@ msgstr ""
662667

663668
#: templates/admin/filer/folder/choose_copy_destination.html:23
664669
msgid ""
665-
"Your account doesn't have permissions to copy all of the selected files and/"
666-
"or folders."
670+
"Your account doesn't have permissions to copy all of the selected files "
671+
"and/or folders."
667672
msgstr ""
668673

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

739744
#: templates/admin/filer/folder/choose_move_destination.html:35
740745
msgid ""
741-
"Your account doesn't have permissions to move all of the selected files and/"
742-
"or folders."
746+
"Your account doesn't have permissions to move all of the selected files "
747+
"and/or folders."
743748
msgstr ""
744749

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

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

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

@@ -1004,10 +1011,12 @@ msgstr ""
10041011

10051012
#: templates/admin/filer/folder/directory_thumbnail_list.html:15
10061013
#: templates/admin/filer/folder/directory_thumbnail_list.html:80
1014+
#| msgid "Select this file"
10071015
msgid "Select all"
10081016
msgstr ""
10091017

10101018
#: templates/admin/filer/folder/directory_thumbnail_list.html:77
1019+
#| msgid "Filer"
10111020
msgid "Files"
10121021
msgstr ""
10131022

@@ -1077,6 +1086,7 @@ msgstr ""
10771086
#: templates/admin/filer/tools/detail_info.html:20
10781087
#: templates/admin/filer/widgets/admin_file.html:32
10791088
#: templatetags/filer_admin_tags.py:101
1089+
#| msgid "file missing"
10801090
msgid "File is missing"
10811091
msgstr ""
10821092

@@ -1132,6 +1142,7 @@ msgid "Choose File"
11321142
msgstr ""
11331143

11341144
#: templates/admin/filer/widgets/admin_folder.html:16
1145+
#| msgid "Choose File"
11351146
msgid "Choose Folder"
11361147
msgstr ""
11371148

@@ -1157,6 +1168,36 @@ msgid ""
11571168
"vulnerability"
11581169
msgstr ""
11591170

1171+
#~ msgid "Open file"
1172+
#~ msgstr "Open file"
1173+
1174+
#~ msgid "Full size preview"
1175+
#~ msgstr "Full size preview"
1176+
1177+
#~ msgid "Add Description"
1178+
#~ msgstr "Add Description"
1179+
1180+
#~ msgid "Author"
1181+
#~ msgstr "Author"
1182+
1183+
#~ msgid "Add Alt-Text"
1184+
#~ msgstr "Add Alt-Text"
1185+
1186+
#~ msgid "Add caption"
1187+
#~ msgstr "Add caption"
1188+
1189+
#~ msgid "Add Tags"
1190+
#~ msgstr "Add Tags"
1191+
1192+
#~ msgid "Change File"
1193+
#~ msgstr "Change File"
1194+
1195+
#~ msgid "none selected"
1196+
#~ msgstr "none selected"
1197+
1198+
#~ msgid "Add Folder"
1199+
#~ msgstr "Add Folder"
1200+
11601201
#~ msgid "Subject Location"
11611202
#~ msgstr "Subject location"
11621203

8 Bytes
Binary file not shown.

filer/locale/bg/LC_MESSAGES/django.po

Lines changed: 53 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SOME DESCRIPTIVE TITLE.
22
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
33
# This file is distributed under the same license as the PACKAGE package.
4-
#
4+
#
55
# Translators:
66
# Translators:
77
# Translators:
@@ -10,17 +10,18 @@ msgstr ""
1010
"Project-Id-Version: django Filer\n"
1111
"Report-Msgid-Bugs-To: \n"
1212
"POT-Creation-Date: 2023-06-28 19:25+0200\n"
13-
"PO-Revision-Date: 2018-04-09 06:58+0000\n"
14-
"Last-Translator: yakky <[email protected]>\n"
15-
"Language-Team: Bulgarian (http://www.transifex.com/divio/django-filer/"
16-
"language/bg/)\n"
17-
"Language: bg\n"
13+
"PO-Revision-Date: 2012-07-13 15:50+0000\n"
14+
"Last-Translator: Angelo Dini <[email protected]>\n"
15+
"Language-Team: Bulgarian (http://app.transifex.com/divio/django-filer/language/bg/)\n"
1816
"MIME-Version: 1.0\n"
1917
"Content-Type: text/plain; charset=UTF-8\n"
2018
"Content-Transfer-Encoding: 8bit\n"
19+
"Language: bg\n"
2120
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
2221

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

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

3132
#: admin/clipboardadmin.py:19
32-
msgid "Can't use this folder, Permission Denied. Please select another folder."
33+
msgid ""
34+
"Can't use this folder, Permission Denied. Please select another folder."
3335
msgstr ""
3436

3537
#: admin/fileadmin.py:45
@@ -443,6 +445,7 @@ msgid "folder permissions"
443445
msgstr ""
444446

445447
#: models/foldermodels.py:359
448+
#| msgid "Folders"
446449
msgid "All Folders"
447450
msgstr ""
448451

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

463466
#: models/foldermodels.py:374
467+
#| msgid "everybody"
464468
msgid "Everybody"
465469
msgstr ""
466470

@@ -473,6 +477,7 @@ msgid "Read"
473477
msgstr ""
474478

475479
#: models/foldermodels.py:389
480+
#| msgid "can add children"
476481
msgid "Add children"
477482
msgstr ""
478483

@@ -529,6 +534,7 @@ msgid "Show table view"
529534
msgstr ""
530535

531536
#: settings.py:278
537+
#| msgid "thumbnail option"
532538
msgid "Show thumbnail view"
533539
msgstr ""
534540

@@ -657,8 +663,8 @@ msgstr ""
657663

658664
#: templates/admin/filer/folder/choose_copy_destination.html:23
659665
msgid ""
660-
"Your account doesn't have permissions to copy all of the selected files and/"
661-
"or folders."
666+
"Your account doesn't have permissions to copy all of the selected files "
667+
"and/or folders."
662668
msgstr ""
663669

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

734740
#: templates/admin/filer/folder/choose_move_destination.html:35
735741
msgid ""
736-
"Your account doesn't have permissions to move all of the selected files and/"
737-
"or folders."
742+
"Your account doesn't have permissions to move all of the selected files "
743+
"and/or folders."
738744
msgstr ""
739745

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

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

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

@@ -991,10 +999,12 @@ msgstr ""
991999

9921000
#: templates/admin/filer/folder/directory_thumbnail_list.html:15
9931001
#: templates/admin/filer/folder/directory_thumbnail_list.html:80
1002+
#| msgid "Select this file"
9941003
msgid "Select all"
9951004
msgstr ""
9961005

9971006
#: templates/admin/filer/folder/directory_thumbnail_list.html:77
1007+
#| msgid "Filer"
9981008
msgid "Files"
9991009
msgstr ""
10001010

@@ -1060,6 +1070,7 @@ msgstr ""
10601070
#: templates/admin/filer/tools/detail_info.html:20
10611071
#: templates/admin/filer/widgets/admin_file.html:32
10621072
#: templatetags/filer_admin_tags.py:101
1073+
#| msgid "file missing"
10631074
msgid "File is missing"
10641075
msgstr ""
10651076

@@ -1115,6 +1126,7 @@ msgid "Choose File"
11151126
msgstr ""
11161127

11171128
#: templates/admin/filer/widgets/admin_folder.html:16
1129+
#| msgid "Choose File"
11181130
msgid "Choose Folder"
11191131
msgstr ""
11201132

@@ -1140,6 +1152,36 @@ msgid ""
11401152
"vulnerability"
11411153
msgstr ""
11421154

1155+
#~ msgid "Open file"
1156+
#~ msgstr "Open file"
1157+
1158+
#~ msgid "Full size preview"
1159+
#~ msgstr "Full size preview"
1160+
1161+
#~ msgid "Add Description"
1162+
#~ msgstr "Add Description"
1163+
1164+
#~ msgid "Author"
1165+
#~ msgstr "Author"
1166+
1167+
#~ msgid "Add Alt-Text"
1168+
#~ msgstr "Add Alt-Text"
1169+
1170+
#~ msgid "Add caption"
1171+
#~ msgstr "Add caption"
1172+
1173+
#~ msgid "Add Tags"
1174+
#~ msgstr "Add Tags"
1175+
1176+
#~ msgid "Change File"
1177+
#~ msgstr "Change File"
1178+
1179+
#~ msgid "none selected"
1180+
#~ msgstr "none selected"
1181+
1182+
#~ msgid "Add Folder"
1183+
#~ msgstr "Add Folder"
1184+
11431185
#~ msgid "Subject Location"
11441186
#~ msgstr "Subject location"
11451187

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)