Wykres commitów

8161 Commity (b30c722728c426a3980caaa6aba3e2f632abfe99)

Autor SHA1 Wiadomość Data
Matt Westcott ce0aa1f716 Fix conversion between db-format attributes and contentState data for images
Draftail expects 'alt' and 'format' to become 'altText' and 'alignment'.

Also ensure that the image chooser continues to the alt-text/format selection stage.
2018-01-17 21:59:32 +02:00
Matt Westcott b0f8cd12b2 Handle image_formats parameter on ImageFeature 2018-01-17 21:59:32 +02:00
Thibaud Colas f647c9f270 Fix JS error in Draftail sources because of script execution order 2018-01-17 21:59:32 +02:00
Matt Westcott 0f10d42e92 draftail uses 'alignment' property on images instead of 'format' 2018-01-17 21:59:31 +02:00
Matt Westcott 3d435327b6 Recover from block-level entities being (illegally) contained in other blocks 2018-01-17 21:59:31 +02:00
Matt Westcott e107812393 Move image/document/embed helpers out of wagtail.admin.rich_text into their respective wagtail.app.rich_text modules 2018-01-17 21:59:31 +02:00
Matt Westcott 1ceff85f12 Use feature registry to manage contentstate conversion rules 2018-01-17 21:59:31 +02:00
Matt Westcott 6ceee1a6ce implement hr 2018-01-17 21:59:31 +02:00
Matt Westcott ff0e601c61 implement media embeds 2018-01-17 21:59:31 +02:00
Matt Westcott d395b09849 implement image embeds 2018-01-17 21:59:31 +02:00
Matt Westcott 95fda6b116 implement document links 2018-01-17 21:59:31 +02:00
Matt Westcott 10453ff58f Support matching elements by attribute rules, and implement internal/external links 2018-01-17 21:59:31 +02:00
Matt Westcott dd2bd5b161 Refactor handle_starttag/handle_endtag to keep track of the original handler 2018-01-17 21:59:31 +02:00
Matt Westcott 5660bb85f4 Add test for external link 2018-01-17 21:59:31 +02:00
Matt Westcott ddc9ba30d2 Hook up feature definitions to draftail editor 2018-01-17 21:59:31 +02:00
Matt Westcott 450edd24aa Add horrible-but-necessary logic for normalising whitespace 2018-01-17 21:59:31 +02:00
Matt Westcott aa3b588cf4 Gracefully handle bare content at the top level 2018-01-17 21:59:31 +02:00
Matt Westcott 808ad56e0f gracefully handle unrecognised elements at the top level 2018-01-17 21:59:31 +02:00
Thibaud Colas 1378b766ee Finish hooking up Draftail CSS & JS to Django widget 2018-01-17 21:59:31 +02:00
Thibaud Colas 9dc0ee47dd Fix linting issues in Draftail 2018-01-17 21:59:31 +02:00
Thibaud Colas 8ce14cfb00 Integrate Draftail-related assets with Django widget 2018-01-17 21:59:31 +02:00
Thibaud Colas e18d490859 Integrate Draftail with wagtail-client package, Webpack, Sass 2018-01-17 21:59:31 +02:00
Thibaud Colas c163d93b72 Add Draftail component from https://github.com/springload/wagtaildraftail/ 2018-01-17 21:59:31 +02:00
Thibaud Colas 00009252ac Add Draftail and Draft.js to dependencies 2018-01-17 21:59:31 +02:00
Matt Westcott 9fe86dde5d Implement conversion from contentstate to database rich text format 2018-01-17 21:52:48 +02:00
Matt Westcott 6806cff2d5 Add skeleton DraftailRichTextArea, with provision for converting from dbHTML to contentstate 2018-01-17 21:52:48 +02:00
Matt Westcott df0a6354ab Move hallo widget to wagtail.admin.rich_text.editors.hallo 2018-01-17 21:52:48 +02:00
Thibaud Colas 9f65e7001f Release notes for #3806 2018-01-17 21:48:44 +02:00
Janneke Janssen 4268ed3c3a Update autoprefixer list on browser support 2018-01-17 21:48:17 +02:00
Janneke Janssen 3e28b57c77 Regenerate package-lock with npm@5.6.0. Fix #3806 2018-01-17 21:48:17 +02:00
Janneke Janssen 327ffdcb82 Configure CircleCI to use node 8 2018-01-17 21:48:17 +02:00
Janneke Janssen 28dd28187a Update React and related dependencies to latest versions
Updated snapshots due to the upgrade and failing ExplorerPanel test. This was due to the shallow call being made earlier than defining the document.body
Update to React 16
Update other dependencies
Stylelint updates
Remove unused imports
Update babel and gulp packages
Update package-lock
2018-01-17 21:48:17 +02:00
Matt Westcott 925b0bd021 Reinstate error reporting on image upload from #2167 2018-01-17 16:32:58 +00:00
Matt Westcott 95b394e5e5 Make 'add/change/delete collection' permission configurable on group edit page 2018-01-17 15:17:42 +00:00
Matt Westcott 8c0b9b0bc1 Release note for #4050 2018-01-16 00:34:00 +00:00
Patrick Woods c9704caf17 Documentation edits 2018-01-15 22:58:00 +00:00
Patrick Woods 7d43a45dd3 Specific messaging when scheduling revisions for live pages 2018-01-15 22:58:00 +00:00
Patrick Woods 3f0972507b Initial scheduled publishing documentation. 2018-01-15 22:58:00 +00:00
Patrick Woods bb1094848f Unschedule view 2018-01-15 22:58:00 +00:00
Patrick Woods e2b5f65a13 Unschedule buttons, url, and stub view 2018-01-15 22:58:00 +00:00
Patrick Woods d44d43b8a7 Revisions list Scheduled revision indicator 2018-01-15 22:57:59 +00:00
Patrick Woods ad440ff060 New status string to indicate [live + scheduled] 2018-01-15 22:57:59 +00:00
Patrick Woods 52e76095d9 We only need to test the writeability of first_published_at.
We don't need to update go_live_at and expire_at to test it.
2018-01-15 22:57:59 +00:00
Patrick Woods 0a6db9bd05 Tests to cover scheduling with already live pages 2018-01-15 22:57:59 +00:00
Patrick Woods ec953d1ae8 Update Current Scheduling tests to have a non live Page 2018-01-15 22:57:59 +00:00
Patrick Woods 9a0e02c14f Don't run through publish workflow if page has existing live revision 2018-01-15 22:57:59 +00:00
Patrick Woods 702ac03f7e Store original revision go_live_at for messaging purposes 2018-01-15 22:57:59 +00:00
Matt Westcott 5fc191b116 Simplifies edit handlers by removing redundant classes.
This also allows to provide some missing arguments to panels like PageChooserPanel.
2018-01-13 17:21:36 +00:00
Chris Bledsoe 3d945d0255 extract get_template method to allow overriding template on instances of blocks
to allow for customization and make the Block type mirror how the Page model allows for a get_template method to override it.

add per contrib guidelines
2018-01-11 16:03:22 +00:00
Tom Dyson 49bc130b16 simple Dockerfile 2018-01-11 15:25:23 +00:00