Skip to content
Extraits de code Groupes Projets
  1. sept. 23, 2016
  2. nov. 27, 2014
  3. nov. 25, 2014
  4. nov. 07, 2014
  5. oct. 05, 2014
  6. sept. 09, 2014
  7. sept. 08, 2014
  8. avr. 20, 2013
    • mattab's avatar
      Fixes #3904: · 35f975ac
      mattab a rédigé
       * new segment 'siteSearchKeyword'
      Fixes #3903, #3905:
       * adding few fields in the Live API output to accomodate getSuggestedValuesForSegment
       * renamed other fields for consistency with segment names
      Fixes #3906:
       * new API: getSuggestedValuesForSegment which returns top suggested values for a particular segment. It uses the Live.getLastVisitsDetails API to fetch the most recently used values, and will show the most used values first
      
       * Adding tests for everything. The test case actually generates data for all segments so that VisitsSummary.get returns some data for each of the 47 segments being tested returns some data.
        How it works:
        * generate extended data in fixture
        * Tests (1) call getSuggestedValuesForSegment for each segment, check there is some data returned for each segment
        * get the first suggested value from the list,
        * Tests (2) call VisitsSummary.get with this segment value, eg. countryCode==ru.
          * I worked this way for all 47 segments until all tests had some data ==> now we know that all segments have been tested and that the auto suggest works for all segments. TDD FTW!
      35f975ac
  9. oct. 19, 2012
  10. déc. 03, 2011
  11. nov. 02, 2011
  12. oct. 31, 2011
  13. oct. 30, 2011
  14. juil. 27, 2010
  15. juil. 20, 2010
    • mattpiwik's avatar
      Refs #1125 · 1c0b11cd
      mattpiwik a rédigé
       * Example of a simple filter to apply to the datatable in the API method. Filters will automatically work on all dataTable are are easy to write /maintain
      
       * Fixing tests
      
      git-svn-id: http://dev.piwik.org/svn/trunk@2595 59fd770c-687e-43c8-a1e3-f5a4ff64c105
      1c0b11cd
  16. juil. 13, 2010
    • 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
  17. 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