0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-29 17:36:49 +01:00
Commit Graph

7380 Commits

Author SHA1 Message Date
Matt Westcott
c5fb5cd6d2 Fetch new translations from Transifex 2017-08-10 16:52:02 +01:00
kapito
aed6791088 Optimise caudal oscillation parameters on logo (#3740) 2017-08-10 15:31:29 +01:00
Matt Westcott
f9824236a8 Fix Christine Ho's credit 2017-08-10 14:31:23 +01:00
Matt Westcott
ccd7402471 Release note for #3736 2017-08-10 14:19:35 +01:00
Matt Westcott
fb75faa694 Fix rich text feature tests
Now that the 'p' element (handled by halloheadings) is always-on, we can't use the presence or absence of halloheadings to test whether the default plugins are in force or have been overridden. Check for 'hallolists' instead.
2017-08-10 14:19:34 +01:00
Matt Westcott
9942822fca Make paragraph elements an always-on plugin rather than configurable with plugins 2017-08-10 14:19:34 +01:00
Matt Westcott
c1b9204615 Release notes for rich text features 2017-08-10 14:19:34 +01:00
Matt Westcott
7c99cad62b Documentation for rich text features 2017-08-10 14:19:34 +01:00
Matt Westcott
61149a72a7 Define ol/ul as rich text features 2017-08-10 14:15:22 +01:00
Matt Westcott
c7f612a7fd Add ordering on hallo plugins to ensure toolbar buttons appear in the same order as before 2017-08-10 14:15:22 +01:00
Matt Westcott
a05ada6a44 Define p / h1-h6 as rich text features 2017-08-10 14:15:22 +01:00
Matt Westcott
c043049bb6 Define bold and italic as rich text features 2017-08-10 14:15:21 +01:00
Matt Westcott
7de7130f9f Define hr and link as rich text features 2017-08-10 14:15:21 +01:00
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