8000 Release Piwik 3.0.2 by mattab · Pull Request #11435 · matomo-org/matomo · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

8000 Release Piwik 3.0.2 #11435

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

Merged
merged 6 commits into from
Mar 1, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ See http://piwik.org/docs/requirements/

See http://piwik.org/docs/installation/

If you do not have a server, consider our Piwik Hosting partner: http://piwik.org/hosting/
If you do not have a server, consider our Piwik Hosting partner: https://www.innocraft.cloud/

## Changelog

Expand Down
34 changes: 17 additions & 17 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion core/Version.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ final class Version
* The current Piwik version.
* @var string
*/
const VERSION = '3.0.2-rc1';
const VERSION = '3.0.2';

public function isStableVersion($version)
{
Expand Down
6 changes: 6 additions & 0 deletions plugins/CoreAdminHome/Controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,12 @@ public function setMailSettings()
$mail['type'] = Common::getRequestVar('mailType', '');
$mail['username'] = Common::unsanitizeInputValue(Common::getRequestVar('mailUsername', ''));
$mail['password'] = Common::unsanitizeInputValue(Common::getRequestVar('mailPassword', ''));

if (!array_key_exists('mailPassword', $_POST)) {
// use old password if it wasn't set in request
$mail['password'] = Config::getInstance()->mail['password'];
}

$mail['encryption'] = Common::getRequestVar('mailEncryption', '');

Config::getInstance()->mail = $mail;
Expand Down
17 changes: 12 additions & 5 deletions plugins/CoreAdminHome/angularjs/smtp/mail-smtp.controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,21 +17,28 @@

var self = this;
this.isLoading = false;
this.passwordChanged = false;

this.save = function () {

this.isLoading = true;

piwikApi.withTokenInUrl();
piwikApi.post({module: 'CoreAdminHome', action: 'setMailSettings'}, {
var mailSettings = {
mailUseSmtp: this.enabled ? '1' : '0',
mailPort: this.mailPort,
mailHost: this.mailHost,
mailType: this.mailType,
mailUsername: this.mailUsername,
mailPassword: this.mailPassword,
mailEncryption: this.mailEncryption,
}).then(function (success) {
mailEncryption: this.mailEncryption
};

if (this.passwordChanged) {
mailSettings.mailPassword = this.mailPassword;
}

piwikApi.withTokenInUrl();
piwikApi.post({module: 'CoreAdminHome', action: 'setMailSettings'}, mailSettings)
.then(function (success) {

self.isLoading = false;

Expand Down
3 changes: 2 additions & 1 deletion plugins/CoreAdminHome/templates/generalSettings.twig
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,9 @@

<div piwik-field uicontrol="password" name="mailPassword"
ng-model="mailSettings.mailPassword"
ng-change="mailSettings.passwordChanged = true"
title="{{ 'General_SmtpPassword'|translate|e('html_attr') }}"
value="{{ mail.password }}" inline-help="{{ help|e('html_attr') }}">
value="{{ mail.password ? '******' }}" inline-help="{{ help|e('html_attr') }}">
</div>

<div piwik-field uicontrol="select" name="mailEncryption"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@
{% else %}
{% set rowMetadata=null %}
{% endif %}
<tr style="{{ cycle(cycleValues, cycleIndex) }};{{styleTableCell}}">
<tr style="{{ cycle(cycleValues, cycleIndex) }};">
{% set cycleIndex=cycleIndex+1 %}
{% for columnId, columnName in reportColumns %}
<td style="padding:17px 15px;{% if columnId == 'label' %}{% else %} text-align:right;{% endif %}">
<td style="padding:17px 15px;{% if columnId == 'label' %}{% else %} text-align:right;{% endif %};{{styleTableCell}}">
{% if columnId == 'label' %}
{% if rowMetrics[columnId] is defined %}
{% if rowMetadata.logo is defined %}
Expand Down
4 changes: 2 additions & 2 deletions plugins/CoreHome/templates/_menu.twig
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<li {% if urlParameters._url.module is defined and urlParameters._url.module == currentModule and urlParameters._url.action is defined and urlParameters._url.action == currentAction %}class="active"{% endif %}
role="menuitem"
>
<a class="item" tabindex="5"
<a class="item" tabindex="5" target="_self"
title="{{ urlParameters._tooltip|default('')|translate|e('html_attr') }}"
href="index.php?{{ urlParameters._url|urlRewriteWithParameters|slice(1) }}">
{{ name|translate }}
Expand Down Expand Up @@ -58,7 +58,7 @@
{% for name,urlParameters in level2 %}
{% if name|slice(0,1) != '_' %}
<li>
<a title="{{ urlParameters._tooltip|default('')|translate|e('html_attr') }}"
<a title="{{ urlParameters._tooltip|default('')|translate|e('html_attr') }}" target="_self"
href="index.php?{{ urlParameters._url|urlRewriteWithParameters|slice(1) }}">{{ name|translate }}</a>
</li>
{% endif %}
Expand Down
2 changes: 1 addition & 1 deletion plugins/CoreHome/templates/_topBar.twig
F438
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
{{ menu._html|raw }}
{% else %}
<a {% if menu._tooltip is defined %}title="{{ menu._tooltip }}"{% endif %}
id="topmenu-{{ menu._url.module|lower }}"
id="topmenu-{{ menu._url.module|lower }}" target="_self"
href="index.php{{ menu._url|urlRewriteWithParameters }}" tabindex="3">{{ _self.menuItemLabel(label, icon) }}</a>
{% endif %}
{% endmacro %}
Expand Down
2 changes: 1 addition & 1 deletion plugins/CoreUpdater/templates/updateSuccess.twig
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<a href="https://piwik.org/support/?pk_medium=Update_Success_button&pk_source=Piwik_App&pk_campaign=App_Updated" class="btn btn-block">{{ 'CoreUpdater_ServicesSupport'|translate }}</a>
</div>
<div class="col s5">
<a href="https://piwik.org/hosting/?pk_medium=App_Cloud_button&pk_source=Piwik_App&pk_campaign=App_Updated" class="btn btn-block">{{ 'CoreUpdater_CloudHosting'|translate }}</a>
<a href="https://www.innocraft.cloud/?pk_medium=App_Cloud_button&pk_source=Piwik_App&pk_campaign=App_Updated" class="btn btn-block">{{ 'CoreUpdater_CloudHosting'|translate }}</a>
</div>
</div>

Expand Down
Binary file added plugins/Referrers/images/searchEngines/laban.vn.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
0