Wagtail-photo-gallery

Latest version: v0.1.2

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

Scan your dependencies

Page 1 of 2

2.13

Fixed `CollectionChooserBlock` by adding `get_form_state()` (Issue 2):

py
class CollectionChooserBlock(blocks.ChooserBlock):

def get_form_state(self, value):
return self.widget.get_value_data(value)

0.1.2

Previously, leaving `Album.collection` empty resp. setting it to null was allowed.
Since the collection setting was moved to the _Settings_ tab, it was to easy to forget to set the `Collection`.

Now `Album.collection` defaults to _Root_, which is also more convenient if only a single gallery for all photos is used.

Changes

- [x] Deleting the collection now deletes every associated `Album` (cascade)
- [x] _Root_ is set as default for `Album.collection`, removed null and blank
- [x] _Root_ is set as default for `CollectionChooserBlock` when a `GalleryBlock` is added

0.1.1

Improvements

- [x] Fixed missing translation in templates

0.1.0

This update bring plenty UI improvements and translations.
Wagtail 4 and 5 are now supported.

Changelog

- [x] Updated imports for Wagtail 4 and 5. Fixes 7
- [x] Improved admin image visualization
- [x] Fixed layout issues (prior to Wagtail 4 panels used to render `<ul>`, but now use `<div>` instead). Fixes 6
- [x] Added [AlbumInlinePanel and AlbumMultiFieldPanel](https://github.com/donhauser/wagtail-photo-gallery/commit/ed6dbfac1c82e67515a38a593a3a4c500af4a756) to customize admin HTML generation
- [x] Improved the interaction with `AlbumInlinePanel` by adding buttons: _Add Image_, _Select All_, _Unselect_, _Delete Selected_
- [x] Add button now sets the thumbnail as well
- [x] Added proper Translation handling (Implemented 1). Pull requests for other languages are very welcome!
- [x] Added German Translation

0.0.3

*Bugfixes:*
- fixed css conflict with wagtail `.ui-sortable`
- fixed template crash, caused by instances of `Album` without any images

0.0.2

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.