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

7352 Commits

Author SHA1 Message Date
Matt Westcott
70aa876e55 Extra documentation / release note re the relationship between draft_title and get_admin_display_title 2017-08-03 12:05:52 +01:00
Janneke Janssen
64e9baf0c0 Eslint fix within the ExplorerHeader tests 2017-08-03 12:05:52 +01:00
Janneke Janssen
36d3f5dfec Update the React Explorer to use the admin_display_title instead of the regular page title 2017-08-03 12:05:52 +01:00
Janneke Janssen
a77ad34df3 Remove irrelevant tests from the PageCount since it does not have a title dependency when displaying 2017-08-03 12:05:52 +01:00
Matt Westcott
341da5369d Test that custom admin_display_titles are exposed in the admin API 2017-08-03 12:05:52 +01:00
Matt Westcott
78aa7bbd43 Add admin_display_title to admin API 2017-08-03 12:05:52 +01:00
Matt Westcott
4e5d6bcf12 Add test for get_admin_display_title being used in explorer views 2017-08-03 12:05:52 +01:00
Matt Westcott
98c30a33e3 Ensure draft_title is populated when creating pages programmatically 2017-08-03 12:05:52 +01:00
Matt Westcott
8a055addad Don't render a StructValue's template on calls to str(value)
This is liable to cause infinite loops on debug / logging code that attempts to log the fact that it's rendered a template with this value in the context.

Fixes #2874, https://github.com/jazzband/django-debug-toolbar/issues/950
2017-08-02 14:04:47 +01:00
Matt Westcott
17939e5190 release note fixup 2017-08-02 12:28:28 +01:00
Jack P
ee2e44c125 Fix footer collapsing too early (#3719) 2017-08-02 13:45:45 +03:00
Jack P
48e4e346a9 Fix snippet page's header class (#3717, #3703) 2017-08-02 13:17:46 +03:00
Stein Strindhaug
f663c76490 Prevent users from demoting or deactivating themself
Remove is_active and is_superuser fields completely when editing
oneself, to avoid locking oneself out.
2017-08-02 00:13:05 +01:00
Jack P
15965fd0cc Update README.rst 2017-08-01 15:28:41 +01:00
Matt Westcott
2021042d57 Release note for #3605 2017-08-01 15:03:07 +01:00
Matt Westcott
2e5dd9aa55 Refactor #3605 to work alongside 'required' param 2017-08-01 15:02:52 +01:00
ebar0n
993cff3e22 Add validations for min_max_fields on StreamBlock 2017-08-01 10:41:49 +01:00
Edwar Baron
58ad6545be Add ability to specify min/max block counts on StreamBlock 2017-08-01 10:41:48 +01:00
Matt Westcott
14a36f29c0 add missing changelog item for #3315 2017-08-01 10:36:26 +01:00
Matt Westcott
4a5f3072bd Release note and docs for #3315 2017-08-01 00:17:02 +01:00
Loic Teixeira
7556ffed3e Honour StreamField blank flag 2017-07-31 20:50:40 +01:00
Loic Teixeira
e572b3094f Allow StreamBlock to be required 2017-07-31 20:50:40 +01:00
Loic Teixeira
0b9a5814fc Add failing tests for required stream field/block 2017-07-31 18:28:19 +01:00
Matt Westcott
16439193a3 Update Travis config to work with on Trusty architecture (#3739)
* Update Travis config to work with on Trusty architecture

* Explicitly specify Trusty environment
2017-07-28 18:48:01 +01:00
Levi Adler
6bd7515663 Reduce queries and speed up sitemap generation with PageQuerySet.specific (#3727) 2017-07-28 16:07:16 +01:00
Jeffrey Chau
988a2487ef Update documentation to reflect specific behavior of form_classname meta attribute 2017-07-28 15:41:38 +01:00
Bertrand Bordage
42d274a470 Merge pull request #3715 from emorozov/master
Backslash is not necessary when multi-line expression is parenthesized.
2017-07-19 21:03:24 +02:00
Eugene Morozov
7b55c5094f Backslash is not necessary when multi-line expression is parenthesized. 2017-07-18 09:56:42 +03:00
Eugene Morozov
f85f186cea Hide wagtail icon from printed page representation. 2017-07-14 11:49:52 +02:00
Matt Westcott
a9b7265784 Add docs about upgrading and supported Django / Python versions (#3690)
* Add docs about upgrading and supported Django / Python versions

Fixes #2429

* Add table of LTS support periods
2017-07-12 14:50:27 +01:00
Matt Westcott
2bd54431b4 fill in release date for 1.11.1
Conflicts:
	CHANGELOG.txt
2017-07-07 14:40:16 +01:00
Matt Westcott
a0c6e46580 Release note for #3694
Conflicts:
	CHANGELOG.txt
	docs/releases/index.rst
2017-07-07 14:39:28 +01:00
Matt Westcott
6556e0efab Remove erroneous self-closing tag
Thanks to @sivictorallen for the report!
2017-07-07 13:13:20 +01:00
Matt Westcott
8003185ac2 Release note for #3569 2017-07-06 15:23:40 +01:00
Matt Westcott
c7126fce4e Fix permission tester to work (as far as displaying the explorer) when page models are missing 2017-07-06 15:22:06 +01:00
Matt Westcott
ebb87fc703 Fall back on the base Page model for missing models in PageQuerySet.specific()
Fixes #3567
2017-07-06 15:22:06 +01:00
Matt Westcott
4caa860149 Mark 0.8, 1.4, 1.8 and 1.12 as LTS releases in release notes 2017-07-04 15:20:44 +01:00
Karl Hobley
8a8b440532 Put a space back
Accidentally removed by previous commit
2017-07-04 09:58:01 +01:00
Karl Hobley
1d878c6788 Remove a broken link from pages.rst
This link now just leads to a blank page with the message "The Django wiki is no longer used for this information."
2017-07-04 09:56:36 +01:00
Karl Hobley
01e2d5f4a0 Class based embed finders and new embed finder configuration (#2127)
* Allow additional oembed providers to be used (currently all are hardcoded)
 * Make per-provider configuration possible
    * Choose which finders get used for which provider (eg, force use of oembed for instagram but use embedly for everything else)
    * Allow specifying additional parameters for certian providers such as scheme=https to YouTube
2017-07-03 18:28:13 +01:00
Mikalai Radchuk
cc4f941c0a Add release notes for #3285 2017-07-03 10:14:16 +01:00
Mikalai Radchuk
0e4fcc0b39 Add page editing tests for the draft_title field 2017-07-03 10:14:16 +01:00
Mikalai Radchuk
01399d93c9 Add page creation tests for the draft_title field 2017-07-03 10:14:16 +01:00
Mikalai Radchuk
343f463efb Fix the comment for the draft_title field 2017-07-03 10:14:16 +01:00
Mikalai Radchuk
10e237f313 Update the test for page modeladmin 2017-07-03 10:14:16 +01:00
Mikalai Radchuk
644714ef57 Update test data in fixtures and unindent json 2017-07-03 10:14:16 +01:00
Mikalai Radchuk
372a30ab1f Update test data in test code 2017-07-03 10:14:16 +01:00
Mikalai Radchuk
59a9a9e87b Update the admin interface to use the draft_title 2017-07-03 10:14:16 +01:00
Mikalai Radchuk
d5fa07dc4b Save the draft_title on revision creation 2017-07-03 10:14:16 +01:00
Mikalai Radchuk
635c1446ac Add the draft_title field and default value 2017-07-03 10:14:16 +01:00