Jeffrey Chau
c26e019ed1
Followup to #3640 . Fix hidden field rendering in other document forms
2017-08-11 11:25:04 +01:00
Matt Westcott
7a1455551b
Move logo animation code to core.js, as per https://github.com/wagtail/wagtail/pull/3740#pullrequestreview-55668086
2017-08-11 11:04:18 +01:00
Karl Hobley
2e81c30ca5
Changelog/release note for #3344
2017-08-11 10:18:21 +01:00
Matt Westcott
b376da022f
Grammar nitpick ('By default' sounds more natural than 'Per default')
2017-08-11 09:58:44 +01:00
Matt Westcott
913607c939
Take MRO into account when constructing RoutablePageMixin's list of routes
...
This ensures that routes can be overridden in subclasses, while still respecting the definition order within a class definition.
2017-08-11 09:58:44 +01:00
Andreas Nüßlein
44a1c28481
Update tests.py
2017-08-11 09:58:44 +01:00
Andreas Nüßlein
39bca11283
added default index_route for RoutablePageMixin
...
RoutablePageMixin has a default index_route method that is decorated
with `@route(r'^$')`. This way, including RoutablePageMixin doesn't
force you to re-enable the default functionality you would expect from a
Page anyways.
index_route behaves exactly like a standard Wagtail Page.
To override the default behaviour, one can simply override the route by
decorating another function with r'^$'.
(as disussed in issue #2866 )
2017-08-11 09:58:44 +01:00
kapito
e008838d53
Non-obstructive navbar toggle icon
...
Changes the design of the navbar toggle slightly so that it no longer obstructs page headers.
Currently: https://cdn.pbrd.co/images/GAruhHC.png , https://cdn.pbrd.co/images/GArxXtn.png
With fix: https://cdn.pbrd.co/images/GArvF7ec.png , https://cdn.pbrd.co/images/GArwp3o.png
2017-08-11 03:41:51 +03:00
Matt Westcott
5c0fc1197b
Generate new strings for translation again (for the word 'Swedish'...)
2017-08-10 17:06:06 +01:00
Matt Westcott
fd3ef0d8b0
Add Swedish to default wagtailadmin languages list
2017-08-10 16:58:36 +01:00
Matt Westcott
8e38f255de
Generate new strings for translation
2017-08-10 16:55:11 +01:00
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