Add more information to system check and be able to copy/paste for debugging purposes #15931
Labels
Enhancement
For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.
Milestone
This will help us better understand and debug issues
@Findus23 I think we maybe already have an issue for the copy/paste system check feature but couldn't find it right now.
Similar to Matomo for WP it would be great to have these features included when also developing the copy/paste feature:
We also want to show more information such as
Ideally the copied system check would anonymise few things like
replace(SettingsPiwik::getMatomoUrl(), '$MATOMO_URL', $input)
replace(PIWIK_DOCUMENT_ROOT, '$MATOMO_DOC_ROOT', $input)
replace(PIWIK_USER_PATH, '$PIWIK_USER_PATH', $input)
$value = preg_replace('/[[:xdigit:]]{31,80}/', 'TOKEN_REPLACED', $value);
We can generally reuse a lot of logic for this from WP-Matomo see https://github.com/matomo-org/wp-matomo/blob/develop/classes/WpMatomo/Admin/SystemReport.php and https://github.com/matomo-org/wp-matomo/blob/1.0.6/matomo.php#L124-L156
The text was updated successfully, but these errors were encountered: