Skip to content

Releases: torchbox/wagtailmedia

v0.5.0 - Django 3 support

20 Feb 10:40
Compare
Choose a tag to compare

This release make wagtailmedia compatible with Wagtail 2.9 and Django 3.0

Changelog

  • Added interactive demo (#82). Thanks to @thenewguy
  • Added setting WAGTAILMEDIA_MEDIA_FORM_BASE to simplify customization of the media form (#83). Thanks to @thenewguy
  • Fix Wagtail > 2.8 compatibility (reshuffled imports)
  • Fix Django 3 compatibility issues (#88). Thanks to @lohmander

v0.4.0 - Back with more goodies

06 Dec 11:18
Compare
Choose a tag to compare

This release brings Wagtail 2.7 compatibility and some much needed maintenance ❤️

Changelog

New template blocks

Hooks

The addition of the construct_media_chooser_queryset brings the wagtailmedia package one step closer to the core Wagtail documents/images behavious.

Called when rendering the media chooser view, to allow the media listing QuerySet to be customised. The callable passed into the hook will receive the current media QuerySet and the request object, and must return a Media QuerySet (either the original one, or a new one).

from wagtail.core import hooks

@hooks.register('construct_media_chooser_queryset')
def show_my_uploaded_media_only(media, request):
    # Only show uploaded media
    media = media.filter(uploaded_by_user=request.user)

    return media

v0.3.1

22 May 14:12
4cfecb7
Compare
Choose a tag to compare

[0.3.1] - 2019-05-22

Changed

  • Update edit handler AdminMediaChooser API to be compatible with Wagtail 2.0 and above (#34, #40). Thanks to @pahacofome

Upgrade considerations

BaseMediaChooserPanel is deprecated, and will be removed in a future release. Please use AdminMediaChooser instead (#40):

- from wagtailmedia.edit_handlers import BaseMediaChooserPanel
+ from wagtailmedia.edit_handlers import MediaChooserPanel

# [...]

content_panels = Page.content_panels + [
    # [...]
-    BaseMediaChooserPanel('video_media'),
+    MediaChooserPanel('video_media'),

v0.3.0

22 May 13:29
Compare
Choose a tag to compare

[0.3.0] - 2019-05-08

Added

Changed

Removed

  • Remove support for Wagtail 2.1, 2.0, and below. For compatibility with Wagtail 2.1 and 2.0, use the v0.2.0 release.

v0.2.0

24 May 09:47
9a4112d
Compare
Choose a tag to compare
  • Make compatible with Wagtail 2.0 (thanks, @Rotund)
  • Add usage counter on edit and deletion pages (thanks, @jeromelebleu)
  • Add change log

v0.1.4

16 Apr 08:32
Compare
Choose a tag to compare
  • Enable the optional thumbnail field for audio form. Useful for an album cover (@thenewguy)
  • Fix: video form no longer fails if a custom model do not have editable width and height fields. Useful if you automatically set these fields in your project (@thenewguy)

v0.1.3

15 Apr 13:20
Compare
Choose a tag to compare

v0.1.2

15 Apr 13:17
Compare
Choose a tag to compare

v0.1.1

26 May 10:42
Compare
Choose a tag to compare

Initial release