Skip to content
Extraits de code Groupes Projets
  1. mai 20, 2012
  2. sept. 13, 2011
  3. juin 05, 2011
  4. mai 16, 2011
  5. fév. 12, 2011
    • mattpiwik's avatar
      Refs #1736 · 0e325251
      mattpiwik a rédigé
       * API functions returning data now have a new optional 'segment' parameter. segment can define a Visitor segment dynamically that will be applied to the report. For example, &segment=country==FR;actions>=3 (AND, OR supported. Only == and != supported currently, but easy to add more)
       * For API requests with a segment parameter, the reports will now be processed on the fly, and only the requested plugin report will be archived.
       * All plugins now define the 'segments', with a name, category, SQL field, filter, etc.
       * Simplifying archiving code a bit
       * Fixes #2069 Exit rate computation
       * New widget: lists the Top Keywords for a page URL, Widgets for a website only. Maybe later we could create a widget category "For your site"?
        * This widget is pretty cool SEO wise, but maybe the PHP snippet should do caching (not so good hitting the API on each page view... but why not?)
       * still to do!
      
      git-svn-id: http://dev.piwik.org/svn/trunk@3870 59fd770c-687e-43c8-a1e3-f5a4ff64c105
      0e325251
  6. jan. 17, 2011
  7. juil. 13, 2010
    • mattpiwik's avatar
      Refs #1446 · f1d8f1c1
      mattpiwik a rédigé
      Integration tests were often different simply because the internal idsubdatatable in the response was different. However. this idsubtable is really just an internal ID and it is not expected that this ID is the same across several archiving processes. Therefore integration tests will now set a special flag to remove the ID from the response, to minimize noise.
      
      git-svn-id: http://dev.piwik.org/svn/trunk@2495 59fd770c-687e-43c8-a1e3-f5a4ff64c105
      f1d8f1c1
    • mattpiwik's avatar
      Fixes #1297 · 957d0281
      mattpiwik a rédigé
       * now reporting Actions per visit 
       * reporting Average Visit duration instead of total visit duration
       * removed api getMaxActionsReturning() as it doesn't sound like a useful metric
       * udpated tests to test the new metrics 
      
      git-svn-id: http://dev.piwik.org/svn/trunk@2494 59fd770c-687e-43c8-a1e3-f5a4ff64c105
      957d0281
    • mattpiwik's avatar
      Refs #396 · 0256a281
      mattpiwik a rédigé
       * updating exit_rate calculation to have nb of pages view as the denominator, rather than number of visits. Complies with WAA Page Exit Ratio (ie. Exit rate) proposal.
      
      git-svn-id: http://dev.piwik.org/svn/trunk@2490 59fd770c-687e-43c8-a1e3-f5a4ff64c105
      0256a281
  8. juil. 12, 2010
    • mattpiwik's avatar
      Refs #1125 · 00511e84
      mattpiwik a rédigé
       * fixing integration tests
       * fixing bug when no visit (called function on non object)
      Refs #818: all_tests.php is now green on my box
      
      git-svn-id: http://dev.piwik.org/svn/trunk@2474 59fd770c-687e-43c8-a1e3-f5a4ff64c105
      00511e84
  9. juil. 06, 2010
    • mattpiwik's avatar
      Fixing bug in Archiving found with this new test suite (max_actions was... · 43460d81
      mattpiwik a rédigé
      Fixing bug in Archiving found with this new test suite (max_actions was incorrectly summed during archiving, rather than max() operation)
      Updating expected file as naming convention changed in previous commit
      Refs #1446
      
      
      git-svn-id: http://dev.piwik.org/svn/trunk@2442 59fd770c-687e-43c8-a1e3-f5a4ff64c105
      43460d81
    • mattpiwik's avatar
      Introducing documented piwik.php PHP Tracking client. · 52ce332c
      mattpiwik a rédigé
      Also adding integration test suite in place.
      
       * Adding new mechanism to trigger known tracking requests, then call all API methods get* and compare XML to the previous 'expected' XML.
       * make sure overwritten config files are not read during tests. Use defaults from global.ini.php.
       * piwik.php Tracker allow calling script to force Datetime and user IP for a specific request. 
       * Wrote 3 main tests
        * wrong tracking requests should not return error and should not record anything 
        * standard one visitor, 2 visits, with page view, download, outlink and goal tracked
        * Added integration test as an example in the ExampleAPI plugin (pretty simple to add testing code)
      TODO 
       * Finish PiwikTracker and show it in UI
       * Show how to use image based tracker in UI
       * Add more tests (multi periods and multi sites) in Main.test.php
       * Fix failing Config.test.php test (when ran via all_tests.php doesn't fail otherwise)
      
      git-svn-id: http://dev.piwik.org/svn/trunk@2429 59fd770c-687e-43c8-a1e3-f5a4ff64c105
      52ce332c
Chargement en cours