-
- Téléchargements
Fixes #2584
* Implemented instead as a public API, that can invalidate any report from any day or list of idsites * the API will be called by the Log Import script * the archive.php next run will process these dates in priority * the ts_created is updated in the websites to make sure calendar is selectable * Handles when "Delete logs older than N days". Only invalidate reports that are more recent than N days (for which we are likely to still have logs) * Added integration test that * first calls the reports, old data not displayed * then calls the API invalidating reports for newer dates * then calls the API again, now with data! git-svn-id: http://dev.piwik.org/svn/trunk@6039 59fd770c-687e-43c8-a1e3-f5a4ff64c105
parent
8679f21e
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Affichage de
- misc/cron/archive.php 55 ajouts, 6 suppressionsmisc/cron/archive.php
- plugins/CoreAdminHome/API.php 191 ajouts, 0 suppressionplugins/CoreAdminHome/API.php
- tests/integration/Integration.php 37 ajouts, 4 suppressionstests/integration/Integration.php
- tests/integration/VisitsInPast_InvalidateOldReports.test.php 164 ajouts, 0 suppressiontests/integration/VisitsInPast_InvalidateOldReports.test.php
- tests/integration/expected/test_VisitsInPast_InvalidateOldReportsWebsite1_OldReportsShouldAppear__Actions.getPageUrls_month.xml 155 ajouts, 0 suppression...te1_OldReportsShouldAppear__Actions.getPageUrls_month.xml
- tests/integration/expected/test_VisitsInPast_InvalidateOldReportsWebsite1_OldReportsShouldAppear__VisitsSummary.get_month.xml 26 ajouts, 0 suppression...site1_OldReportsShouldAppear__VisitsSummary.get_month.xml
- tests/integration/expected/test_VisitsInPast_InvalidateOldReportsWebsite1_OldReportsShouldNotAppear__Actions.getPageUrls_month.xml 109 ajouts, 0 suppression..._OldReportsShouldNotAppear__Actions.getPageUrls_month.xml
- tests/integration/expected/test_VisitsInPast_InvalidateOldReportsWebsite1_OldReportsShouldNotAppear__VisitsSummary.get_month.xml 17 ajouts, 0 suppression...e1_OldReportsShouldNotAppear__VisitsSummary.get_month.xml
- tests/integration/expected/test_VisitsInPast_InvalidateOldReportsWebsite2_OldReportsShouldAppear__Actions.getPageUrls_month.xml 165 ajouts, 0 suppression...te2_OldReportsShouldAppear__Actions.getPageUrls_month.xml
- tests/integration/expected/test_VisitsInPast_InvalidateOldReportsWebsite2_OldReportsShouldAppear__VisitsSummary.get_month.xml 27 ajouts, 0 suppression...site2_OldReportsShouldAppear__VisitsSummary.get_month.xml
- tests/integration/expected/test_VisitsInPast_InvalidateOldReportsWebsite2_OldReportsShouldNotAppear__Actions.getPageUrls_month.xml 110 ajouts, 0 suppression..._OldReportsShouldNotAppear__Actions.getPageUrls_month.xml
- tests/integration/expected/test_VisitsInPast_InvalidateOldReportsWebsite2_OldReportsShouldNotAppear__VisitsSummary.get_month.xml 18 ajouts, 0 suppression...e2_OldReportsShouldNotAppear__VisitsSummary.get_month.xml
Chargement en cours
Veuillez vous inscrire ou vous se connecter pour commenter