Django-cabinet

Latest version: v0.14.3

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

Scan your dependencies

Page 1 of 3

0.14

~~~~~~~~~~~~~~~~~

- Added Django 5.0, Python 3.12.
- Updated the pre-commit hooks and added ESLint again (it was inadvertently
dropped).
- Dropped the unique constraint on folder name per subfolder. Duplicate names
are a minor issue compared to the integrity errors which happen while loading
fixtures.

0.13

~~~~~~~~~~~~~~~~~

- Added Django 4.1 and 4.2 to the CI matrix.
- Added Python 3.11.
- Switched to ruff and hatchling.
- Documented that you should add a ``post_delete`` handler yourself when
replacing the default file model.
- Fixed a problem where the folder filter stopped working in the upcoming
Django 5.0.

0.12

~~~~~~~~~~~~~~~~~~~~

.. _0.12: https://github.com/matthiask/django-cabinet/compare/0.11...0.12

- Fixed a bug where mixins couldn't be used as base classes of a custom
file model.
- Changed the file admin to never collapse the advanced fieldset by
default.
- Switched from Travis CI to GitHub actions.
- Fixed a regression where the CKEditor plugin's ``forms.Media`` declaration
was missing the jQuery dependency.
- Specified the default ``AutoField`` for django-cabinet to avoid migrations.
- Added an additional safeguard against unhandleable images.
- Fixed the ``default_app_config`` deprecation warning.
- Raised the minimum versions of Python to 3.8 and Django to 3.2.

0.11

~~~~~~~~~~~~~~~~~~~~

- Verified compatibility with Django 3.1 and Python 3.8 (no changes
necessary).
- Removed ``skipIf`` statements from the testsuite still referencing
Django < 1.11.
- Switched the testsuite to using sqlite3 instead of PostgreSQL.
django-tree-queries supports different databases
- Dropped Python 3.4 from the testsuite.
- Updated ESLint and prettier used to format and check the
CSS/JavaScript code.
- Added isort.

0.10

~~~~~~~~~~~~~~~~~~~~

- Changed files and folders to reuse more of django-tree-queries.
- Made our inline upload JavaScript specify its dependency on
``django.jQuery``.
- Verified compatibility with Django 3.0.
- Changed the abstract file model to protect files against cascading
folder deletions.

0.9

~~~~~~~~~~~~~~~~~~~

- Changed ``CabinetForeignKey`` to reference the configured file model
by default.
- Limited the maximum width of the inline folder select widget.
- Added tests for the ``CabinetForeignKey``.
- Hardened the file upload route a bit.
- Removed a leftover call to versatileimagefields'
``delete_all_created_images`` function.
- Improved test coverage, mainly by actually writing more tests.
- Changed ``reverse`` call sites to explicitly specify ``current_app``.
- Implemented optional autoselection of the last visited folder by
explicitly specifying ``?folder__id__exact=last``.
- Made ``CabinetForeignKey`` automatically open the last folder for new
files.
- Dropped compatibility with Django 1.8 again.
- Made our JS files' dependency on ``django.jQuery`` explicit.
- Raised the length of file fields from ``100`` to ``1000``.

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.