Skip to content

Fix CI compatibility and add Gotify priority/Markdown support#1

Closed
swayll wants to merge 1 commit intomainfrom
feature/gotify-enhancements-and-ci-fix-5672123181047253457
Closed

Fix CI compatibility and add Gotify priority/Markdown support#1
swayll wants to merge 1 commit intomainfrom
feature/gotify-enhancements-and-ci-fix-5672123181047253457

Conversation

@swayll
Copy link
Copy Markdown
Owner

@swayll swayll commented Mar 4, 2026

This PR addresses several issues and adds new functionality:

  1. CI Fix: The GitHub Actions workflow was failing because it tried to test Django 5.0 with Python 3.9. Django 5.0 requires Python 3.10+. I've updated the workflow matrix to exclude this combination.
  2. New Features: Added support for setting Gotify message priority and enabling Markdown content directly from Django's EmailMessage. This is achieved using custom headers (X-Gotify-Priority, X-Gotify-Markdown) or the markdown content subtype.
  3. Tests: Added comprehensive tests to verify that the new headers are correctly parsed and passed to the Gotify client.
  4. Documentation: Created a CHANGELOG.md for the initial 0.1.0 release.
  5. Consistency: Updated comments and docstrings to English.

PR created automatically by Jules for task 5672123181047253457 started by @swayll

…0.1.0

- Update `.github/workflows/django.yml` to exclude Django 5.0 tests on Python 3.9.
- Enhance `GotifyEmailBackend` with support for `X-Gotify-Priority` and `X-Gotify-Markdown` headers.
- Add tests for priority and Markdown support in `tests/test_backend.py`.
- Create `CHANGELOG.md` with 0.1.0 release notes.
- Translate existing and new comments to English for project consistency.
@google-labs-jules
Copy link
Copy Markdown

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@swayll swayll closed this Mar 5, 2026
@swayll swayll deleted the feature/gotify-enhancements-and-ci-fix-5672123181047253457 branch March 5, 2026 09:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant