Django-galleryfield

Latest version: v2.2.0

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

Scan your dependencies

Page 1 of 3

2.1.3

------------------------------------

- Enhancement: Upgraded subset-iconfont dependency and optimized icon font css (`38 <https://github.com/dzhuang/django-galleryfield/pull/38>`__).

2.1.2

------------------------------------

- Fixes: removed edit button for image mimetypes (``gif``, ``tiff``) in UI (`36 <https://github.com/dzhuang/django-galleryfield/pull/36>`__).
- Refactor: continue replacing ``%{% templatetag closebrace %}`` to ``{% templatetag closeblock %}`` in templates (`37 <https://github.com/dzhuang/django-galleryfield/pull/37>`__).

2.1.1

------------------------------------

- Fixes: fixed rendering when using Bootstrap 4 and 5 (`31 <https://github.com/dzhuang/django-galleryfield/pull/31>`__).
- Enhancements: optimized crop model on small screens (`32 <https://github.com/dzhuang/django-galleryfield/pull/32>`__).
- Breaking changes: template blocks renaming (`34 <https://github.com/dzhuang/django-galleryfield/pull/34>`__).

2.0.1

------------------------------------

- Breaking changes (`25 <https://github.com/dzhuang/django-galleryfield/pull/25>`__ , `#28 <https://github.com/dzhuang/django-galleryfield/pull/28>`__):

- Added required method :meth:`create_instance_from_form` in ``ImageCreateView`` when customizing ``target_model`` .
- Added required method :meth:`create_cropped_instance_from_form` in ``ImageCropView`` when customizing ``target_model`` .
- Allowed customize image URL via :meth:`get_image_url` in ``target_model``.
- Allowed customize image Crop URL via :meth:`get_crop_url` in ``target_model``.
- Allowed customize image object serialization by :meth:`serialize_extra` in ``target_model``.
- Bundled most static assets (except ``Bootstrap`` and ``jQuery``) into ``galleryfield-ui.js``, thus we no longer need to
do extra configurations serving those static files locally.

- Added option ``bootstrap_version`` in ``DJANGO_GALLERY_FIELD_CONFIG``, defaults to ``3``.
- Removed all items in ``DJANGO_GALLERY_FIELD_CONFIG["assets"]`` except ``extra_js`` and ``extra_css``.
- Added new options ``jquery``, ``bootstrap_css`` and ``bootstrap_js`` to ``DJANGO_GALLERY_FIELD_CONFIG["assets"]``, with
CDN URL of those assets as default values.

- Dropped ``jQuery-UI`` in favor of ``SortableJS`` for sorting uploaded images. Added ``jquery_file_upload_ui_sortable_options`` in ``DJANGO_GALLERY_FIELD_CONFIG`` .
- Allowed use ``Bootstrap`` 4 and 5 via settings configurations.

1.5.1

------------------------------------

- Fixes: updated rollup scripts. (`f1e2207 <https://github.com/dzhuang/django-galleryfield/commit/f1e2207fccd16d15c0d2405b575341f32d777bcd>`__)
- Fixes: added back lost indicator in upload UI. (`6177b34 <https://github.com/dzhuang/django-galleryfield/commit/6177b34cb239e96982976efd770940c715cd4c6e>`__)

1.5.0

------------------------------------

- Refactor: used rollup.js to manage static assets. (`24 <https://github.com/dzhuang/django-galleryfield/pull/24>`__)

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.