Skip to content
Permalink
Branch: 3.x-dev
Commits on Oct 16, 2019
  1. Fix some ui tests (#15017)

    tsteur committed Oct 16, 2019
  2. Fix web cron returns an error when archiving (#15014)

    tsteur committed Oct 16, 2019
    refs #15012
  3. Add new method to register a plugin auto loader when plugin is instal…

    tsteur committed Oct 16, 2019
    …led outside Matomo plugin dir (#15011)
  4. Remove misc/gpl-3.0.txt in favour of LICENSE (#15010)

    tsteur authored and mattab committed Oct 16, 2019
Commits on Oct 15, 2019
  1. Change visibility of some classes in AssetManager (#15009)

    tsteur committed Oct 15, 2019
  2. Avoid warning headers already sent when setting session cache limiter (

    tsteur authored and mattab committed Oct 15, 2019
    …#14979)
    
    * Avoid warning headers already sent when setting session cache limiter
    
    * Update bootstrap.php
  3. Fix link to team in legalnotice (#15003)

    tsteur committed Oct 15, 2019
  4. No longer include Js in twig file in SEO widget (#15005)

    tsteur committed Oct 15, 2019
    * no longer include Js in twig file
    
    * trying to fix test
    
    * fix js error
Commits on Oct 14, 2019
  1. Fix mismatched visitors (Overview / Visitor Log) when segment is appl…

    tsteur committed Oct 14, 2019
    …ied (#14963)
  2. Revert "no longer include Js in twig file (#14994)" (#15004)

    tsteur committed Oct 14, 2019
    This reverts commit 4256545.
  3. no longer include Js in twig file (#14994)

    tsteur committed Oct 14, 2019
Commits on Oct 13, 2019
  1. Allow bootstrap file to manipulate config settings (#15001)

    tsteur committed Oct 13, 2019
    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.
Commits on Oct 11, 2019
  1. Remove not needed angular mocks library from release (#14992)

    tsteur committed Oct 11, 2019
    It seems this is only needed for tests but we actually exclude the tests from the release so we can also exclude this in the package.
  2. Remove no longer needed file for IE9 (#14993)

    tsteur committed Oct 11, 2019
    * Remove no longer needed file for IE9
    
    We're not supporting it anymore anyway
    
    * Update iframe.twig
    
    * Update _header.twig
  3. Remove no longer used library html5shiv (#14990)

    tsteur committed Oct 11, 2019
  4. Add event to generate asset manager instance (#14995)

    tsteur committed Oct 11, 2019
  5. Don't enable example plugins by default so we can remove them from th…

    tsteur authored and mattab committed Oct 11, 2019
    …e release (#14991)
    
    * trying to remove example plugins
    
    * remove example plugins on next update
    
    * fix screenshot test
Commits on Oct 10, 2019
  1. Fix moving some widgets doesn't work (#14951)

    tsteur authored and katebutler committed Oct 10, 2019
  2. Avoid redirect in RSS changelog (#14988)

    tsteur committed Oct 10, 2019
  3. Use correct paths in server files generator (#14981)

    tsteur committed Oct 10, 2019
    * Use correct paths in server files generator
    
    * Update ServerFilesGenerator.php
    
    * Update ServerFilesGenerator.php
  4. Ensure setVisitorCookieTimeout is executed first (#14980)

    tsteur committed Oct 10, 2019
  5. Add event to disable async execution of CliMulti (#14969)

    tsteur committed Oct 10, 2019
Commits on Oct 9, 2019
  1. Smaller varchar size for log_action.name (#14859)

    tsteur committed Oct 9, 2019
Commits on Oct 7, 2019
  1. Remove JSON2 from Admin UI (#14962)

    tsteur committed Oct 7, 2019
  2. Use minified version of angular lib (#14959)

    tsteur committed Oct 7, 2019
  3. Remove accidentally committed file (#14960)

    tsteur committed Oct 7, 2019
    * Remove accidentally committed file
    
    Only piwik.min.js should exist in that directory.
    
    * Delete piwik.js.orig
Commits on Oct 4, 2019
  1. Check email case insensitive in updateUser (#14950)

    tsteur committed Oct 4, 2019
Commits on Oct 2, 2019
  1. Check if widget is enabled in admin home before checking it, fix syst…

    tsteur committed Oct 2, 2019
    …em summary (#14930)
  2. Show all sites item only if multi sites is enabled (#14936)

    tsteur committed Oct 2, 2019
    * Show all sites item only if multi sites is enabled
    
    * default filter isn't needed
  3. To not prefix dir ever (#14928)

    tsteur committed Oct 2, 2019
  4. Fix error session already started (#14914)

    tsteur committed Oct 2, 2019
    * Fix error session already started
    
    Got this error when going on eg  `index.php?module=PrivacyManager&action=privacySettings&idSite=1&period=week&date=2019-09-20` and a session was started by another tool. That page uses NONCE which then uses SessionNamespace which then wants to start the session even though it was already started.
    I don't think I can write a test for it but need to see.
    
    * add test
  5. Ignore option inserts if they fail (#14931)

    tsteur committed Oct 2, 2019
    Problem I'm having is that I'm using a different DB backend which logs/shows errors in their DB layer. In this case what happens is that we're often calling `Option::set()` and the value doesn't actually change. In this case because no row changed, the update `$result` will be `0` and therefore it will try to insert the value which will fail because of duplicate entry.
     I know we're catching the exception but in this case we can as well IGNORE any failure when we catch any exception anyway. This way there will be no more errors shown in the UI when using a different DB layer. I know the same problem can happen in other queries we do as well but it's particularly annoying with the option queries currently.
  6. Add option to archiver to not create archives for segments for today (#…

    tsteur committed Oct 2, 2019
    …14834)
    
    * add option to not archive segment for today
    
    * better implementation
    
    * added some logging and tests
    
    * also archive when ts_last_edit is recent
    
    * tweak message
Commits on Oct 1, 2019
  1. Catch error if tx_isolation is not available (#14924)

    tsteur authored and diosmosis committed Oct 1, 2019
Commits on Sep 30, 2019
  1. HTTP method needs to return true when a destination path is given (#1…

    tsteur committed Sep 30, 2019
    …4921)
    
    In #14877 I added a new feature so plugins can hook into HTTP. Now noticed the GeoIP download was not working because it didn't return true when the response was loaded into a file.
Older
You can’t perform that action at this time.