Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Implement email reasons for admin #706

Merged
merged 1 commit into from
Mar 3, 2015
Merged

Conversation

alex-sl-eng
Copy link
Member

@@ -136,16 +139,21 @@ public String sendPasswordResetEmail(HPerson person, String key) {
}

@Override
public String sendToAdmins(EmailStrategy strategy) {
public String sendToAdmins(EmailStrategy strategy,
Copy link
Member

Choose a reason for hiding this comment

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

Lets comment what received reasons are and how they will be used.

@carlosmunoz
Copy link
Member

👍 with the documentation additions.
(I think the wording for those reasons captures what @davidmason suggested, but feel free to add more details.)

@@ -1168,6 +1168,8 @@ jsf.email.admin.UserMessageIntro=Zanata user "{0}" with id "{1}" has sent the fo
jsf.email.ReplyInstructions=You can reply to {0} at {1}
jsf.email.admin.ReceivedReason=You are an administrator in the system configuration
jsf.email.admin.user.ReceivedReason=You are an administrator
jsf.email.admin.ReceivedReason.language.noCoordinator=There is no coordinator for language "{0} ({1})"
jsf.email.admin.ReceivedReason.versionGroup.noMaintainer=There is no maintainer for version group "{0}"
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggest:

  • This message is intended for the language coordinators of {0} ({1}). No coordinators are assigned to {0} so this will be sent to server administrators instead.
    • This message is intended for the maintainers of version group "{0}". No maintainers are assigned to version group "{0}" so this will be sent to server administrators instead.

Copy link
Member Author

Choose a reason for hiding this comment

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

I doubt anyone will actually read message this long. Personally I prefer short and simple.

@definite
Copy link
Member

definite commented Mar 3, 2015

  • Coordinator
    • Mail to admin if no coordinator
    • NOT mail to admin if coordinator exists, and admin is not a coordinator.
    • Still mail to admin if admin is also a coordinator .
  • Group maintainer
    • N/A Mail to admin if no group maintainer: at least one maintainer exists.
    • NOT mail to admin if group maintainer exists, and admin is not a group maintainer.
    • Still mail to admin if admin is also a group maintainer .

@definite
Copy link
Member

definite commented Mar 3, 2015

👍

alex-sl-eng pushed a commit that referenced this pull request Mar 3, 2015
Implement email reasons for admin
@alex-sl-eng alex-sl-eng merged commit c4bf8e3 into integration/master Mar 3, 2015
@alex-sl-eng alex-sl-eng deleted the rhbz1197572 branch March 3, 2015 04:16
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
4 participants