forked from sakaiproject/sakai
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SAK-44853 Create unified UserMessagingService (sakaiproject#9887)
* SAK-44853 Create unified UserMessagingService https://jira.sakaiproject.org/browse/SAK-44853 * Remove spring-data-commons version override Co-authored-by: Earle Nietzel <[email protected]>
- Loading branch information
1 parent
0eb1e03
commit a010fe4
Showing
242 changed files
with
2,612 additions
and
4,696 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<emailTemplates> | ||
<emailTemplate> | ||
<subject>${bundle["email.reminder.subject"]?replace("{0}", assignmentTitle)?replace("{1}", subjectDate)}</subject> | ||
<message> | ||
${bundle["email.reminder.hello"]?replace("{0}", firstName)} | ||
|
||
${bundle["email.reminder.duewithin"]?replace("{0}", timeText)} | ||
|
||
${bundle["gen.assig"]} : ${assignmentTitle} | ||
${bundle["gen.due"]} : ${bodyDate} | ||
${bundle["email.reminder.site"]} <a href="${siteUrl}">${siteTitle}</a> | ||
|
||
- ${localSakaiName} | ||
</message> | ||
<messagehtml> | ||
${bundle["email.reminder.hello"]?replace("{0}", firstName)} | ||
<br> | ||
<br> | ||
${bundle["email.reminder.duewithin"]?replace("{0}", timeText)} | ||
<br> | ||
${bundle["gen.assig"]} : <a href="${assignmentUrl}">${assignmentTitle}</a> | ||
<br> | ||
${bundle["gen.due"]} : ${bodyDate} | ||
<br> | ||
${bundle["email.reminder.site"]} <a href="${siteUrl}">${siteTitle}</a> | ||
<br> | ||
- ${localSakaiName} | ||
</messagehtml> | ||
<version>1</version> | ||
<owner>admin</owner> | ||
<key>sakai.assignment.grades.duereminder</key> | ||
<locale></locale> | ||
<localeLangTag></localeLangTag> | ||
</emailTemplate> | ||
</emailTemplates> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<emailTemplates> | ||
<emailTemplate> | ||
<subject>[${localSakaiName}] ${bundle["noti.releasegrade.subject.content"]} </subject> | ||
<message> | ||
${bundle["noti.site.title"]} ${siteTitle} | ||
${bundle["noti.site.url"]} ${siteUrl} | ||
|
||
${bundle["noti.releasegrade.text"]?replace("{0}", assignmentTitle)?replace("{1}", assignmentUrl)} | ||
</message> | ||
<messagehtml> | ||
${bundle["noti.site.title"]} <a href="${siteUrl}">${siteTitle}</a> | ||
<br /> | ||
<br /> | ||
${bundle["noti.releasegrade.text"]?replace("{0}", assignmentTitle)} <a href="${assignmentUrl}">${bundle["noti.here"]}</a> | ||
</messagehtml> | ||
<version>1</version> | ||
<owner>admin</owner> | ||
<key>sakai.assignment.grades.releasegrade</key> | ||
<locale></locale> | ||
<localeLangTag></localeLangTag> | ||
</emailTemplate> | ||
</emailTemplates> |
29 changes: 29 additions & 0 deletions
29
assignment/api/src/resources/templates/releaseResubmission.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<emailTemplates> | ||
<emailTemplate> | ||
<subject>[${localSakaiName}] ${bundle["noti.releasegrade.subject.content"]}</subject> | ||
<message>${bundle["noti.site.title"]} ${siteTitle} | ||
${bundle["noti.site.url"]} <a href="${siteUrl}">${siteUrl}</a> | ||
|
||
<#if canSubmit> | ||
${bundle["noti.releaseresubmission.text"]?replace("{0}", assignmentTitle)?replace("{1}", assignmentUrl)} | ||
<#else> | ||
${bundle["noti.releaseresubmission.noresubmit.text"]?replace("{0}", assignmentTitle)?replace("{1}", assignmentUrl)} | ||
</#if> | ||
</message> | ||
<messagehtml>${bundle["noti.site.title"]} ${siteTitle} | ||
${bundle["noti.site.url"]} <a href="${siteUrl}">${siteUrl}</a> | ||
<br /> | ||
<#if canSubmit> | ||
${bundle["noti.releaseresubmission.text"]?replace("{0}", assignmentTitle)?replace("{1}", assignmentUrl)} | ||
<#else> | ||
${bundle["noti.releaseresubmission.noresubmit.text"]?replace("{0}", assignmentTitle)?replace("{1}", assignmentUrl)} | ||
</#if> | ||
</messagehtml> | ||
<version>1</version> | ||
<owner>admin</owner> | ||
<key>sakai.assignment.grades.releaseresubmission</key> | ||
<locale></locale> | ||
<localeLangTag></localeLangTag> | ||
</emailTemplate> | ||
</emailTemplates> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<emailTemplates> | ||
<emailTemplate> | ||
<subject>[${localSakaiName}] ${bundle["noti.subject.content"]} </subject> | ||
<message>${bundle["noti.site.title"]} ${siteTitle} | ||
${bundle["noti.site.url"]} ${siteUrl} | ||
${bundle["assignment.title"]} ${assignmentTitle} | ||
|
||
<#if !hideDueDate> | ||
${bundle["noti.assignment.duedate"]} ${dueDate} | ||
</#if> | ||
|
||
${bundle["noti.student"]} ${submitterNames} ${submitterIds} | ||
|
||
${bundle["submission.id"]} ${submissionId} | ||
|
||
${bundle["noti.submit.time"]} ${submittedDate} | ||
|
||
${bundle["gen.submittedtext"]} | ||
|
||
|
||
${submittedText!""} | ||
|
||
${attachmentType!""} | ||
|
||
|
||
${attachmentsBlock!""} | ||
</message> | ||
<messagehtml> | ||
${bundle["noti.site.title"]} <a href="${siteUrl}">${siteTitle}</a> | ||
<br> | ||
<br> | ||
${bundle["assignment.title"]} <a href="${assignmentUrl}">${assignmentTitle}</a> | ||
<br> | ||
<br> | ||
|
||
<#if !hideDueDate> | ||
${bundle["noti.assignment.duedate"]} ${dueDate} | ||
</#if> | ||
<br> | ||
|
||
${bundle["noti.student"]} ${submitterNames} ${submitterIds} | ||
<br /> | ||
${bundle["noti.submit.time"]} ${submittedDate} | ||
<br /> | ||
|
||
<h4>${bundle["gen.submittedtext"]}</h4> | ||
${submittedText!""} | ||
<br /> | ||
|
||
${attachmentType!""} | ||
<br /> | ||
${attachmentsBlock!""} | ||
</messagehtml> | ||
<version>1</version> | ||
<owner>admin</owner> | ||
<key>sakai.assignment.grades.submission</key> | ||
<locale></locale> | ||
<localeLangTag></localeLangTag> | ||
</emailTemplate> | ||
</emailTemplates> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.