From 2da215c65d77fb273c7899fd23e65c67bc50c4f8 Mon Sep 17 00:00:00 2001 From: Peter Zhang Date: Wed, 8 Dec 2021 12:28:29 +1300 Subject: add disable archiving segment for plugins (#18279) * add disable archiving segment for plugins add disable archiving segment for plugins * Update Rules.php add isset check * Update global.ini.php update disable_archiving_segment_for_plugins to right place * update tests update tests * Update global.ini.php update wording * update wording and test update wording and test * update tests update tests * Update UIIntegrationTest_admin_diagnostics_configfile.png update config * Update global.ini.php update wording * Update UIIntegrationTest_admin_diagnostics_configfile.png update screen shot * move general config to a file move general config to a file * update screenshot update screenshot * Update Rules.php update rule * Update global.ini.php update global * Update config/global.ini.php Co-authored-by: Stefan Giehl * Update core/ArchiveProcessor/Rules.php Co-authored-by: Stefan Giehl * update tests and case and special-characters update tests and case and special-characters * update tests update tests * Update UIIntegrationTest_admin_diagnostics_configfile.png update config screenshot * Update core/ArchiveProcessor/Rules.php Co-authored-by: Stefan Giehl * Update tests/PHPUnit/System/ArchiveInvalidationTest.php Co-authored-by: Stefan Giehl * add footer message for disable plugin add footer message for disable plugin * Update core/Plugin/Visualization.php Co-authored-by: Stefan Giehl * core/Plugin/Visualization.php update en and check unsegmented reports * Update en.json update lang * Update core/Config/GeneralConfig.php Co-authored-by: Stefan Giehl * Update plugins/CoreHome/lang/en.json Co-authored-by: Stefan Giehl * add screenshot tests add screenshot tests * Update DisablePluginArchive.php set up site * Update DisablePluginArchive.php update config * Update DisablePluginArchive.php update to overwrite * Create DisablePluginArchive_DisablePluginArchive.png update screen shot * update config update config * update screen update screen * update screenshots update screenshots * update unrelated screenshots and update tests update unrelated screenshots and update tests Co-authored-by: Stefan Giehl --- config/global.ini.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'config') diff --git a/config/global.ini.php b/config/global.ini.php index fbd0500424..aaf8fbd585 100755 --- a/config/global.ini.php +++ b/config/global.ini.php @@ -385,6 +385,11 @@ archiving_custom_ranges[] = ; This feature will not work with the MYSQLI extension. archiving_query_max_execution_time = 7200 + +; Allows you to disable archiving segments for selected plugins. For more details please see https://matomo.org/faq/how-to-disable-archiving-the-segment-reports-for-specific-plugins +; Here you can specify the comma separated list eg: "plugin1,plugin2" +disable_archiving_segment_for_plugins = "" + ; By default Matomo runs OPTIMIZE TABLE SQL queries to free spaces after deleting some data. ; If your Matomo tracks millions of pages, the OPTIMIZE TABLE queries might run for hours (seen in "SHOW FULL PROCESSLIST \g") ; so you can disable these special queries here: @@ -676,7 +681,7 @@ proxy_ip_read_last_in_list = 0 enable_trusted_host_check = 1 ; List of trusted hosts (eg domain or subdomain names) when generating absolute URLs. -; This only needs to be set for any hostnames that the Matomo UI will be accessed from. It is not necessary to set this +; This only needs to be set for any hostnames that the Matomo UI will be accessed from. It is not necessary to set this ; for other additional hostnames (For example tracking, API, etc.) ; Examples: ;trusted_hosts[] = example.com -- cgit v1.2.3