Skip to content

Releases: ephes/django-cast

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

Smaller Fixes for Categories and Tags

28 Aug 07:47
Compare
Choose a tag to compare
Pre-release

Smaller fixes and improvements around tags, categories and filters.

  • Fixed the .readthedocs.yml #102
  • Moved facet filter related logic into the facet filter classes, this is a lot cleaner #100
  • Remove empty facet filter fields from filterset form #100
  • Refactored the post filter classes to be more consistent #100
  • Category and tags are now available for podcast episodes, too #100
  • Facet counts for tags and categories are now available via the API #100

Tags and categories for posts

21 Aug 15:06
Compare
Choose a tag to compare
Pre-release

Added tags and categories for posts. I planned for long adding a feature like this, but avoided implementing it because I didn't understand what I did in filters.py. It's a beta feature and I probably will keep only categories or tags, but not both.

  • Updated some documentation in top level README.md
  • Added tags / categories to posts #100 😅
  • Temporarily deactivated the mypy pre-commit hook because mypy 1.5.0 is not compatible with django-stubs
  • Had to drop support for Wagtail 3 because of conflicting migrations (taggit)

Backup Media Files

14 Aug 12:39
Compare
Choose a tag to compare
Backup Media Files Pre-release
Pre-release

Use the STORAGES setting introduced in Django 4.2 to improve media backup and restore #99.

Wagtail 5.1 compatibility

07 Aug 09:38
Compare
Choose a tag to compare
Pre-release

Improved plain theme.

  • Better pagination styling for plain theme.
  • Update pre-commit hooks
  • Include wagtail 5.1 in test matrix (tox.ini)
  • Fixed the "land on last page by default" wagtail admin pagination bug #98
  • Fixed the broken chooser buttons for audio and video (wagtail 5.1, action-chooser class was removed from button) #98
  • Fixed duplicate chooser button for audio and video #98
  • Added some documentation for audio content

0.2.16

04 Jun 19:34
Compare
Choose a tag to compare
0.2.16 Pre-release
Pre-release

Finished support for SPA themes (comments and podlove player).

  • Made comments data available via wagtail api #95
  • Made some data available just via page attribute, because it's only added via template and script tag #95

Support for SPA themes

22 May 05:07
Compare
Choose a tag to compare
Pre-release

Support for SPA themes and some htmx fixes.

  • Expose data via template context to theme (for vue theme)
    • pagination page size
    • wagtail api page url via reverse("cast:api:wagtail:pages:listing")
    • facet count api base url
  • Add overview_html and detail_html to the Post model to get the rendered html in the vue theme
  • The template for image galleries can now be overwritten by themes
  • Fixed audio player on htmx pagination
  • Fixed galleries on htmx pagination
  • Don't remove newlines in *_html because it breaks preformatted code blocks
  • Combine wagtail api pages endpoint with django-filter to allow filtering by date facets and fulltext search
  • Add facet count api endpoints

Wagtail 5 compatibility

30 Apr 21:19
Compare
Choose a tag to compare
Pre-release

Wagtail 5 compatibility.

  • removed nb_black dev dependency
  • Support for Wagtail 5
  • removed max-height from .cast-image for bootstrap4-theme because of contortion

Tests for Django 4.0 and Error Views

16 Apr 11:07
Compare
Choose a tag to compare
Pre-release

Fixing tests for Django 4.0 and make it possible to use custom templates for http error views.

  • Fixed a mypy error and added one test for htmx.target is None
  • #91 fixed tests for Django 4.0
  • Added support badge for Django 4.0 and 4.1 in README
  • Updated pre-commit hooks
  • #90 added a validation for episode.podcast_audio to be set when an episode is published
  • #83 make it possible to set custom templates for http error responses

Extended test-matrix, better `podcast_audio` field handling

09 Apr 06:17
Compare
Choose a tag to compare
  • Extended the tox test-matrix to include Django 4.0
  • #90 moved the podcast_audio field and added a warning