Skip to content
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

Email attachments #1024

Merged
merged 5 commits into from
Aug 15, 2023
Merged

Email attachments #1024

merged 5 commits into from
Aug 15, 2023

Conversation

felixrindt
Copy link
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

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.

ephios/core/context.py Show resolved Hide resolved
ephios/core/templatetags/settings_extras.py Show resolved Hide resolved
@felixrindt felixrindt enabled auto-merge (rebase) August 15, 2023 20:07
@felixrindt felixrindt merged commit f80cd3d into main Aug 15, 2023
16 checks passed
@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