Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-07-05Update the link tag for all php files (#14635)Luca
I updated the link tag for all php files with the new matomo link. Not sure if it is realistic that this will get merged but I though that someday someone has to do this(?)
2019-01-28Allow DataTables to disable generic filters gthrough a datatable metadata. ↵diosmosis
(#14004) * Allow DataTables to disable generic filters gthrough a datatable metadata. * Add unit test for metadata.
2019-01-10Make sure totalsRow is in serialized datatable. (#13942)diosmosis
* Make sure totalsRow is in serialized datatable. * Handle totals row in deleteColumn/renameColumn. * Adding tests. * update expected test file
2018-12-07Some work on report totals (#13555)Thomas Steur
* some work on totals * fix graphs * tweak rendering of totals row * disable evolution for totals row * let plugins configure totals row visibility * remove metadata * more tweaks and make it configurable * improve code and performance * fix some tests * lots of improvements * support bandwidth and other plugins * fix tests * add screenshot test * also fix existing test * add new method supportsTotalRow * various fixes * Updating some expected test files.
2018-10-11Implements wrapper method for a more secure unserialize with PHP 7 (#13285)Stefan Giehl
* Implements wrapper method for a more secure unserialize * run AllTests on PHP 7 * trigger a debug message if unserialize fails on PHP 7 + tests * Add string to deserialize to debug log.
2018-09-07Make sure simple datatable metadata is serialized + some test case changes ↵diosmosis
(#13296) * Make DataTable metadata protected so it will be serialized in derived classes. * Allow SystemTestCase::runAnyApiTest to test any format and use a testSuffix. * Add test for metadata serialization & note about it in field docs.
2018-03-19Fix others row might not be replaced in subtables of others row (#12541)Thomas Steur
* Fix others row might not be replaced in subtables of others row * add comment re performance
2018-03-06Assorted events and changes (#12496)Benaka
* Throw exception if date is empty in Period\Factory::build() since it can occur during development. * Add API.Request.intercept event in API\Proxy so plugins can preempt normal API execution. * Use Request::getRenamedModuleAndAction() in Visualization, as it is called in every other use of core/API/Proxy. * Add new SitesManager.shouldPerformEmptySiteCheck event. * Add event Request.shouldDisablePostProcessing so plugins can disable datatable post processing for certain requests. * Make sure DataTable metadata is serialized with the table. * Add description of API.Request.intercept, Request.shouldDisablePostProcessing, SitesManager.shouldPerformEmptySiteCheck to changelog.
2017-11-20Improve serialize dataTable performance (#12289)Thomas Steur
* Improve serialize dataTable performance This seems to improve the performance of serializing a data table which is useful when archiving. In my case it made the archiving of a monthly archive twice as fast from about 120 seconds down to like 70seconds. * remove no longer needed variable * faster check whether an array key is set It is known that array_key_exists is quite a bit slower than `isset`. As this is executed easily a few million times this makes a difference in performance but here `array_key_exists` and `isset` work the same in logic as we never set `$consecutiveSubtableIds[$id]=null` * Assignment should be no longer needed as passing by reference
2016-12-03Fix a bug where Piwik returns wrong rows by label (#10947)Thomas Steur
* Fix a bug where Piwik returns wrong rows by label * fix typo * added test
2016-11-01Removes deprecated method Archive::getDataTableFromArchivesgiehl
2016-03-08Merge master => 3.0Thomas Steur
2015-12-10Merge master into "3.0"Thomas Steur
Conflicts: .travis.yml CHANGELOG.md core/Plugin/ControllerAdmin.php core/Version.php core/testMinimumPhpVersion.php plugins/API/API.php plugins/Actions/Reports/GetPageUrls.php plugins/AnonymousPiwikUsageMeasurement plugins/CoreHome/CoreHome.php plugins/CoreHome/templates/_menu.twig plugins/CoreVisualizations/javascripts/jqplotEvolutionGraph.js plugins/CustomVariables/tests/System/expected/test_CustomVariablesSystemTest__CustomVariables.getCustomVariables_day.xml plugins/Goals/Controller.php tests/PHPUnit/Fixtures/ManyVisitsWithGeoIP.php tests/PHPUnit/Integration/Plugin/ManagerTest.php tests/PHPUnit/System/expected/test_FlattenReports__CustomVariables.getCustomVariables_day.xml tests/PHPUnit/System/expected/test_TwoVisitors_twoWebsites_differentDays_scheduled_report_in_html_tables_only__ScheduledReports.generateReport_month.original.html tests/PHPUnit/System/expected/test_apiGetReportMetadata__API.getSegmentsMetadata.xml tests/PHPUnit/System/expected/test_ecommerceOrderWithItems_scheduled_report_in_html_tables_only__ScheduledReports.generateReport_week.original.html tests/PHPUnit/System/expected/test_periodIsRange_dateIsLastN_MetadataAndNormalAPI__CustomVariables.getCustomVariables_range.xml tests/PHPUnit/System/expected/test_periodIsRange_dateIsLastN_MetadataAndNormalAPI_pagesegment__CustomVariables.getCustomVariables_range.xml tests/PHPUnit/System/expected/test_reportLimiting__CustomVariables.getCustomVariables_day.xml tests/PHPUnit/System/expected/test_reportLimiting_rankingQuery__CustomVariables.getCustomVariables_day.xml tests/PHPUnit/System/expected/test_twoVisitsWithCustomVariables_segmentMatchALL_noGoalData__CustomVariables.getCustomVariables_day.xml tests/PHPUnit/System/expected/test_twoVisitsWithCustomVariables_segmentMatchALL_noGoalData__CustomVariables.getCustomVariables_week.xml tests/PHPUnit/System/expected/test_twoVisitsWithCustomVariables_segmentMatchVisitorType__CustomVariables.getCustomVariables_day.xml tests/PHPUnit/System/expected/test_twoVisitsWithCustomVariables_segmentMatchVisitorType__CustomVariables.getCustomVariables_week.xml tests/UI/expected-ui-screenshots tests/UI/specs/Overlay_spec.js tests/UI/specs/UIIntegration_spec.js
2015-10-22Make the string ts_archivedmattab
2015-10-06support for secondary sort and faster sortThomas Steur
2015-05-27fix core folder with php-cs-fixer for psr-2fabiocarneiro
2015-04-22PhpDoc and warning fixesMatthieu Napoli
2015-04-21improve performance of all websites dashboard when having thousands of websitesThomas Steur
2015-04-01refs #7458 fix memory error in API Live.getLastVisitsDetails when ↵Thomas Steur
filter_offset is large
2015-03-31fix broken testsThomas Steur
2015-03-31changed the name of chunks in archive tables, faster unserializationThomas Steur
2015-03-31Faster archiving of aggregated reports, also performance imprvovements in ↵Thomas Steur
general * Store subtables in chunks of 100 subtables per blob. Those 100 subtables are stored serialized as an array: array($subtableID => subtableBlob). The first 100 subtables are stored in "chunk_0", the next 100 subtables are stored in "chunk_1", ... * Subtable Ids are now consecutive from 1 to X * We do no longer serialize the whole Row instance when archiving, instead we only serialize the Row's array which contains columns, metadata and datatable. This is not only more efficient but allows us to refactor the Row instance in the future (although we will always have to be BC) * Faster row implementation: Columns, Metadata and Subtables access is much faster now
2015-03-24faster addDataTable(), can safe 2% wall timeThomas Steur
2015-03-19further dataTable performance improvementsThomas Steur
2015-03-19a summary row does not have a subtable, so we can simply get the rows ↵Thomas Steur
without summary row and avoid creating many new arrays
2015-03-18Various performance improvements and bugfixes.Thomas Steur
Imporves performance for Archiving and Range dates. Makes all kind of reports faster as well. Fixed bugs in labelFilter, reports total calculation and more.
2015-03-11Updated php docThomas Steur
2015-03-11Made for reports faster when flat=1 is used.Thomas Steur
Also replaceColumnNames is now queued again which should bring a performance boost in general.
2015-03-05Faster flattening for many reportsThomas Steur
2015-02-27Fixes #7310 - remove unused code & logicmattab
2014-12-10this code is actually tested for in ↵mattab
DataTableTest::test_serializeFails_onSubTableNotFound
2014-12-10Remove code that we're not sure why it's heremattab
2014-12-10reuse $row->getSubtable() as much as possible instead of callng ↵mattab
Manager::getInstance()->getTable which can throw exception refs #3414
2014-11-25Moving DataTable::getSiteIdFromMetadata to Piwik\Archie\DataTableFactory.diosmosis
2014-11-13Move goal translations and metric docs to metric classes from Goals ↵diosmosis
visualization. Allow these values as defaults for translations in visualizations, and fix a bug in GoalsTable where sort was improperly applied if no data was in the data table. Also include in-memory caching for Goals.getGoals API method.
2014-11-08Refactor and deprecate CalculateEvolutionFilter & document some more ↵diosmosis
classes/methods.
2014-11-07Moved processed metrics computation to DataTableGenericFilter, removed new ↵diosmosis
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.
2014-09-30coding style fixes, some PHPStorm inspection fixes, improved readability of ↵Thomas Steur
code, few refactorings, all as part of our code cleanup strategy
2014-09-20call clearQueuedFilters()Matthieu Aubry
2014-09-18Adding new PivotByDimension DataTable filter that can pivot a report by ↵diosmosis
(almost) any dimension. The filter can pivot reports by their subtable dimension and can also pivot by other dimensions (by using segments). Notes: - in the UI, only pivoting by subtable is supported - change to CSV DataTable renderer so column names w/ commas & quotes can appear in text - change to XML DataTable renderer so column names w/ invalid XML characters can be rendered (bit of an iffy change, XML format needs an overhaul I think) - includes new config option 'pivot_by_filter_enable_fetch_by_segment' - includes additions to component metadata classes (ie, Report/Dimension)
2014-08-14wondering if this fixes the skipped test?Thomas Steur
2014-08-06refs #5896 fix report limit testThomas Steur
2014-08-06refs #5896 this fixes some testsThomas Steur
2014-08-06refs #5896 tests are showing converting an array to a dataTable and run the ↵Thomas Steur
filters on it will not work. Instead run the filters directly on the array. Therefore, to not have duplicated code the dataTable and row can be now treated as an array and we access them like an array in the ColumnDelete filter which will be for now the only filter is applied on arrays
2014-07-23removed lots of trailing whitespaceChristian Raue
2014-07-15removed unused variablesChristian Raue
2014-06-10Piwik is a free/libre analytics platform. Refs #4455 GNU Package requirement ↵mattab
to use free/libre instead of open source
2014-05-09Organised imports, using phpstorm optimize imports featuremattab
2014-05-09Removed unused imports in core/ and plugins/mattab
using phpstorm optimize imports feature
2014-05-02Refs #5037 Refactor the factory out of the Period class in its own ↵mattab
Period\Factory class