Debian Patches

Status for hyperkitty/1.3.12-7

Patch Description Author Forwarded Bugs Origin Last update
0001_README_remove_embedded_images.patch README.rst: remove embedded images

The documentation files shipped with Debian packages should not embed
remote images, especially not from sources that are known to track
users (like shields.io).
Jonas Meurer <jonas@freesources.org> not-needed 2019-02-22
0002_Use_python3_by_default.patch Use python3 by default instead of /usr/bin/env python

On systems running both python2 and python3 and where python2 is the default,
running 'example_project/manage.py' fails, since this is a python3 package.
Louis-Philippe_Véronneau <pollo@debian.org> not-needed 2019-06-08
0003-run-sassc-at-build-time.patch Run sassc at build-time

In the Debian package, we compile the scss files at build-time with
sassc to prevent the run-time dependency on sassc. This patch
replaces the scss reference in the base.html template with the
pre-built css file reference.
Jonas Meurer <jonas@freesources.org> not-needed 2019-06-08
0004-Update_test_for_python_3.13_argparse_changes.patch Update test for python 3.13 argparse changes.
commit 6c3d402dc0981e545081a3baf13db7e491356e75
Mark Sapiro <mark@msapiro.net> no 2024-12-21
0005-Changes-to-support-mistune-3.1.patch Changes to support mistune >=3.1. Mark Sapiro <mark@msapiro.net> no 2025-01-11
0006-Drop-robot-detection-from-hyperkitty.patch Drop robot-detection from hyperkitty

robot-detection is archived and unmaintained, most bots bypass its
checks
Pierre-Elliott Bécue <peb@debian.org> yes 2026-03-22
0007-Fix-tests-warnings-for-BeautifulSoup-and-timezone-na.patch Fix tests warnings for BeautifulSoup and timezone naive datetimes
This patch adds the "tzinfo=timezone.utc" for datetime to make it as
"aware datetime" in test_email.py

This patch also fixes the warnings for BeautifulSoup with parameter
"lxml" which uses the HTML parser mode of the lxml library, not the XML
parser.• This is fine for parsing HTML documents, but when trying to
parse an XML document, the parser may not handle certain XML-specific
features properly, leading to the XMLParsedAsHTMLWarning.
Rong Fu <rong.fu.cn@windriver.com> yes 2026-03-22
0008-PATCH-fix-tests-Do-not-depend-on-Django-private-test.patch fix: tests: Do not depend on Django private test methods
Django 5.2 changes the django.test.TestCase._pre_setup() as the class
method by the commit
https://github.com/django/django/commit/8eca3e9bce519c21340312ee7846c92b27abea79
for Django issue https://code.djangoproject.com/ticket/35660
SATOH Fumiyasu <fumiyas@osstech.co.jp> no 2025-09-25
0009-Guard-account_signup-navbar-links-when-SOCIALACCOUNT_ONLY.patch commit 1b4f291341e1571abb10c8bfa329c5636b5a0eb2

Guard account_signup navbar links when SOCIALACCOUNT_ONLY=True

allauth 65+ does not register the account_signup URL when
SOCIALACCOUNT_ONLY=True, causing a NoReverseMatch 500 error on every
page load. Wrap both navbar signup links (mobile and desktop) in
{% if not SOCIALACCOUNT_ONLY %} so they are skipped entirely when local
account signup is disabled.

The SOCIALACCOUNT_ONLY context variable is injected by
django_mailman3.context_processors.common (requires a matching fix
there).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

diff --git a/hyperkitty/templates/hyperkitty/base.html b/hyperkitty/templates/hyperkitty/base.html
index 8294dcb9..f80e8f3a 100644
Jordi Mallach <jordi@mallach.net> no 2026-05-08
0010_Guard-Link-another-address-link-when-SOCIALACCOUNT_ONLY.patch commit ba060e5794a586def42ed93cec9e6a209c42f719

Guard "Link another address" link when SOCIALACCOUNT_ONLY=True

allauth 65+ omits the account_email URL entirely when
SOCIALACCOUNT_ONLY=True, not just account_signup (already guarded in
base.html, see 1b4f2913).

fragments/send_as.html links to account_email unconditionally in the
"Link another address" prompt shown on the reply/compose form whenever
a logged-in user has more than one address to send as. That fragment is
included from message.html and message_new.html, so opening a message
in the archive while logged in with multiple linked addresses raises
NoReverseMatch.

Wrap the link in {% if not SOCIALACCOUNT_ONLY %}, same pattern as the
navbar guards.


diff --git a/hyperkitty/templates/hyperkitty/fragments/send_as.html b/hyperkitty/templates/hyperkitty/fragments/send_as.html
index 0644e44f..5c3c8d40 100644
Jordi Mallach <jordi@debian.org> yes 2026-08-05

All known versions for source package 'hyperkitty'

Links