Skip to content

Email attachments#1024

Merged
felixrindt merged 5 commits into
mainfrom
email-attachments
Aug 15, 2023
Merged

Email attachments#1024
felixrindt merged 5 commits into
mainfrom
email-attachments

Conversation

@felixrindt
Copy link
Copy Markdown
Member

@felixrindt felixrindt commented Aug 10, 2023

This is some slight refactoring for the email sending infrastructure to allow for templates and passing in basic body text.
Future txt email templates should be based on base.txt (though it doesn't do much).

I also added an organization_name tag just like #972 . Will need to sort that once one of the PRs gets merged.

Todo:

  • build some absolute_url function to wrap getting the site url and joining it with the location.

@felixrindt felixrindt added the [C] refactoring refactors code without changing functionality label Aug 10, 2023
@coveralls
Copy link
Copy Markdown

coveralls commented Aug 10, 2023

Coverage Status

coverage: 88.907% (+0.01%) from 88.896% when pulling a47757d on email-attachments into 35ed2c4 on main.

Comment thread ephios/core/context.py
Comment thread ephios/core/templatetags/settings_extras.py
@felixrindt felixrindt enabled auto-merge (rebase) August 15, 2023 20:07
@felixrindt felixrindt merged commit f80cd3d into main Aug 15, 2023
@felixrindt felixrindt deleted the email-attachments branch August 15, 2023 20:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[C] refactoring refactors code without changing functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants