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

Retrieve press-level email subjects from settings #3694 #3713

Merged
merged 3 commits into from
Jan 25, 2024

Conversation

joemull
Copy link
Member

@joemull joemull commented Sep 13, 2023

Closes #3694.

Copy link
Member

@ajrbyers ajrbyers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a great step in the right direction. I just had a quick look at the logic for some of the emails that send at the press level as well as the journal (Password Reset and Registration Confirmation) at the moment when no request.journal is present these send a hard-coded subject see:

https://github.com/BirkbeckCTP/janeway/blob/742cc1d6d4f908fa916de7b7380c2ea766bdb8c8/src/core/logic.py#L38-L72

The two functions in core.logic need a little tweak to make this PR complete.

@joemull joemull requested a review from ajrbyers December 6, 2023 16:43
@mauromsl mauromsl merged commit 556598b into master Jan 25, 2024
1 check passed
@mauromsl mauromsl deleted the 3694-notify-email-subject-press branch January 25, 2024 09:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Notify hook does not handle press-level email subjects
3 participants