Skip to content

Conversation

@dependabot-preview
Copy link

@dependabot-preview dependabot-preview bot commented Oct 1, 2020

Bumps djangocms-text-ckeditor from 3.8.0 to 4.0.0.

Changelog

Sourced from djangocms-text-ckeditor's changelog.

4.0.0 (2020-09-15)

  • Added support for Django 3.1
  • Dropped support for Python 2.7 and Python 3.4
  • Dropped support for Django < 2.2
  • Ensure that correct urls are generated when static files are hosted on a CDN

* Allow to style WYSIWYG content based on parent plugins, by adding CMSPluginBase.child_ckeditor_body_css_class to a parent (#520) * Upgrade to CKeditor version to 4.14.1

3.10.0 (2020-08-04)

  • Upgrade to CKeditor version 4.14.0.
  • Replace icon for CMS plugins with nicer looking SVG puzzle piece.
  • Prevent clean_html from sanitizing when TEXT_HTML_SANITIZE is False.

3.9.1 (2020-05-20)

  • Fix compatibility issue with Django-3.0 in Field.from_db_value().

3.9.0 (2020-02-20)

  • Added support for Django 3.0
  • Added support for Python 3.8
  • Removed Aldryn Boilerplate support
Upgrade guide

Sourced from djangocms-text-ckeditor's upgrade guide.

====================================== Upgrade to a newer version of CKEditor

Simple upgrade

Download the latest minified version of ckeditor, bundled with all configured CKEditor-4 plugins. The correct URL can be found in djangocms_text_ckeditor/static/djangocms_text_ckeditor/ckeditor/build-config.js under (3).

Unzip that file and replace djangocms_text_ckeditor/static/djangocms_text_ckeditor/ckeditor with it.

Rebundle everything running gulp build.

Full upgrade

This requires to access the sources of CKEditor. Clone the repository and build CKEditor:

.. code:: bash

git clone https://github.com/ckeditor/ckeditor4.git
cd ckeditor4
./dev/builder/build.sh --leave-js-unminified

This creates an unminified release of CKEditor, which is useful for debugging. In a production environment, remove the option --leave-js-unminified.

djangocms-text-ckeditor reuses two plugins from CKEditor-4, which are patched to work inside django-CMS. These plugins are found at djangocms_text_ckeditor/static/djangocms_text_ckeditor/ckeditor_plugins/cmsdialog/plugin.js and djangocms_text_ckeditor/static/djangocms_text_ckeditor/ckeditor_plugins/cmsresize/plugin.js. These plugins have been derived from ckeditor4/plugins/plugins/dialog/plugin.js and ckeditor4/plugins/plugins/resize/plugin.js respectively.

The current version of djangocms-text-ckeditor is based on the version 4.14.0 of CKEditor4. If these two plugins have to be ported to a later version, first make a diff -u ... against version 4.14.0, then copy these plugins into the current folders, cmsdialog and cmsresize. Then switch back to the latest version of CKEditor-4 and apply the patches previously created.

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Oct 1, 2020
@dependabot-preview dependabot-preview bot force-pushed the dependabot/pip/djangocms-text-ckeditor-4.0.0 branch 3 times, most recently from 0f3a3d6 to 99b909a Compare October 4, 2020 19:31
@dependabot-preview dependabot-preview bot force-pushed the dependabot/pip/djangocms-text-ckeditor-4.0.0 branch from 99b909a to af41bd5 Compare October 18, 2020 16:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant