Django-filer

Latest version: v3.3.1

Safety actively analyzes 688823 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 5 of 14

2.1.2

Not secure
==================

* In Folder permissions, make user and group autocomplete fields.
* Extent testing matrix to Python-3.10.

2.1.1

Not secure
==================

* Pin dependency for easy-thumbnails to version 2.8.0.

2.1

Not secure
================

* Remove unused legacy CSS from project.
* Remove legacy code for compatibility of old Django versions.
* Improve PermissionAdmin performance:

* PermissionAdmin: filter by groups instead of users
* PermissionAdmin: allow to search via user, group or folder names
* PermissionAdmin: use prefetch_related to decrease number of DB queries

* Fix 1234: Directory listing template conflicts with djangocms-admin-style
sidebar style.
* Fix minor styling regressions introduced in 2.1rc2.
* Fix 1227: Some icons were not aligned in the dropzone layout.
* All file/image fields render the field label.
* Fix 1232: Drag & drop of empty files results into Internal Server Error.
* Add support for SVG images. They now are handled by the model
``filer.imagemodels.Image`` and can be used whereever a pixel based image
was used. This includes scaling and cropping using existing thumbnailing
functionality from the
`easy-thumbnails <https://easy-thumbnails.readthedocs.io/en/latest/index.html>`_
library.
* Drop support for high resolution images and remove ``retina.js`` from project.
High resolution images are handled by the HTML standard attribute in
``<img srcset="..." ... />``.
* In model ``filer.imagemodels.Image`` change ``_width`` and ``_height`` to
Django's ``FloatFields``; this because SVG images specify their image
extensions as floats rather than integers.
* All icons for displaying folders, files (not images) have been replaced by
nicer looking SVG variants from `PaoMedia <https://paomedia.github.io/small-n-flat/>`_.
* Increase size of thumbnails in the admin backend's list view from 25x25 to
40x40 pixels.
* For local development switched to NodeJS version 14.
* Add templatetag ``file_icon`` to ``file_admin_tags.py``. It now handles the
rendering of all file types, including folders, zip-files and missing files.
* Remove pre-thumbnailing of images. Up to version 2.0, all images were scaled
immediatly after upload into many different sizes, most of which never were
used. Thumbnailing in the admin backend now is perfomerd lazily.
* Uploaded audio can be listened at in their detail view.
* Uploaded video files can be previewed in their detail view.
* Fix scaling of very wide but short images – causing a division by zero
exception: ceil height to integer.
* Add method ``exists()`` to ``MultiStorageFieldFile``, which checks if a file
exists on disk.
* Drop support of Python-3.5 (Reason: Third party requirement
`reportlabs <https://www.reportlab.com/>`_ requires Python>=3.6).
* Fix dropzone error callback for admin fields.
* Fix 1247: Not owned files in unfiled folder can not be listed if perms are ON.
* Fix 1184: OSError close file before deletion on file move.

2.0.2

Not secure
==================

* Fix 1214: `serve()` missing 1 required positional argument: `filer_file`.
* Fix 1211: On upload MIME-type is not set correctly.

2.0.1

Not secure
==================

* Fixed NotNullViolation: null value in column "mime_type" in migration
``filer.0012_file_mime_type.py``.

2.0.0

Not secure
==================

* Added support for Django 3.1
* Dropped support for Python 2.7 and Python 3.4
* Dropped support for Django < 2.2
* Changed the preferred way to do model registration via model inheritance
and ``mptt.AlreadyRegistered``, which is deprecated since django-mptt 0.4
* Use dashed name for django-polymorphic dependency in setup.py
* In ``models.File``, add field ``mime_type`` to store the Content-Type as set by
the browser during file upload
* For extended Django Filer models, adopt the classmethod ``matches_file_type`` to its
new signature, this is a breaking change
* Add attribute ``download`` to the download link in order to offer the file
under its original name

Page 5 of 14

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.