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

Mention Piwik 2 is no longer supported (Piwik 2.18) #13448

Merged
merged 5 commits into from Dec 6, 2018
Merged

Conversation

tsteur
Copy link
Member

@tsteur tsteur commented Sep 18, 2018

Tried to keep it simple... showing warning to all admins/super users in reporting/admin UI:

image

And simple page showing more info
apache matomo_index php_module corehome action piwikisoutdated idsite 1 period day date yesterday

didn't add any of the piwik is now matomo image etc as didn't want to put it under GPL and I would say it is better to keep it straight to the point.

piwikisoutdated

refs #11810

@tsteur tsteur added not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org. Needs Review PRs that need a code review labels Sep 18, 2018
@tsteur tsteur added this to the 3.7.0 milestone Sep 18, 2018
@tsteur
Copy link
Member Author

tsteur commented Sep 19, 2018

Changed it to at least view access. Would in theory need to show super user email login names or their email so they can ask them to update.

{
if (!Piwik::isUserHasSomeViewAccess()) {
return;
}
Copy link
Member

Choose a reason for hiding this comment

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

Should this show for anonymous users?

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 would say so. I think we discussed it in the chat but not 100% sure. Maybe @mattab can confirm.

{% endif %}
</div>
</div>
{% endblock %}
Copy link
Member

Choose a reason for hiding this comment

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

I guess this shouldn't be translated?

Copy link
Member Author

Choose a reason for hiding this comment

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

No translation needed. Discussed it in the chat a while ago. It wouldn't be translated in time likely anyway and it'll be the last update.

@@ -49,6 +49,13 @@ public function getDefaultAction()
return 'redirectToCoreHomeIndex';
}

public function piwikIsOutdated()
{
Piwik::checkUserHasSomeViewAccess();
Copy link
Member

Choose a reason for hiding this comment

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

Should this be shown to anonymous viewers?

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 not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants