CHANGELOG.txt 63 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852
  1. Changelog
  2. =========
  3. 1.8 (xx.xx.xxxx) - IN DEVELOPMENT
  4. ~~~~~~~~~~~~~~~~
  5. * New page privacy options (Shawn Makinson, Tom Miller, Luca Perico, Matt Westcott)
  6. * New 'bulk delete' permission type for deleting pages with children (Matt Westcott)
  7. * Added support of a custom `edit_handler` in site settings (Axel Haustant)
  8. * Added `get_landing_page_template` getter method to `AbstractForm` (Gagaro)
  9. * Added `Page.get_admin_display_title` method to override how the title is displayed in the admin (Henk-Jan van Hasselaar)
  10. * Added support for specifying custom HTML attributes for table rows on ModelAdmin index pages (Andy Babic)
  11. * Added `first_common_ancestor` method to `PageQuerySet` (Tim Heap)
  12. * Page chooser now opens at the deepest ancestor page that covers all the pages of the required page type (Tim Heap)
  13. * `PageChooserBlock` now accepts a `target_model` option to specify the required page type (Tim Heap)
  14. * Fix: `AbstractForm` now respects custom `get_template` methods on the page model (Gagaro)
  15. * Fix: Use specific page model for the parent page in the explore index (Gagaro)
  16. * Fix: Remove responsive styles in embed when there is no ratio available (Gagaro)
  17. * Fix: Parent page link in page search modal no longer disappears on hover (Dan Braghis)
  18. * Fix: ModelAdmin views now consistently call `get_context_data` (Andy Babic)
  19. * Fix: Header for search results on the redirects index page now shows the correct count when the listing is paginated (Nick Smith)
  20. * Fix: `set_url_paths` management command is now compatible with Django 1.10 (Benjamin Bach)
  21. * Fix: Form builder email notifications now output multiple values correctly (Sævar Öfjörð Magnússon)
  22. * Fix: Closing 'more' dropdown on explorer no longer jumps to the top of the page (Ducky)
  23. * Fix: Users with only publish permission are no longer given implicit permission to delete pages (Matt Westcott)
  24. 1.7 (20.10.2016)
  25. ~~~~~~~~~~~~~~~~
  26. * Elasticsearch 2 support (Karl Hobley)
  27. * Added parameters to image tag to specify file type and JPEG compression level (Karl Hobley)
  28. * Added support for AWS CloudFront in frontend cache invalidation module (Rob Moorman)
  29. * Unpublishing a page now gives the option to unpublish subpages too (Jordi Joan)
  30. * The ``|embed`` filter has been converted into a templatetag ``{% embed %}`` (Janneke Janssen)
  31. * The `wagtailforms` module now provides a `FormSubmissionPanel` for displaying details of form submissions (João Luiz Lorencetti)
  32. * The Wagtail version number can now be obtained as a tuple using `from wagtail import VERSION` (Tim Heap)
  33. * `send_mail` logic has been moved from `AbstractEmailForm.process_form_submission` into `AbstractEmailForm.send_mail`. Now it's easier to override this logic (Tim Leguijt)
  34. * Added `before_create_page`, `before_edit_page`, `before_delete_page` hooks (Karl Hobley)
  35. * Updated font sizes and colours to improve legibility of admin menu and buttons (Stein Strindhaug)
  36. * Added pagination to "choose destination" view when moving pages (Nick Smith, Žan Anderle)
  37. * Added ability to annotate search results with score (Karl Hobley)
  38. * Added ability to limit access to form submissions (Mikalai Radchuk)
  39. * Added the ability to configure the number of days search logs are kept for (Stephen Rice)
  40. * `SnippetChooserBlock` now supports passing the model name as a string (Nick Smith)
  41. * Redesigned account settings / logout area in the sidebar for better clarity (Janneke Janssen)
  42. * Pillow's image optimisation is now applied when saving JPEG images (Karl Hobley)
  43. * Fix: Migrations for wagtailcore and project template are now reversible (Benjamin Bach)
  44. * Fix: Migrations no longer depend on wagtailcore and taggit's `__latest__` migration, logically preventing those apps from receiving new migrations (Matt Westcott)
  45. * Fix: The default image format label text ('Full width', 'Left-aligned', 'Right-aligned') is now localised (Mikalai Radchuk)
  46. * Fix: Text on the front-end 'password required' form is now marked for translation (Janneke Janssen)
  47. * Fix: Text on the page view restriction form is now marked for translation (Luiz Boaretto)
  48. * Fix: Fixed toggle behaviour of userbar on mobile (Robert Rollins)
  49. * Fix: Image rendition / document file deletion now happens on a post_delete signal, so that files are not lost if the deletion does not proceed (Janneke Janssen)
  50. * Fix: "Your recent edits" list on dashboard no longer leaves out pages that another user has subsequently edited (Michael Cordover, Kees Hink, João Luiz Lorencetti)
  51. * Fix: `InlinePanel` now accepts a `classname` parameter as per the documentation (emg36, Matt Westcott)
  52. * Fix: Disabled use of escape key to revert content of rich text fields, which could cause accidental data loss (Matt Westcott)
  53. * Fix: Setting `USE_THOUSAND_SEPARATOR = True` no longer breaks the rendering of numbers in JS code for InlinePanel (Mattias Loverot, Matt Westcott)
  54. * Fix: Images / documents pagination now preserves GET parameters (Bojan Mihelac)
  55. * Fix: Wagtail's UserProfile model now sets a related_name of ``wagtail_userprofile`` to avoid naming collisions with other user profile models (Matt Westcott)
  56. * Fix: Non-text content is now preserved when adding or editing a link within rich text (Matt Westcott)
  57. * Fix: Fixed preview when `SECURE_SSL_REDIRECT = True` (Aymeric Augustin)
  58. * Fix: Prevent hang when truncating an image filename without an extension (Ricky Robinett)
  59. 1.6.3 (30.09.2016)
  60. ~~~~~~~~~~~~~~~~~~
  61. * Fix: Restore compatibility with django-debug-toolbar 1.5 (Matt Westcott)
  62. * Fix: Edits to StreamFields are no longer ignored in page edits on Django >=1.10.1 when a default value exists (Matt Westcott)
  63. 1.6.2 (02.09.2016)
  64. ~~~~~~~~~~~~~~~~~~
  65. * Fix: Initial values of checkboxes on group permission edit form now are visible on Django 1.10 (Matt Westcott)
  66. 1.6.1 (26.08.2016)
  67. ~~~~~~~~~~~~~~~~~~
  68. * Added ``WAGTAIL_ALLOW_UNICODE_SLUGS`` setting to make Unicode support optional in page slugs (Matt Westcott)
  69. * Fix: Wagtail's middleware classes are now compatible with Django 1.10's new-style middleware (Karl Hobley)
  70. * Fix: The `Pages.can_create_at` method is now checked in the create page view (Mikalai Radchuk)
  71. * Fix: Fixed regression on Django 1.10.1 causing Page subclasses to fail to use PageManager (Matt Westcott)
  72. * Fix: ChoiceBlocks with lazy translations as option labels no longer break Elasticsearch indexing (Matt Westcott)
  73. * Fix: The page editor no longer fails to load JavaScript files with ``ManifestStaticFilesStorage`` (Matt Westcott)
  74. * 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)
  75. 1.6 (15.08.2016)
  76. ~~~~~~~~~~~~~~~~
  77. * Django 1.10 support
  78. * Added the ``include_block`` template tag for improved StreamField template inclusion (Matt Westcott, Mikalai Radchuk)
  79. * Page slugs now allow unicode on Django >= 1.9 (Behzad Nategh)
  80. * Explorer sidebar menu now limits the displayed pages to the ones the user has permission for (Robert Rollins, Matt Westcott)
  81. * Image upload form in image chooser now performs client side validation so that the selected file is not lost in the submission (Jack Paine)
  82. * oEmbed URL for audioBoom was updated (Janneke Janssen)
  83. * Remember tree location in page chooser when switching between Internal / External / Email link (Matt Westcott)
  84. * `FieldRowPanel` now creates equal-width columns automatically if `col*` classnames are not specified (Chris Rogers)
  85. * Form builder now validates against multiple fields with the same name (Richard McMillan)
  86. * The 'choices' field on the form builder no longer has a maximum length (Johannes Spielmann)
  87. * Multiple ChooserBlocks inside a StreamField are now prefetched in bulk, for improved performance (Michael van Tellingen, Roel Bruggink, Matt Westcott)
  88. * Add new EmailBlock and IntegerBlock (Oktay Altay)
  89. * Added a new FloatBlock, DecimalBlock and a RegexBlock (Oktay Altay, Andy Babic)
  90. * Wagtail version number is now shown on the settings menu (Chris Rogers)
  91. * Added a system check to validate that fields listed in `search_fields` are defined on the model (Josh Schneier)
  92. * Added formal APIs for customising the display of StructBlock forms within the page editor (Matt Westcott)
  93. * `wagtailforms.models.AbstractEmailForm` now supports multiple email recipients (Serafeim Papastefanos)
  94. * Added ability to delete users through Settings -> Users (Vincent Audebert; thanks also to Ludolf Takens and Tobias Schmidt for alternative implementations)
  95. * 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)
  96. * Added back buttons to page delete and unpublish confirmation screens (Matt Westcott)
  97. * Recognise Flickr embed URLs using HTTPS (Danielle Madeley)
  98. * Success message when publishing a page now correctly respects custom URLs defined on the specific page class (Chris Darko)
  99. * Required blocks inside StreamField are now indicated with asterisks (Stephen Rice)
  100. * Fix: Email templates and document uploader now support custom `STATICFILES_STORAGE` (Jonny Scholes)
  101. * Fix: Removed alignment options (deprecated in HTML and not rendered by Wagtail) from `TableBlock` context menu (Moritz Pfeiffer)
  102. * Fix: Fixed incorrect CSS path on ModelAdmin's "choose a parent page" view
  103. * Fix: Prevent empty redirect by overnormalisation (Franklin Kingma, Ludolf Takens)
  104. * Fix: "Remove link" button in rich text editor didn't trigger "edit" event, leading to the change to sometimes not be persisted (Matt Westcott)
  105. * Fix: `RichText` values can now be correctly evaluated as booleans (Mike Dingjan, Bertrand Bordage)
  106. * Fix: wagtailforms no longer assumes an .html extension when determining the landing page template filename (kakulukia)
  107. * Fix: Fixed styling glitch on bi-colour icon + text buttons in Chrome (Janneke Janssen)
  108. * Fix: StreamField can now be used in an InlinePanel (Gagaro)
  109. * Fix: StreamField block renderings using templates no longer undergo double escaping when using Jinja2 (Aymeric Augustin)
  110. * Fix: RichText objects no longer undergo double escaping when using Jinja2 (Aymeric Augustin, Matt Westcott)
  111. * Fix: Saving a page by pressing enter key no longer triggers a "Changes may not be saved message" (Sean Muck, Matt Westcott)
  112. * Fix: RoutablePageMixin no longer breaks in the presence of instance-only attributes such as those generated by FileFields (Fábio Macêdo Mendes)
  113. * Fix: The `--schema-only` flag on update_index no longer expects an argument (Karl Hobley)
  114. * Fix: Added file handling to support custom user add/edit forms with images/files (Eraldo Energy)
  115. * Fix: Placeholder text in modeladmin search now uses the correct template variable (Adriaan Tijsseling)
  116. * Fix: Fixed bad SQL syntax for updating URL paths on Microsoft SQL Server (Jesse Legg)
  117. * 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)
  118. 1.5.3 (18.07.2016)
  119. ~~~~~~~~~~~~~~~~~~
  120. * Fix: Pin html5lib to version 0.999999 to prevent breakage caused by internal API changes (Liam Brenner)
  121. 1.5.2 (08.06.2016)
  122. ~~~~~~~~~~~~~~~~~~
  123. * Fixed regression in 1.5.1 on editing external links (Stephen Rice)
  124. 1.5.1 (07.06.2016)
  125. ~~~~~~~~~~~~~~~~~~
  126. * Fix: When editing a document link in rich text, the document ID is no longer erroneously interpreted as a page ID (Stephen Rice)
  127. * Fix: Removing embedded media from rich text by mouse click action now gets correctly registered as a change to the field (Loic Teixeira)
  128. * Fix: Rich text editor is no longer broken in InlinePanels (Matt Westcott, Gagaro)
  129. * Fix: Rich text editor is no longer broken in settings (Matt Westcott)
  130. * Fix: Link tooltip now shows correct urls for newly inserted document links (Matt Westcott)
  131. * 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)
  132. * Fix: Reverted fix for explorer menu scrolling with page content, as it blocked access to menus that exceed screen height
  133. * Fix: Image listing in the image chooser no longer becomes unpaginated after an invalid upload form submission (Stephen Rice)
  134. * Fix: Applied correct translation tags for 'permanent' / 'temporary' labels on redirects (Matt Westcott)
  135. 1.5 (31.05.2016)
  136. ~~~~~~~~~~~~~~~~
  137. * Added wagtail.contrib.modeladmin, an app for configuring arbitrary Django models to be edited through the Wagtail admin (Andy Babic)
  138. * Added TableBlock, a StreamField block for table-based content (Moritz Pfeiffer, David Seddon, Brad Busenius)
  139. * The "dynamic serve view" for images has been greatly improved. See release notes for details
  140. * Moved lesser-user actions in the page explorer into a 'More' dropdown
  141. * Added a hook `register_page_listing_buttons` for adding action buttons to the page explorer
  142. * Added the ability to edit existing links in the rich text editor (Loic Teixeira)
  143. * Rich text fields now show link destinations as tooltips (Loic Teixeira)
  144. * Password reset email now reminds the user of their username (Matt Westcott)
  145. * Added 'revisions' action to pages list (Roel Bruggink)
  146. * Added jinja2 support for the ``settings`` template tag (Tim Heap)
  147. * Added a hook `insert_global_admin_js` for inserting custom JavaScript throughout the admin backend (Tom Dyson)
  148. * Recognise instagram embed URLs with `www` prefix (Matt Westcott)
  149. * The type of the ``search_fields`` attribute on ``Page`` models (and other searchable models) has changed from a tuple to a list (Tim Heap)
  150. * Use `PasswordChangeForm` when user changes their password, requiring the user to enter their current password (Matthijs Melissen)
  151. * Highlight current day in date picker (Jonas Lergell)
  152. * Eliminated the deprecated `register.assignment_tag` on Django 1.9 (Josh Schneier)
  153. * Increased size of Save button on site settings (Liam Brenner)
  154. * Optimised Site.find_for_request to only perform one database query (Matthew Downey)
  155. * Notification messages on creating / editing sites now include the site name if specified (Chris Rogers)
  156. * Added `--schema-only` option to `update_index` management command
  157. * Added meaningful default icons to `StreamField` blocks (Benjamin Bach)
  158. * Added title text to action buttons in the page explorer (Liam Brenner)
  159. * Changed project template to explicitly import development settings via `settings.dev` (Tomas Olander)
  160. * Improved L10N and I18N for revisions list (Roel Bruggink)
  161. * The multiple image uploader now displays details of server errors (Nigel Fletton)
  162. * Added `WAGTAIL_APPEND_SLASH` setting to determine whether page URLs end in a trailing slash (Andrew Tork Baker)
  163. * Added auto resizing text field, richtext field, and snippet chooser to styleguide (Liam Brenner)
  164. * Support field widget media inside `StreamBlock` blocks (Karl Hobley)
  165. * Spinner was added to Save button on site settings (Liam Brenner)
  166. * Added success message after logout from Admin (Liam Brenner)
  167. * Added `get_upload_to` method to `AbstractRendition` which, when overridden, allows control over where image renditions are stored (Rob Moggach and Matt Westcott)
  168. * Added a mechanism to customise the add / edit user forms for custom user models (Nigel Fletton)
  169. * Added internal provision for swapping in alternative rich text editors (Karl Hobley)
  170. * Fix: The currently selected day is now highlighted only in the correct month in date pickers (Jonas Lergell)
  171. * Fix: Fixed crash when an image without a source file was resized with the "dynamic serve view"
  172. * Fix: Registered settings admin menu items now show active correctly (Matthew Downey)
  173. * Fix: Direct usage of `Document` model replaced with `get_document_model` function in `wagtail.contrib.wagtailmedusa` and in `wagtail.contrib.wagtailapi`
  174. * Fix: Failures on sending moderation notification emails now produce a warning, rather than crashing the admin page outright (Matt Fozard)
  175. * Fix: All admin forms that could potentially include file upload fields now specify `multipart/form-data` where appropriate (Tim Heap)
  176. * Fix: REM units in Wagtailuserbar caused incorrect spacing (Vincent Audebert)
  177. * Fix: Explorer menu no longer scrolls with page content (Vincent Audebert)
  178. * Fix: `decorate_urlpatterns` now uses `functools.update_wrapper` to keep view names and docstrings (Mario César)
  179. * Fix: StreamField block controls are no longer hidden by the StreamField menu when prepending a new block (Vincent Audebert)
  180. * Fix: Removed invalid use of `__` alias that prevented strings getting picked up for translation (Juha Yrjölä)
  181. * Fix: Routable pages without a main view no longer raise a `TypeError` (Bojan Mihelac)
  182. * Fix: Fixed UnicodeEncodeError in wagtailforms when downloading a CSV for a form containing non-ASCII field labels on Python 2 (Mikalai Radchuk)
  183. * 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)
  184. * Fix: Objects are now correctly removed from search indexes on deletion (Karl Hobley)
  185. * Fix: Confirmation message on the ModelAdmin delete view no longer errors if the model's string representation depends on the primary key (Yannick Chabbert)
  186. 1.4.6 (18.07.2016)
  187. ~~~~~~~~~~~~~~~~~~
  188. * Fix: Pin html5lib to version 0.999999 to prevent breakage caused by internal API changes (Liam Brenner)
  189. 1.4.5 (19.05.2016)
  190. ~~~~~~~~~~~~~~~~~~
  191. * Fix: Paste / drag operations done entirely with the mouse are now correctly picked up as edits within the rich text editor (Matt Fozard)
  192. * Fix: Logic for cancelling the "unsaved changes" check on form submission has been fixed to work cross-browser (Stephen Rice)
  193. * Fix: The "unsaved changes" confirmation was erroneously shown on IE / Firefox when previewing a page with validation errors (Matt Westcott)
  194. * Fix: The up / down / delete controls on the "Promoted search results" form no longer trigger a form submission (Matt Westcott)
  195. * Fix: Opening preview window no longer performs user-agent sniffing, and now works correctly on IE11 (Matt Westcott)
  196. * Fix: Tree paths are now correctly assigned when previewing a newly-created page underneath a parent with deleted children (Matt Westcott)
  197. * Fix: Added BASE_URL setting back to project template
  198. * Fix: Clearing the search box in the page chooser now returns the user to the browse view (Matt Westcott)
  199. * Fix: The above fix also fixed an issue where Internet Explorer got stuck in the search view upon opening the page chooser (Matt Westcott)
  200. 1.4.4 (10.05.2016)
  201. ~~~~~~~~~~~~~~~~~~
  202. * New translation for Slovenian (Mitja Pagon)
  203. * Fix: The `wagtailuserbar` template tag now gracefully handles situations where the `request` object is not in the template context (Matt Westcott)
  204. * Fix: Meta classes on StreamField blocks now handle multiple inheritance correctly (Tim Heap)
  205. * Fix: Now user can upload images / documents only into permitted collection from choosers
  206. * Fix: Keyboard shortcuts for save / preview on the page editor no longer incorrectly trigger the "unsaved changes" message (Jack Paine, Matt Westcott)
  207. * 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)
  208. * Fix: Wagtail now checks that Group is registered with the Django admin before unregistering it (Jason Morrison)
  209. * Fix: Previewing inaccessible pages no longer fails with `ALLOWED_HOSTS = ['*']` (Robert Rollins)
  210. * Fix: The submit button 'spinner' no longer activates if the form has client-side validation errors (Jack Paine, Matt Westcott)
  211. * Fix: Overriding `MESSAGE_TAGS` in project settings no longer causes messages in the Wagtail admin to lose their styling (Tim Heap)
  212. * 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)
  213. 1.4.3 (04.04.2016)
  214. ~~~~~~~~~~~~~~~~~~
  215. * Fixed regression introduced in 1.4.2 which caused Wagtail to query the database during a system check (Tim Heap)
  216. 1.4.2 (31.03.2016)
  217. ~~~~~~~~~~~~~~~~~~
  218. * Fix: Streamfields no longer break on validation error
  219. * Fix: Number of validation errors in each tab in the editor is now correctly reported again
  220. * Fix: Userbar now opens on devices with both touch and mouse (Josh Barr)
  221. * Fix: `wagtail.wagtailadmin.wagtail_hooks` no longer calls `static` during app load, so you can use `ManifestStaticFilesStorage` without calling the `collectstatic` command
  222. * Fix: Fixed crash on page save when a custom `Page` edit handler has been specified using the `edit_handler` attribute (Tim Heap)
  223. 1.4.1 (17.03.2016)
  224. ~~~~~~~~~~~~~~~~~~
  225. * Fix: Fixed erroneous rendering of up arrow icons (Rob Moorman)
  226. 1.4 (16.03.2016)
  227. ~~~~~~~~~~~~~~~~
  228. * Added support for viewing previous revisions of pages, and previewing or rolling back to earlier versions
  229. * Introduced collections, for image / document organisation
  230. * The Wagtail userbar on the frontend has been redesigned, and no longer depends on an iframe (Thomas Winter, Gareth Price).
  231. * The page editor now produces a warning if the user navigates away without saving changes
  232. * 'Add document' interface now supports uploading multiple documents at once
  233. * The `Document` model can now be overridden using the new `WAGTAILDOCS_DOCUMENT_MODEL` setting (Alex Gleason)
  234. * Wagtail no longer depends on django-compressor
  235. * The page search interface now searches all fields instead of just the title (Kait Crawford)
  236. * Snippets now support a custom `edit_handler` property (Mikalai Radchuk)
  237. * Date/time pickers now respect the locale's 'first day of week' setting (Peter Quade)
  238. * Refactored the way forms are constructed for the page editor, to allow custom forms to be used
  239. * Notification message on publish now indicates whether the page is being published now or scheduled for publication in future (Chris Rogers)
  240. * Server errors when uploading images / documents through the chooser modal are now reported back to the user (Nigel Fletton)
  241. * Added a hook `insert_global_admin_css` for inserting custom CSS throughout the admin backend (Tom Dyson)
  242. * Added a hook `construct_explorer_page_queryset` for customising the set of pages displayed in the page explorer
  243. * Page models now perform field validation, including testing slugs for uniqueness within a parent page, at the model level on saving
  244. * Page slugs are now auto-generated at the model level on page creation if one has not been specified explicitly
  245. * The `Page` model now has two new methods `get_site()` and `get_url_parts()` to aid with customising the page URL generation logic
  246. * Upgraded jQuery to 2.2.1 (Charlie Choiniere)
  247. * Multiple homepage summary items (`construct_homepage_summary_items` hook) now better vertically spaced (Nicolas Kuttler)
  248. * Email notifications can now be sent in HTML format (Mike Dingjan)
  249. * `StreamBlock` now has provision for throwing non-field-specific validation errors
  250. * Wagtail now works with Willow 0.3, which supports auto-correcting the orientation of images based on EXIF data
  251. * New translations for Hungarian, Swedish (Sweden) and Turkish
  252. * Fix: Custom page managers no longer raise an error when used on an abstract model
  253. * Fix: Wagtail's migrations are now all reversible (Benjamin Bach)
  254. * Fix: Deleting a page content type now preserves existing pages as basic Page instances, to prevent tree corruption
  255. * 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
  256. * Fix: Wagtail's compiled static assets are now put into the correct directory on Windows (Aarni Koskela)
  257. * Fix: `ChooserBlock` now correctly handles models with primary keys other than `id` (alexpilot11)
  258. * Fix: Fixed typo in Wistia oEmbed pattern (Josh Hurd)
  259. * Fix: Added more accurate help text for the Administrator flag on user accounts (Matt Fozard)
  260. * Fix: Tags added on the multiple image uploader are now saved correctly
  261. * Fix: Documents created by a user are no longer deleted when the user is deleted
  262. * Fix: Fixed a crash in `RedirectMiddleware` when a middleware class before `SiteMiddleware` returns a response (Josh Schneier)
  263. * Fix: Fixed error retrieving the moderator list on pages that are covered by multiple moderator permission records (Matt Fozard)
  264. * Fix: Ordering pages in the explorer by reverse 'last updated' time now puts pages with no revisions at the top
  265. * Fix: WagtailTestUtils now works correctly on custom user models without a ``username`` field (Adam Bolfik)
  266. * 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
  267. * Fix: StreamBlock HTML rendering now handles non-ASCII characters correctly on Python 2 (Mikalai Radchuk)
  268. * Fix: Fixed a bug preventing pages with a OneToOneField from being copied (Liam Brenner)
  269. * Fix: SASS compilation errors during Wagtail development no longer cause exit of Gulp process, instead throws error to console and continues (Thomas Winter)
  270. * Fix: Explorer page listing now uses specific page models, so that custom URL schemes defined on Page subclasses are respected
  271. * Fix: Made settings menu clickable again in Firefox 46.0a2 (Juha Kujala)
  272. * 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)
  273. 1.3.1 (05.01.2016)
  274. ~~~~~~~~~~~~~~~~~~
  275. * Fix: Applied workaround for failing wagtailimages migration on Django 1.8.8 / 1.9.1 with Postgres (see <https://code.djangoproject.com/ticket/26034>)
  276. 1.3 (23.12.2015)
  277. ~~~~~~~~~~~~~~~~
  278. * Django 1.9 support
  279. * Support for indexing fields across relations in Elasticsearch
  280. * Added toolbar to cross-link between different search areas, and `register_admin_search_area` hook to register new areas (Ben Kerle)
  281. * Added `WagtailPageTests`, a helper module to simplify writing tests for Wagtail sites
  282. * Added system checks to check the `subpage_types` and `parent_page_types` attributes of page models
  283. * Added `WAGTAIL_PASSWORD_RESET_ENABLED` setting to allow password resets to be disabled independently of the password management interface (John Draper)
  284. * Submit for moderation notification emails now include the editor name (Denis Voskvitsov)
  285. * Updated fonts for more comprehensive Unicode support
  286. * Added `.alt` attribute to image renditions
  287. * The default `src`, `width`, `height` and `alt` attributes can now be overridden by attributes passed to the `{% image %}` tag
  288. * Added keyboard shortcuts for preview and save in the page editor
  289. * Added `Page` methods `can_exist_under`, `can_create_at`, `can_move_to` for customising page type business rules
  290. * `wagtailadmin.utils.send_mail` now passes extra keyword arguments to Django's `send_mail` function (Matthew Downey)
  291. * `page_unpublish` signal is now fired for each page that was unpublished by a call to `PageQuerySet.unpublish()`
  292. * Add `get_upload_to` method to `AbstractImage`, to allow overriding the default image upload path (Ben Emery)
  293. * Notification emails are now sent per user (Matthew Downey)
  294. * Added the ability to override the default manager on Page models
  295. * Added an optional human-friendly `site_name` field to sites (Timo Rieber)
  296. * Added a system check to warn developers who use a custom Wagtail build but forgot to build the admin css
  297. * Added success message after updating image from the image upload view (Christian Peters)
  298. * Added a `request.is_preview` variable for templates to distinguish between previewing and live (Denis Voskvitsov)
  299. * Added support for chaining multiple image operations on the `{% image %}` tag (Christian Peters)
  300. * New translations for Arabic, Latvian and Slovak
  301. * 'Pages' link on site stats dashboard now links to the site homepage when only one site exists, rather than the root level
  302. * Fix: Images and page revisions created by a user are no longer deleted when the user is deleted (Rich Atkinson)
  303. * Fix: HTTP cache purge now works again on Python 2 (Mitchel Cabuloy)
  304. * Fix: Locked pages can no longer be unpublished (Alex Bridge)
  305. * Fix: Site records now implement `get_by_natural_key`
  306. * Fix: Creating pages at the root level (and any other instances of the base `Page` model) now properly respects the `parent_page_types` setting
  307. * Fix: Settings menu now opens correctly from the page editor and styleguide views
  308. * Fix: `subpage_types` / `parent_page_types` business rules are now enforced when moving pages
  309. * Fix: Multi-word tags on images and documents are now correctly preserved as a single tag (LKozlowski)
  310. * Fix: Changed verbose names to start with lower case where necessary (Maris Serzans)
  311. * Fix: Invalid images no longer crash the image listing (Maris Serzans)
  312. * Fix: `MenuItem` `url` parameter can now take a lazy URL (Adon Metcalfe, rayrayndwiga)
  313. * Fix: Added missing translation tag to InlinePanel 'Add' button (jnns)
  314. * Fix: Added missing translation tag to 'Signing in...' button text (Eugene MechanisM)
  315. * Fix: Restored correct highlighting behaviour of rich text toolbar buttons
  316. * Fix: Rendering a missing image through ImageChooserBlock no longer breaks the whole page (Christian Peters)
  317. * Fix: Filtering by popular tag in the image chooser now works when using the database search backend
  318. 1.2 (12.11.2015)
  319. ~~~~~~~~~~~~~~~~
  320. * Added `wagtail.contrib.settings`, a module to allow administrators to edit site-specific settings
  321. * Core templatetags (pageurl, image, wagtailuserbar, etc) are now compatible with Jinja2
  322. * Redirects can now be created for specific sites
  323. * The Page.get_latest_revision_as_page method now returns the live page object if there are no draft changes to the page
  324. * Image and document models now provide a `search` method on their QuerySets
  325. * Search methods now accept an `operator` argument to determine whether multiple terms are ORed or ANDed together
  326. * Search methods now accept an `order_by_relevance` argument, which can be set to False to preserve the original QuerySet ordering
  327. * InlinePanel now accepts `max_num` and `min_num` arguments to limit the number of inline items
  328. * 'Add' button on inline panels is disabled when `max_num` is reached (Salvador Faria)
  329. * StreamField blocks now provide a `get_context` method for passing additional variables to the block template
  330. * Wagtail API now incorporates the browsable front-end provided by Django REST Framework
  331. * Python 3.5 support
  332. * WagtailRedirectMiddleware can now ignore the query string if there is no redirect that exactly matches it (Michael Cordover)
  333. * Order of URL parameters now ignored by redirect middleware (Michael Cordover)
  334. * Added SQL Server compatibility to image migration (Timothy Allen)
  335. * Added classnames to Wagtail rich text editor buttons to aid custom styling (Rob Shelton)
  336. * Simplified body_class in default homepage template (Josh Barr)
  337. * page_published signal now called with the revision object that was published (Josh Barr)
  338. * Added an overrideable favicon to the admin interface
  339. * Added spinner animations to long-running form submissions
  340. * The EMBEDLY_KEY setting has been renamed to WAGTAILEMBEDS_EMBEDLY_KEY (Anurag Sharma)
  341. * StreamField blocks are now added automatically, without showing the block types menu, if only one block type exists (Alex Gleason)
  342. * Wagtail admin now standardises on a single thumbnail image size, to reduce the overhead of creating multiple renditions
  343. * The `first_published_at` and `latest_revision_created_at` fields on page models are now available as filter fields on search queries
  344. * Rich text fields now strip out HTML comments
  345. * Page editor form now sets enctype="multipart/form-data" as appropriate, allowing FileField to be used on page models (Petr Vacha)
  346. * Explorer navigation menu on a completely empty page tree now takes you to the root level, rather than doing nothing
  347. * Added animation and fixed display issues when focusing a rich text field (Alex Gleason)
  348. * Added a system check to warn if Pillow is compiled without JPEG / PNG support
  349. * Page chooser now prevents users from selecting the root node where this would be invalid
  350. * New translations for Dutch (Netherlands), Georgian, Swedish and Turkish (Turkey)
  351. * Fix: Page slugs are no longer auto-updated from the page title if the page is already published
  352. * Fix: Deleting a page permission from the groups admin UI does not immediately submit the form
  353. * Fix: Wagtail userbar is shown on pages that do not pass a `page` variable to the template (e.g. because they override the `serve` method)
  354. * Fix: request.site now set correctly on page preview when the page is not in the default site
  355. * Fix: Project template no longer raises a deprecation warning (Maximilian Stauss)
  356. * Fix: `PageManager.sibling_of(page)` and `PageManager.not_sibling_of(page)` now default to inclusive (i.e. `page` is considered a sibling of itself), for consistency with other sibling methods
  357. * Fix: The "view live" button displayed after publishing a page now correctly reflects any changes made to the page slug (Ryan Pineo)
  358. * Fix: API endpoints now accept and ignore the `_` query parameter used by jQuery for cache-busting
  359. * Fix: Page slugs are no longer cut off when Unicode characters are expanded into multiple characters (Sævar Öfjörð Magnússon)
  360. * Fix: Searching a specific page model while filtering it by either ID or tree position no longer raises an error (Ashia Zawaduk)
  361. * Fix: Scrolling an over-long explorer menu no longer causes white background to show through (Alex Gleason)
  362. * Fix: Removed jitter when hovering over StreamField blocks (Alex Gleason)
  363. * Fix: Non-ASCII email addresses no longer throw errors when generating Gravatar URLs (Denis Voskvitsov, Kyle Stratis)
  364. * Fix: Dropdowns for ForeignKeys are now styled consistently (Ashia Zawaduk)
  365. * Fix: Date choosers now appear on top of StreamField menus (Sergey Nikitin)
  366. * Fix: Fixed a migration error that was raised when block-updating from 0.8 to 1.1+
  367. * Fix: Page copy no longer breaks on models with a ClusterTaggableManager or ManyToManyField
  368. * Fix: Validation errors when inserting an embed into a rich text area are now reported back to the editor
  369. 1.1 (15.09.2015)
  370. ~~~~~~~~~~~~~~~~
  371. * Implemented the `specific()` method on PageQuerySet, to return pages as their most specific type
  372. * "Promoted search results" has moved into its own module
  373. * Elasticsearch backend now supports an experimental `ATOMIC_REBUILD` flag to keep the existing index available while the `update_index` task is running
  374. * The wagtailapi module has been refactored to use Django REST Framework (Tom Christie)
  375. * A number of permissions fixes have been made to the Wagtail admin interface. See release notes for a list of specific changes made.
  376. * Snippets that inherit from `wagtail.wagtailsearch.index.Indexed` now appear as searchable within the Wagtail admin
  377. * Implemented deletion of form submissions (Kyungil Choi)
  378. * Implemented pagination in the page chooser modal
  379. * Changed INSTALLED_APPS in project template to list apps in precedence order (Piet Delport)
  380. * The `{% image %}` tag now supports filters on the image variable, e.g. `{% image primary_img|default:secondary_img width-500 %}`
  381. * Moved the style guide menu item into the Settings sub-menu
  382. * Search backends can now be specified by module (e.g. `wagtail.wagtailsearch.backends.elasticsearch`), rather than a specific class (`wagtail.wagtailsearch.backends.elasticsearch.ElasticSearch`)
  383. * Added ``descendant_of`` filter to the API (Michael Fillier)
  384. * Added optional directory argument to "wagtail start" command (Mitchel Cabuloy)
  385. * Non-superusers can now view/edit/delete sites if they have the correct permissions
  386. * Image file size is now stored in the database, to avoid unnecessary filesystem lookups
  387. * Page URL lookups hit the cache/database less often (Michael van Tellingen)
  388. * Updated URLs within the admin backend to use namespaces
  389. * The `update_index` task now indexes objects in batches of 1000, to indicate progress and avoid excessive memory use
  390. * Added database indexes on PageRevision and Image to improve performance on large sites
  391. * Search in page chooser now uses Wagtail's search framework, to order results by relevance
  392. * `PageChooserPanel` now supports passing a list (or tuple) of accepted page types
  393. * The snippet type parameter of `SnippetChooserPanel` can now be omitted, or passed as a model name string rather than a model class (Joss Ingram)
  394. * Added aliases for the `self` template variable to accommodate Jinja as a templating engine: `page` for pages, `field_panel` for field panels / edit handlers, and `value` for blocks
  395. * Added signposting text to the explorer to steer editors away from creating pages at the root level unless they are setting up new sites
  396. * "Clear choice" and "Edit this page" buttons are no longer shown on the page field of the group page permissions form
  397. * Altered styling of stream controls to be more like all other buttons
  398. * Added ability to mark page models as not available for creation using the flag `is_creatable`; pages that are abstract Django models are automatically made non-creatable
  399. * New translations for Norwegian Bokmål and Icelandic
  400. * Fix: Text areas in the non-default tab of the page editor now resize to the correct height
  401. * Fix: Tabs in "insert link" modal in the rich text editor no longer disappear (Tim Heap)
  402. * Fix: H2 elements in rich text fields were accidentally given a click() binding when put insite a collapsible multi field panel
  403. * Fix: The wagtailimages module is now compatible with remote storage backends that do not allow reopening closed files
  404. * Fix: Search no longer crashes when auto-indexing a model that doesn't have an id field (Scot Hacker)
  405. * Fix: The `wagtailfrontendcache` module's HTTP backend has been rewritten to reliably direct requests to the configured cache hostname
  406. * Fix: Resizing single pixel images with the "fill" filter no longer raises "ZeroDivisionError" or "tile cannot extend outside image"
  407. * Fix: The queryset returned from `search` operations when using the database search backend now correctly preserves additional properties of the original query, such as `prefetch_related` / `select_related`
  408. * Fix: Responses from the external image URL generator are correctly marked as streaming and will no longer fail when used with Django's cache middleware
  409. * Fix: Page copy now works with pages that use multiple inheritance (Jordi Joan)
  410. * Fix: Form builder pages now pick up template variables defined in the `get_context` method (Christoph Lipp)
  411. * Fix: When copying a page, IDs of child objects within page revision records were not remapped to the new objects; this would cause those objects to be lost from the original page when editing the new one
  412. * Fix: Newly added redirects now take effect on all sites, rather than just the site that the Wagtail admin backend was accessed through
  413. * Fix: Add user form no longer throws a hard error on validation failure
  414. 1.0 (16.07.2015)
  415. ~~~~~~~~~~~~~~~~
  416. * Added StreamField, a model field for freeform page content
  417. * Added Wagtail API, a module for creating a RESTful API for your content
  418. * MySQL support
  419. * Django 1.8 support
  420. * Removed dependency on libsass (Tim Heap)
  421. * Users without usernames can now be created and edited in the admin interface (Tim Heap)
  422. * Added update notifications
  423. * Javascript includes in the admin backend have been moved to the HTML header, to accommodate form widgets that render inline scripts that depend on libraries such as jQuery
  424. * Improvements to the layout of the admin menu footer.
  425. * Menu items of custom apps are now highlighted when being used (Josh Barr)
  426. * Added thousands separator for counters on dashboard
  427. * Added contextual links to admin notification messages
  428. * When copying pages, it is now possible to specify a place to copy to (Timo Rieber)
  429. * FieldPanel now accepts an optional 'widget' parameter to override the field's default form widget (Alejandro Giacometti)
  430. * Page URL paths can now be longer than 255 characters
  431. * Dropped Django 1.6 support
  432. * Dropped Python 2.6 and 3.2 support
  433. * Dropped Elasticsearch 0.90.x support
  434. * Serving documents will now use django-sendfile if it's configured (Jordi Joan)
  435. * Documents are now served with correct mime-type (Jordi Joan, Damian Moore)
  436. * Support for If-Modified-Since HTTP header (Jordi Joan)
  437. * Search view accepts "page" GET parameter in line with pagination
  438. * Reversing `django.contrib.auth.admin.login` will no longer lead to Wagtails login view (making it easier to have front end views)
  439. * Removed dependency on `LOGIN_URL` and `LOGIN_REDIRECT_URL` settings
  440. * Password reset view names namespaced to wagtailadmin
  441. * Removed the need to add permission check on admin views (now automated)
  442. * Added cache-control headers to all admin views
  443. * Page model fields without a FieldPanel are no longer displayed in the form
  444. * No longer need to specify the base model on InlinePanel definitions
  445. * The project template Vagrantfile now listens on port 8000
  446. * The external link chooser in rich text areas now accepts URLs of the form '/some/local/path', to allow linking to non-Wagtail-controlled URLs within the local site (Eric Drechsel)
  447. * SCSS files in wagtailadmin now use absolute imports, to permit overriding by user stylesheets (Martin Sanders)
  448. * Bare text entered in rich text areas is now automatically wrapped in a paragraph element
  449. * Added pagination to the snippets listing and chooser (Martin Sanders)
  450. * Page / document / image / snippet choosers now include a link to edit the chosen item
  451. * The `document_served` signal now correctly passes the Document class as `sender` and the document as `instance`
  452. * Image/Document edit page no longer throws OSError when the original image is missing
  453. * Page classes can specify an edit_handler property to override the default Content / Promote / Settings tabbed interface
  454. * The Page model now records the date/time that a page was first published, as the field `first_published_at`
  455. * Increased the maximum length of a page slug from 50 to 255 characters
  456. * Plain text fields in the page editor now use auto-expanding text areas
  457. * Date / time pickers now consistently use times without seconds, to prevent Javascript behaviour glitches when focusing / unfocusing fields
  458. * Added hooks `register_rich_text_embed_handler` and `register_rich_text_link_handler` for customising link / embed handling within rich text fields
  459. * Added hook `construct_homepage_summary_items` for customising the site summary panel on the admin homepage
  460. * No longer automatically tries to use Celery for sending notification emails
  461. * Added "Add child page" button to admin userbar (Eric Drechsel)
  462. * Renamed the `construct_wagtail_edit_bird` hook to `construct_wagtail_userbar`
  463. * 'static' template tags are now used throughout the admin templates, in place of STATIC_URL
  464. * Added a new decorator-based syntax for RoutablePage, compatible with Django 1.8
  465. * Collapsible blocks stay open on any form error (Salvador Faria)
  466. * Document upload modal no longer switches tabs on form errors (Salvador Faria)
  467. * Added `AUTO_UPDATE` flag to search backend settings to enable/disable automatically updating the search index on model changes
  468. * Made the built-in project template follow the Django one, with several Wagtail-specific additions. The template comes with two apps (home and search)
  469. * `with_metaclass` is now imported from Django's bundled copy of the `six` library, to avoid errors on Mac OS X from an outdated system copy of the library being imported
  470. * Added new translations for Croatian and Finnish
  471. 0.8.10 (16.09.2015)
  472. ~~~~~~~~~~~~~~~~~~~
  473. * Fix: When copying a page, IDs of child objects within page revision records were not remapped to the new objects; this would cause those objects to be lost from the original page when editing the new one
  474. * Fix: Search no longer crashes when auto-indexing a model that doesn't have an id field (Scot Hacker)
  475. * Fix: Resizing single pixel images with the "fill" filter no longer raises "ZeroDivisionError" or "tile cannot extend outside image"
  476. 0.8.9 (16.09.2015)
  477. ~~~~~~~~~~~~~~~~~~
  478. [release withdrawn due to packaging issues]
  479. 0.8.8 (18.06.2015)
  480. ~~~~~~~~~~~~~~~~~~
  481. * Fix: Formbuilder no longer raises TypeError when submitting unchecked boolean field (Arne Schauf)
  482. * Fix: Image upload form no longer breaks when using i10n thousand separators (@signalkraft)
  483. * Fix: Multiple image uploader now escapes HTML in filenames (Mac Chapman)
  484. * Fix: Retrieving an individual item from a sliced BaseSearchResults object now properly takes the slice offset into account
  485. * Fix: Removed dependency on unicodecsv which fixes a crash on Python 3
  486. * Fix: Submitting unicode text in form builder form no longer crashes with UnicodeEncodeError on Python 2
  487. * Fix: Creating a proxy model from a Page class no longer crashes in the system check (Nar Chhantyal)
  488. * Fix: Unrecognised embed URLs passed to the |embed filter no longer cause the whole page to crash with an EmbedNotFoundException
  489. * Fix: Underscores no longer get stripped from page slugs
  490. 0.8.7 (29.04.2015)
  491. ~~~~~~~~~~~~~~~~~~
  492. * Fix: wagtailfrontendcache no longer tries to purge pages that are not in a site
  493. * Fix: The contents of <div> elements in the rich text editor were not being whitelisted
  494. * Fix: Due to the above issue, embeds/images in a rich text field would sometimes be saved into the database in their editor representation
  495. * Fix: RoutablePage now prevents subpage_urls from being defined as a property, which would cause a memory leak
  496. * Fix: Added validation to prevent pages being created with only whitespace characters in their title fields (Frank Wiles)
  497. * Fix: Prevent logout on changing password when SessionAuthenticationMiddleware is in use
  498. * Fix: Work around a Python / Django issue that prevented documents with certain non-ASCII filenames from being served
  499. 0.8.6 (10.03.2015)
  500. ~~~~~~~~~~~~~~~~~~
  501. * Translations updated, including new translations for Czech, Italian and Japanese
  502. * The "fixtree" command can now delete orphaned pages
  503. * Fix: django-taggit library updated to 0.12.3, to fix a bug with migrations on SQLite on Django 1.7.2 and above (https://github.com/alex/django-taggit/issues/285)
  504. * Fix: Fixed a bug that caused children of a deleted page to not be deleted if they had a different type
  505. 0.8.5 (17.02.2015)
  506. ~~~~~~~~~~~~~~~~~~
  507. * Fix: On adding a new page, the available page types are ordered by the displayed verbose name
  508. * Fix: Active admin submenus were not properly closed when activating another
  509. * Fix: get_sitemap_urls is now called on the specific page class so it can now be overridden (Jerel Unruh)
  510. * Fix: (Firefox and IE) Fixed preview window hanging and not refocusing when "Preview" button is clicked again
  511. * Fix: Storage backends that return raw ContentFile objects are now handled correctly when resizing images (@georgewhewell)
  512. * Fix: Punctuation characters are no longer stripped when performing search queries
  513. * Fix: When adding tags where there were none before, it is now possible to save a single tag with multiple words in it
  514. * Fix: richtext template tag no longer raises TypeError if None is passed into it (Alejandro Varas)
  515. * Fix: Serving documents now uses a streaming HTTP response and will no longer break Django's cache middleware
  516. * Fix: User admin area no longer fails in the presence of negative user IDs (as used by django-guardian's default settings)
  517. * Fix: Password reset emails now use the ``BASE_URL`` setting for the reset URL
  518. * Fix: BASE_URL is now included in the project template's default settings file
  519. 0.8.4 (04.12.2014)
  520. ~~~~~~~~~~~~~~~~~~
  521. * Fix: It is no longer possible to have the explorer and settings menu open at the same time
  522. * Fix: Page IDs in page revisions were not updated on page copy, causing subsequent edits to be committed to the original page instead
  523. * Fix: Copying a page now creates a new page revision, ensuring that changes to the title/slug are correctly reflected in the editor (and also ensuring that the user performing the copy is logged)
  524. * Fix: Prevent a race condition when creating Filter objects
  525. 0.8.3 (18.11.2014)
  526. ~~~~~~~~~~~~~~~~~~
  527. * Fix: Added missing jQuery UI sprite files, causing collectstatic to throw errors (most reported on Heroku)
  528. * Fix: Page system check for on_delete actions of ForeignKeys was throwing false positives when page class decends from an abstract class (Alejandro Giacometti)
  529. * Fix: Page system check for on_delete actions of ForeignKeys now only raises warnings, not errors
  530. * Fixed a regression where form builder submissions containing a number field would fail with a JSON serialisation error
  531. * Fix: Resizing an image with a focal point equal to the image size would result in a divide-by-zero error
  532. * Fix: Focal point indicator would sometimes be positioned incorrectly for small or thin images
  533. * Fix: Focal point chooser background colour changed to grey to make working with transparent images easier
  534. * Fix: Elasticsearch configuration now supports specifying HTTP authentication parameters as part of the URL, and defaults to ports 80 (HTTP) and 443 (HTTPS) if port number not specified
  535. * Fixed a TypeError when previewing pages that use RoutablePageMixin
  536. * Fix: Rendering image with missing file in rich text no longer crashes the entire page
  537. * Fix: IOErrors thrown by underlying image libraries that are not reporting a missing image file are no longer caught
  538. * Fix: Minimum Pillow version bumped to 2.6.1 to work around a crash when using images with transparency
  539. * Fix: Images with transparency are now handled better when being used in feature detection
  540. 0.8.2 (18.11.2014)
  541. ~~~~~~~~~~~~~~~~~~
  542. [release withdrawn due to packaging issues]
  543. 0.8.1 (05.11.2014)
  544. ~~~~~~~~~~~~~~~~~~
  545. * Fixed a regression where images would fail to save when feature detection is active
  546. 0.8 (05.11.2014)
  547. ~~~~~~~~~~~~~~~~
  548. * Added logging for page operations
  549. * The save button on the page edit page now redirects the user back to the edit page instead of the explorer
  550. * Signal handlers for ``wagtail.wagtailsearch`` and ``wagtail.contrib.wagtailfrontendcache`` are now automatically registered when using Django 1.7 or above. (Tim Heap)
  551. * Added a Django 1.7 system check to ensure that foreign keys from Page models are set to on_delete=SET_NULL, to prevent inadvertent (and tree-breaking) page deletions
  552. * Improved error reporting on image upload, including ability to set a maximum file size via a new setting WAGTAILIMAGES_MAX_UPLOAD_SIZE
  553. * The external image URL generator now keeps persistent image renditions, rather than regenerating them on each request, so it no longer requires a front-end cache
  554. * Added Dutch translation
  555. * Fix: Replaced references of .username with .get_username() on users for better custom user model support (John-Scott Atlakson)
  556. * Fix: Unpinned dependency versions for six and requests to help prevent dependency conflicts
  557. * Fix: Fixed TypeError when getting embed HTML with oembed on Python 3 (John-Scott Atlakson)
  558. * Fix: Made HTML whitelisting in rich text fields more robust at catching disallowed URL schemes such as "jav\tascript:" (Tim Heap)
  559. * Fix: created_at timestamps on page revisions were not being preserved on page copy, causing revisions to get out of sequence
  560. * Fix: When copying pages recursively, revisions of sub-pages were being copied regardless of the copy_revisions flag
  561. * Fix: Updated the migration dependencies within the project template to ensure that Wagtail's own migrations consistently apply first.
  562. * Fix: The cache of site root paths is now cleared when a site is deleted.
  563. * Fix: Search indexing now prevents pages from being indexed multiple times, as both the base Page model and the specific subclass
  564. * Fix: Search indexing now avoids trying to index abstract models
  565. * Fix: Fixed references to "username" in login form help text for better custom user model support (John-Scott Atlakson)
  566. * Fix: Later items in a model's search_field list now consistently override earlier items, allowing subclasses to redefine rules from the parent
  567. * Fix: Image uploader now accepts JPEG images that PIL reports as being in MPO format
  568. * Fix: Multiple checkbox fields on form-builder forms did not correctly save multiple values
  569. * Fix: Editing a page's slug and saving it without publishing could sometimes cause the URL paths of child pages to be corrupted
  570. * Fix: 'latest_revision_created_at' was being cleared on page publish, causing the page to drop to the bottom of explorer listings
  571. * Fix: Searches on partial_match fields were wrongly applying prefix analysis to the search query as well as the document (causing e.g. a query for "water" to match against "wagtail")
  572. 0.7 (09.10.2014)
  573. ~~~~~~~~~~~~~~~~
  574. * Added interface for choosing focal point on images
  575. * Redesigned and reorganised navigation menu to include a 'Settings' submenu
  576. * Added Groups administration area
  577. * Added Sites administration area
  578. * Added the ability to lock a page to (temporarily) prevent edits to that page
  579. * Removed 'content_type' template filter from the project template, as the same thing can be accomplished with self.get_verbose_name|slugify
  580. * Page copy operations now also copy the page revision history
  581. * Page models now support a 'parent_page_types' property in addition to 'subpage types', to restrict the types of page they can be created under
  582. * 'register_snippet' can now be invoked as a decorator
  583. * Project template updated to Django 1.7
  584. * 'boost' applied to the title field on searches reduced from 100 to 2
  585. * The 'type' method of PageQuerySet (used to filter the queryset to a specific page type) now includes subclasses of the given page type.
  586. * The 'update_index' management command now updates all backends listed in WAGTAILSEARCH_BACKENDS, or a specific one passed on the command line, rather than just the default backend
  587. * The 'fill' image resize method now supports an additional parameter defining the closeness of the crop
  588. * Added support for invalidating Cloudflare caches
  589. * Pages in the explorer can now be ordered by last updated time
  590. * Fix: 'wagtail start' command now works on Windows
  591. * Fix: The external image URL generator no longer stores generated images in Django's cache
  592. * Fix: Elasticsearch backend can now search querysets that have been filtered with an 'in' clause of a non-list type (such as a ValuesListQuerySet)
  593. * Fix: Logic around the has_unpublished_changes flag has been fixed, to prevent issues with the 'View draft' button failing to show in some cases
  594. * Fix: It is now easier to move pages to the beginning and end of their section
  595. * Fix: Image rendering no longer creates erroneous duplicate Rendition records when the focal point is blank.
  596. 0.6 (11.09.2014)
  597. ~~~~~~~~~~~~~~~~
  598. * Added 'wagtail start' command and project template
  599. * Added Django 1.7 support
  600. * Added {% routablepageurl %} template tag (Tim Heap)
  601. * Added RoutablePageMixin (Tim Heap)
  602. * MenuItems can now have bundled JavaScript
  603. * Added the register_admin_menu_item hook for registering menu items at startup
  604. * Added version indicator to the admin interface
  605. * Renamed wagtailsearch.indexed to wagtailsearch.index
  606. * Added Russian translation
  607. * Fix: Page URL generation now returns correct URLs for sites that have the main 'serve' view rooted somewhere other than '/' (Nathan Brizendine)
  608. * Fix: Search results in the page chooser now respect the page_type parameter on PageChooserPanel
  609. * Fix: Rendition filenames are now prevented from going over 60 chars, even with a large focal_point_key
  610. * Fix: Child relations that are defined on a model's superclass (such as the base Page model) are now picked up correctly by the page editing form, page copy operations and the replace_text management command
  611. * Fix: (For Django 1.7 support) Do not import South when using Django 1.7 (thenewguy)
  612. * Fix: Tags on images and documents are now committed to the search index immediately on saving
  613. 0.5 (01.08.2014)
  614. ~~~~~~~~~~~~~~~~
  615. * Added multiple image uploader
  616. * Added support for face and feature detection on images using the OpenCV library
  617. * Added RoutablePage model to allow embedding Django-style URL routing within a page
  618. * Added image/document/snippet usage stats
  619. * Explorer nav now rendered separately and fetched with AJAX when needed
  620. * Added decorator syntax for hooks
  621. * Replaced lxml dependency with html5lib, to simplify installation
  622. * Added page_unpublished signal
  623. * Added mechanism to obtain external URLs to images, at any size
  624. * Added Copy Page action to the explorer
  625. * Fix: Updates to tag fields are now properly committed to the database when publishing directly from the page edit interface
  626. 0.4.1 (14.07.2014)
  627. ~~~~~~~~~~~~~~~~~~
  628. * ElasticSearch backend now respects the backward-compatible URLS configuration setting, in addition to HOSTS
  629. * Documentation fixes
  630. 0.4 (10.07.2014)
  631. ~~~~~~~~~~~~~~~~
  632. * ElasticUtils/pyelasticsearch swapped for elasticsearch-py
  633. * Python 3.2, 3.3 and 3.4 support
  634. * Added scheduled publishing
  635. * Added support for private (password-protected) pages
  636. * Added frontend cache invalidator
  637. * Added sitemap generator
  638. * Added notification preferences
  639. * Added a new way to configure searchable/filterable fields on models
  640. * Added 'original' as a resizing rule supported by the 'image' tag
  641. * Hallo.js updated to version 1.0.4
  642. * Snippets are now ordered alphabetically
  643. * Removed the "More" section from the admin menu
  644. * Added pagination to page listings in admin
  645. * Support for setting a subpage_types property on page models, to define which page types are allowed as subpages
  646. * Added a new datetime picker widget
  647. * Added styleguide (mainly for wagtail developers)
  648. * Aesthetic improvements to preview experience
  649. * 'image' tag now accepts extra keyword arguments to be output as attributes on the img tag
  650. * Login screen redirects to dashboard if user is already logged in
  651. * Renamed some template tag libraries
  652. * Any extra arguments given to serve are now passed through to get_context and get_template
  653. * Added an 'attrs' property to image rendition objects to output src, width, height and alt attributes all in one go
  654. * Added 'construct_whitelister_element_rules' hook for customising the HTML whitelist used when saving rich text fields
  655. * Added 'in_menu' and 'not_in_menu' methods to PageQuerySet
  656. * Added 'get_next_siblings' and 'get_prev_siblings' to Page
  657. * Added init_new_page signal
  658. * Added page_published signal
  659. * Added copy method to Page to allow copying of pages
  660. * Added ``search`` method to ``PageQuerySet``
  661. * Added ``get_indexed_objects`` allowing developers to customise which objects get added to the search index
  662. * Major refactor of Elasticsearch backend
  663. * Use ``match`` instead of ``query_string`` queries
  664. * Fields are now indexed in Elasticsearch with their correct type
  665. * Filter fields are no longer included in '_all' (in Elasticsearch)
  666. * Fields with partial matching are now indexed together into '_partials'
  667. * Fix: Animated GIFs are now coalesced before resizing
  668. * Fix: Wand backend clones images before modifying them
  669. * Fix: Admin breadcrumb now positioned correctly on mobile
  670. * Fix: Page chooser breadcrumb now updates the chooser modal instead of linking to Explorer
  671. * Fix: Embeds - Fixed crash when no HTML field is sent back from the embed provider
  672. * Fix: Multiple sites with same hostname but different ports are now allowed
  673. * Fix: No longer possible to create multiple sites with is_default_site = True
  674. 0.3.1 (03.06.2014)
  675. ~~~~~~~~~~~~~~~~~~
  676. * Fix: When constructing dummy requests for pages with no routable URL, fall back on a hostname from ALLOWED_HOSTS and finally 'localhost', to avoid 'Invalid HTTP_HOST header' errors on preview when DEBUG=False.
  677. * Fix: Ensure that url_path is populated when previewing a newly created page, to avoid unnecessarily taking the above fallback.
  678. * Fix: Deleting an item from an InlinePanel, then generating a validation error on saving, no longer causes the deleted item to confusingly reappear with an error of its own.
  679. 0.3 (28.05.2014)
  680. ~~~~~~~~~~~~~~~~
  681. * Added toolbar to allow logged-in users to add and edit pages from the site front-end
  682. * Support for alternative image processing backends such as Wand, via the WAGTAILIMAGES_BACKENDS setting
  683. * Added support for generating static sites using django-medusa
  684. * Added custom Query set for Pages with some handy methods for querying pages
  685. * Added 'wagtailforms' module for creating form pages on a site, and handling form submissions
  686. * Editor's guide documentation
  687. * Expanded developer documentation
  688. * Editor interface now outputs form media CSS / JS, to support custom widgets with assets
  689. * Migrations and user management now correctly handle custom AUTH_USER_MODEL settings
  690. * Added 'slugurl' template tag to output the URL of a page with a given slug
  691. * MultiFieldPanel definitions now accept a 'classname' attribute, including a special classname of 'collapsible' to allow showing / hiding them on click
  692. * Added 'insert_editor_css' and 'insert_editor_js' hooks for passing in custom CSS / JS to the editor interface
  693. * Made JPEG compression level configurable through the IMAGE_COMPRESSION_QUALITY setting, and increased default to 85
  694. * Added document_served signal which gets fired when a document is downloaded
  695. * Added translations for Portuguese Brazil and Traditional Chinese (Taiwan).
  696. * Made compatible with Python 2.6
  697. * 'richtext' template filter now wraps output in <div class="rich-text"></div>, to assist in styling
  698. * Embeds now save author_name and provider_name if set by oEmbed provider
  699. * Fix: non-ASCII characters in image filenames are now converted into ASCII equivalents rather than becoming all underscores
  700. * Fix: paths to fonts and images within CSS are no longer hard-coded to /static/
  701. * Fix: Localization files for the JQuery UI datepicker are stored locally and only imported when a localization is known to be available
  702. * Fix: Page slugs are now validated on page edit
  703. * Fix: Filter objects are cached to avoid a database hit every time an {% image %} tag is compiled
  704. * Fix: Moving or changing a site root page no longer causes URLs for subpages to change to 'None'
  705. * Fix: Eliminated raw SQL queries from wagtailcore / wagtailadmin, to ensure cross-database compatibility
  706. * Fix: Snippets menu item is hidden for administrators if no snippet types are defined
  707. * Fix: 'Upload' tab in image chooser now retains focus if submit action returns a form error.
  708. * Fix: Search input now appears on image chooser after form validation error.
  709. 0.2 (11.03.2014)
  710. ~~~~~~~~~~~~~~~~
  711. * SQLite support added
  712. * Internationalisation of the admin backend
  713. * Translations for Bulgarian, Catalan, Chinese, Galician, German, Greek, Polish, Romanian and Spanish. Partial translations for Basque and Mongolian.
  714. * Stylesheets ported from Less to Sass, to eliminate dependency on an external CSS compiler
  715. * Coffeescript replaced by vanilla Javascript
  716. * OEmbed supported as an alternative backend for wagtailembeds, eliminating dependency on Embedly
  717. * Database supported as an alternative search backend, eliminating dependency on ElasticSearch
  718. * Background tasks now fall back on in-process handling if Celery is not available (also eliminating Redis as a dependency)
  719. * Users decoupled from Django default user model, to allow custom user models
  720. * Added explicit 'Can access Wagtail admin' permission, rather than treating all logged-in users as Wagtail users
  721. * Date fields now work with USE_L10N=True
  722. * "Your most recent edits" only shows the latest edit per page
  723. * Unified search view configurable in urls.py
  724. * Support for searching within a subtree
  725. * Added initial documentation
  726. * Added Ubuntu / Debian installation scripts
  727. * Extensive tests and test runner infrastructure
  728. * Numerous bugfixes
  729. 0.1 (07.02.2014)
  730. ~~~~~~~~~~~~~~~~
  731. * Initial release.