From c420c117946e9013bed548aaa62220e6944621fc42a3933a360865bd1a1b795f Mon Sep 17 00:00:00 2001 From: Eric Schirra Date: Mon, 17 May 2021 09:35:39 +0000 Subject: [PATCH 1/2] Accepting request 893664 from home:ecsos:server - 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. OBS-URL: https://build.opensuse.org/request/show/893664 OBS-URL: https://build.opensuse.org/package/show/network:utilities/matomo?expand=0&rev=92 --- How to install Matomo.html | 8 ++++++++ matomo-4.2.1.tar.gz | 3 --- matomo-4.3.0.tar.gz | 3 +++ matomo-package_update.patch | 28 +++++++++++++++------------- matomo.changes | 33 +++++++++++++++++++++++++++++++++ matomo.spec | 2 +- 6 files changed, 60 insertions(+), 17 deletions(-) create mode 100644 How to install Matomo.html delete mode 100644 matomo-4.2.1.tar.gz create mode 100644 matomo-4.3.0.tar.gz diff --git a/How to install Matomo.html b/How to install Matomo.html new file mode 100644 index 0000000..86f0d49 --- /dev/null +++ b/How to install Matomo.html @@ -0,0 +1,8 @@ + + + + + +You will be redirected to the Matomo Analytics Installation documentation on matomo.org/docs/installation + + diff --git a/matomo-4.2.1.tar.gz b/matomo-4.2.1.tar.gz deleted file mode 100644 index 9a02a31..0000000 --- a/matomo-4.2.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d3ea7572c5b42f2636da89b9c15dd7ae16da1d06dab0cea2ed93304a960277ac -size 14839954 diff --git a/matomo-4.3.0.tar.gz b/matomo-4.3.0.tar.gz new file mode 100644 index 0000000..8d63ec1 --- /dev/null +++ b/matomo-4.3.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8d7155e9cc6ac78517b103e18f2741ffc53d7820f2134865aca8727a6c8f5d8c +size 14920418 diff --git a/matomo-package_update.patch b/matomo-package_update.patch index 145ae2a..0e31667 100644 --- a/matomo-package_update.patch +++ b/matomo-package_update.patch @@ -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 diff --git a/matomo.changes b/matomo.changes index 5e6c827..09460c3 100644 --- a/matomo.changes +++ b/matomo.changes @@ -1,3 +1,36 @@ +------------------------------------------------------------------- +Mon May 17 08:45:18 UTC 2021 - ecsos + +- 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 diff --git a/matomo.spec b/matomo.spec index 05ff834..3e88171 100644 --- a/matomo.spec +++ b/matomo.spec @@ -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 From de0bc36f97d97fb6067c2a116652f2443f76daca211299fda0b3efeb81c2d203 Mon Sep 17 00:00:00 2001 From: Eric Schirra Date: Mon, 17 May 2021 09:53:00 +0000 Subject: [PATCH 2/2] OBS-URL: https://build.opensuse.org/package/show/network:utilities/matomo?expand=0&rev=93 --- How to install Matomo.html | 8 -------- 1 file changed, 8 deletions(-) delete mode 100644 How to install Matomo.html diff --git a/How to install Matomo.html b/How to install Matomo.html deleted file mode 100644 index 86f0d49..0000000 --- a/How to install Matomo.html +++ /dev/null @@ -1,8 +0,0 @@ - - - - - -You will be redirected to the Matomo Analytics Installation documentation on matomo.org/docs/installation - -