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

Fixing email template [ENG-2401] #9570

Open
wants to merge 5 commits into
base: develop
Choose a base branch
from

Conversation

corbinSanders
Copy link
Contributor

Purpose

reviews_update_comment.html.mako has incorrect language.

Changes

Fixing reviews_update_comment.html.mako

QA Notes

Please make verification statements inspired by your code and what your code touches.

  • Verify The email template is correct
  • Verify

What are the areas of risk? N/A

Any concerns/considerations/questions that development raised? N/A

Documentation

N/A

Side Effects

N/A

Ticket

https://openscience.atlassian.net/browse/ENG-2401

@Johnetordoff
Copy link
Contributor

LGTM!

brianjgeiger and others added 5 commits December 9, 2020 08:15
…ent command (CenterForOpenScience#9567)

## Purpose
This management command was originally calling `add_reviews_notification_setting('new_pending_submissions')`, which was attempting to create a new subscription object on every user in the OSF. This subscription should exist on the providers, not the individual users. The remainder of the command was correctly creating and populating the required subscriptions

## Changes
remove the unneeded call
## Purpose
Make sure we have tests that actually attempt to render the email templates with the provided context.

## Changes
* Updated mocking strategies for `test_sanctions.py` and `test_registration_moderation_notifications.py` to actually call `send_email` and `store_emails`.
* Fixed a longstanding bug where the non_admin email wasn't being sent for EmbargoTerminationApprovals
* Fixed other email formatting things that came up in the meantime as targets of opportunity

## Ticket
https://openscience.atlassian.net/browse/ENG-2451
…tion [ENG-2453] (CenterForOpenScience#9568)


## Purpose

The API needs to return the withdrawal justification as the comment in the withdrawal action. Its not doing this right now

## Changes

Ensure the registration model saves the withdrawal justification as the action comment.

## QA Notes

Please make verification statements inspired by your code and what your code touches.
- Verify the API returns the withdrawal justification made by the registration admin in the API
- Verify

What are the areas of risk? N/A

Any concerns/considerations/questions that development raised? N/A

## Documentation

N/A

## Side Effects

N/A
## Ticket

https://openscience.atlassian.net/browse/ENG-2453
@corbinSanders corbinSanders force-pushed the feature/fix_reviews_update_comment_email branch from ff4eef7 to 157fb14 Compare December 9, 2020 13:15
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.

None yet

4 participants