Skip to content

Commit

Permalink
Merge branch '5.x-dev' into fixintersectingcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
michalkleiner authored Sep 3, 2024
2 parents c51e175 + 7cbe3b4 commit 4e261e3
Show file tree
Hide file tree
Showing 87 changed files with 1,427 additions and 324 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ The Product Changelog at **[matomo.org/changelog](https://matomo.org/changelog)*

## Deprecations

The methods `Db::isOptimizeInnoDBSupported` and `Db::optimizeTables` have been deprecated. Use `Db\Schema::getInstance()->isOptimizeInnoDBSupported` and `Db\Schema::getInstance()->optimizeTables` instead
* The methods `Db::isOptimizeInnoDBSupported`, `Db::optimizeTables` have been deprecated. Use `Db\Schema::getInstance()->isOptimizeInnoDBSupported` and `Db\Schema::getInstance()->optimizeTables` instead
* The method `TransactionLevel::setUncommitted` has been deprecated. Use `TransactionLevel::setTransactionLevelForNonLockingReads` instead

## Matomo 5.1.0

Expand Down
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@
"symfony/monolog-bridge": "~5.4.0",
"symfony/polyfill-iconv": "^1.20",
"symfony/polyfill-mbstring": "^1.20",
"symfony/process": "~5.4.0",
"szymach/c-pchart": "~3.0.13",
"tecnickcom/tcpdf": "~6.0",
"tedivm/jshrink": "~v1.4.0",
Expand Down
64 changes: 63 additions & 1 deletion composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions config/environment/ui-test.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@
'tests.ui.url_normalizer_blacklist.controller' => [],

// disable check for plugin updates during UI tests, allow for override
'dev.disable_plugin_update_checks' => Piwik\DI::decorate(function ($previous, Container $c) {
return !$c->get('test.vars.forceEnablePluginUpdateChecks');
'dev.forced_plugin_update_result' => Piwik\DI::decorate(function ($previous, Container $c) {
return $c->get('test.vars.forceEnablePluginUpdateChecks') ? null : [];
}),

'twig.cache' => function (\Piwik\Container\Container $container) {
$templatesPath = $container->get('path.tmp.templates');
return new class($templatesPath) extends \Twig\Cache\FilesystemCache {
return new class ($templatesPath) extends \Twig\Cache\FilesystemCache {
public function write(string $key, string $content): void
{
$retryCount = 3;
Expand Down
2 changes: 1 addition & 1 deletion config/global.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@

'observers.global' => [],

'dev.disable_plugin_update_checks' => false,
'dev.forced_plugin_update_result' => null,

/**
* By setting this option to false, the check that the DB schema version matches the version of the source code will
Expand Down
Loading

0 comments on commit 4e261e3

Please sign in to comment.