Commit graph

6806 commits

Author SHA1 Message Date
Matt Westcott
5d1351ff26 Specify Sphinx <2.0 for Python 2 compatibility 2019-08-09 22:02:48 +01:00
Matt Westcott
27687eb1cc update modelcluster/taggit in doc dependencies 2017-04-21 18:50:44 +01:00
Matt Westcott
a2a88eca5e Fill in release date for 1.8.2 2017-04-21 15:19:12 +01:00
Matt Westcott
b6e908a7d3 Release note for #3252 backport to 1.8.x 2017-04-21 15:08:01 +01:00
Matt Westcott
fbc25945a0 Throw a form validation error when recursively copying a page to self 2017-04-21 15:06:25 +01:00
Matheus Bratfisch
11e92ab7f6 Fix #3240 - Implement is_descendant_of on copy to check to node 2017-04-21 15:03:49 +01:00
Matt Westcott
c43cf8ad2d Release note for #3277 backport to 1.8.x 2017-04-21 14:49:55 +01:00
Matt Westcott
976671cee5 Prevent signal handlers from indexing the content of fields omitted from save(update_fields=[...]).
Fixes #3239
2017-04-21 14:46:23 +01:00
Matt Westcott
94da5f8c1b Add tests for search indexing signal handlers 2017-04-21 14:46:02 +01:00
Matt Westcott
0a269604a1 Fix tests for indexing functions to disregard operations that are triggered by post_save signals
test_removes_object wrongly asserted that the 'add' method (not 'delete') was called; this should have failed, but didn't, because the mock was picking up the 'add' call that happened during object creation as a result of the post_save signal. Here we insert calls to .reset_mock() to stop the signals from interfering with the tests, and fix the broken assertion that was masked by this bug.
2017-04-21 14:45:51 +01:00
Matt Westcott
026b177a92 formatting fix to |safe release note 2017-04-21 14:41:18 +01:00
Matt Westcott
10fa767a3f Release note for backported |safe filter fix (bbcbb5d) 2017-04-21 14:27:19 +01:00
Matt Westcott
bbcbb5de0e Remove erroneous |safe filter from search results template 2017-04-21 14:26:18 +01:00
Matt Westcott
6cd7f3f49f Version bump to 1.8.2 2017-04-21 14:25:52 +01:00
Matt Westcott
7301bf716c Doc placeholders for 1.8.2 2017-04-21 14:25:18 +01:00
Matt Westcott
0930a19ab7 Version bump for 1.8.1 final 2017-01-26 16:17:47 +00:00
Matt Westcott
192e279d59 remove 'IN DEVELOPMENT' text from 1.8.1 2017-01-26 16:17:12 +00:00
Matt Westcott
c5c8afc196 Release note for #3256 2017-01-26 12:34:40 +00:00
Matt Westcott
a6f73b699a Version bump to 1.8.1a0 2017-01-26 12:26:00 +00:00
Matt Westcott
fdc313a930 Fiddle max_length in focal_point_key migrations to make them superficially different
This prevents the migration engine from optimising them away - see https://github.com/wagtail/wagtail/pull/3293#issuecomment-274828807
2017-01-26 12:26:00 +00:00
Matt Westcott
0ec2bdb406 Reduce focal_point_key max_length to 16 2017-01-26 12:26:00 +00:00
Matt Westcott
bd88880832 Remove redundant filter() in tutorial example. Fixes #3280
Thanks to @gogobook for the report!
2017-01-25 20:01:38 +00:00
Matt Westcott
8dfa9aef2d Update tutorial wording to clarify that templates are not created automatically (#3290)
Based on feedback at http://stackoverflow.com/questions/41751034/template-file-not-created-after-adding-page-class-to-models-py
2017-01-25 20:01:15 +00:00
Matt Westcott
0586eeadce 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-25 20:00:10 +00:00
Matt Westcott
dd5ea07151 Update project template + docs to clarify that wagtail_urls should appear at the end of urlpatterns 2017-01-13 17:08:52 +00:00
Matt Westcott
1035d1445b 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:48:56 +00:00
Matt Westcott
e768ba00ca Version bump for 1.8 final 2016-12-15 12:22:50 +00:00
Matt Westcott
c3d35d162f fetch new translations from Transifex 2016-12-15 12:16:47 +00:00
Matt Westcott
bf8b3edf77 set release date for 1.8 2016-12-15 12:16:31 +00:00
Matt Westcott
8c7ac5054a Update links to github.com/torchbox to point to github.com/wagtail 2016-12-15 11:50:11 +00:00
Matt Westcott
39436dd17e Add breadcrumb permission limits and tutorial to 1.8 major feature list 2016-12-14 17:54:51 +00:00
Tom Dyson
4f162885b6 1.8 release notes - 'other', not 'minor' (#3218) 2016-12-14 11:42:35 +00:00
Mihail Russu
e1aeb9ea4b 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:08:30 +00:00
Matt Westcott
f194130e47 Image / updated writeup for page privacy feature in 1.8 2016-12-09 15:31:06 +00:00
Matt Westcott
d7f4dab1fa 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 16:47:41 +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
Matt Westcott
f2fcfe54a2 Release note for #3193 2016-12-05 19:23:29 +00:00
Matt Westcott
e953cb36dc Limit the explorer breadcrumb to the pages the user has explore permission over
Refactor of #3133
2016-12-05 19:04:19 +00:00
Matt Westcott
2a76a30e7b Convert breadcrumb.html include into a custom tag 2016-12-05 19:04:18 +00:00
Matt Westcott
44508fd7bb Split breadcrumb template into chooser/explorer versions instead of 'choosing' flag 2016-12-05 19:04:18 +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