Skip to content
Extraits de code Groupes Projets
  1. déc. 05, 2014
  2. déc. 04, 2014
  3. déc. 02, 2014
  4. nov. 28, 2014
  5. nov. 25, 2014
  6. nov. 23, 2014
  7. nov. 19, 2014
  8. nov. 17, 2014
  9. nov. 13, 2014
    • Thomas Steur's avatar
      3e251680
    • Thomas Steur's avatar
      refs #6617 if process or output size is too large, declare it as finished · 320b0f19
      Thomas Steur a rédigé
      Declares a process as finished as soon as a PID file is > 500bytes
      (contains only PID) and output file is > 100MB (which should usually
      not be larger than 100KB or 1MB) to prevent files growing up to many
      GBs. I added unit and integration tests for the file size detection. It is
      now possible to mock the methods file_exists and filesize although very
      simple so far. Later we can allow to define callbacks or to define different
      return values for different files or we can use something like vfsStream
      320b0f19
    • mattab's avatar
    • Matthieu Napoli's avatar
      Moved the `tmp/` path into the config (was hardcoded everywhere) · c9d698f4
      Matthieu Napoli a rédigé
      The `tmp/` path was hardcoded everywhere, which resulted in using `SettingsPiwik::rewriteTmpPathWithInstanceId()` to rewrite it for specific use cases.
      
      I've moved that path into the config, and replaced all hardcoded usage (and calls to `rewriteTmpPathWithInstanceId()`) by a `get()` from the container.
      
      Getting entries from the container is a bad practice and dependency injection should be preferred, but we do baby steps. When refactoring those classes to DI, we'll replace calls to the container with proper dependency injection.
      Another thing we'll need to do too is move the hardcoded *sub-path* of `tmp/` (e.g. `tmp/sessions/`) into the config also (but again: baby steps).
      
      Another future step would be to remove completely instance ID and let it be handled by a plugin (or by end-user config). Having the `tmp/` path in the config means that plugins or users can override it and know it will be taken into account everywhere in Piwik.
      c9d698f4
    • mattab's avatar
      New unit test refs #5365 · be899f7a
      mattab a rédigé
      be899f7a
  10. nov. 12, 2014
  11. nov. 11, 2014
  12. nov. 07, 2014
    • diosmosis's avatar
      Moved processed metrics computation to DataTableGenericFilter, removed new... · c1264ec0
      diosmosis a rédigé
      Moved processed metrics computation to DataTableGenericFilter, removed new filters & implemented as methods in Report to avoid confusion regarding re-use, allow adding processed metrics as DataTable metadata and use this to rewrite AddProcessedMetrics filter, correct name of Metrics::getMappingFromIdToName function, added placeholder AggregatedMetric class for future, revise Metric/ProcessedMetric hierarchy (add methods for translation/etc.), allow .get API methods to use metadata to automatically figure out which columns to select, get EcommerceOrderWithItemsTest to pass.
      c1264ec0
  13. nov. 03, 2014
  14. nov. 02, 2014
  15. oct. 31, 2014
  16. oct. 29, 2014
  17. oct. 28, 2014
  18. oct. 22, 2014
  19. oct. 20, 2014
  20. oct. 16, 2014
  21. oct. 15, 2014
  22. oct. 14, 2014
  23. oct. 13, 2014
Chargement en cours