Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 2, 2024

Bumps django-tinymce from 3.5.0 to 4.1.0.

Release notes

Sourced from django-tinymce's releases.

4.1.0

What's Changed

New Contributors

Full Changelog: jazzband/django-tinymce@4.0.0...4.1.0

4.0.0

  • Upgrade embedded TinyMCE from 5.10.7 to 6.8.3

The spellchecker plugin is gone (including USE_SPELLCHECKER setting). Use the browser_spellcheck TinyMCE option (activated by default) to enable browser-based spellchecking.

Changelog

Sourced from django-tinymce's changelog.

Changelog #########

This document describes changes between each past release.

4.0.1 (2024-06-21)

  • Upgrade embedded TinyMCE from 6.8.3 to 6.8.4
  • Renamed toolbar elements (namely formatselect is now blocks) to follow TinyMCE 6 renames. Also removed from the docs examples some buttons only available through paid subscriptions (#470).

4.0.0 (2024-03-27)

  • Upgrade embedded TinyMCE from 5.10.7 to 6.8.3

The spellchecker plugin is gone (including USE_SPELLCHECKER setting). Use the browser_spellcheck TinyMCE option (activated by default) to enable browser-based spellchecking.

3.7.1 (2024-02-06)

  • Reintroduce the MANIFEST.in file to properly build the package. Release 3.7.0 on PyPI was unusable (#454).

3.7.0 (2024-02-06)

  • Drop support for Django 2.2, 4.0, and 4.1.
  • Add support for Django 4.2 and 5.0.
  • Drop support for Python 3.7 and add support for Python 3.11 and 3.12.
  • New pyproject.toml replaces the legacy setup.py project config.
  • Use staticfiles storage API to find tinymce location (#420). It was already done in 3.6.0, but had to be reverted in 3.6.1 (see #430).
  • Fixed selector usage for elements with __prefix__ (typically inlines).
  • TINYMCE_JS_ROOT setting has been removed.

3.6.1 (2023-03-20)

  • Fixed a regression by reverting usage of staticfiles to find tinymce location (#420, #430).

3.6.0 (2023-03-18)

  • Upgrade embedded tinyMCE from 5.10.1 to 5.10.7

... (truncated)

Commits
  • dc64876 Prepare release 4.1.0
  • 4c4dd93 Upgraded TinyMCE to 6.8.4
  • d57a92c [pre-commit.ci] pre-commit autoupdate
  • e79415d Refs #470 - Removed buttons from premium plugins in the docs.
  • fb7b263 Refs #470 - Replaced toolbar elements renamed in TinyMCE 6
  • 87648e8 Remove plugin "code" mentioned twice
  • eac5cc3 Upgrade version in pyproject.toml
  • dc270e1 Prepare release 4.0.0
  • 54d64ba Fixes #460 - Remove sourceMappingURL lines from tinymce static files
  • f04e1c8 Migrate from TinyMCE 5 to TinyMCE 6
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR 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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Jul 2, 2024
@cypress
Copy link

cypress bot commented Jul 2, 2024

Geotrek-admin    Run #12998

Run Properties:  status check passed Passed #12998  •  git commit dd50a8582f ℹ️: Merge 3b1d5e59d19a93c2ef719208a2cc195ef66fe662 into a1dc88cafb35df77f796595a7bbd...
Project Geotrek-admin
Branch Review refs/pull/4210/merge
Run status status check passed Passed #12998
Run duration 02m 01s
Commit git commit dd50a8582f ℹ️: Merge 3b1d5e59d19a93c2ef719208a2cc195ef66fe662 into a1dc88cafb35df77f796595a7bbd...
Committer dependabot[bot]
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 0
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 22
View all changes introduced in this branch ↗︎

@submarcos
Copy link
Member

@dependabot recreate

@dependabot dependabot bot force-pushed the dependabot/pip/django-tinymce-4.1.0 branch from 735cf89 to 0ac2bb3 Compare November 26, 2024 12:44
@codecov
Copy link

codecov bot commented Nov 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.46%. Comparing base (a1dc88c) to head (3b1d5e5).
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #4210   +/-   ##
=======================================
  Coverage   98.46%   98.46%           
=======================================
  Files         271      271           
  Lines       22181    22181           
=======================================
  Hits        21840    21840           
  Misses        341      341           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@marcantoinedupre
Copy link
Contributor

👋 this django-tinymce upgrade also bumps the TinyMCE major version. I don't think we have e2e tests on the TinyMCE form fields and I expect major changes with TinyMCE objects APIs. We should test this in a separate branch before upgrading.

@submarcos
Copy link
Member

submarcos commented Nov 29, 2024

@marcantoinedupre Thank you

I test in local environement

No visual difference with default Tiny mce fields in admin
No visual difference with complex flatpage content with pictures but in console:

  • tinymce.min.js:4 Invalid value passed for the newline_behavior option. Must be one of: block, linebreak, invert or default (in config there is empty '' value. change to default ?
  • In previous version, there is console log that says imagetools will be a premium plugin in next version, so we need to disable it. It seems to be tools to resize / shrink / crop image in web ui (https://www.tiny.cloud/docs/tinymce/5/editimage/)

dependabot bot and others added 2 commits November 29, 2024 11:55
Bumps [django-tinymce](https://github.com/jazzband/django-tinymce) from 3.5.0 to 4.1.0.
- [Release notes](https://github.com/jazzband/django-tinymce/releases)
- [Changelog](https://github.com/jazzband/django-tinymce/blob/master/CHANGELOG.rst)
- [Commits](jazzband/django-tinymce@3.5.0...4.1.0)

---
updated-dependencies:
- dependency-name: django-tinymce
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@submarcos submarcos force-pushed the dependabot/pip/django-tinymce-4.1.0 branch from 676a1ed to e783fcf Compare November 29, 2024 10:55
@dtrucs
Copy link
Contributor

dtrucs commented Nov 29, 2024

* In previous version, there is console log that says imagetools will be a premium plugin in next version, so we need to disable it. It seems to be tools to resize / shrink / crop image in web ui (https://www.tiny.cloud/docs/tinymce/5/editimage/)

The use of image-tools is perhaps a little superfluous, but if it's essential for the community it should be possible to add a library like cropperjs as a replacement.

@submarcos submarcos merged commit a627bb7 into master Jun 16, 2025
26 checks passed
@submarcos submarcos deleted the dependabot/pip/django-tinymce-4.1.0 branch June 16, 2025 13:36
PartyNell pushed a commit that referenced this pull request Jun 17, 2025
* Bump django-tinymce from 3.5.0 to 4.1.0

Bumps [django-tinymce](https://github.com/jazzband/django-tinymce) from 3.5.0 to 4.1.0.
- [Release notes](https://github.com/jazzband/django-tinymce/releases)
- [Changelog](https://github.com/jazzband/django-tinymce/blob/master/CHANGELOG.rst)
- [Commits](jazzband/django-tinymce@3.5.0...4.1.0)

---
updated-dependencies:
- dependency-name: django-tinymce
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>

* fix deps

* use specific command to handle tinyMCE in e2e tests

* fix command cypress

* fix command cypress

* fix deprecation warning

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jean-Etienne Castagnede <[email protected]>
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 python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants