0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-12-01 11:41:20 +01:00
Commit Graph

6560 Commits

Author SHA1 Message Date
Matt Westcott
796cb2ee01 Rewrite fill_filter_spec_reverse to only perform one query per filter, rather than per rendition 2016-09-20 15:38:36 +01:00
Matt Westcott
e4ef66309e Make filter_spec a non-nullable field
See https://github.com/torchbox/wagtail/pull/2910#issuecomment-243769909 - this ensures that any server processes running the pre-migration code will fail on creating renditions, rather than creating one with a null filter_spec that goes unchecked
2016-09-20 15:38:36 +01:00
Matt Westcott
b390c21227 Use a more efficient method to populate Rendition.filter_spec
We now perform one bulk update for each filter record, rather than updating each Rendition record individually.
2016-09-20 15:38:36 +01:00
Matt Westcott
8dc1d9c342 Document the steps for creating a filter_spec migration for a custom image model 2016-09-20 15:38:36 +01:00
Matt Westcott
fbe26f4708 Move migration helper functions into wagtailimages.utils 2016-09-20 15:38:35 +01:00
Matt Westcott
04fb814138 Add system check for custom image models that need a filter_spec data migration 2016-09-20 15:38:35 +01:00
Matt Westcott
690153c5b9 Add a filter_spec field on Rendition to track the filter spec string used
This is an initial step towards retiring Filter as a model (#2881). We
cannot go further than this in the present release, as we want to retain
the ability for developers with custom image models to use the Django
migration autodetector - this implies that all schema changes pertaining
to a Wagtail point release must happen in one go (there's no possibility
of applying a schema migration, then a data migration, then another schema
migration).
2016-09-20 15:38:35 +01:00
Mikalai Radchuk
b1d10db7f2 Release notes for #3002 2016-09-19 19:31:37 +03:00
Matt Westcott
ec7ef7ba77 Include all WSGI-mandated headers in Page.dummy_request
As specified by https://www.python.org/dev/peps/pep-3333/#environ-variables . Fixes #2989
2016-09-19 19:31:10 +03:00
Matt Westcott
89f4699a91 Fix underlines 2016-09-19 13:51:04 +01:00
Matt Westcott
86e60fd4a3 Mention where to access the styleguide - fixes #3009 2016-09-19 13:49:52 +01:00
Matt Westcott
c6666c6de5 Disable escape key on rich text fields - fixes #2998 2016-09-16 15:19:12 +01:00
Matt Westcott
8aa316c575 Correct description of 'title' class on FieldPanel - fixes #2990 2016-09-15 17:02:25 +01:00
Matt Westcott
b0aa210078 Recognise classname parameter on InlinePanel. Fixes #1316 2016-09-15 16:44:51 +01:00
Tim Heap
b4a87d93aa Add hints for technical details in issue template (#2999)
The more information we get, the easier it is for users to provide it,
and the more accurate that information is, the better!
2016-09-15 10:11:36 +01:00
Karl Hobley
4dc1ef05f8 Removed unused import from example
Thanks @timheap for spotting
2016-09-15 09:18:04 +01:00
riceyrice
d6b9735141 Allow editing of images and embeds by passing params in querystring
Allows Wagtail TinyMCE editor to edit existing images and embeds.
Hallo editor requires development to take advantage of this capability.
2016-09-14 17:21:38 +01:00
Matt Westcott
01d63bfb61 fix double-backticks 2016-09-14 16:54:30 +01:00
Matt Westcott
a7af8f7da3 Release note for #2997 2016-09-14 16:54:02 +01:00
Karl Hobley
8b9b2ced36 Docs for new hooks 2016-09-14 16:52:28 +01:00
Karl Hobley
0b9bb1d9ad Added tests for editor workflow customisation hooks 2016-09-14 16:52:28 +01:00
Karl Hobley
005e2e7a37 Add before_delete_page hook 2016-09-14 16:52:28 +01:00
Karl Hobley
d60bde68c3 Add before_edit_page hook 2016-09-14 16:52:28 +01:00
Karl Hobley
d61f91be7c Added before_create_page hook 2016-09-14 16:52:27 +01:00
Jayden Smith
5732e215b0 Allow passing of options into Rich Text Editor. 2016-09-14 15:33:45 +01:00
eprikazc
e1c3a751ca Fix flake8 complaint in group_models_by_index (#2993)
F812 list comprehension redefines 'models' from line 13
2016-09-13 17:00:08 +01:00
Matt Westcott
67e46f9a33 Merge pull request #2987 from jjanssen/feature/github_templates
Adds an Issue and a Pull request template to Github
2016-09-13 10:58:32 +01:00
Janneke Janssen
574994f6c3 Updated with feedback from Tom 2016-09-08 14:38:00 +02:00
Matt Westcott
3b4c24e0b5 Release note for #2619 2016-09-08 12:10:53 +01:00
João Luiz Lorencetti
7be973f958 Applied patch from #1911, limit the inner select and create a new index 2016-09-08 12:06:08 +01:00
Kees Hink
8d337b13df Add failing test for #1646
Signed-off-by: João Luiz Lorencetti <me@dirtycoder.net>
2016-09-08 12:06:07 +01:00
Michael Cordover
54aec63fea Fixes #1646
Use a raw query to fetch last edits list so we can fetch the most recent edits by this user, even if the page has been later edited by someone else.

TODO: tests

Signed-off-by: João Luiz Lorencetti <me@dirtycoder.net>
2016-09-08 12:04:55 +01:00
Janneke Janssen
3cbfa6ba82 Adds an Issue template and a Pull request template to Github 2016-09-08 12:03:16 +02:00
digia
875d2fcbd4 Fix bug with forcing a user to exist on request
Allow for testing views without having to mock a user on the request.
2016-09-06 17:28:05 +01:00
Matt Westcott
6c57aba8a2 Mark 1.7 as in development 2016-09-06 14:46:13 +01:00
Matt Westcott
1181a4ea8e Add content_panels declarations to i18n duplicate tree example code - fixes #2981 2016-09-06 10:44:33 +01:00
Matt Westcott
d767d547a5 Merge pull request #2980 from tobiase/patch-1
Update settings.rst
2016-09-05 13:28:30 +01:00
Tobias
ceec8c2d9f Update settings.rst
Fix typo.
2016-09-05 14:24:33 +02:00
Matt Westcott
29e7c0740b Release note for #2971 2016-09-05 11:48:26 +01:00
Luiz Boaretto
4099b633ed "Save" translatable 2016-09-05 11:45:59 +01:00
Luiz Boaretto
1924d403ba Make Visibility and Password translatable
On PageViewRestrictionForm restriction_type and password fields current not translatable.
2016-09-05 11:45:59 +01:00
Matt Westcott
95106fe924 Merge pull request #2974 from lboaretto/modeladmin-doc-fix-typo
Fix typo on modeladmin docs
2016-09-04 21:56:00 +01:00
Luiz Boaretto
24feca5333 Fix typo on modeladmin docs 2016-09-04 12:43:39 -03:00
Mikalai Radchuk
5fdbae4be7 Adds a user and a page to the validation form 2016-09-02 15:25:26 +01:00
Mikalai Radchuk
0451d65bc9 Ability to change FormSubmission class 2016-09-02 15:25:26 +01:00
Matt Westcott
eca66c409d fill in release date for 1.6.2 2016-09-02 10:36:06 +01:00
Matt Westcott
1d5475672e Release note for #2577 2016-09-01 16:20:57 +01:00
Matt Westcott
0e052f3db8 Optimise (and fix ordering of) submission queries 2016-09-01 15:59:12 +01:00
Matt Westcott
f2b4e4758a Use verbose name for FormSubmissionsPanel heading 2016-09-01 15:45:24 +01:00
dirtycoder
959723eddb Create a panel to display informations about the submissions for form pages, fix #406 2016-09-01 15:22:30 +01:00