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

1621 Commits

Author SHA1 Message Date
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
Matt Westcott
29645c0f6a Mention addition to INSTALLED_APPS in routablepage docs
Fixes #3286
2017-01-23 17:07:19 +00:00
Matt Westcott
cbb31c80e1 Remove redundant filter() in tutorial example. Fixes #3280
Thanks to @gogobook for the report!
2017-01-19 17:39:28 +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
Matt Westcott
1d4743d27c Update project template + docs to clarify that wagtail_urls should appear at the end of urlpatterns 2017-01-13 17:06:52 +00:00
Mikela Clemmons
26b7071307 RegexBlock error_message typo in docs
In the documention an example had a singular
2017-01-13 10:06:19 +00:00
Janneke Janssen
0e9c255b03 Marked text for translation 2017-01-06 12:45:17 +00:00
Nikolai R Kristiansen
54bfd1a802 docs: Fix INDEX_SETTINGS in ES search backend ex.
The key `number_of_shards` lives below the `index` key.

Ref: https://www.elastic.co/guide/en/elasticsearch/reference/2.4/indices-create-index.html#create-index-settings
2017-01-06 11:23:16 +00:00
J. Heasly
9424a8eab9 Give indication that there may be other template bits necessary for tag to work.
I came to this page from "Getting Started" template examples where all pages examples are rendered within {% block content %} tags which are not in these template examples."
;
2017-01-05 10:14:07 +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
0f94222689 Specify version 4.x, 5.x or 6.x of Node
Gulp 3.x is currently incompatible with Node 7: https://github.com/gulpjs/gulp/issues/1843

Fixes #3253
2017-01-03 16:47:32 +00:00
Matt Westcott
7288a96950 Point people to Stack Overflow for support queries in preference to the Google group (#3255)
We plan to put additional resources into support on Stack Overflow, based on feedback at https://twitter.com/WagtailCMS/status/801384753589080064
2017-01-03 16:02:24 +00:00
Matt Westcott
5e13a1d674 Remove old versionadded line 2016-12-15 16:23:05 +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
Mihail Russu
4f5ffe98bc Fix the inconsistent use of blogpages
`page.get_children` was changed earlier to `blogpages` in order to show the blog posts ordered and hide the unpublished ones
2016-12-13 10:07:11 +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
Matt Westcott
ff44666c36 Add note that wagtailforms is not a replacement for Django forms (#3190) 2016-12-05 18:19:59 +00:00
Matt Westcott
f54498b3b0 Clarify '# ...' comments when omitting code in tutorial snippets
See https://groups.google.com/d/msg/wagtail/NFFqKY98jiY/XZjmk3-mBAAJ
2016-12-01 13:43:19 +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
3fd5bb1820 Add image gallery / InlinePanel section to tutorial 2016-11-30 16:38:20 +00:00
Matt Westcott
5df8f1e34e Release note for #3145 2016-11-30 16:35:21 +00:00
Karl Hobley
18316d627d Added Elasticsearch 5 to search backend docs 2016-11-30 16:31:20 +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
Mikalai Radchuk
55bdae573b Add support of callable choices for ChoiceBlock
Fixes #2809
2016-11-28 17:44:35 +00:00
Matt Westcott
02360e6651 re-indent template performance code snippet 2016-11-28 13:45:42 +00:00
Tim Heap
16213db0f8 Remove old versionadded notes
A step has been added to the release process notes to do this for future
releases as well.

https://github.com/torchbox/wagtail/wiki/Creating-a-new-Wagtail-release
2016-11-28 13:41:35 +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