SHA256
1
0
forked from pool/matomo
matomo/matomo-package_update.patch

18 lines
907 B
Diff
Raw Normal View History

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
2021-05-17 11:35:39 +02:00
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')));
}
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
2021-05-17 11:35:39 +02:00
+ // 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);
-
+ }
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
2021-05-17 11:35:39 +02:00
} catch (NoUpdatesFoundException $e) {
// Do not fail if no updates were found