Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/config
AgeCommit message (Collapse)Author
2022-02-01Prevent possible error when action is provided as array (#18706)Stefan Giehl
* Prevent possible error when action is provided as array * Use Piwik::getModule / Piwik::getAction in a couple more places * fix test
2022-01-26Allow disabling the usage of the default geolocation provider as fallback ↵Stefan Giehl
(#18634) * Allow disabling the usage of the default geolocation provider as fallback * Improve naming * add changelog entry * Introduce a disabled provider and setting to disable the default provider * fix tests * update changelog
2021-12-21Fixes more issues on PHP 8.1 (#18514)Stefan Giehl
* fixes deprecation warning in ui-test.php /srv/matomo/config/environment/ui-test.php(53): Deprecated - str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated * fixes deprecation warning caused by SettingsPiwik.php /srv/matomo/plugins/UsersManager/Controller.php(669): Deprecated - md5(): Passing null to parameter #1 ($string) of type string is deprecated * Fixes deprecation warning in ComparisonRowGenerator.php /srv/matomo/plugins/API/Filter/DataComparisonFilter/ComparisonRowGenerator.php(129): Deprecated - Automatic conversion of false to array is deprecated * Fixes type error in Sparklines.php Uncaught exception: TypeError: array_diff(): Argument #1 ($array) must be of type array, string given in /srv/matomo/plugins/CoreVisualizations/Visualizations/Sparklines.php:306 * Fixes some warnings in DisablePluginArchive fixture /srv/matomo/tests/PHPUnit/Fixtures/DisablePluginArchive.php(59): Warning - Undefined property: Piwik\Tests\Fixtures\DisablePluginArchive::$useThirdPartyCookies /srv/matomo/tests/PHPUnit/Fixtures/DisablePluginArchive.php(74): Warning - Undefined property: Piwik\Tests\Fixtures\DisablePluginArchive::$useSiteSearch /srv/matomo/tests/PHPUnit/Fixtures/DisablePluginArchive.php(75): Warning - Undefined property: Piwik\Tests\Fixtures\DisablePluginArchive::$useSiteSearch /srv/matomo/tests/PHPUnit/Fixtures/DisablePluginArchive.php(76): Warning - Undefined property: Piwik\Tests\Fixtures\DisablePluginArchive::$useSiteSearch /srv/matomo/tests/PHPUnit/Fixtures/DisablePluginArchive.php(132): Warning - Undefined property: Piwik\Tests\Fixtures\DisablePluginArchive::$useSiteSearch * Fixes undefined array key warningin SitesManager.php /srv/matomo/plugins/SitesManager/SitesManager.php(376): Warning - Undefined array key unknown
2021-12-08add disable archiving segment for plugins (#18279)Peter Zhang
* 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 <stefan@matomo.org> * Update core/ArchiveProcessor/Rules.php Co-authored-by: Stefan Giehl <stefan@matomo.org> * 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 <stefan@matomo.org> * Update tests/PHPUnit/System/ArchiveInvalidationTest.php Co-authored-by: Stefan Giehl <stefan@matomo.org> * add footer message for disable plugin add footer message for disable plugin * Update core/Plugin/Visualization.php Co-authored-by: Stefan Giehl <stefan@matomo.org> * 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 <stefan@matomo.org> * Update plugins/CoreHome/lang/en.json Co-authored-by: Stefan Giehl <stefan@matomo.org> * 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 <stefan@matomo.org>
2021-11-23Add info for trusted_hosts (#18365)Starker3
* Add info for trusted_hosts Some users were confused what this setting exactly does, so they were adding all possible hostnames that might be used such as tracking hostnames, etc. This results in the wrong URLs being used for things such as Email Reports. * ws change to trigger new builds * another ws to trigger build Co-authored-by: Stefan Giehl <stefan@matomo.org>
2021-11-10Ensure DNS records are only requested for IP allowlist when needed (#18285)Stefan Giehl
* Ensure DNS records are only requested for IP allowlist when needed - only request dns records it it's not an IP range - cache DNS results for 30 seconds to reduce DNS requests * apply review feedback
2021-10-28update database test work without section set (#18151)Peter Zhang
* update database test update database test * update tests update tests * add matomo_tests to exception add matomo_tests to exception * test env on travis test env on travis * test database change on travis test database change on travis * update tests update tests * update test update test * update test database host update test database host * update tests update tests * Update bootstrap.php update bootstrap to recreate empty test
2021-10-28Introduce new config setting to set a contact email address (#17916)Stefan Giehl
* Introduce new config setting to set a contact email address to use instead of all super user email addresses * fix test * apply review feedback * updates expected UI tests
2021-10-26Enable CSP (not report-only) and add SecurityPolicy methods to @api (#18197)Justin Velluppillai
* Enable CSP (not report-only) and add SecurityPolicy methods to @api * Remove redundant initialisation and trigger build * Updated UI test ss
2021-10-14Use the new twig template DI in more places (#18150)Thomas Steur
* Use the new twig template DI in more places * Add possibility to prevent the deletion of template cache through DI
2021-10-12Make the Twig template path more configurable with a DI entry (#18137)Sam
2021-10-11add write to adding_segment_requires_access (#18113)Peter Zhang
2021-09-28[Vue] Introduce Vue + Workflow commands (#17940)dizzy
* adding vue * adding webpack config + example vue library project * forgot to add base tsconfig.json * Add build command that allows building all plugins + watching for changes. * autodetect umd bundles * initial externals detection * integrate vue CLI * add externals config via vue config * explain regenerator issue * remove ie11 * Build polyfills in separate library. * add command to quickly compute total asset size (minified + gzipped) * output tweak for --exclude-angular * Explicitly disable support for ie11 since Vue 3 does not support it. * rebuild and add option to clear webpack cache to build commands * Add example vue component that compiles w/ vue 3. * get example vue component to display * include tslib via polyfills so it is not compiled in each library * get async component loading to work * some tweaks and tests * Add generate vue component command and run to generate activity indicator template. * switch to using composition api since that is apparently better supported, and get activity indicator adapter to bind data properly * remove vue-class-component npm package * eslint changes * rever tracking JS change * tweak * Remove CoreVue vue dir which was just there for testing. * Update vue.config.js * apply some review feedback * add plugin to compute js asset size command * use local script to build * update changelog and apply review feedback * fix bower component mapping * update expected screenshots * update screenshot * Update and rename 4.5.0-b2.php to 4.6.0-b1.php * Update Version.php * update expected screenshot * updates expected UI test files Co-authored-by: sgiehl <stefan@matomo.org>
2021-09-27Disable http requests on config (#18063)Justin Velluppillai
* re-init * Updated expected screenshot
2021-09-23For login allow list add support for IPv6 (#18046)Thomas Steur
2021-09-22removed Mssql and pgsql (#18042)Peter Zhang
2021-09-21Improves Overlay UI tests (#17920)Stefan Giehl
2021-09-21Allow social & search definitions to be sourced locally (#18023)Sam
2021-09-17Added note to config that MYSQLI isn't supported for max execution (#18018)Ben Burgess
2021-09-16add Kurdish language to Matomo (#17934)Lukas Winkler
* add Kurdish language to Matomo * use correct languagecode * updates expected test file * updates expected UI test file Co-authored-by: sgiehl <stefan@matomo.org>
2021-09-03Added config option for custom tracking image (#17879)Ben Burgess
* Added config option for custom tracking image * Update core/Tracker/Response.php Improved brevity Co-authored-by: Stefan Giehl <stefan@matomo.org> * Update core/Tracker/Response.php Improved brevity Co-authored-by: Stefan Giehl <stefan@matomo.org> * Update tests/PHPUnit/Unit/Tracker/ResponseTest.php Remove unnecessary debug comment Co-authored-by: Stefan Giehl <stefan@matomo.org> * Added restricted list of supported mime types, automatically determine mime type for image strings, switched to using file_get_contents, is_file and is_readable for image file loading * Removed image recreation due to performance limitations Co-authored-by: Stefan Giehl <stefan@matomo.org>
2021-08-30use list of supported languages from config (#17930)Lukas Winkler
* use list of supported languages from config * remove dev from list * correct list of languages
2021-08-12before trying to invalidate parent period, make sure period is enabled in ↵dizzy
INI config (#17874) * before trying to invalidate parent period, make sure period is enabled in INI config * avoid error in queueconsumer as well * make sure we avoid disabled periods in CronArchive.php
2021-08-12Set CSP header to prevent XSS (#17798)Justin Velluppillai
* Set CSP header to prevent XSS * Add config setting to disable CSP or enable report-only mode * Modify settings and remove deprecated report-uri * Adding tests * Added tests for different settings * Prefer DI Co-authored-by: Stefan Giehl <stefan@matomo.org> * SecurityPolicy objects now constructed with Config parameter * Updates expected UI test file Co-authored-by: Stefan Giehl <stefan@matomo.org>
2021-08-04limit the size of product reports (#17823)dizzy
* limit the size of product reports like most others * Update global.ini.php * Update Archiver.php * the change also needs to be reflected in aggregateMultipleReports()
2021-07-18Add log handlers syslog and errorlog (#17764)mwithheld
* Add log handlers syslog and errorlog Issue#9400 * Add log handlers syslog and errorlog * syslog/errorlog: fix namespace; add log.syslog.ident * syslog/errorlog: Document options * ErrorLogHandler constructor: Avoid null Avoid null in ErrorLogHandler constructor call: Use level param; default others * missing comma * fix two di definitions Co-authored-by: diosmosis <diosmosis@users.noreply.github.com>
2021-07-16add config to read the last IP address in the list of proxies rather than ↵dizzy
the first (#17765) * by default read the last IP address in the list of proxies rather than the first * apply review feedback * apply review feedback * update expected screenshot
2021-07-02Added "aurora_readonly_read_committed" setting to global ini (#17724)4.4.0-b1Justin Velluppillai
* Added "aurora_readonly_read_committed" setting to global ini * Updated documentation for Aurora setting
2021-06-18fix regression in trackingspamprevention and warning in bound parameter ↵dizzy
checking code (#17683) * remove testdox * fix warning if parameters is a single value, not an array * allow skipping valid host check for hardcoded URLs we know are valid * print testdox hint in case build takes too long to finish consistently * move testdox warning to correct boostrap file * fixing some tests + fix use of Date in bind params
2021-06-15Improvements to site type detection (added Drupal and WebFlow) (#17671)Stefan Giehl
* Do not send any requests to localhost or any IP in order to determine the site type * Adds integration detection for Drupal and Webflow * Make it possible to disallow Http class requests to certain hosts * log info
2021-06-14Disable logme functionality by default (#17665)Stefan Giehl
* Disable logme functionallity by default * add changelog
2021-05-11add new ini config to enable/disable the php profiler feature (#17537)dizzy
* add new ini config to enable/disable the php profiler feature * apply review feedback * fix test * update screenshot * updated expected message
2021-05-10more neutral wording and other style improvements (#17540)Lukas Winkler
* more neutral wording and other style improvements * two more changes * updates expected test files Co-authored-by: sgiehl <stefan@matomo.org>
2021-04-13Allow processing segments X days before last edit day (#17447)Stefan Giehl
2021-03-23Allow rearchive_reports_in_past_last_n_months setting value to be an int. ↵dizzy
(#17368) * Allow setting value to be an int. * change default to encourage numeric use * update expected screenshot
2021-03-15Allow selecting password_hash algorithm (#17199)Lukas Winkler
* proof of concept for selecting password_hash algorithm * better code stlye * update expected screenshot * Add entry to changelog for new INI config options. Co-authored-by: diosmosis <diosmosis@users.noreply.github.com>
2021-03-11Allow configuring segments to not be rearchived when rearchiving reports in ↵dizzy
the past. (#17325)
2021-01-19Limit GeoIP downloads to certain hosts only (#17097)Stefan Giehl
* Limit GeoIP downloads to certains hosts only * make geoip error message translatable * apply review feedback
2021-01-12Use confiugred noreply mail address when sending recovery mails (#17072)Stefan Giehl
2021-01-05Make it possible to configure smtp to use no encryption (#17039)Stefan Giehl
2020-12-31Limit max execution time of archiving queries to 2 hours by default (#16971)Stefan Giehl
* Limit max execution time of archiving queries to 2 hours * Adds test for max execution time * cast config value to float * updates expected UI files * update screenshots Co-authored-by: diosmosis <diosmosis@users.noreply.github.com>
2020-12-24Better fix for climulti segment encoding bug (#17004)diosmosis
* Segment should not be double encoded when async climulti is unsupported. * better fix for original bug, make sure request command sets query_string since it is used to get the segment * remove use * Use curl requests for core:archive in test. * fix test
2020-12-24Force new visit after 10K actions (#17014)Thomas Steur
* Force new visit after 10K actions * add test * wording * fix ui test
2020-12-15multi_server_environment setting now disallows config edits from Web UI (#16760)Nina Pypchenko
* multi_server_environment setting now disallows config edits from Web UI Turning the multi_server_environment setting on now hides the following settings from the Administration -> Settings -> General settings page: - Archiving settings - Email server - Trusted Matomo hostname - Update settings ...so that users cannot set these separately on different instances of Matomo. Fixes #14390. * Added a note for multi_server_environment setting about shared filesystems * - multi_server_environment now only hides email server settings from the general settings page. - Only making the release channel not writable in CoreUpdater->SystemSettings, and leaving the other settings as before. * Update UI test Updated UIIntegrationTest_admin_diagnostics_configfile.png - with Git LFS this time around.
2020-12-11Adds possibility to configure protocols for allowed outgoing connections ↵Stefan Giehl
(#16910) * Only allow http/https requests by default * ws * improve config name * fix typo * updates expected ui file
2020-12-08Host detection: use HTTP_HOST as default, but provide a setting to use ↵Stefan Giehl
SERVER_NAME instead (#16899)
2020-11-04several changes to emphasize setup and use of auto-archiving rather than ↵diosmosis
real-time processing (#16603) * several changes to emphasize setup and use of auto-archiving rather than real-time processing * apply some pr feedback * Applying more pr feedback. * apply review fixes * ignore ability to archive segments in real time * another tweak * update tests * fix another test * fix ui tests * update test * fix evolution icon bug * Update TreemapVisualization and update expected screenshots * update screenshots
2020-10-29Add new INI config [General] enable_framed_allow_write_admin_token_auth… ↵diosmosis
(#16595) * Add new INI config [General] enable_framed_allow_write_admin_token_auth to allow framed matomo use case to still function in Matomo 4. * Link to faq in exception message. * apply pr feedback and write integration tests (not passing) * fix test * fix test * update screenshot * fix more ui tests * update exception message * update some expected screenshots * update screenshot Co-authored-by: Thomas Steur <tsteur@users.noreply.github.com>
2020-10-01Rename login_whitelist_ip config to login_allowlist_ip (#16413)Thomas Steur
2020-09-29Fixes #15274. The value for session.gc_probability now comes from the config ↵Nina Pypchenko
files (#16480)