0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-29 17:36:49 +01:00
Commit Graph

740 Commits

Author SHA1 Message Date
Mikalai Radchuk
6ee25ccab9 Release notes for #3242 2017-01-25 21:58:58 +03:00
Karl Hobley
4ea06426ab Changelog/release note for #3277 2017-01-24 16:07:16 +00:00
Jeffrey Chau
47f7d79aec Add convenience method for finding root page to navigation.py. Add context variables to home renderer. 2017-01-24 14:16:31 +00:00
Robert Rollins
fab11259bc Maintain the 'next' GET argument through the add_subpage workflow.
Every other Page workflow seems to maintain this argument, to ensure that the
user ends up back at the page they were on when they started. This patch enables
the add_subpage workflow to do the same.
2017-01-24 11:48:21 +00:00
Karl Hobley
4f1d3509ff Bulk deletion of form submissions (#3233)
Remove actions column

Basic implementation of bulk deletion of form submissions

Moved select all checkbox

Pluralised messages

Hide delete button when it's not needed

Test updates for multiple form submission delete

Use checkbox value instead of submissionId data attribute

Simplify way submission IDs are sent to the server

As per https://github.com/wagtail/wagtail/pull/3233#discussion_r94417831

Removed inline styling

Simplify state management logic

As per:
https://github.com/wagtail/wagtail/pull/3233#discussion_r94426467

Call updateActions on load to bring checkboxes and delete button in sync

Release note for #3233
2017-01-16 20:50:10 +00:00
Matheus Bratfisch
b01376ad72 Add after/before_copy_page hooks, test and docs 2017-01-16 19:00:29 +00:00
Matt Westcott
19310a84ed Documentation and release notes for #3275 2017-01-16 18:51:42 +00:00
Janneke Janssen
0e9c255b03 Marked text for translation 2017-01-06 12:45:17 +00:00
Matt Westcott
b006b19582 Release note for #3168 2017-01-04 17:35:12 +00:00
Matt Westcott
39cb87507d Add release note for #3254 to 1.9 docs
apparently my save button doesn't work
2017-01-04 17:32:35 +00:00
Matt Westcott
762355382f set release date for 1.8 2016-12-15 12:01:12 +00:00
Matt Westcott
6f834c9a9b Update links to github.com/torchbox to point to github.com/wagtail 2016-12-15 11:49:49 +00:00
Matt Westcott
d3aeace155 Add breadcrumb permission limits and tutorial to 1.8 major feature list 2016-12-14 17:55:13 +00:00
Tom Dyson
69661b0455 1.8 release notes - 'other', not 'minor' (#3218) 2016-12-14 11:41:40 +00:00
Marco Fucci
2f06afe6e1 Make all live and draft links open in a new win
Some 'live' and 'view draft' links were opening in a new window
and some weren't for no apparent reason.

This fixes that inconsistency.
2016-12-12 19:04:27 +00:00
Matt Westcott
d5ef2edc8f Version bump to begin work on 1.9 2016-12-09 15:43:53 +00:00
Matt Westcott
723cd0829f Image / updated writeup for page privacy feature in 1.8 2016-12-09 15:30:46 +00:00
Matt Westcott
2c9805dc3f Add upgrade consideration note re direct use of Filter and Rendition 2016-12-06 15:05:50 +00:00
Matt Westcott
978cd2e95b Switch to Rendition.filter_spec as the active field for looking up filters 2016-12-06 15:03:15 +00:00
Matt Westcott
f2fcfe54a2 Release note for #3193 2016-12-05 19:23:29 +00:00
Karl Hobley
cc299d8873 Added example to #3036 upgrade consideration 2016-12-01 12:04:14 +00:00
pyMan
7d1114c1a1 Extra ES params passed through new OPTIONS key
Closes #2778

Extra ES params are now passed through new OPTIONS key in the
WAGTAILSEARCH_BACKENDS setting.

It's backward compatible: if no OPTIONS key is found and some parameters
still exist, those parameters are used for the ES constructor..
2016-12-01 12:04:14 +00:00
Matt Westcott
11676408c9 remove Fix: prefix 2016-11-30 18:46:22 +00:00
Chris Rogers
89e985d02a added convenience method in_site and tests 2016-11-30 18:45:14 +00:00
Edd Baldry
cb268c233a Disable editing when page lock turned on 2016-11-30 17:16:47 +00:00
Matt Westcott
6fda0dc01f Release note for #3139 2016-11-30 17:00:30 +00:00
Matt Westcott
5df8f1e34e Release note for #3145 2016-11-30 16:35:21 +00:00
Diederik van der Boor
f960753d74 Add the alters_data attribute on Page.copy().
This makes sure the variable can't be printed in the template,
performing an accidental copy of the page. That also happened when using
the `{% print %}` tag from my django-debugtools package
2016-11-29 11:39:37 +00:00
Scot Hacker
2882775842 Add BlockQuoteBlock to core block types 2016-11-29 10:13:10 +00:00
Morgan Aubert
4e23e46159 Fix #3167 - Ensure TableBlock content is indexed
Changes include:
* adding the 'get_searchable_content' method on the TableBlock
* ... and the related test
2016-11-28 20:40:47 +00:00
Matt Westcott
3d37f84311 Release note for #2812 2016-11-28 17:45:17 +00:00
Tim Heap
6ba34636cb Fix whitespace errors in docs
Trimmed trailing whitespace, convert tabs to 4 spaces, add preference
for spaces to `.editorconfig`.
2016-11-28 13:41:35 +00:00
Tim Heap
254e675634 Use .. code-block:: console for all shell commands
This is the correct lexer for interactive console sessions, according to
<http://pygments.org/docs/lexers/>. This does require command lines to
be prefixed with `$`, otherwise they are interpreted as the output of a
command. It highlights the command nicely, including environment
variables, strings, and comments.
2016-11-28 13:41:35 +00:00
Tim Heap
f742d4a476 Use .. code-block:: for all python, html blocks 2016-11-28 13:41:34 +00:00
Tim Heap
2f8a43cd66 Document new blocks in login template
The old `branding.rst` docs were combined with the new docs on
customising the login page in a new `admin_templates.rst` document.
2016-11-28 12:41:06 +00:00
Diederik van der Boor
d21171c1b0 Fix errors by settings context processor in out-of-request templates
When templates are rendered outside the request cycle,
the `settings` context processor fails because `request.site` is not
created because `SiteMiddleware` was not processed.

This happens whenever requests are mocked for rendering.
For example email rendering by third party packages or unittests
that mock a request object without taking all middleware into account.
2016-11-24 12:14:58 +00:00
Andy Babic
23eced1fcd `Added support for 'exclude_from_explorer' attribute on ModelAdmin class 2016-11-23 16:51:08 +00:00
Morgan Aubert
51b4f0f53d Fix #3134
Changes include:
* fixing the FieldError exception that can occur as described in #3134
* add tests for the "search_garbage_collect" command
2016-11-17 14:34:56 +00:00
Albert O'Connor
a5b544631b Update the Cloudflare backend to use the v4 API
Fixes #3146
2016-11-17 12:01:57 +00:00
Benoit Vogel
2fba07ad8e Implemented StaticBlock
Uses admin_text which is a Meta attribute.
* StaticBlock code in wagtailcore/blocks + tests
* StaticBlock in Streamfield docs
2016-11-15 10:29:06 +00:00
Thejaswi Puthraya
6821c763ea Refs #2717. Custom forms for modeladmin. 2016-11-11 15:30:44 +00:00
Matt Westcott
8de1b1b16f Release note for #3035 2016-11-03 16:58:54 +00:00
Matt Westcott
bc9ebe46d2 Add release note detailing how to restore bulk delete permission to existing groups 2016-11-03 16:58:49 +00:00
Matt Westcott
c9137d1dc0 Update release note and credits for #3071 2016-11-01 14:05:05 +00:00
Ducky
76ffc972a5 fixes issue where closing the 'MORE' action scrolls to the top of page.
fixes #3076
2016-10-27 20:47:16 +01:00
Sævar Öfjörð Magnússon
169045b186 Loop through all multiple value fields when sending form submission by email.
A form field with multiple checkboxes may introduce submissions that have more than one value. The `send_email` function would loop through all form fields and grab only the first item of each field, ignoring fields that may have multiple values selected. This is a side effect of using `QueryDict.get()`, which will only return the last value of a list.

This commit fixes that by first converting the `QueryDict` instance to a regular dict of lists so that `get` will return all values, then joining multiple items if needed.
2016-10-27 20:24:25 +01:00
Mikalai Radchuk
f28bcaa003 Release notes for #3071 2016-10-27 16:42:14 +03:00
Matt Westcott
2442416e93 Release notes for #3072 2016-10-26 13:09:40 +01:00
Benjamin Bach
4a92505c3b set_url_paths Django 1.10 friendly, add a test 2016-10-26 09:59:53 +01:00
Nick Smith
992b315be6 Use paginator.count, not page|length, in header
Fixes #3097
2016-10-25 15:29:29 +01:00