Age | Commit message (Collapse) | Author |
|
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(?)
|
|
(#14004)
* Allow DataTables to disable generic filters gthrough a datatable metadata.
* Add unit test for metadata.
|
|
* Make sure totalsRow is in serialized datatable.
* Handle totals row in deleteColumn/renameColumn.
* Adding tests.
* update expected test file
|
|
* 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.
|
|
* 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.
|
|
(#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.
|
|
* Fix others row might not be replaced in subtables of others row
* add comment re performance
|
|
* 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.
|
|
* 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
|
|
* Fix a bug where Piwik returns wrong rows by label
* fix typo
* added test
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
|
|
filter_offset is large
|
|
|
|
|
|
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
|
|
|
|
|
|
without summary row and avoid creating many new arrays
|
|
Imporves performance for Archiving and Range dates. Makes all kind of
reports faster as well. Fixed bugs in labelFilter, reports total calculation
and more.
|
|
|
|
Also replaceColumnNames is now queued again which should bring
a performance boost in general.
|
|
|
|
|
|
DataTableTest::test_serializeFails_onSubTableNotFound
|
|
|
|
Manager::getInstance()->getTable which can throw exception refs #3414
|
|
|
|
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.
|
|
classes/methods.
|
|
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.
|
|
code, few refactorings, all as part of our code cleanup strategy
|
|
|
|
(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)
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
to use free/libre instead of open source
|
|
|
|
using phpstorm optimize imports feature
|
|
Period\Factory class
|