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
Mikael Svensson
827149f5d2
Added parent_context to get_context
...
Added Legacy handling for get_context without parent_context
Added tests for change above
2017-01-16 13:08:44 +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
Alex Zagorodniuk
0fdf98469c
Provide fallback value for schema_only parameter in update_index management command
2017-01-13 10:03:58 +00:00
Matt Westcott
be74f762f0
Update dependencies for django-modelcluster 3.0
2017-01-12 14:06:26 +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
Stein Strindhaug
301f2a5d50
Use full width for streamfield help text.
...
Makes even quite long help texts one line only, so that they don't waste too
much vertical space.
2017-01-04 17:35:11 +00:00
Stein Strindhaug
b7b079eaf8
Fix bug where help_text covers controls for stream-field
2017-01-04 17:35:10 +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
Andreas Nüßlein
2734dfca8b
added default argument to ChoiceBlock.
...
If default is not None and required is True,
don't render a blank option.
2017-01-04 16:09:30 +00:00
erickmk
eb16a476ba
replace self with cls for class method
2017-01-04 12:08:31 +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
8f5e07d530
Rotate deprecation warnings
2016-12-16 18:54:51 +00:00
Matt Westcott
4c5cc5b286
Remove embed filter
2016-12-16 18:54:43 +00:00
Matt Westcott
3a92774f8c
Remove deprecation path for ImageOperation.run methods that don't accept env
2016-12-16 18:54:19 +00:00
Matt Westcott
6aff245474
Remove 'filter' FK from AbstractRendition
...
Third stage of #2881 ; cannot remove Filter model yet, as per https://github.com/wagtail/wagtail/pull/3224#issuecomment-267649763
2016-12-16 17:46:42 +00:00
Matt Westcott
5e13a1d674
Remove old versionadded line
2016-12-15 16:23:05 +00:00
Matt Westcott
f34a696b19
fetch new translations from Transifex
2016-12-15 12:15:10 +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
Janneke Janssen
296023b09a
Fixes untranslated titles in the admin for adding a child page
2016-12-14 18:15:58 +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
251435a759
Apply pluralisation rules to 'X members' on the group deletion confirmation page ( #3212 )
...
(also, say 'members' instead of 'users assigned')
2016-12-09 15:44:42 +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
99325dd2a5
Revert #3116 and fix #3076 by changing href="#" to href="javascript:void(0)" instead - fixes #3208
...
The stopPropagation() call was too eager, as this blocked legitimate clicks on the links in the 'more' dropdown.
Yes, I know javascript:void(0) is evil, but it's less evil than href="#" in that it doesn't have side effects. And if the design calls for an element that has the same styling and interactions as an `<a>` element but just happens to trigger an in-page action rather than navigating to a new URL, I don't see why I should jump through hoops undoing the native style of an alternative element like `<button>` to achieve something that's perfectly simple to do the 'evil' way, and as far as I'm aware has no negative effects other than to cause HTML purists to roll their eyes. SO THERE.
2016-12-08 12:56:50 +00:00
MattRijk
d5ec4fbb93
Fix for issue 3202 Updated dependencies on setup.py -fixes issues with sphinxcontrib-spelling
...
Fixes sphinxcontrib-spelling is throwing an error when installing from setup.py
2016-12-07 22:38:51 +00:00
Matt Westcott
a6dcd8e06b
version bump to 1.8rc1
2016-12-06 22:52:23 +00:00
Matt Westcott
3a36f96dd5
Generate new strings for translation
2016-12-06 22:45:52 +00:00
Matt Westcott
4e181152f0
Fetch new translations from Transifex
2016-12-06 22:42:08 +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
b11c8a9a0b
Eliminate deprecated use of wagtailimages.Filter as a model from modeladmin
2016-12-06 15:05:50 +00:00
Matt Westcott
a002bb8c39
Add some missing test coverage to modeladmin
...
Added an image to the Book model (affecting the index and inspect views), and
renamed TestInspectView tests to test_*
2016-12-06 15:05:49 +00:00
Matt Westcott
1b6575fbfa
Deprecate the use of Filter as an ORM model
...
Warnings are thrown on calling save() and accessing Filter.objects
2016-12-06 15:03:15 +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
cae51db1fc
Perform a deep copy when cloning global Elasticsearch settings ( #3201 )
...
Fixes test failures triggered by #3036 on some combinations of Python and ES versions. These occurred because we were performing deep_update on a shallow copy of the global settings, which meant that if any dicts were merged at a level below the top level, the global settings would be mutated (causing the instance-specific settings to leak into other instances).
2016-12-06 14:59:16 +00:00
Craig Loftus
8c4644f4ca
wagtailapi.serializers.PageSerializer was calling super(BaseSerializer)
...
This issue was found via lgtm.com/projects/g/torchbox/wagtail/
2016-12-05 21:34:24 +00:00