From b8164d19e8550fb57f16339fc1105ae142518e4823be65c347464f6a36a9f52f Mon Sep 17 00:00:00 2001 From: Eric Schirra Date: Thu, 30 Aug 2018 07:04:29 +0000 Subject: [PATCH] Accepting request 632251 from home:ecsos:server - update to 3.6.0 This a update and security release. # New Features * A new role has introduced called "write" which has less permissions than an admin but more than a view only user (see FAQ). * Custom currencies can now be added using the currencies[] configuration key. * A new segment eventValue lets you select all users who tracked a custom event with a given value or range of values. # New config.ini.php settings * archiving_profile = 0, if set to 1, core:archive profiling information will be recorded in a log file. the log file is determined by the archive_profiling_log option. * archive_profiling_log =, if set to an absolute path, core:archive profiling information will be logged to specified file. * enable_internet_features=0 will now fully disable Internet access by preventing all outgoing connections. Note: changing this setting is not recommended for security, because you will lose the easy auto-update and email notifications. * login_whitelist_ip[] now supports hostnames so you can whitelist your IP addresses and/or Hostnames and keep your Matomo secure. # Updated commands * New parameter --concurrent-archivers to define the number of maximum archivers to run in parallel on this server. Useful to prevent archiving processes piling up and ultimately failing. # New APIs * Added new event API.addGlossaryItems which lets you add items to the glossary. * Added new event Tracker.detectReferrerSocialNetwork which lets you add custom social network detections * Added new event Report.unsubscribe which is triggered whenever someone unsubscribe from a report * Added new API method UsersManager.getAvailableRoles to fetch a list of all available roles that can be granted to a user. * Added new API method UsersManager.getAvailableCapabilities to fetch a list of all available capabilities that can be granted to a user. * Added new API method UsersManager.addCapabilities to grant one or multiple capabilities to a user. * Added new API method UsersManager.removeCapabilities to remove one or multiple capabilities from a user. * The API method UsersManager.setUserAccess now accepts an array to pass a role and multiple capabilities at once. * Plugin classes can overwrite the method requiresInternetConnection to define if they should be automatically unloaded if no internet connection is available (enable_internet_features = 0) * Added two new methods to the JS tracker: removeEcommerceItem and clearEcommerceCart to allow better control over what is in the ecommerce cart. * Tracking API requests now include &consent=1 in the Tracking API URL When consent has been given by a user. # Breaking Changes * Changed some menu items to use translation keys instead (see PR #12885). * The methods assertResponseCode() and assertHttpResponseText() in Piwik\Tests\Framework\TestCase\SystemTestCase have been deprecated and will be removed in Matomo 4.0. Please use Piwik\Http instead. * The classes PHPUnit\Framework\Constraint\HttpResponseText and PHPUnit\Framework\Constraint\ResponseCode have been deprecated and will be removed in Matomo 4.0. Please use Piwik\Http instead. * Creating links through the Proxy has been deprecated. Use rel="nofollow" instead. * The console option --piwik-domain has been deprecated and will be removed in Matomo 4.0. Use --matomo-domain instead * Social networks are now detected as new referrer type (ID=7), which allows improved reports and better segmentation * New settings form field UI component "Field Array" that lets users enter multiple values for one setting as a flat array OBS-URL: https://build.opensuse.org/request/show/632251 OBS-URL: https://build.opensuse.org/package/show/network:utilities/matomo?expand=0&rev=10 --- matomo.changes | 79 ++++++++++++++++++++++++++++++++++++++++++++++++ matomo.rpmlintrc | 1 + matomo.spec | 5 ++- piwik.zip | 4 +-- 4 files changed, 86 insertions(+), 3 deletions(-) diff --git a/matomo.changes b/matomo.changes index a5aca22..1d4ca1c 100644 --- a/matomo.changes +++ b/matomo.changes @@ -1,3 +1,82 @@ +------------------------------------------------------------------- +Thu Aug 30 06:28:11 UTC 2018 - ecsos@opensuse.org + +- update to 3.6.0 + This a update and security release. + # New Features + * A new role has introduced called "write" which has less + permissions than an admin but more than a view only user + (see FAQ). + * Custom currencies can now be added using the currencies[] + configuration key. + * A new segment eventValue lets you select all users who + tracked a custom event with a given value or range of values. + # New config.ini.php settings + * archiving_profile = 0, if set to 1, core:archive profiling + information will be recorded in a log file. the log file is + determined by the archive_profiling_log option. + * archive_profiling_log =, if set to an absolute path, + core:archive profiling information will be logged + to specified file. + * enable_internet_features=0 will now fully disable Internet + access by preventing all outgoing connections. Note: changing + this setting is not recommended for security, because you + will lose the easy auto-update and email notifications. + * login_whitelist_ip[] now supports hostnames so you can + whitelist your IP addresses and/or Hostnames and keep your + Matomo secure. + # Updated commands + * New parameter --concurrent-archivers to define the number of + maximum archivers to run in parallel on this server. + Useful to prevent archiving processes piling up and + ultimately failing. + # New APIs + * Added new event API.addGlossaryItems which lets you add items + to the glossary. + * Added new event Tracker.detectReferrerSocialNetwork which + lets you add custom social network detections + * Added new event Report.unsubscribe which is triggered + whenever someone unsubscribe from a report + * Added new API method UsersManager.getAvailableRoles to fetch + a list of all available roles that can be granted to a user. + * Added new API method UsersManager.getAvailableCapabilities to + fetch a list of all available capabilities that can be + granted to a user. + * Added new API method UsersManager.addCapabilities to grant + one or multiple capabilities to a user. + * Added new API method UsersManager.removeCapabilities to + remove one or multiple capabilities from a user. + * The API method UsersManager.setUserAccess now accepts an + array to pass a role and multiple capabilities at once. + * Plugin classes can overwrite the method + requiresInternetConnection to define if they should be + automatically unloaded if no internet connection is available + (enable_internet_features = 0) + * Added two new methods to the JS tracker: removeEcommerceItem + and clearEcommerceCart to allow better control over what is + in the ecommerce cart. + * Tracking API requests now include &consent=1 in the Tracking + API URL When consent has been given by a user. + # Breaking Changes + * Changed some menu items to use translation keys instead + (see PR #12885). + * The methods assertResponseCode() and assertHttpResponseText() + in Piwik\Tests\Framework\TestCase\SystemTestCase have been + deprecated and will be removed in Matomo 4.0. Please use + Piwik\Http instead. + * The classes PHPUnit\Framework\Constraint\HttpResponseText + and PHPUnit\Framework\Constraint\ResponseCode have been + deprecated and will be removed in Matomo 4.0. Please use + Piwik\Http instead. + * Creating links through the Proxy has been deprecated. + Use rel="nofollow" instead. + * The console option --piwik-domain has been deprecated and + will be removed in Matomo 4.0. Use --matomo-domain instead + * Social networks are now detected as new referrer type (ID=7), + which allows improved reports and better segmentation + * New settings form field UI component "Field Array" that lets + users enter multiple values for one setting as a flat array + ------------------------------------------------------------------- Sat May 26 08:20:55 UTC 2018 - ecsos@opensuse.org diff --git a/matomo.rpmlintrc b/matomo.rpmlintrc index 592d3e7..0336a27 100644 --- a/matomo.rpmlintrc +++ b/matomo.rpmlintrc @@ -1,2 +1,3 @@ # Output filters addFilter("hidden-file-or-dir") +addFilter("macro-in-comment") \ No newline at end of file diff --git a/matomo.spec b/matomo.spec index 0ba9c11..91373b3 100644 --- a/matomo.spec +++ b/matomo.spec @@ -35,7 +35,7 @@ %endif Name: matomo -Version: 3.5.1 +Version: 3.6.0 Release: 0 Summary: Web analytics platform License: GPL-2.0-only @@ -83,6 +83,8 @@ find . -type f -name .htaccess -delete find . -type f -name .travis.sh -delete #find . -name ".git*" -exec rm -Rf "{}" "+" find . -type f "(" -name "*.c" -o -name "*.h" ")" -delete +# env-script-interpreter +find . -type f -exec sed -i -e 's|\/usr\/bin\/env php|\/usr\/bin\/php|g' {} \; %build #%%configure @@ -163,6 +165,7 @@ chown -R %{ap_usr}:%{ap_grp} %{ap_serverroot}/%{name} %attr(0770,%{ap_usr},%{ap_grp}) %{ap_serverroot}/%{name}/vendor/leafo/lessphp/lessify %attr(0770,%{ap_usr},%{ap_grp}) %{ap_serverroot}/%{name}/vendor/leafo/lessphp/plessc %attr(0770,%{ap_usr},%{ap_grp}) %{ap_serverroot}/%{name}/vendor/pear/archive_tar/sync-php4 +%attr(0770,%{ap_usr},%{ap_grp}) %{ap_serverroot}/%{name}/vendor/tecnickcom/tcpdf/tools/tcpdf_addfont.php %{ap_serverroot}/%{name}/* %changelog diff --git a/piwik.zip b/piwik.zip index bea543e..89d846a 100644 --- a/piwik.zip +++ b/piwik.zip @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:245f020bfe7f79be7ae301c94140f06084798a8dff0fc596ffd30a41a509119e -size 18907738 +oid sha256:93133dce87f65a938bc1360eab7a7291defa7666dfdaafada215a7493c9c2547 +size 19417965