SHA256
1
0
forked from pool/matomo

Accepting request 893676 from network:utilities

Update to 4.3.0

OBS-URL: https://build.opensuse.org/request/show/893676
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/matomo?expand=0&rev=29
This commit is contained in:
Dominique Leuenberger 2021-05-17 16:45:17 +00:00 committed by Git OBS Bridge
commit d348e879a8
5 changed files with 52 additions and 17 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d3ea7572c5b42f2636da89b9c15dd7ae16da1d06dab0cea2ed93304a960277ac
size 14839954

3
matomo-4.3.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8d7155e9cc6ac78517b103e18f2741ffc53d7820f2134865aca8727a6c8f5d8c
size 14920418

View File

@ -1,15 +1,17 @@
diff -Pdpru matomo.orig/plugins/CoreUpdater/Commands/Update.php matomo/plugins/CoreUpdater/Commands/Update.php
--- matomo.orig/plugins/CoreUpdater/Commands/Update.php 2020-11-23 20:20:18.000000000 +0100
+++ matomo/plugins/CoreUpdater/Commands/Update.php 2020-11-24 14:16:58.087597130 +0100
@@ -70,7 +70,11 @@ class Update extends ConsoleCommand
$this->writeSuccessMessage($output, array(Piwik::translate('CoreUpdater_DbUpgradeNotExecuted')));
}
Index: matomo/plugins/CoreUpdater/Commands/Update.php
===================================================================
--- matomo.orig/plugins/CoreUpdater/Commands/Update.php
+++ matomo/plugins/CoreUpdater/Commands/Update.php
@@ -79,8 +79,11 @@ class Update extends ConsoleCommand
$this->writeSuccessMessage($output, array(Piwik::translate('CoreUpdater_DbUpgradeNotExecuted')));
}
+ // Only show if autoupdate is enabled. Don't show if update through distribution package update.
+ $enableAutoUpdate = (bool) Config::getInstance()->General['enable_auto_update'];
+ if ($enableAutoUpdate === true){
$this->writeAlertMessageWhenCommandExecutedWithUnexpectedUser($output);
+ }
+ // Only show if autoupdate is enabled. Don't show if update through distribution package update.
+ $enableAutoUpdate = (bool) Config::getInstance()->General['enable_auto_update'];
+ if ($enableAutoUpdate === true){
$this->writeAlertMessageWhenCommandExecutedWithUnexpectedUser($output);
-
+ }
} catch(NoUpdatesFoundException $e) {
} catch (NoUpdatesFoundException $e) {
// Do not fail if no updates were found

View File

@ -1,3 +1,36 @@
-------------------------------------------------------------------
Mon May 17 08:45:18 UTC 2021 - ecsos <ecsos@opensuse.org>
- Update to 4.3.0
* Breaking Changes
- Before every JS error was tracked, from this version the same
JS error will be only tracked once per page view. If the very
same error is happening multiple times, then it will be
tracked only once within the same page view. If another page
view is tracked or when the page reloads, then the error will
be tracked again.
- It's no longer possible to store any class instances directly
in the session object. Please use arrays or plain data instead.
* Upcoming Breaking Changes
- In Matomo 4.3.0 we have added a 'passwordConfirmation'
parameter to the CorePluginsAdmin.setSystemSettings API
method. It is currently optional, but will become mandatory
in version 4.4.0. Plugin developers and users of the API
should make sure to update their plugins and apps before this
happens.
* New config.ini.php settings
- The password_hash_algorithm, password_hash_argon2_threads,
password_hash_argon2_memory_cost and
password_hash_argon2_time_cost INI config options have been
added to allow using specific password_hash algorithms and
options if desired.
- The enable_php_profiler INI config option was added. This
must now be set to 1 before profiling is allowed in Matomo.
For a full changelog, look at:
https://github.com/matomo-org/matomo/releases/tag/4.2.1
https://matomo.org/changelog/matomo-4-3-0/
- Rebase matomo-package_update.patch.
-------------------------------------------------------------------
Mon Mar 1 08:24:34 UTC 2021 - ecsos <ecsos@opensuse.org>

View File

@ -21,7 +21,7 @@
%{!?_tmpfilesdir:%global _tmpfilesdir %{_prefix}/lib/tmpfiles.d}
Name: matomo
Version: 4.2.1
Version: 4.3.0
Release: 0
Summary: Web analytics platform
License: GPL-3.0-or-later