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
AgeCommit message (Collapse)Author
2020-06-04Merge branch '3.x-dev' into 4.x-devsgiehl
2020-05-22Limit the fingerprint (#15886)Thomas Steur
2020-04-24Update doc blocks with new name (#15857)Stefan Giehl
* update doc blocks with new name * submodule updates * updates expected UI files
2020-03-16Merge branch '3.x-dev' into 4.x-devsgiehl
2020-03-11Make sure config cache is only used when there is a correct path (#15687)Thomas Steur
2020-01-28Use rebranded components (#15253)Stefan Giehl
2020-01-20Removes some code marked as deprecated (#15419)Stefan Giehl
2019-10-13Allow bootstrap file to manipulate config settings (#15001)Thomas Steur
Allows a bootstrap file to change config settings like by creating a `bootstrap.php` and then having eg ```php $GLOBALS['MATOMO_MODIFY_CONFIG_SETTINGS'] = function ($settings) { $settings['Plugins'][] = 'MyPlugin'; return $settings; }); ``` It's mainly useful to configure the list of plugins as pretty much all other settings can be configured through DI when the config is being created. I was doing this initially here as well for quite some time until I noticed a problem with an incompatible plugin and had to do it this way. The problem is that when changing the list of activated plugins dynamically through DI, then the plugin config.php files aren't loaded correctly. The order is: 1. Get activated plugins 2. Load plugin config.php files when building DI container 3. Run DI container for config class This means when adding eg TagManager through DI to the list of activated plugins then the config.php of TagManager will never be loaded and it always results in errors. Instead of in step 3 I needed to make the change in step 1. Not documenting this for now as it would usually never be needed and we don't want to support this just yet.
2019-09-13Various platform tweaks (#14832)Thomas Steur
* platform tweaks * prevent failing if loaded twice * Update Config.php * Update PluginList.php * Update Config.php * Update IniFileChain.php * Update Config.php * Update Config.php * allow configure different path for custom logo * only show install plugin button when activated * allow disable users and sites management * do not allow calling set super user access * Update PluginList.php * Update Config.php * Update global.ini.php * Update Config.php * Update global.ini.php
2019-08-16delete config cache only after the cache was written (#14754)Thomas Steur
2019-08-04Support to cache the config file (#14617)Thomas Steur
* support config cache * make cache work * minor tweak * add tests * update test
2019-07-05Update the link tag for all php files (#14635)Luca
I updated the link tag for all php files with the new matomo link. Not sure if it is realistic that this will get merged but I though that someday someone has to do this(?)
2016-03-08prevent possible errors in IniFileChain::arrayUnmergesgiehl
2015-09-22fix saving config does not work, we need to remove a referenceThomas Steur
BTW: The method name Config::forceSave is kinda wrong as it does not force anything, it saves only if there is a change
2015-09-02fixing 3 config testsThaDafinser
2015-09-02fixing some unlink and othersThaDafinser
2015-05-27fix core folder with php-cs-fixer for psr-2fabiocarneiro
2015-04-18Merge branch 'master' into config_step_2diosmosis
Conflicts: config/global.php core/CliMulti/RequestCommand.php core/Config.php core/Config/IniFileChain.php tests/PHPUnit/System/BlobReportLimitingTest.php tests/PHPUnit/TestingEnvironment.php tests/PHPUnit/Unit/Config/IniFileChainTest.php tests/PHPUnit/Unit/ConfigTest.php
2015-04-14Encode/decode INI properties in IniFileChain since the encoding/decoding is ↵diosmosis
used to avoid issues w/ parse_ini_file() use.
2015-04-09Move Config::encodeValues/Config::decodeValues from Config to IniFileChain ↵diosmosis
since they are vital to correctly storing/loading settings w/o strange bugs.
2015-04-09Get new environment validation test to pass.diosmosis
2015-04-09Added environment validation system test (mostly failing) that tests Piwik's ↵diosmosis
behavior when INI files are gone or corrupt from each Piwik endpoint (tracker/reporting UI/console). Hacked test code to make it possible and for some tests to pass.
2015-04-09Fixing typos, filling in docs, merging IniFileChainFactory w/ ↵diosmosis
IniSettingsProvider.
2015-04-07Merge branch 'master' into config_step_2diosmosis
2015-04-07Refs #7312, fix for last commit if dumping changes and new section has been ↵diosmosis
added to Config.
2015-04-07Merge branch 'master' into config_step_2diosmosis
2015-04-07Refs #7312, fix bug where config file is saved w/ sections in incorrect ↵diosmosis
order. Bug occurs due to incorrect sorting that sorts sections according to which files they appear in, but not where they appear in individual files.
2015-04-07Adding environment validation class to centralize all config.ini.php + ↵diosmosis
related file checking (both in code & in time (so done in one place in code & one time in execution)).
2015-04-06Fixing Installation UI tests.diosmosis
2015-04-06Fixing unit tests, includes environment creation/destruction to UnitTestCase ↵diosmosis
base class + ability to override environment in UnitTestCase.
2015-04-03Hacking away so it's possible for certain pro plugin tests to pass.diosmosis
2015-04-03#7601 Removed the dependency from the container to the configMatthieu Napoli
The container now uses IniFileChain, which means it doesn't need the Config object anymore.
2015-03-31Fix issue where reference not returned by IniFileChain::get when settings ↵diosmosis
file is completely empty and add test case. Also add type hint to IniFileChain::__construct.
2015-03-15Force sections in INI file output to be ordered by when sections appear in ↵diosmosis
file chain.
2015-03-15Fix unit test, make array settings being overwritten in default settings ↵diosmosis
file chain the expected behavior.
2015-03-12Fix a regression (w/ new test) where if no changes in user settings config, ↵diosmosis
the config file is erased. Also sort config sections w/ case insensitive search.
2015-03-12Merge branch 'master' into config_ini_merge_refactordiosmosis
Conflicts: core/Config.php
2015-03-10Fixes #7356 Do not catch and silence exceptions blindlyMatthieu Napoli
2015-03-02Do not use missing getIniFile() exception message in Config, instead catch ↵diosmosis
the exception and augment message w/ file being read in IniFileChain. Also includes some mild refactoring to IniFileChain.
2015-03-02Add tests for IniFileChain, compose IniFileChain in Config instead of ↵diosmosis
inherit and get tests to pass.
2015-03-02Extract INI file merging logic in Config class and move to new IniFileChain ↵diosmosis
class. This is an intermediate step in allowing Config/Plugin\Manager to exist in DI.
2013-07-07Removed the deprecated Piwik_Config_Compat file and the ↵Benaka Moorthi
Piwik::createConfigObject function.
2013-03-28Mass conversion of all files to the newly agreed coding standard: PSR 1/2mattab
Converting Piwik core source files, PHP, JS, TPL, CSS More info: http://piwik.org/participate/coding-standards/
2013-02-06Removing SVN $, since Git does not provide auto properties.Fabian Becker
2012-06-03Fixes #3174mattpiwik
git-svn-id: http://dev.piwik.org/svn/trunk@6446 59fd770c-687e-43c8-a1e3-f5a4ff64c105
2012-05-28added/fixed doc blockssgiehl
git-svn-id: http://dev.piwik.org/svn/trunk@6353 59fd770c-687e-43c8-a1e3-f5a4ff64c105
2012-05-24completed a bunch of php doc blockssgiehl
git-svn-id: http://dev.piwik.org/svn/trunk@6300 59fd770c-687e-43c8-a1e3-f5a4ff64c105
2012-03-10refs #1713 - __set() should set dirty bitrobocoder
git-svn-id: http://dev.piwik.org/svn/trunk@6029 59fd770c-687e-43c8-a1e3-f5a4ff64c105
2012-03-10refs #1713 - remove Config __destruct()robocoder
git-svn-id: http://dev.piwik.org/svn/trunk@6028 59fd770c-687e-43c8-a1e3-f5a4ff64c105
2012-03-06refs #1713 - splitting reader/writer just isn't possible with the way ↵robocoder
integration tests run git-svn-id: http://dev.piwik.org/svn/trunk@5968 59fd770c-687e-43c8-a1e3-f5a4ff64c105