How to change email template on openedx - openedx

As a student recover the password, then received an email that the password has changed,
i want to customized the content but can not find the template
it should be in this folder
/edx/app/edxapp/edx-platform/lms/templates/emails
but still can not find the email template for password recovery email
thanks in advance

Please check in these folders.
common/templates/student/edx_ace/passwordreset/email/body.html
common/templates/student/edx_ace/accountrecovery/email/body.txt
And you can add custom emails in your custom theme folder
lms/templates/emails

Related

TFS Build Summary Notification with Attachment Link

How i can add attachment link in TFS Build notification email? I have TFS 2017 on-premises installed. I have tried by making changes in xls file but it didnt worked. i will be grateful to you if anyone can help me with this.
You can find the email templates in %PROGRAMFILES%\Microsoft Team Foundation Server 2015\Application Tier\TFSJobAgent\Transforms and modify them the way you want. In this folder you'll find the build completion events xsl files.
The build events expose a Url property, which shows the hyperlink in the email.
Besides, you could also choose to use some 3rd-party extension to send E-mail Notification.
Send Email
Other Extension
Those tasks they send an email to the address(es) you defined in your pipeline. You can defined the contents of the message yourself.

Modify JIRA Service Desk translation

I have installed Jira Service 3.2.2 and Jira Core 7.2.2.
Whenever I create a new incidence in my project, an email is sent to the user. That email is sent in Spanish and I just want to change a sentence from that email.
I've found some translations in the file
\jira\plugins\installed-plugins\jira-servicedesk-application-3.2.2.jar
in \i18 folder.
I've changed there the wrong sentence and restarted JIRA but the email is still the original, changes seem to not be applied.
Is it the wrong location for email templates translations?
Thanks in advance!
Well, after restarting twice the JIRA server the changes were applied.
That means translations are taken from file:
\jira\plugins\installed-plugins\jira-servicedesk-application-3.2.2.jar

${build.result} in Editable Email Notification Default Content

I am trying to print ${build.result} in Editable Email Notification Default Content.
I receive the email with the content as ${build.result} instead of printing the actual result "SUCCESS".
Can any one suggest here if i am missing something.
On my last project we used this template and it worked perfectly well.
The jelly for this template is here and includes the build result and the appropriate Jenkins Orb icon.

Jenkins blue ocean change github access token

Jenkins blue ocean pretty cool continuous integration tool, but I faced the following problem:
At the main page, as was asked, I inserted my GitHub access token
And after that I realized that was incorrect token from another company.
And now I want to change to another token but there is no option to do that. I'm always getting the following screen without the possibility to change the key.
I found out that if I the token was deleted from GiHub tokens page I can insert the new one at the page depicted above. But now there is no way to delete that token. I need to resolve the problem from Jenkins UI.
Any Ideas how to change?
Steps to delete the Access-Token:
Go to the 'old' interface (i.e. not Blue Ocean)
Click on your username in the top right
Click on Credentials on the left
You should see an entry with the domain blueocean-github-domain the id github and the name <username>/****** (Github Access Token).
Delete it.
Afterward, BlueOcean will ask for an Access Token again, when using "Github" as the source.
I tried many things, at the moment best solution is to delete project and create new blueocean project with new credentials.
Add a new credential in Jenkins and choose "Username and Password" as the type. The username should be your GitHub username and the password is the API token. Make sure the credential is added to a store that the project has access to.
tkausl's instructions didn't work for me because there was no "Delete" or "Modify" button. So here is my extended solution (it needs shell access).
With shell access, you can find the file where your token is stored (in my case it was ./users//config.xml). However, you cannot just edit that file, because the token is stored in encrypted form (and base64-encoded). So instead, create a new dummy credential with the correct token. The dummy credential gets added (in encrypted form) in the file ./credentials.xml. Open that file and copy the password (in base64 and encrypted form) into where the actual credentials are (./users//config.xml). Finally, go to "Manage Jenkins" > "Reload Configuration from Disk".
I think #bhow has something similar but just to make it clear - you don't need to delete the project or the existing token.
You can go to Blue Ocean, choose the project and then choose the gear icon to change the project settings.
Under "Branch Sources" you'll see the current Github credentials. From there you can choose to add new credentials. In my case I added a new "Username with password" where the username was my username, and password was my Github token. By choosing this new option from the credentials dropdown I could see that the authenticated user changed.

TFS File Changed Notifications in future branches

We've got TFS email alerts set up when certain files are changed. In the future, many of these files will likely have "copies" via branching. Other than manually creating additional alerts each time a branch is created, can anyone offer some strategies for this scenario? Or simply strategies to make sure we're covered in case a branch is created and we forget to create these alerts.
Thanks for any help!
There is no out of box feature for this, you can submit a feature request on VSTS User Voice.
However, if the name of the files is unique,you can create an email alert just with "File Name = filename.extension" and "Folder Path Contains XXX". This will track the change for the file in the specified folders/branches.

Resources