Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on May 26, 2015
  1. @diosmosis

    Merge pull request #7957 from piwik/test_env_di_3

    diosmosis authored
    Adding Config instance to DI and move all Config related test setup code from Config.php and TestingEnvironment.php to TestConfig class. Introduced completely internal EnvironmentManipulator concept so tests can change paths of local/global/common INI config file.
  2. @mnapoli

    Updating screenshot submodule

    mnapoli authored
Commits on May 25, 2015
  1. @diosmosis

    Merge pull request #7992 from piwik/6244

    diosmosis authored
    For Outlinks and Download URLs, do not exclude URL parameters and store URLs untouched (with fragment).
  2. @mattab
  3. @diosmosis

    Fix Integration/TrackerTest.php when [database_tests] tables_prefix i…

    diosmosis authored
    …s different from [database]. It's not necessary to unset the config/global settings provider, this is handled by environment setup.
  4. @diosmosis

    Merge pull request #7964 from piwik/7958_purger_idaction_detect

    diosmosis authored
    Detect idaction columns automatically in LogDataPurger using ActionDimension metadata. Also, added LogDataPurger to DI and allow monkey patching of DimensionMetadataProvider.
  5. @mattab

    Merge pull request #7980 from piwik/http_authentication

    mattab authored
    Implement HTTP-Authentication for transport methods socket & fopen
  6. @mattab

    For Outlinks and Download URLs, do not exclude URL parameters and sto…

    mattab authored
    …re URLs untouched
    
    Also adds a missing URL Encoding for action URLs.
    (when outlink or download urls contained `&` and such characters breaking the URL this possibly corrupted the tracking request).
    
    Fixes #6244
  7. @mattab
Commits on May 24, 2015
  1. @diosmosis

    Fixing BlobReportLimitingTest. Fixture::createConfig has no effect no…

    diosmosis authored
    …w, and setting config must be done after environment is created.
  2. @diosmosis

    Fixing AssetManagerTest. Now that loading custom files is done via En…

    diosmosis authored
    …vironmentManipulators, don't use custom config files in AssetManagerTest. This includes using custom logic for testing if a plugin is core (since we can't change global.ini.php contents).
  3. @diosmosis
  4. @diosmosis

    Moved Config object to the DI container and override w/ TestConfig th…

    diosmosis authored
    …rough DI config. Replaced the singleton GlobalSettingsProvider hack w/ the concept of an EnvironmentManipulator (internal to Piwik, not to be used anywhere but TestingEnvironment.php).
  5. @sgiehl
  6. @diosmosis

    Add content tracking action to PrivacyManagerTest to make sure we tes…

    diosmosis authored
    …t whether content impressions are correctly purged/preserved.
Commits on May 22, 2015
  1. @diosmosis
  2. @diosmosis
  3. @diosmosis
  4. @diosmosis

    Since LogDataPurger::$deleteLogsOlderThan and LogDataPurger::$maxRows…

    diosmosis authored
    …ToDeletePerQuery can be set using values from the DB, make them function parameters instead of service state. Change made in anticipation of move to DI.
  5. @diosmosis

    Move Config::setTestEnvironment() to TestConfig. This will require ch…

    diosmosis authored
    …anging some non-pro plugins when merged (LoginLdap only I think).
  6. @diosmosis

    Remove the Config.createConfigSingleton test event from being posted …

    diosmosis authored
    …in Config.php. Also removed the $initialized property, which is only used to lazily post the test event.
  7. @diosmosis

    Move the Config.createConfigSingleton event handler in TestingEnviron…

    diosmosis authored
    …ment.php to the TestConfig class. Since this logic is meant to be executed directly after a Config instance is created, and is only used when TestConfig is used, we can do this.
  8. @diosmosis

    Merge pull request #7963 from piwik/test_env_di_4

    diosmosis authored
    Allow integration + system tests to override DI through provideContainerConfig method and provideContainerConfigBeforeClass method.
  9. @mattab

    Merge pull request #7944 from piwik/5014

    mattab authored
    Handle correctly URLs with utf8 characters  (Outlinks and Download URLs)
Commits on May 21, 2015
  1. @diosmosis

    Fix TrackerTest provideContainerConfig() method. Now that it is calle…

    diosmosis authored
    …d during test case setup, check the const is defined before defining it. Otherwise, there will be an error regarding redefining the constant.
  2. @diosmosis

    Make sure custom container config defined in Fixtures w/ provideConta…

    diosmosis authored
    …inerConfig override is applied when creating the Environment. Also allow SystemTestCases and IntegrationTestCases to override container config from the test class, without creating a custom Fixture.
  3. @diosmosis

    For integration tests, recreate test environment in setUp(). This is …

    diosmosis authored
    …required since the environment can be modified during tests, and these modifications must be removed after (eg, event observers can be registered). Since Plugin\Manager is in DI, we must also reload plugins.
    
    Integration/Plugin/ManagerTest.php was modified; order of plugins changed because Fixture::loadPlugins() will use TestingEnvironment to gather plugins, which sorts plugins by name.
  4. @diosmosis

    Define observer in proxy piwik.php through TestingEnvironment, instea…

    diosmosis authored
    …d of calling Piwik::addAction, since the latter needs the DI container (which is not setup yet).
  5. @diosmosis

    Use observers.global DI config in TestingEnvironment to define event …

    diosmosis authored
    …observers, since the container is not created at this point.
  6. @diosmosis

    Allow event observers to be defined before the container is created v…

    diosmosis authored
    …ia the observers.global DI config entry.
  7. @diosmosis

    Move EventDispatcher service to DI and remove EventDispatcher::clearA…

    diosmosis authored
    …llObservers method. This method is only used to 'reset' the EventDispatcher, and is no longer necessary thanks to DI.
  8. @mnapoli

    Updating screenshots

    mnapoli authored
Commits on May 20, 2015
  1. @mattab

    Make Piwik.js unit tests green

    mattab authored
  2. @mnapoli

    Updating screenshots

    mnapoli authored
  3. @mnapoli
Something went wrong with that request. Please try again.