Skip to content

Releases: wagtail/wagtail

1.5rc1

19 May 15:10
Compare
Choose a tag to compare
1.5rc1 Pre-release
Pre-release
  • 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 on Page 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 to update_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 to AbstractRendition 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 with get_document_model function in wagtail.contrib.wagtailmedusa and in wagtail.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 uses functools.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.4

10 May 14:05
Compare
Choose a tag to compare
  • New translation for Slovenian (Mitja Pagon)
  • Fix: The wagtailuserbar template tag now gracefully handles situations where the request object is not in the template context (Matt Westcott)
  • Fix: Meta classes on StreamField blocks now handle multiple inheritance correctly (Tim Heap)
  • Fix: Now user can upload images / documents only into permitted collection from choosers
  • Fix: Keyboard shortcuts for save / preview on the page editor no longer incorrectly trigger the "unsaved changes" message (Jack Paine, Matt Westcott)
  • Fix: Redirects no longer fail when both a site-specific and generic redirect exist for the same URL path (Nick Smith, João Luiz Lorencetti)
  • Fix: Wagtail now checks that Group is registered with the Django admin before unregistering it (Jason Morrison)
  • Fix: Previewing inaccessible pages no longer fails with ALLOWED_HOSTS = ['*'] (Robert Rollins)
  • Fix: The submit button 'spinner' no longer activates if the form has client-side validation errors (Jack Paine, Matt Westcott)
  • Fix: Overriding MESSAGE_TAGS in project settings no longer causes messages in the Wagtail admin to lose their styling (Tim Heap)
  • Fix: Border added around explorer menu to stop it blending in with StreamField block listing; also fixes invisible explorer menu in Firefox 46 (Alex Gleason)

1.4.3

04 Apr 20:41
Compare
Choose a tag to compare
  • Fixed regression introduced in 1.4.2 which caused Wagtail to query the database during a system check (Tim Heap)

1.4.2

31 Mar 09:12
Compare
Choose a tag to compare
  • Fix: Streamfields no longer break on validation error
  • Fix: Number of validation errors in each tab in the editor is now correctly reported again
  • Fix: Userbar now opens on devices with both touch and mouse (Josh Barr)
  • Fix: wagtail.wagtailadmin.wagtail_hooks no longer calls static during app load, so you can use ManifestStaticFilesStorage without calling the collectstatic command
  • Fix: Fixed crash on page save when a custom Page edit handler has been specified using the edit_handler attribute (Tim Heap)

1.4.1

17 Mar 02:06
Compare
Choose a tag to compare
  • Fix: Fixed erroneous rendering of up arrow icons (Rob Moorman)

1.4

16 Mar 12:39
Compare
Choose a tag to compare
1.4
  • Added support for viewing previous revisions of pages, and previewing or rolling back to earlier versions
  • Introduced collections, for image / document organisation
  • The Wagtail userbar on the frontend has been redesigned, and no longer depends on an iframe (Thomas Winter, Gareth Price).
  • The page editor now produces a warning if the user navigates away without saving changes
  • 'Add document' interface now supports uploading multiple documents at once
  • The Document model can now be overridden using the new WAGTAILDOCS_DOCUMENT_MODEL setting (Alex Gleason)
  • Wagtail no longer depends on django-compressor
  • The page search interface now searches all fields instead of just the title (Kait Crawford)
  • Snippets now support a custom edit_handler property (Mikalai Radchuk)
  • Date/time pickers now respect the locale's 'first day of week' setting (Peter Quade)
  • Refactored the way forms are constructed for the page editor, to allow custom forms to be used
  • Notification message on publish now indicates whether the page is being published now or scheduled for publication in future (Chris Rogers)
  • Server errors when uploading images / documents through the chooser modal are now reported back to the user (Nigel Fletton)
  • Added a hook insert_global_admin_css for inserting custom CSS throughout the admin backend (Tom Dyson)
  • Added a hook construct_explorer_page_queryset for customising the set of pages displayed in the page explorer
  • Page models now perform field validation, including testing slugs for uniqueness within a parent page, at the model level on saving
  • Page slugs are now auto-generated at the model level on page creation if one has not been specified explicitly
  • The Page model now has two new methods get_site() and get_url_parts() to aid with customising the page URL generation logic
  • Upgraded jQuery to 2.2.1 (Charlie Choiniere)
  • Multiple homepage summary items (construct_homepage_summary_items hook) now better vertically spaced (Nicolas Kuttler)
  • Email notifications can now be sent in HTML format (Mike Dingjan)
  • StreamBlock now has provision for throwing non-field-specific validation errors
  • Wagtail now works with Willow 0.3, which supports auto-correcting the orientation of images based on EXIF data
  • New translations for Hungarian, Swedish (Sweden) and Turkish
  • Fix: Custom page managers no longer raise an error when used on an abstract model
  • Fix: Wagtail's migrations are now all reversible (Benjamin Bach)
  • Fix: Deleting a page content type now preserves existing pages as basic Page instances, to prevent tree corruption
  • Fix: The Page.path field is now explicitly given the "C" collation on PostgreSQL to prevent tree ordering issues when using a database created with the Slovak locale
  • Fix: Wagtail's compiled static assets are now put into the correct directory on Windows (Aarni Koskela)
  • Fix: ChooserBlock now correctly handles models with primary keys other than id (alexpilot11)
  • Fix: Fixed typo in Wistia oEmbed pattern (Josh Hurd)
  • Fix: Added more accurate help text for the Administrator flag on user accounts (Matt Fozard)
  • Fix: Tags added on the multiple image uploader are now saved correctly
  • Fix: Documents created by a user are no longer deleted when the user is deleted
  • Fix: Fixed a crash in RedirectMiddleware when a middleware class before SiteMiddleware returns a response (Josh Schneier)
  • Fix: Fixed error retrieving the moderator list on pages that are covered by multiple moderator permission records (Matt Fozard)
  • Fix: Ordering pages in the explorer by reverse 'last updated' time now puts pages with no revisions at the top
  • Fix: WagtailTestUtils now works correctly on custom user models without a username field (Adam Bolfik)
  • Fix: Logging in to the admin as a user with valid credentials but no admin access permission now displays an error message, rather than rejecting the user silently
  • Fix: StreamBlock HTML rendering now handles non-ASCII characters correctly on Python 2 (Mikalai Radchuk)
  • Fix: Fixed a bug preventing pages with a OneToOneField from being copied (Liam Brenner)
  • Fix: SASS compilation errors during Wagtail development no longer cause exit of Gulp process, instead throws error to console and continues (Thomas Winter)
  • Fix: Explorer page listing now uses specific page models, so that custom URL schemes defined on Page subclasses are respected
  • Fix: Made settings menu clickable again in Firefox 46.0a2 (Juha Kujala)
  • Fix: User management index view no longer assumes the presence of username, first_name, last_name and email fields on the user model (Eirik Krogstad)

1.4rc1

09 Mar 15:46
Compare
Choose a tag to compare
1.4rc1 Pre-release
Pre-release
  • Added support for viewing previous revisions of pages, and previewing or rolling back to earlier versions
  • Introduced collections, for image / document organisation
  • The Wagtail userbar on the frontend has been redesigned, and no longer depends on an iframe (Thomas Winter, Gareth Price).
  • The page editor now produces a warning if the user navigates away without saving changes
  • 'Add document' interface now supports uploading multiple documents at once
  • The Document model can now be overridden using the new WAGTAILDOCS_DOCUMENT_MODEL setting (Alex Gleason)
  • Wagtail no longer depends on django-compressor
  • The page search interface now searches all fields instead of just the title (Kait Crawford)
  • Snippets now support a custom edit_handler property (Mikalai Radchuk)
  • Date/time pickers now respect the locale's 'first day of week' setting (Peter Quade)
  • Refactored the way forms are constructed for the page editor, to allow custom forms to be used
  • Notification message on publish now indicates whether the page is being published now or scheduled for publication in future (Chris Rogers)
  • Server errors when uploading images / documents through the chooser modal are now reported back to the user (Nigel Fletton)
  • Added a hook insert_global_admin_css for inserting custom CSS throughout the admin backend (Tom Dyson)
  • Added a hook construct_explorer_page_queryset for customising the set of pages displayed in the page explorer
  • Page models now perform field validation, including testing slugs for uniqueness within a parent page, at the model level on saving
  • Page slugs are now auto-generated at the model level on page creation if one has not been specified explicitly
  • The Page model now has two new methods get_site() and get_url_parts() to aid with customising the page URL generation logic
  • Upgraded jQuery to 2.2.1 (Charlie Choiniere)
  • Multiple homepage summary items (construct_homepage_summary_items hook) now better vertically spaced (Nicolas Kuttler)
  • Email notifications can now be sent in HTML format (Mike Dingjan)
  • StreamBlock now has provision for throwing non-field-specific validation errors
  • Wagtail now works with Willow 0.3, which supports auto-correcting the orientation of images based on EXIF data
  • New translations for Hungarian, Swedish (Sweden) and Turkish
  • Fix: Custom page managers no longer raise an error when used on an abstract model
  • Fix: Wagtail's migrations are now all reversible (Benjamin Bach)
  • Fix: Deleting a page content type now preserves existing pages as basic Page instances, to prevent tree corruption
  • Fix: The Page.path field is now explicitly given the "C" collation on PostgreSQL to prevent tree ordering issues when using a database created with the Slovak locale
  • Fix: Wagtail's compiled static assets are now put into the correct directory on Windows (Aarni Koskela)
  • Fix: ChooserBlock now correctly handles models with primary keys other than id (alexpilot11)
  • Fix: Fixed typo in Wistia oEmbed pattern (Josh Hurd)
  • Fix: Added more accurate help text for the Administrator flag on user accounts (Matt Fozard)
  • Fix: Tags added on the multiple image uploader are now saved correctly
  • Fix: Documents created by a user are no longer deleted when the user is deleted
  • Fix: Fixed a crash in RedirectMiddleware when a middleware class before SiteMiddleware returns a response (Josh Schneier)
  • Fix: Fixed error retrieving the moderator list on pages that are covered by multiple moderator permission records (Matt Fozard)
  • Fix: Ordering pages in the explorer by reverse 'last updated' time now puts pages with no revisions at the top
  • Fix: WagtailTestUtils now works correctly on custom user models without a username field (Adam Bolfik)
  • Fix: Logging in to the admin as a user with valid credentials but no admin access permission now displays an error message, rather than rejecting the user silently
  • Fix: StreamBlock HTML rendering now handles non-ASCII characters correctly on Python 2 (Mikalai Radchuk)
  • Fix: Fixed a bug preventing pages with a OneToOneField from being copied (Liam Brenner)
  • Fix: SASS compilation errors during Wagtail development no longer cause exit of Gulp process, instead throws error to console and continues (Thomas Winter)
  • Fix: Explorer page listing now uses specific page models, so that custom URL schemes defined on Page subclasses are respected
  • Fix: Made settings menu clickable again in Firefox 46.0a2 (Juha Kujala)
  • Fix: User management index view no longer assumes the presence of username, first_name, last_name and email fields on the user model (Eirik Krogstad)

1.3.1

05 Jan 16:21
Compare
Choose a tag to compare

1.3

23 Dec 17:50
Compare
Choose a tag to compare
1.3
  • Django 1.9 support
  • Support for indexing fields across relations in Elasticsearch
  • Added toolbar to cross-link between different search areas, and register_admin_search_area hook to register new areas (Ben Kerle)
  • Added WagtailPageTests, a helper module to simplify writing tests for Wagtail sites
  • Added system checks to check the subpage_types and parent_page_types attributes of page models
  • Added WAGTAIL_PASSWORD_RESET_ENABLED setting to allow password resets to be disabled independently of the password management interface (John Draper)
  • Submit for moderation notification emails now include the editor name (Denis Voskvitsov)
  • Updated fonts for more comprehensive Unicode support
  • Added .alt attribute to image renditions
  • The default src, width, height and alt attributes can now be overridden by attributes passed to the {% image %} tag
  • Added keyboard shortcuts for preview and save in the page editor
  • Added Page methods can_exist_under, can_create_at, can_move_to for customising page type business rules
  • wagtailadmin.utils.send_mail now passes extra keyword arguments to Django's send_mail function (Matthew Downey)
  • page_unpublish signal is now fired for each page that was unpublished by a call to PageQuerySet.unpublish()
  • Add get_upload_to method to AbstractImage, to allow overriding the default image upload path (Ben Emery)
  • Notification emails are now sent per user (Matthew Downey)
  • Added the ability to override the default manager on Page models
  • Added an optional human-friendly site_name field to sites (Timo Rieber)
  • Added a system check to warn developers who use a custom Wagtail build but forgot to build the admin css
  • Added success message after updating image from the image upload view (Christian Peters)
  • Added a request.is_preview variable for templates to distinguish between previewing and live (Denis Voskvitsov)
  • Added support for chaining multiple image operations on the {% image %} tag (Christian Peters)
  • New translations for Arabic, Latvian and Slovak
  • 'Pages' link on site stats dashboard now links to the site homepage when only one site exists, rather than the root level
  • Fix: Images and page revisions created by a user are no longer deleted when the user is deleted (Rich Atkinson)
  • Fix: HTTP cache purge now works again on Python 2 (Mitchel Cabuloy)
  • Fix: Locked pages can no longer be unpublished (Alex Bridge)
  • Fix: Site records now implement get_by_natural_key
  • Fix: Creating pages at the root level (and any other instances of the base Page model) now properly respects the parent_page_types setting
  • Fix: Settings menu now opens correctly from the page editor and styleguide views
  • Fix: subpage_types / parent_page_types business rules are now enforced when moving pages
  • Fix: Multi-word tags on images and documents are now correctly preserved as a single tag (LKozlowski)
  • Fix: Changed verbose names to start with lower case where necessary (Maris Serzans)
  • Fix: Invalid images no longer crash the image listing (Maris Serzans)
  • Fix: MenuItem url parameter can now take a lazy URL (Adon Metcalfe, rayrayndwiga)
  • Fix: Added missing translation tag to InlinePanel 'Add' button (jnns)
  • Fix: Added missing translation tag to 'Signing in...' button text (Eugene MechanisM)
  • Fix: Restored correct highlighting behaviour of rich text toolbar buttons
  • Fix: Rendering a missing image through ImageChooserBlock no longer breaks the whole page (Christian Peters)
  • Fix: Filtering by popular tag in the image chooser now works when using the database search backend

1.3rc1

17 Dec 17:03
Compare
Choose a tag to compare
1.3rc1 Pre-release
Pre-release
  • Django 1.9 support
  • Support for indexing fields across relations in Elasticsearch
  • Added toolbar to cross-link between different search areas, and register_admin_search_area hook to register new areas (Ben Kerle)
  • Added WagtailPageTests, a helper module to simplify writing tests for Wagtail sites
  • Added system checks to check the subpage_types and parent_page_types attributes of page models
  • Added WAGTAIL_PASSWORD_RESET_ENABLED setting to allow password resets to be disabled independently of the password management interface (John Draper)
  • Submit for moderation notification emails now include the editor name (Denis Voskvitsov)
  • Updated fonts for more comprehensive Unicode support
  • Added .alt attribute to image renditions
  • The default src, width, height and alt attributes can now be overridden by attributes passed to the {% image %} tag
  • Added keyboard shortcuts for preview and save in the page editor
  • Added Page methods can_exist_under, can_create_at, can_move_to for customising page type business rules
  • wagtailadmin.utils.send_mail now passes extra keyword arguments to Django's send_mail function (Matthew Downey)
  • page_unpublish signal is now fired for each page that was unpublished by a call to PageQuerySet.unpublish()
  • Add get_upload_to method to AbstractImage, to allow overriding the default image upload path (Ben Emery)
  • Notification emails are now sent per user (Matthew Downey)
  • Added the ability to override the default manager on Page models
  • Added an optional human-friendly site_name field to sites (Timo Rieber)
  • Added a system check to warn developers who use a custom Wagtail build but forgot to build the admin css
  • Added success message after updating image from the image upload view (Christian Peters)
  • Added a request.is_preview variable for templates to distinguish between previewing and live (Denis Voskvitsov)
  • Added support for chaining multiple image operations on the {% image %} tag (Christian Peters)
  • New translations for Arabic, Latvian and Slovak
  • 'Pages' link on site stats dashboard now links to the site homepage when only one site exists, rather than the root level
  • Fix: Images and page revisions created by a user are no longer deleted when the user is deleted (Rich Atkinson)
  • Fix: HTTP cache purge now works again on Python 2 (Mitchel Cabuloy)
  • Fix: Locked pages can no longer be unpublished (Alex Bridge)
  • Fix: Site records now implement get_by_natural_key
  • Fix: Creating pages at the root level (and any other instances of the base Page model) now properly respects the parent_page_types setting
  • Fix: Settings menu now opens correctly from the page editor and styleguide views
  • Fix: subpage_types / parent_page_types business rules are now enforced when moving pages
  • Fix: Multi-word tags on images and documents are now correctly preserved as a single tag (LKozlowski)
  • Fix: Changed verbose names to start with lower case where necessary (Maris Serzans)
  • Fix: Invalid images no longer crash the image listing (Maris Serzans)
  • Fix: MenuItem url parameter can now take a lazy URL (Adon Metcalfe, rayrayndwiga)
  • Fix: Added missing translation tag to InlinePanel 'Add' button (jnns)
  • Fix: Added missing translation tag to 'Signing in...' button text (Eugene MechanisM)
  • Fix: Restored correct highlighting behaviour of rich text toolbar buttons
  • Fix: Rendering a missing image through ImageChooserBlock no longer breaks the whole page (Christian Peters)
  • Fix: Filtering by popular tag in the image chooser now works when using the database search backend