-
Notifications
You must be signed in to change notification settings - Fork 498
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
IQSS/9185 contact email updates #9186
IQSS/9185 contact email updates #9186
Conversation
Grooming: This issue was in the New or No Status columns on the Dataverse Global Backlog Board. This is NOT a reflection of the priority of these issues. To get this item onto the Dataverse Global Backlog Board, please reach out to one of the Stewards on the board. |
So with this new :SupportEmail setting, an installation can use two different email addresses, one for the automated email notifications and another for when people email "support". That would help address an issue at the Harvard repository where I think one reason why email clients, like Gmail, keep marking email sent from our one email address (support[at]dataverse.harvard.edu) as spam is because the email clients notice that people aren't opening the automated email notifications that the installation sends, and this also means that emails that installation staff send to users using that same email address get marked as spam. (Of course there are ways to improve the helpfulness of those automated messages, so they aren't ignored as often, and that's tackled in existing notification settings and other GitHub issues.) This affects repository staff's ability to contact users, especially using the repository's support ticketing system, which might be using the same email address. This is one of the many potential reasons why email clients might keep marking emails from our support email address as spam. I'm talking with repository staff about the other reasons and possible solutions. But with the setting described in this PR - using two different emails (one email address for the automated notifications and another for when depositors and repository staff contact each other) - we might help increase the odds that depositors see the emails that repository staff send. |
IQSS/9185-contact_email_updates
Relatively simple changes to how the contact form sends emails (see changes in the description). Sizing at 10 to allow review (including the code making the feedback admin API call functional and changing to send one email to all contacts) and testing of the two new settings. |
IQSS/9185-contact_email_updates
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. thanks for putting in the mp config. Just a couple more comments on some unused code.
FWIW: It looks like the failing unit test is because https://ddialliance.org/Specification/DDI-Codebook/2.5/XMLSchema/codebook.xsd couldn't be read - as has been seen on other branches lately. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I haven't been following this but @qqmyers thanks for switching to MPCONFIG!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just hitting "Approve" to clear my "requested changes" status. But then I'll put this back where it was (In Review).
Issues found:
|
NOTE: per review, the settings have been replaced with Microprofile entries. The documentation has been updated but the PR notes below have not been updated!
What this PR does / why we need it: This PR includes several enhancements to the emails from the contact forms that have been implemented and deployed at QDR. It also include fixes to make the /admin/feedback endpoint work.
Specific changes:
Which issue(s) this PR closes:
Closes #9185
Special notes for your reviewer:
Depends on #9089 for the PersonOrOrgUtil changes. I've copied that class here so it will build.
Any of this can be broken out/dropped if the whole set of changes is not desired.
Suggestions on how to test this:
Does this PR introduce a user interface change? If mockups are available, please link/include them here:
Using the CCSupportOnContactEmails setting adds a line to the contact form:
![image](https://user-images.githubusercontent.com/6731983/203611760-ada1b3ab-b857-491f-8f93-6f86bba07ad9.png)
Is there a release notes update needed for this change?:
included.
Additional documentation: