Releases: ephes/django-cast
Repository for Feed / Blog-Index / Post-Detail
Render feed, blog index and post detail without hitting the database
using only data from the respective repositories is now working. The
repository is passed from the feed / blog / post models to the blocks
just using the template context. And there's no need for monkeypatching
the page link handler anymore, since a new page link handler is now
set via the register_rich_text_features
wagtail hook.
Smaller Fixes
Feed performance + Wagtail 6
Multiple Galleries Bugfix
0.2.27 (2024-01-02)
Bugfix release. Multiple galleries per post were not working when using the
default gallery layout.
- #117 Fix multiple galleries per post
Image Gallery Revisited
Use a web component for the image gallery. Have a proper build pipeline
for the web components Javascript and some tests. Have a working htmx layout
for the gallery. It's still a bit slower compared to the web component, but
it's a start.
Responsive Images Sync
Use the original image if no renditions are generated. Includes now a
management command to sync renditions. Revisited how the renditions are
passed to the template.
Responsive Images Revisited
Responsive images using the picture
element and some smaller fixes.
- Make title link to detail and strip dash from date link in bootstrap4
template thanks @neingeist - Re-added the
o
ordering parameter to make it possible to order by
visible date - Upgraded Python Version for GitHub Actions to 3.12
- #108 Fixed test coverage for
cast/filters.py
- #109 Responsive images revisited
- picture element and avif format for images
- images now have an
alt
attribute - using
srcset
in combination withsizes
attributes for smaller images - removed
wagtail_srcset
dependency
- #110 Fixed mypy errors by putting a workaround in place
Python 3.12 and Comment-Form Fixes
Added Python 3.12 support, dropped Python 3.9 support.
- Workaround for missing comment form error messages #107 (thanks @petermeissner)
- Python Version support (+3.12 -3.9) #106
- A little bit more documentation for database restore #56
Fixing theme selection
Resolved a significant bug in theme selection. If you picked a theme
stored in your session, the system would mistakenly apply a pre-selected
theme for HTML fragments rendered through the JSON API. This was due
to the real theme choice not being correctly passed from the JSON API
to the Wagtail page, resulting in a completely dysfunctional Vue theme.
- Bugfix theme selection #105
- Fixed mypy issues by django-stubs update + one small fix #101
- Improved documentation for theme selection #105
- Got rid of ProxyRequest in favor of a simple HtmlField #105
- Fixed searching for name instead of slug when filtering tags #100
- Added a
has_selectable_themes
flag to the context of blog pages to make it easy to decide whether a theme selector can be showed #105
Let users choose theme
Make it possible to select a new theme on the website and store the selection result in the session.