Navigation Menu

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

add href in link in update message email #16661

Merged
merged 3 commits into from Jan 1, 2021

Conversation

aloxe
Copy link
Contributor

@aloxe aloxe commented Nov 3, 2020

Description:

The link in update email is not clickable. This makes it clickable

Review

  • Functional review done
  • Usability review done (is anything maybe unclear or think about anything that would cause people to reach out to support)
  • Security review done
  • Code review done
  • Tests were added if useful/possible
  • Reviewed for breaking changes
  • Developer changelog updated if needed
  • Documentation added if needed
  • Existing documentation updated if needed

@tsteur tsteur added the Needs Review PRs that need a code review label Nov 3, 2020
Copy link
Member

@sgiehl sgiehl left a comment

Choose a reason for hiding this comment

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

@aloxe Thanks for creating the PR. Seems you actually only changed a test file. So that wouldn't have any effect. To adjust the mails you need to update this file: https://github.com/matomo-org/matomo/blob/4.x-dev/plugins/Marketplace/templates/_updateCommunicationEmail.twig

@aloxe
Copy link
Contributor Author

aloxe commented Nov 4, 2020

Hope this is good now.

@tsteur tsteur added this to the 4.0.0-RC milestone Nov 12, 2020
@@ -10,14 +10,14 @@
{% if hasThemeUpdate %}
<p>
{{ 'CoreUpdater_NotificationClickToUpdateThemes'|translate }}<br/>
{{ host }}index.php?module=CorePluginsAdmin&action=themes
<a href="{{ host }}index.php?module=CorePluginsAdmin&action=themes">{{ host }}index.php?module=CorePluginsAdmin&action=themes</a>
Copy link
Member

Choose a reason for hiding this comment

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

@aloxe we probably need to escape the first {{ host }} like this: {{ host|e('html_attr') }}. Also in the link below for better security.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

sorry for the delay, I haven't noticed this comment. I pushed the change just now.

@tsteur tsteur modified the milestones: 4.0.0-RC, 4.1.0 Nov 15, 2020
@mattab mattab modified the milestones: 4.1.0, 4.2.0 Dec 21, 2020
@diosmosis diosmosis merged commit 52c573a into matomo-org:4.x-dev Jan 1, 2021
@diosmosis
Copy link
Member

Thanks for the contribution, @aloxe !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Review PRs that need a code review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants