Matt Westcott
e39fb5646c
Release note for #2534
2016-08-11 12:04:10 +01:00
Benjamin Bach
bee221b8c9
Make wagtailadmin depend on wagtailcore 0026, fixes #2529
2016-08-11 11:50:01 +01:00
Benjamin Bach
1718926c99
Make migrations in project_template home app reversible
2016-08-11 11:50:01 +01:00
Matt Westcott
7686290007
Rotate deprecation warnings to new versions
2016-08-09 20:11:31 +01:00
Matt Westcott
20df607918
Remove deprecated wagtail.wagtailimages.utils module
2016-08-09 20:11:31 +01:00
Matt Westcott
545c1601da
Remove legacy content_type handling from AdminPageChooser
2016-08-09 20:11:31 +01:00
Matt Westcott
498ced15fb
Remove PageChooserPanel.target_content_type
2016-08-09 20:11:31 +01:00
Matt Westcott
69d86ac3f7
Remove ThisShouldBeAList / SearchFieldsShouldBeAList deprecation helpers
2016-08-09 20:11:31 +01:00
Matt Westcott
5dd35da2cf
Remove legacy support for appending tuples to search_fields
2016-08-09 20:11:31 +01:00
Matt Westcott
bde04c1b8d
I can count, honest
2016-08-09 16:58:41 +01:00
Matt Westcott
9080636903
Version-bump to start work on 1.7
2016-08-09 16:22:14 +01:00
Matt Westcott
bc7739e104
Add usage examples for EmailBlock, IntegerBlock, DecimalBlock
...
Thanks to @OktayAltay for the original pull request.
2016-08-08 20:15:45 +01:00
Mikalai Radchuk
fcea4ee30d
Update "Upgrade considerations" for 1.6 ( #2896 )
...
`AbstractFormField.to_address` also requires migration.
We need to mention it in "Upgrade considerations" for Wagtail 1.6
[skip ci]
2016-08-08 14:56:36 +01:00
anatoly techtonik
b3ab3c4e02
Add another tutorial ( #2894 )
2016-08-05 11:20:55 +03:00
Tom Dyson
5ce99e85c4
credit Caltech ( #2885 )
2016-08-02 17:10:43 +01:00
Matt Westcott
7eed879c6f
Revert "Mark Django 1.10 support as provisional"
...
This reverts commit 0384a18f37
.
2016-08-02 16:11:38 +01:00
Matt Westcott
0384a18f37
Mark Django 1.10 support as provisional
2016-08-01 15:02:01 +01:00
Matt Westcott
36564ac0fa
Version bump for 1.6rc1
2016-08-01 14:37:01 +01:00
Matt Westcott
8dd1b55260
Generate new translation strings ( #2884 )
2016-08-01 14:32:43 +01:00
Matt Westcott
5e27a94ca1
Pull new translations from Transifex (2016-08-01) ( #2883 )
...
* Pull new translations from transifex
* Update translator credits
2016-08-01 14:23:11 +01:00
Matt Westcott
ca02019404
Release note for #2838
2016-08-01 13:07:25 +01:00
Jesse Legg
ed9758d378
Fixes bad SQL syntax for _update_descendant_url_paths on Microsoft SQL Server ( #2838 )
2016-08-01 13:05:32 +01:00
Matt Westcott
43269fd763
Release note for #2869
2016-08-01 13:00:36 +01:00
Matt Westcott
8f5439599a
Simplify the `Q(depth=menu_root_depth)` clause
...
As per 0b4966b8c0 (r72447103)
, it's only ever required for the root level.
2016-08-01 12:31:27 +01:00
Matt Westcott
fb4a3621dc
Move get_navigation_menu_items to a new wagtail.wagtailadmin.navigation module
2016-08-01 12:31:27 +01:00
Matt Westcott
39319f2191
Limit explorer menu nav to the subtree the user has permission over
...
Partially addresses #2401 ; adapted from #2463 .
Updates the explorer-nav logic to take the user's permissions into account.
The menu now begins at the closest common ancestor node of all pages they
have add/edit/publish/lock permission for - as a result, users with
permission over a specific deep section of the tree don't have to redundantly
drill down to it, and we're a step closer to true 'multi-homed' installations
where the user is not made aware of tree structure that exists outside of
their own remit.
2016-08-01 12:31:26 +01:00
Matt Westcott
043db8549d
Release note for #2879
2016-08-01 11:36:02 +01:00
Adriaan Tijsseling
b81997cb0b
Fixing template variables ( #2879 )
...
* subtitle is not always defined.
* model_name_plural does not exist. Should be verbose_name_plural.
2016-08-01 11:32:43 +01:00
Eraldo Energy
1a956be2f2
Added file handling to support custom user add/edit forms.
2016-07-29 17:02:31 +01:00
Matt Westcott
cceb216536
Fix --schema-only to not expect an argument - fixes #2788
2016-07-29 16:41:28 +01:00
Matt Westcott
5dee12508d
Mark django-medusa as no longer maintained
2016-07-29 15:54:52 +01:00
Matt Westcott
28c8ae3ab9
Revert "Refactor: remove Filter as a Django model."
...
This reverts commit 4d7bdfd160
.
Conflicts:
CHANGELOG.txt
docs/releases/1.6.rst
2016-07-29 14:49:01 +01:00
Matt Westcott
2773ffb31a
Revert "Split remove_filter_model migration to prevent Postgres errors - fixes #2754"
...
This reverts commit 87e9c63dbf
.
2016-07-29 14:47:15 +01:00
Karl Hobley
2ea14994ff
Fixed bug causing nested objects to be mapped with parents mapping class ( #2572 )
...
Nested objects that are defined using RelatedFields were being mapped into Elasticsearch using the parent model's mapping.
For example, if we index a page with tags, the tags were being mapped with the Page mapping instead of the Tag mapping.
This doesn't make any difference for Elasticsearch 1, but Elasticsearch 2 needs to prefix fields if there are defined on a child model and it was doing this across the related fields as well.
This fix is covered by the tests coming in the Elasticsearch 2 backend.
2016-07-29 13:16:26 +03:00
Karl Hobley
210b8532d9
[Elasticsearch 2] Make deciding index column names the responsibility of the search backend ( #2571 )
...
We need to prefix some fields in Elasticsearch 2 but not Elasticsearch 1. Moving this code into the ElasticsearchMapping class allows us to override it.
It also makes sense to have this sort of thing in the backend rather than the core as other search backends we add in the future may want different behaviour as well.
2016-07-29 12:38:56 +03:00
Karl Hobley
95563dabb7
Added parse_boolean function
...
This commit adds the ability to use true/false on boolean fields and also validates integers properly
2016-07-29 10:39:48 +03:00
Karl Hobley
6115f84e38
Implement API v2 fields changes (RFC 5) ( #2484 )
2016-07-28 18:22:11 +03:00
Matt Westcott
5dfcdfb2a6
Release note for #2872
2016-07-28 11:41:12 +01:00
Fábio Macêdo Mendes
a3b850f37e
Stop instance-bound descriptors from breaking RoutablePageMixin ( #2872 )
...
Fixes #2870
2016-07-28 11:38:02 +01:00
Karl Hobley
e4bb09fd8d
Changelog/release note for #2811
2016-07-28 10:06:50 +01:00
Karl Hobley
4c62d8f4a3
Tweaks to the output of the update_index command ( #2873 )
2016-07-27 17:30:50 +01:00
Matt Westcott
6886e89e41
Tweak wording for include_block tag documentation
2016-07-27 17:04:19 +01:00
Mikalai Radchuk
d696d6bf9f
Adds docs for a Jinja2 version of include_block
2016-07-27 16:52:14 +01:00
Matt Westcott
3c5c69138c
Mention jinja2 include_block tag in 1.6 release notes
2016-07-27 16:52:14 +01:00
Mikalai Radchuk
c2548c5b30
Tests for a Jinja2 version of heading_block tag
...
Conflicts:
wagtail/wagtailcore/tests/test_jinja2.py
2016-07-27 16:52:14 +01:00
Mikalai Radchuk
a6d021d146
A Jinja2 version of {% include_block %} tag
2016-07-27 16:52:14 +01:00
Matt Westcott
ad1f6716c5
Add Sean Muck to contributors
2016-07-27 14:31:01 +01:00
Matt Westcott
751aceb261
Remove now-unnecessary dirty form checks on save/preview shortcuts
...
Save is handled by the 'is this a form submission' check, and preview was probably
never needed at all (preview opens in a new window and does not unload the page,
unless there's a validation error, which is handled separately)
2016-07-27 14:30:26 +01:00
Matt Westcott
aa9025c798
Make validation errors on formsets trigger the alwaysDirty flag
...
When the page edit form is redisplayed on validation errors, we set alwaysDirty on the
dirty form handler logic so that navigating away triggers the unsaved changes warning
even if no further changes are made. However, the old code tested `form.errors`, which
fails to catch validation errors originating from formsets.
2016-07-27 14:30:26 +01:00
Matt Westcott
c1a2646b10
Remove ignoredButtonsSelector logic, redundant now that we're checking for a form submit event instead
2016-07-27 14:30:26 +01:00