Matt Westcott
e18ff940c9
Include halloreundo / hallorequireparagraphs plugins unconditionally
2017-08-10 14:15:21 +01:00
Matt Westcott
32f6f6e8f2
Use HalloPlugin media definitions to import JS for our default plugins.
...
To make this work, we need an explicit 'default features' list so that the relevant HalloPlugin objects
are available even in the default setup (where no 'features' list is supplied). In this case we
special-case HalloRichTextArea to use the global halloPlugins js config rather than building one
properly via construct_plugins_list, to ensure that legacy setups that hack halloPlugins will
continue to work (for now).
2017-08-10 14:15:21 +01:00
Matt Westcott
49193243f4
Support defining media (js/css) in HalloPlugin objects
2017-08-10 14:15:21 +01:00
Matt Westcott
092cc8affc
Allow passing features list via OPTIONS in WAGTAILADMIN_RICH_TEXT_EDITORS
2017-08-10 14:15:21 +01:00
Matt Westcott
3532f8662a
Support building a custom hallo plugins list from a 'features' kwarg on RichTextField
2017-08-10 14:15:21 +01:00
Matt Westcott
31cf4b68d1
Implement a registry for rich text features
2017-08-10 14:15:20 +01:00
Matt Westcott
517f1871e7
Allow specifying hallo.js plugins via OPTIONS in WAGTAILADMIN_RICH_TEXT_EDITORS
2017-08-10 14:15:20 +01:00
Matt Westcott
0f5db96364
Add WAGTAILUSERS_PASSWORD_ENABLED and WAGTAILUSERS_PASSWORD_REQUIRED settings
...
Fixes #3706 . These options restore the ability to create users with no password set on the Django side, for setups where authentication is managed externally (e.g. LDAP) - this was inadvertently dropped in Wagtail 1.10 when the form validation was tightened up (#3007 ). Additionally, the password fields can now be removed entirely, to enforce the use of an external auth setup.
2017-08-10 10:11:47 +01:00
Jack P
f9aebb77d7
Fix inconsistent footer width ( #3723 )
2017-08-08 21:55:08 +03:00
Thibaud Colas
85286699d2
Release notes for #3748
2017-08-08 21:41:37 +03:00
Jack P
5cdf93e9ce
Fix position of options in mobile nav-menu ( #3748 )
2017-08-08 21:36:10 +03:00
Karl Hobley
3163f77d2a
Changelog/contributor/release note for #3701
2017-08-04 14:32:57 +01:00
cho-leukeleu
283d282d31
Return the created submission instance
2017-08-04 11:33:57 +01:00
kapito
b6e01515cb
fix deprecated load() function
2017-08-03 19:47:16 +01:00
Matt Westcott
8ba95cb664
Add release note about the need to specify draft_title in fixtures
2017-08-03 13:24:24 +01:00
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