Releases: wagtail/wagtail
Releases · wagtail/wagtail
1.6.2
1.6.1
- Fix: Wagtail's middleware classes are now compatible with Django 1.10's new-style middleware (Karl Hobley)
- Fix: The
Pages.can_create_at
method is now checked in the create page view (Mikalai Radchuk) - Fix: Fixed regression on Django 1.10.1 causing Page subclasses to fail to use PageManager (Matt Westcott)
- Fix: ChoiceBlocks with lazy translations as option labels no longer break Elasticsearch indexing (Matt Westcott)
- Fix: The page editor no longer fails to load JavaScript files with
ManifestStaticFilesStorage
(Matt Westcott) - Fix: Django 1.10 enables client-side validation for all forms by default, but it fails to handle all the nuances of how forms are used in Wagtail. The client-side validation has been disabled for the Wagtail UI (Matt Westcott)
1.6
- Django 1.10 support
- Added the
include_block
template tag for improved StreamField template inclusion (Matt Westcott, Mikalai Radchuk) - Page slugs now allow unicode on Django >= 1.9 (Behzad Nategh)
- Explorer sidebar menu now limits the displayed pages to the ones the user has permission for (Robert Rollins, Matt Westcott)
- Image upload form in image chooser now performs client side validation so that the selected file is not lost in the submission (Jack Paine)
- oEmbed URL for audioBoom was updated (Janneke Janssen)
- Remember tree location in page chooser when switching between Internal / External / Email link (Matt Westcott)
FieldRowPanel
now creates equal-width columns automatically ifcol*
classnames are not specified (Chris Rogers)- Form builder now validates against multiple fields with the same name (Richard McMillan)
- The 'choices' field on the form builder no longer has a maximum length (Johannes Spielmann)
- Multiple ChooserBlocks inside a StreamField are now prefetched in bulk, for improved performance (Michael van Tellingen, Roel Bruggink, Matt Westcott)
- Add new EmailBlock and IntegerBlock (Oktay Altay)
- Added a new FloatBlock, DecimalBlock and a RegexBlock (Oktay Altay, Andy Babic)
- Wagtail version number is now shown on the settings menu (Chris Rogers)
- Added a system check to validate that fields listed in
search_fields
are defined on the model (Josh Schneier) - Added formal APIs for customising the display of StructBlock forms within the page editor (Matt Westcott)
wagtailforms.models.AbstractEmailForm
now supports multiple email recipients (Serafeim Papastefanos)- Added ability to delete users through Settings -> Users (Vincent Audebert; thanks also to Ludolf Takens and Tobias Schmidt for alternative implementations)
- Page previews now pass additional HTTP headers, to simulate the page being viewed by the logged-in user and avoid clashes with middleware (Robert Rollins)
- Added back buttons to page delete and unpublish confirmation screens (Matt Westcott)
- Recognise Flickr embed URLs using HTTPS (Danielle Madeley)
- Success message when publishing a page now correctly respects custom URLs defined on the specific page class (Chris Darko)
- Required blocks inside StreamField are now indicated with asterisks (Stephen Rice)
- Fix: Email templates and document uploader now support custom
STATICFILES_STORAGE
(Jonny Scholes) - Fix: Removed alignment options (deprecated in HTML and not rendered by Wagtail) from
TableBlock
context menu (Moritz Pfeiffer) - Fix: Fixed incorrect CSS path on ModelAdmin's "choose a parent page" view
- Fix: Prevent empty redirect by overnormalisation (Franklin Kingma, Ludolf Takens)
- Fix: "Remove link" button in rich text editor didn't trigger "edit" event, leading to the change to sometimes not be persisted (Matt Westcott)
- Fix:
RichText
values can now be correctly evaluated as booleans (Mike Dingjan, Bertrand Bordage) - Fix: wagtailforms no longer assumes an .html extension when determining the landing page template filename (kakulukia)
- Fix: Fixed styling glitch on bi-colour icon + text buttons in Chrome (Janneke Janssen)
- Fix: StreamField can now be used in an InlinePanel (Gagaro)
- Fix: StreamField block renderings using templates no longer undergo double escaping when using Jinja2 (Aymeric Augustin)
- Fix: RichText objects no longer undergo double escaping when using Jinja2 (Aymeric Augustin, Matt Westcott)
- Fix: Saving a page by pressing enter key no longer triggers a "Changes may not be saved message" (Sean Muck, Matt Westcott)
- Fix: RoutablePageMixin no longer breaks in the presence of instance-only attributes such as those generated by FileFields (Fábio Macêdo Mendes)
- Fix: The
--schema-only
flag on update_index no longer expects an argument (Karl Hobley) - Fix: Added file handling to support custom user add/edit forms with images/files (Eraldo Energy)
- Fix: Placeholder text in modeladmin search now uses the correct template variable (Adriaan Tijsseling)
- Fix: Fixed bad SQL syntax for updating URL paths on Microsoft SQL Server (Jesse Legg)
- Fix: Added workaround for Django 1.10 bug https://code.djangoproject.com/ticket/27037 causing forms with file upload fields to fail validation (Matt Westcott)
1.6rc1
- Provisional Django 1.10 support
- Added the
include_block
template tag for improved StreamField template inclusion (Matt Westcott, Mikalai Radchuk) - Page slugs now allow unicode on Django >= 1.9 (Behzad Nategh)
- Explorer sidebar menu now limits the displayed pages to the ones the user has permission for (Robert Rollins, Matt Westcott)
- Image upload form in image chooser now performs client side validation so that the selected file is not lost in the submission (Jack Paine)
- oEmbed URL for audioBoom was updated (Janneke Janssen)
- Remember tree location in page chooser when switching between Internal / External / Email link (Matt Westcott)
FieldRowPanel
now creates equal-width columns automatically ifcol*
classnames are not specified (Chris Rogers)- Form builder now validates against multiple fields with the same name (Richard McMillan)
- The 'choices' field on the form builder no longer has a maximum length (Johannes Spielmann)
- Multiple ChooserBlocks inside a StreamField are now prefetched in bulk, for improved performance (Michael van Tellingen, Roel Bruggink, Matt Westcott)
- Add new EmailBlock and IntegerBlock (Oktay Altay)
- Added a new FloatBlock, DecimalBlock and a RegexBlock (Oktay Altay, Andy Babic)
- Wagtail version number is now shown on the settings menu (Chris Rogers)
- Added a system check to validate that fields listed in
search_fields
are defined on the model (Josh Schneier) - Added formal APIs for customising the display of StructBlock forms within the page editor (Matt Westcott)
wagtailforms.models.AbstractEmailForm
now supports multiple email recipients (Serafeim Papastefanos)- Added ability to delete users through Settings -> Users (Vincent Audebert; thanks also to Ludolf Takens and Tobias Schmidt for alternative implementations)
- Page previews now pass additional HTTP headers, to simulate the page being viewed by the logged-in user and avoid clashes with middleware (Robert Rollins)
- Added back buttons to page delete and unpublish confirmation screens (Matt Westcott)
- Recognise Flickr embed URLs using HTTPS (Danielle Madeley)
- Success message when publishing a page now correctly respects custom URLs defined on the specific page class (Chris Darko)
- Required blocks inside StreamField are now indicated with asterisks (Stephen Rice)
- Fix: Email templates and document uploader now support custom
STATICFILES_STORAGE
(Jonny Scholes) - Fix: Removed alignment options (deprecated in HTML and not rendered by Wagtail) from
TableBlock
context menu (Moritz Pfeiffer) - Fix: Fixed incorrect CSS path on ModelAdmin's "choose a parent page" view
- Fix: Prevent empty redirect by overnormalisation (Franklin Kingma, Ludolf Takens)
- Fix: "Remove link" button in rich text editor didn't trigger "edit" event, leading to the change to sometimes not be persisted (Matt Westcott)
- Fix:
RichText
values can now be correctly evaluated as booleans (Mike Dingjan, Bertrand Bordage) - Fix: wagtailforms no longer assumes an .html extension when determining the landing page template filename (kakulukia)
- Fix: Fixed styling glitch on bi-colour icon + text buttons in Chrome (Janneke Janssen)
- Fix: StreamField can now be used in an InlinePanel (Gagaro)
- Fix: StreamField block renderings using templates no longer undergo double escaping when using Jinja2 (Aymeric Augustin)
- Fix: RichText objects no longer undergo double escaping when using Jinja2 (Aymeric Augustin, Matt Westcott)
- Fix: Saving a page by pressing enter key no longer triggers a "Changes may not be saved message" (Sean Muck, Matt Westcott)
- Fix: RoutablePageMixin no longer breaks in the presence of instance-only attributes such as those generated by FileFields (Fábio Macêdo Mendes)
- Fix: The
--schema-only
flag on update_index no longer expects an argument (Karl Hobley) - Fix: Added file handling to support custom user add/edit forms with images/files (Eraldo Energy)
- Fix: Placeholder text in modeladmin search now uses the correct template variable (Adriaan Tijsseling)
- Fix: Fixed bad SQL syntax for updating URL paths on Microsoft SQL Server (Jesse Legg)
1.5.3
1.4.6
1.5.2
1.5.1
- Fix: When editing a document link in rich text, the document ID is no longer erroneously interpreted as a page ID (Stephen Rice)
- Fix: Removing embedded media from rich text by mouse click action now gets correctly registered as a change to the field (Loic Teixeira)
- Fix: Rich text editor is no longer broken in InlinePanels (Matt Westcott, Gagaro)
- Fix: Rich text editor is no longer broken in settings (Matt Westcott)
- Fix: Link tooltip now shows correct urls for newly inserted document links (Matt Westcott)
- Fix: Now page chooser (in a rich text editor) opens up at the link's parent page, rather than at the page itself (Matt Westcott)
- Fix: Reverted fix for explorer menu scrolling with page content, as it blocked access to menus that exceed screen height
- Fix: Image listing in the image chooser no longer becomes unpaginated after an invalid upload form submission (Stephen Rice)
- Fix: Applied correct translation tags for 'permanent' / 'temporary' labels on redirects (Matt Westcott)
1.5
- Added wagtail.contrib.modeladmin, an app for configuring arbitrary Django models to be edited through the Wagtail admin (Andy Babic)
- Added TableBlock, a StreamField block for table-based content (Moritz Pfeiffer, David Seddon, Brad Busenius)
- The "dynamic serve view" for images has been greatly improved. See release notes for details
- Moved lesser-user actions in the page explorer into a 'More' dropdown
- Added a hook
register_page_listing_buttons
for adding action buttons to the page explorer - Added the ability to edit existing links in the rich text editor (Loic Teixeira)
- Rich text fields now show link destinations as tooltips (Loic Teixeira)
- Password reset email now reminds the user of their username (Matt Westcott)
- Added 'revisions' action to pages list (Roel Bruggink)
- Added jinja2 support for the
settings
template tag (Tim Heap) - Added a hook
insert_global_admin_js
for inserting custom JavaScript throughout the admin backend (Tom Dyson) - Recognise instagram embed URLs with
www
prefix (Matt Westcott) - The type of the
search_fields
attribute onPage
models (and other searchable models) has changed from a tuple to a list (Tim Heap) - Use
PasswordChangeForm
when user changes their password, requiring the user to enter their current password (Matthijs Melissen) - Highlight current day in date picker (Jonas Lergell)
- Eliminated the deprecated
register.assignment_tag
on Django 1.9 (Josh Schneier) - Increased size of Save button on site settings (Liam Brenner)
- Optimised Site.find_for_request to only perform one database query (Matthew Downey)
- Notification messages on creating / editing sites now include the site name if specified (Chris Rogers)
- Added
--schema-only
option toupdate_index
management command - Added meaningful default icons to
StreamField
blocks (Benjamin Bach) - Added title text to action buttons in the page explorer (Liam Brenner)
- Changed project template to explicitly import development settings via
settings.dev
(Tomas Olander) - Improved L10N and I18N for revisions list (Roel Bruggink)
- The multiple image uploader now displays details of server errors (Nigel Fletton)
- Added
WAGTAIL_APPEND_SLASH
setting to determine whether page URLs end in a trailing slash (Andrew Tork Baker) - Added auto resizing text field, richtext field, and snippet chooser to styleguide (Liam Brenner)
- Support field widget media inside
StreamBlock
blocks (Karl Hobley) - Spinner was added to Save button on site settings (Liam Brenner)
- Added success message after logout from Admin (Liam Brenner)
- Added
get_upload_to
method toAbstractRendition
which, when overridden, allows control over where image renditions are stored (Rob Moggach and Matt Westcott) - Added a mechanism to customise the add / edit user forms for custom user models (Nigel Fletton)
- Added internal provision for swapping in alternative rich text editors (Karl Hobley)
- Fix: The currently selected day is now highlighted only in the correct month in date pickers (Jonas Lergell)
- Fix: Fixed crash when an image without a source file was resized with the "dynamic serve view"
- Fix: Registered settings admin menu items now show active correctly (Matthew Downey)
- Fix: Direct usage of
Document
model replaced withget_document_model
function inwagtail.contrib.wagtailmedusa
and inwagtail.contrib.wagtailapi
- Fix: Failures on sending moderation notification emails now produce a warning, rather than crashing the admin page outright (Matt Fozard)
- Fix: All admin forms that could potentially include file upload fields now specify
multipart/form-data
where appropriate (Tim Heap) - Fix: REM units in Wagtailuserbar caused incorrect spacing (Vincent Audebert)
- Fix: Explorer menu no longer scrolls with page content (Vincent Audebert)
- Fix:
decorate_urlpatterns
now usesfunctools.update_wrapper
to keep view names and docstrings (Mario César) - Fix: StreamField block controls are no longer hidden by the StreamField menu when prepending a new block (Vincent Audebert)
- Fix: Removed invalid use of
__
alias that prevented strings getting picked up for translation (Juha Yrjölä) - Fix: Routable pages without a main view no longer raise a
TypeError
(Bojan Mihelac) - Fix: Fixed UnicodeEncodeError in wagtailforms when downloading a CSV for a form containing non-ASCII field labels on Python 2 (Mikalai Radchuk)
- Fix: Server errors during search indexing on creating / updating / deleting a model are now logged, rather than causing the overall operation to fail (Karl Hobley)
- Fix: Objects are now correctly removed from search indexes on deletion (Karl Hobley)
1.4.5
- Fix: Paste / drag operations done entirely with the mouse are now correctly picked up as edits within the rich text editor (Matt Fozard)
- Fix: Logic for cancelling the "unsaved changes" check on form submission has been fixed to work cross-browser (Stephen Rice)
- Fix: The "unsaved changes" confirmation was erroneously shown on IE / Firefox when previewing a page with validation errors (Matt Westcott)
- Fix: The up / down / delete controls on the "Promoted search results" form no longer trigger a form submission (Matt Westcott)
- Fix: Opening preview window no longer performs user-agent sniffing, and now works correctly on IE11 (Matt Westcott)
- Fix: Tree paths are now correctly assigned when previewing a newly-created page underneath a parent with deleted children (Matt Westcott)
- Fix: Added BASE_URL setting back to project template
- Fix: Clearing the search box in the page chooser now returns the user to the browse view (Matt Westcott)
- Fix: The above fix also fixed an issue where Internet Explorer got stuck in the search view upon opening the page chooser (Matt Westcott)