Skip to content

Releases: ephes/django-cast

Repository for Feed / Blog-Index / Post-Detail

26 Apr 11:22
Compare
Choose a tag to compare

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.

  • #123 Fixed an audio key error when a preview page is saved
  • #125 Add a hint (click to comment ) to feed descriptions of posts where comments are enabled
  • #128 Update vite + jsdom + new javascript build
  • #126 Render feed / blog index / post detail using only data from repository, not database

Smaller Fixes

23 Mar 13:37
Compare
Choose a tag to compare
Smaller Fixes Pre-release
Pre-release

0.2.29 (2024-03-23)

Bugfixes:

  • #122 Sometimes galleries had no id -> re-publishing posts with those galleries fixed this
  • #124 Implicit feed caching caused delivering sometimes the wrong feed
  • #125 Use absolute link in feed when linking to a post (podcast clients break on relative links)

Feed performance + Wagtail 6

17 Mar 16:55
Compare
Choose a tag to compare
Pre-release

0.2.28 (2024-03-17)

Feed performance improvements.

  • #118 Fix performance for feeds with many items / images
  • #121 Add support for Wagtail 6.
    • dropped support for Wagtail 4 and Django < 4.2
  • some pre-commit and javascript updates

Multiple Galleries Bugfix

02 Jan 18:17
Compare
Choose a tag to compare
Pre-release

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

31 Dec 07:20
Compare
Choose a tag to compare
Pre-release

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.

  • #114 Use web component for image gallery
  • Some cleanup regarding javascript paths etc. - using a global cast prefix for example
  • #116 Gallery layout using htmx for bootstrap4 and 5 themes

Responsive Images Sync

10 Dec 12:29
Compare
Choose a tag to compare
Pre-release

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.

  • #112 If no renditions are generated, use the original image as the default rendition
  • #113 Management command to sync renditions
  • Changed tox.ini to include Django 5.0 and removed Django 4.0

Responsive Images Revisited

25 Nov 09:15
Compare
Choose a tag to compare
Pre-release

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 with sizes 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

21 Oct 15:27
Compare
Choose a tag to compare
Pre-release

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

18 Sep 19:51
Compare
Choose a tag to compare
Pre-release

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

04 Sep 15:47
Compare
Choose a tag to compare
Pre-release

Make it possible to select a new theme on the website and store the selection result in the session.

  • Added a snippet viewset to be able to do CRUD on tags via wagtail admin #100
  • Let users select a theme for the site and store the choice in the session #105
  • Added a new api endpoint to get the list of available themes and update the selected theme #105