Matt Westcott
27d90541ae
Add documentation for the updatemodulepaths command
2018-01-26 15:13:23 +00:00
Matt Westcott
4853db6f59
Add wagtail updatemodulepaths command
2018-01-26 15:13:23 +00:00
Matt Westcott
cb69f3a138
Update wagtail command to support multiple sub-commands with individual help
2018-01-26 15:13:23 +00:00
Thibaud Colas
e4a06083af
Add missed ellipsis in test stubs
2018-01-26 14:59:48 +00:00
Thibaud Colas
9346e9750d
Replace triple dots with ellipsis in search commands
2018-01-26 14:59:48 +00:00
Thibaud Colas
7848b908eb
Replace triple dots with ellipsis in all django.po files
2018-01-26 14:59:48 +00:00
Thibaud Colas
8fb0c9a39b
Use ellipsis for "Loading" message
2018-01-26 14:59:48 +00:00
Thibaud Colas
c83eb12b03
Use ellipsis for "Signing in" message
2018-01-26 14:59:48 +00:00
Thibaud Colas
35a78c10e1
Use ellipsis for ellipsistrim template filter
2018-01-26 14:59:48 +00:00
Thibaud Colas
d497ce4553
Use ellipsis for "Publishing" message
2018-01-26 14:59:48 +00:00
Thibaud Colas
069674917f
Use ellpisis for "Saving" message
2018-01-26 14:59:48 +00:00
Thibaud Colas
ce3dbaf167
Use ellipsis for "Uploading" message
2018-01-26 14:59:48 +00:00
Thibaud Colas
8c21b77e1c
Update to latest Draftail
2018-01-26 12:58:11 +02:00
Thibaud Colas
e087e8270b
Fix Draftail media block bottom border in Safari, Android Chrome
2018-01-26 12:34:05 +02:00
Thibaud Colas
0edc5be68c
Remove unneeded Draftail init & save value conversions
2018-01-26 12:33:13 +02:00
Thibaud Colas
95bb2aecf9
Fix Draftail placeholder alignment in full-width field
2018-01-26 12:31:39 +02:00
Thibaud Colas
7d10279ed6
Add data-hallo-editor data attribute as integration point for Hallo plugins
2018-01-26 11:42:16 +02:00
Thibaud Colas
2e9b5e5569
Remove outdated TODOs in Draftail code
2018-01-26 11:34:17 +02:00
Matt Westcott
d483c8d465
Reinstate isort
...
isort was disabled to avoid CI noise and merge conflicts following the renaming of Wagtail's module paths. Now that the last major merge of 2.0 has (hopefully) taken place, it's time to reinstate it.
2018-01-25 17:23:37 +00:00
Matt Westcott
e1325ed4d6
Release notes and documentation for Draftail ( #4136 )
2018-01-25 16:38:38 +00:00
Thibaud Colas
f7d34ff6d5
Update Draftail link filtering to use a real whitelist
2018-01-25 14:34:06 +02:00
Thibaud Colas
f939dd2356
Pin draft-js dependency to v0.10.4 for now
2018-01-24 17:37:57 +02:00
Matt Westcott
20697186e7
Add explanatory comment for parameterless override_settings
...
discussion: https://github.com/wagtail/wagtail/pull/4136#discussion_r162901900
2018-01-24 14:54:18 +00:00
Matt Westcott
f37a62ee46
Neater test for types in content_state_equal
...
discussion: https://github.com/wagtail/wagtail/pull/4136#discussion_r162669531
2018-01-24 14:53:06 +00:00
Matt Westcott
7830fc499c
html_to_contentstate optimisations
2018-01-24 14:46:03 +00:00
Matt Westcott
769b75b1f3
Add comments to make conversion from (name, value) list to dict more explicit
...
https://github.com/wagtail/wagtail/pull/4136#discussion_r162643652
2018-01-24 14:33:02 +00:00
Matt Westcott
62de3f288f
Remove redundant gunk from class declaration lines
2018-01-24 13:57:56 +00:00
Matt Westcott
32985cc9b8
Optimisation - add a global var for alphanumeric characters
...
https://github.com/wagtail/wagtail/pull/4136#discussion_r162639598
2018-01-24 12:39:48 +00:00
Matt Westcott
28ff59e6b4
Remove redundant method override
...
discussion: https://github.com/wagtail/wagtail/pull/4136#discussion_r162253280
2018-01-24 11:58:15 +00:00
Matt Westcott
211cd3dd40
Use constants for whitespace behaviour flag values
...
Discussion: https://github.com/wagtail/wagtail/pull/4136#discussion_r162252303
2018-01-24 11:56:31 +00:00
Matt Westcott
2287624434
Remove redundant test for parent page.
...
Discussion: https://github.com/wagtail/wagtail/pull/4136#discussion_r161831347
2018-01-24 11:30:06 +00:00
Matt Westcott
d2049841e2
Extract InlineEntityElementHandler class from LinkHandler
...
as per discussion at https://github.com/wagtail/wagtail/pull/4136#discussion_r161830948
2018-01-24 11:07:57 +00:00
Matt Westcott
0c675cc7a0
Support single, double and unquoted versions of element-with-attribute selector
2018-01-23 19:51:06 +00:00
Thibaud Colas
63ee902d93
Replace ugettext_lazy + serialisation with direct ugettext
2018-01-19 18:04:41 +02:00
Thibaud Colas
259dcc1f16
Prevent Jest from running tests in build directory
2018-01-19 18:02:49 +02:00
Thibaud Colas
b9369ea141
Fix import path for unit tests
2018-01-18 19:30:01 +02:00
Thibaud Colas
b072b144a3
Fix failing document test
2018-01-18 19:20:43 +02:00
Thibaud Colas
5bdec1e41a
Lint Python files
2018-01-18 19:19:14 +02:00
Thibaud Colas
f115ff7f4d
JS linting fixes
2018-01-18 19:06:04 +02:00
Thibaud Colas
532a530836
Update Draftail tooltip button styles to be closer to other buttons
2018-01-18 18:48:00 +02:00
Thibaud Colas
e72cb44d03
Add default values for document decorator rendering
2018-01-18 18:35:05 +02:00
Thibaud Colas
239365705c
Finish making Draftail toolbar translatable
2018-01-18 18:32:16 +02:00
Thibaud Colas
dc4e65b3b9
Add missing undo/redo controls in Draftail toolbar
2018-01-18 18:32:16 +02:00
Thibaud Colas
fe21055b8e
Add missing line breaks feature to Draftail toolbar
2018-01-18 18:32:16 +02:00
Thibaud Colas
d1f3eebbab
Filter out mailto: links pasted in Draftail
2018-01-18 18:32:16 +02:00
Thibaud Colas
efb3768871
Update to latest Draftail
2018-01-18 18:32:15 +02:00
Thibaud Colas
9f17026fab
Make Draftail ImageBlock alt field readonly for now
2018-01-18 18:32:15 +02:00
Thibaud Colas
5f08013ad2
Reproduce Hallo field styles for Draftail, and adapt padding
2018-01-18 18:32:15 +02:00
Thibaud Colas
a54d5f0498
Filter out absolute links from outside of Wagtail
2018-01-18 18:32:15 +02:00
Thibaud Colas
8742b249f3
Update to latest Draftail
2018-01-18 18:32:15 +02:00