8000 fix: Replacement of SEND_BROKEN_LINK_EMAILS by BrokenLinkEmailsMiddleware by fsbraun · Pull Request #7419 · django-cms/django-cms · GitHub
[go: up one dir, main page]

Skip to content

fix: Replacement of SEND_BROKEN_LINK_EMAILS by BrokenLinkEmailsMiddleware #7419

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 30 commits into from
Oct 24, 2022

Conversation

fsbraun
Copy link
Member
@fsbraun fsbraun commented Oct 23, 2022

Description

This fixes #5417: The Django setting SEND_BROKEN_LINK_EMAILS has been removed since Django 1.8 and replaced by a middleware.

django CMS 3.x honored both the removed settings and the middleware but only tested the case of SEND_BROKEN_LINK_EMAILS. The middleware emails were not triggered in all cases. django CMS uses the installation of BrokenLinkEmailsMiddleware only as an indicator if it should send out an email.

Related resources

Checklist

  • I have opened this pull request against develop-4
  • I have added or modified the tests when changing logic
  • I have followed the conventional commits guidelines to add meaningful information into the changelog
  • I have read the contribution guidelines and I have joined #workgroup-pr-review on Slack to find a “pr review buddy” who is going to review my pull request.

fsbraun and others added 27 commits March 23, 2022 11:36
…quest_pass or the toolbar will be wrongly configured
…ne query parameter is given. Needs to work with many
Reverse formatting change

Co-authored-by: Aiky30 <Aiky30@users.noreply.github.com>
Correct formatting

Co-authored-by: Aiky30 <Aiky30@users.noreply.github.com>
Comment above not at end of line

Co-authored-by: Aiky30 <Aiky30@users.noreply.github.com>
Update method doc
Remove trailing space
Fix: correct honoring of BrokenLinkEmailsMiddleware for `page_url` template tag
Fix: tests to work with BrokenLinkEmailsMiddleware
@fsbraun fsbraun added the 4.1 label Oct 23, 2022
@marksweb marksweb merged commit 0c377c6 into django-cms:develop-4 Oct 24, 2022
@fsbraun fsbraun deleted the fix/brokenLinkTests branch October 29, 2022 05:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0