H
Issue #466 requests the following: Add a dedicated {% block head_meta %} in base.html to inject JSON-LD metadata into <head>. Include Schema.org Article JSON-LD metadata (headline, UTC ISO 8601 datePublished, and author name) in thread.html and message.html for public lists. Safely serialize JSON-LD to prevent XSS. Add BreadcrumbList JSON-LD metadata to show the mailing list title in search results. Include message text (articleBody / description) and nested comment replies in thread JSON-LD.…
H
On our site (Debian, Whoosh backend) the monthly update_and_clean_index job fails every month: File "/usr/lib/python3/dist-packages/hyperkitty/jobs/update_and_clean_index.py", line 37, in execute run_with_lock(update_index, remove=True) File "/usr/lib/python3/dist-packages/hyperkitty/lib/utils.py", line 177, in run_with_lock with lock: File "/usr/lib/python3/dist-packages/flufl/lock/_lockfile.py", line 447, in __exit__ self.unlock() File "/usr/lib/python3/dist-packages/flufl/lock/_lockfile.py",…
H
Order threads by -starting_email__date instead of -date_active so threads are listed by when they were started within the viewed month, not by their most recent global activity. This prevents old threads with recent replies from floating to the top of unrelated monthly summaries. Closes #284
H
Add HYPERKITTY_ARCHIVE_SEARCH_ENABLED, enabled by default, to control archive search forms and endpoints. Disable parent-thread searches with the same setting while preserving manual reattachment and archive browsing. Close issue #569. Co-authored-by: Copilot 223556219+Copilot@users.noreply.github.com
H
Purpose: Expose an auto-generated OpenAPI 3.0 schema so that API consumers can discover endpoints, generate client SDKs, and interactively explore the REST API through Swagger UI or ReDoc. Fix #560 Changes New dependency Added drf-spectacular>=0.26.0 to pyproject.toml. Configuration example_project/settings.py: registered drf_spectacular in INSTALLED_APPS, set DEFAULT_SCHEMA_CLASS to drf_spectacular.openapi.AutoSchema, and added SPECTACULAR_SETTINGS with title/description/version metadata.…
H
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…
H
Makes timezone context explicit in the UI by adding UTC offsets next to displayed timestamps. Fix #472 Logged in with timezone set: Logged out:
H
robot-detection is archived and unmaintained, most bots bypass its checks Tests fixed because the is_bot logic + empty user agent made these work (all thread messages loaded on query instead of relying on AJAX/jquery/whatever). To use the query-full-loading logic, the alternative is noscript, as shown in the thread.py file. Fixes #534
H
Closes https://gitlab.com/mailman/hyperkitty/-/work_items/563
H
This MR implements Hyperkitty archive display support for HTML email parts, as discussed in !702. As per Stephen's feedback, this MR tackles display support first before expanding the editor. Relates to issue #476 and #540 Note:- This MR is intended to merge before !702 (feature/rich-text-compose). The editor MR will be rebased on top of this one once it lands. cc @stephenjturnbull @danil-smirnov @msapiro What this does When an archived email contains a text/html MIME part, it now renders…
H
Closes #526 Problem When mailing list archives or messages were deleted, attachment rows were removed from the database but the corresponding files stored under HYPERKITTY_ATTACHMENT_FOLDER remained on disk, causing orphaned files to accumulate indefinitely. Changes Added Attachment.on_pre_delete() in hyperkitty/models/email.py to delete the attachment file from disk and safely remove now-empty parent directories without touching the configured root folder. Hooked up the pre_delete signal for…
H
Add rich text composing support using CKEditor 5 Closes #540 What this MR does Adds opt-in rich text (HTML) composing to HyperKitty's "Create New Thread" form using CKEditor 5, allowing users to send formatted HTML emails directly from the web interface. Licensing CKEditor 5 is licensed under GPL 2+, compatible with HyperKitty's GPL v3 Note: open-source usage displays a small "Powered by CKEditor" attribution badge in the editor Changes Integrates CKEditor 5 (CDN) into the compose form, gated…
H
Relates to Mailman-core Issue mailman#1122 HyperKitty duplicates ArchivePolicy from Mailman-core, where the issue discussed the evaluation of the boolean expression ArchivePolicy.never evaluates to True despite its value being 0 as the numeric values are not compared in the boolean expressions in Enum. This leads to confusion. This MR mirrors the fix from Mailman Core by overriding __bool__ to raise a NotABooleanError, enforcing explicit checks like if policy is not ArchivePolicy.never: instead…
H
We don't suggest using Whoosh for any production like use cases and it is unmaintained at this point with last release made in 2016. So, for dev and testing purposes, we can simply use the ORM backed SimpleEngine, which does the job while removing one extra testing dependency.
H
A small step towards getting rid of jQuery. In hyperkitty/static/hyperkitty/js/hyperkitty-overview.js:setup_overview() the line // submit search on enter (only add if there's a nav-tab's search box) if ($('ul.nav-tabs').length > 0) { $(document).ready(function() { // ⇐ I mean this line $('#nav-tab-search').keydown(function(e) { is not changed, because I do not find a way to execute it. Where is an element with id nav-tab-search installed, so that the last line in the snippet can catch it?
H
This is the hyperkitty part for IDNA 2008. This merge request is related to : first step : mailman!1287 second step : mailman!1288 third step : mailman!1289 hyperkitty : !651 postorius : postorius!956 mailmanclient : mailmanclient!185 mailman-web : mailman-web!56 django-mailman : django-mailman3!299
H
This should ideally avoid horizontal scroll bars caused by long lines in the messages. This seems to fix many cases, even though there is still a case with long lines in code blocks that needs fixing.
H
This fixes the import of mails with a Message-ID having more than one < or > We migrated some old lists from Mailman2 to Mailman3, but hyperkitty_import failed for one of the lists because there were two messages with a weird Message-ID in the mbox file. Those Message-IDs were like Message-ID: <<f2862c523f8e7f7534f3bae8971a9c72@example.com>>. Not sure what's the cause, as the mails are from 2017, but anyway I made a patch to handle this rare case.
H
Add some swag, thanks to Bootstrap. Merge with postorius!868
H
This is caused by passing both a dict and an email object to the same function. Due to which, attribute access on dict object caused exception. Fixes #495