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
2020-03-10Move Archive.php archive invalidation to Loader… (#15616)3.13.4-b1diosmosis
* Move Archive.php archive invalidation to Loader so we only invalidate when about to launch archiving. * Attempt to handle more cases when invalidating before launching archiving. * fix possible sql error * fix possible error * fixing some tests * remove test code * Only invalidate specific archive being requested. * Do not invalidate on today in tracker and avoid existing valid archive check in CronArchive. * more test fixes * Attempt to fix more tests. * Fixing last tests. * another test fix * Invalidate in scheduled task if browser triggered archiving is enabled. * deal with TODO * Get ArchiveSelectorTest to pass. * applying review feedback including new tests * apply review feedback & fix tests * fix couple more tests Co-authored-by: Thomas Steur <tsteur@users.noreply.github.com>
2020-01-27Add event that allows plugins to disable archiving for certain periods/sites ↵diosmosis
if they want. (#15457) * Add event that allows plugins to disable archiving for certain periods/sites if they want. * apply review feedback
2019-12-17Show 'new' metrics on visitor engagement report/sparklines (#15128)Kate Butler
2019-10-02Add option to archiver to not create archives for segments for today (#14834)Thomas Steur
* add option to not archive segment for today * better implementation * added some logging and tests * also archive when ts_last_edit is recent * tweak message
2019-09-30Compare segments and periods (in API and UI) (#14365)diosmosis
* Allow row metadata to be datatables in API output. * Fill out initial DataComparisonFilter. * fixing some issues * couple more fixes * couple more fixes + initial system test * more fixes * Finish up segment comparison system test and get to pass. * Soft limit for number of segments/periods. * Add supportsComparison method. * Add UX code for adding/removing/seeing data comparisons + code to forward query parameters in AJAX requests + allow broadcast to handle multi-value query param values. * Start showing comparison tables in html tables. * Adding all comparison rows to html table visualization and adding "all visits" segment translation and add currently selected segment to comparisons table. * Show totals ratio for comparison rows. * finished poc html table visualization support for comparison * start working on comparisons support in graph visualizations * Some UX tweaks to htmltable and add comparisons to bar/pie graphs. * Getting comparisons to work in evolution graphs. * Get row evolution to work properly in comparison table. * Get segmented visitor log to work in comparison tables. * Fix regression in comparisons in evolution graph. * Get comparisons to work in actions datatable, fix twig issue that results in 100% cpu usage (when reading dataTable param w/ many rows & comparison tables), get overlay/transitions icons to appear, overlay should work properly. * Get transitions and overlay to work in comparison rows. * Fixing some datatable API output issues, fixing tests, support comparisons in subtables by forcing idSubtables of comparisons to be sent in request (makes UI work, but not pracitcal for API). * Remove typo. * apply original change * Allow All Visits default segment to be compared. * working on disabling currently compared segments. * Get currently compared segments code to work. * starting on refactoring datacomparisonfilter * Most of refactor done. * Get tests to pass and fix a bunch of datatable metadata consistency issues. * Modify evolution graph to modify compare parameters and show some sort of accurate comparison line graphs. * Set xaxis labels correctly in tooltips and make sure series data for comparisons is set correctly. * more fixes to displaying evolution comparisons where compared date ranges vary in length + make sure normal reports w/ no data display the no data message even when comparing * Show period type in comparison card. * Unsanitize compare segments. * Get correct period count. * Couple more fixes to evolution graph series labels, but still wonky. * Include comparison series label in comparison output so evolution graph has an easier time of building series data. * For multi period vs multi period show correct compareDate/comparePeriod for child tables. * Redesign period selector comparison section and get to work. * Allow plugins to disable comparisons for specific pages. * Start supporting comparison in sparkline visualization. * Get sparkline points & lengths to work correctly when comparing. * Fix comparison enabling check. * Pick series and shade colors. * Rewriting comparison card to show individual serieses. * Rewrite comparisons cards to only show segments as cards and individual serieses inside the cards. * Use comparison colors and shades in evolution graph + fix a couple bugs. * Tweak series colors and fix a couple regressions to comparison totals calculation. * Add ratio tooltip suffix explaining comparison percent. * fix typo * Forward comparison params in report export. * tweak series colors again + add tooltip with visitssummary metrics to comparison rows + fix a bug in using array query params in piwik-api + fix bug in formatting of comparison table metrics * Tooltip fixes, start on sparklines supporting comparison, modify comparison filter to only calculate change metrics against periods since they are time related. * Sparkline comparison support. * Tweak line thickness and set metric index properly in jqplot data generator. * In sparklines comparison, show evolution for compared period, rewrite top tooltip to be better, fix tooltip issues when multiple metrics used in evolution graph, and get comparison to previous period to work. * Update submodule * Make things look ok w/ a very long segment name, add numbers to compared datatable row labels, fix pie chart colors + a couple other regressions. * more bug fixes * Fix query param retrieval issue. * Do not throw if no comparison params specified, just do nothing. * try to fix a couple warnings * Another query param get fix. * Do not save comparison parameters. * pass by reference * fix JS error * DO not set compare params if not set in URL for dashboard widgets. * Fix comparison table styling in dashboard. * Expand bar graph if there are too many bars when comparing. * tweak comparison bar graph sizing * make sure flatten works w/ comparison * Apply compute processed metrics to comparison tables. * Hack to get Goals.get to be formatted during comparison. * Fix ordering of yunits in evolution graph. * If rows are selected, incorporate into comparison series names. * Format revenue properly in goals comparison sparklines. * First working attempt at adding Referrers.get method for use w/ Sparklines visualization. * get referrers sparklines to work w/ comparison * Finish using new referrers API method and get referrers sparklines/evolution graph to play well w/ each other in comparison mode. * Simplify table comparison view if only comparing periods, no segments. * Take into account visible rows when calculating series metric index. * Get comparison to work when totals rows are added to tables. * Show series color in evolution graph tooltip. * Fix error when loading row evolution/segmented visitor log for compared ranges. * fix regression in normal subtable loading * Fix row style * Forward comparisonIdSubtables parameter if present so it is used when changing limit/offset * Initialize the row index prefix to the filter offset. * Do not show period header if only segments compared in table. * Add UI tests and fix issues so they pass locally. * quick tweak * Fix PHP error * Updating screenshots * Fixing several bugs and updating expected screenshots. * Fix comparison tests and clear some TODO. * Prefix referrers metrics. * Revert "apply original change" This reverts commit 8f6ceb0430e5c7306a777498199ad7db21fd7175. * Show period label if comparing two periods of same type. * segment sanitization fixes * More segment fixes. * Another fix to the tooltip. * Fix related reports when comparing + make totals tooltip clearer + store segment + pretty title in datatable metadata so it does not have to be looked up every time. * Allow disabling comparisons for individual uses of visualizations. * Remove limit on hover for actions tables + fix subtable expansion for normal actions tables. * Make sure parameters are arrays. * Stricter check for empty parameters. * Allow first compared segment to be "removed". * several more fixes * Fixing table cell alignment and width and everything else that broke while making changes (hopefully). * Several fixes, including xss fixes and test fixes and bug fixes for comparisons. * more table css tweaks * Correct workings of previous period/year comparison + always convert periods to ranges when comparing in evolution graph. * Correct workings of previous period/year comparison + always convert periods to ranges when comparing in evolution graph + more css tweaks. * fix more test regressions * Forgot to add file * fix several TODO as well ass get comparison sparklines to have right colors in widgets. * Use DataTable metadata instead of getting available segments. * When comparing periods that do not uniformly support unique visitors, do not display unique visitors metric. * Small refactor and make sure sparklines shows over period w/o using lastN. * more refactoring and fixes * some more refactoring * Move comparison index math to helper methods. * Use piwikUrl.getSearchParam * Process comparison tables like normal tables in API.getProcessedReport. * remove some code redundancy * use new format date method * Add first working unit test for comparisons service. * Finish writing unit test for comparison service. * refactor comparisons service and fix a couple regressions * Fix more TODO items and refactoring. * Fill out more TODO. * Remove more TODO. * Fixing some tests. * another test fix * FIx some more tests. * More test fixes and regression fixes. * Do not add segments to summary rows in actions reports. * more test fixes * fix more tests * more test fixes * Fixing more tests. * Fixing more tests + debugging failing one. * Fix twig loop issue * Make sure empty compare params are not used in URL. * Remove cached request array. * Support comparison rows in multirow evolution popover and LabelFilter. * Tweak placement of some icons. * Forward current segment in reporting menu links. * Fix for split dimension view. * tweak css * Add more tests. * Add year to xlabels in evolution graph (but not xaxis tick). * applying review feedback * Apply more PR feedback * remove debugging code * tweak event docs * Fix test. * fix some test * fix a test and regression * updating tes files + fixing test * Fix regression * Fix dropdown z-index issue (or workaround really). * Fixing tests again. * Update screenshots * Fix bug and remove some debugging code * Apply review feedback. * Make sure ratio tooltips show in widgetized mode. * Fix some UI tests. * Fix tests * Fix a couple more tests.
2019-08-16no longer use reader to get archives (#14756)Thomas Steur
2019-07-23start working on db reader support (#14681)Thomas Steur
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(?)
2018-08-09Add notification when report w/ segment has no data, but segment is ↵3.6.0-b4diosmosis
unprocessed (#12823) * When a report has no data, check if it is for an unprocessed segment and display an explanatory notification. * Remove transient notifications on reporting page change, allow datatable views to add notifications, use to display unprocessed segment message. * Update changelog. * Internationalize unprocessed segment message. * Parse notification divs in dashboardWidget.js when setting widget content. * Tweak message. * Change PR to use different approach: throw exception when no archives found and segment is used, then detect exception in new event. * Update changelog + document new event. * Unfinished review changes * more review fixes * Do not show notification w/ custom segments. * apply pr review * Apply review. * undo escaping since it was not needed & get test to pass * Different strategy + new test. * Fix tests. * Update two expected screenshots.
2017-09-11Changes to support custom periods (#11837)Benaka
* Separate Archive query creation responsibility from Archive class. * Add ability for plugins to define custom period types. * Make period responsible for determining start/end time of periods, not LogAggregator. * Allow specifying custom archive writer in PluginsArchiver.
2016-11-01Removes deprecated method Archive::getDataTableFromArchivesgiehl
2016-07-11Fix segment data disappears from UI after changing auto_archive setting ↵Thomas Steur
(#10078) * refs #10036 fallback to global done flag if plugin done flag has no archive/data * global done flag might be the same as the plugin done flag if no segment and no range is used
2016-04-01Improve all websites dashboard performance when using range dateThomas Steur
2015-10-22Display 'Report generated Xs ago' in help tooltip, Fix years old regressionmattab
2015-10-12Make ArchiveInvalidator an immutable service and add it to DI. ↵diosmosis
markArchivesAsInvalidated (or whatever it's called) now returns an instance instead of an array of output messages.
2015-09-25Move date parsing logic from ArchiveInvalidator to CoreAdminHome/API.php so ↵diosmosis
the service class only accepts well formed input.
2015-06-01Removed deprecated method scheduled for removal (fixing unit tests)Matthieu Napoli
2015-05-27fix core folder with php-cs-fixer for psr-2fabiocarneiro
2015-04-27Merge branch 'master' into config_step_2diosmosis
Conflicts: core/Console.php piwik.php
2015-04-22marked method as internalThomas Steur
2015-04-21improve performance of all websites dashboard when having thousands of websitesThomas Steur
2015-04-07Fixing two more system test failures, including one caused by the static ↵diosmosis
cache in Archive.php never being cleared, and the environment not existing in web archiving.
2015-03-31extracted code into a functionThomas Steur
2015-03-31A chunk implementation that is much simpler and makes more sense. Everything ↵Thomas Steur
is now in the ArchiveWriter + Selector
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-12Merge branch 'master' into 7181_isolated_archive_purgingdiosmosis
Conflicts: plugins/SitesManager/SitesManager.php
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-10Rename Archive\Invalidator to ArchiveInvalidator and Archive\Purger for ↵diosmosis
ArchivePurger for clarity.
2015-03-05Merge branch 'master' into 7181_isolated_archive_purgingdiosmosis
Conflicts: core/ArchiveProcessor/Rules.php
2015-03-05Refs #7181, move ArchiveInvalidator to Piwik\Archive\Invalidator away from ↵diosmosis
Piwik\DataAccess since it iss not a DAO.
2015-03-05Faster flattening for many reportsThomas Steur
2015-02-27Fixes #7310 - remove unused code & logicmattab
2015-01-22Merge branch 'master' into move_language_reportsgiehl
Conflicts: tests/PHPUnit/UI
2015-01-22refs #7031 invalidate reports only if we are actually allowed to archive, ↵Thomas Steur
should make some reports faster especially when browser archiving is disabled
2015-01-14removed several occurences of UserSettings pluginsgiehl
2014-12-22Merge pull request #6879 from piwik/6850Matthieu Aubry
When importing visits on a day different from the visit's day, invalidate the archived reports
2014-12-22only invalidate reports for requested site ids for better performanceThomas Steur
2014-12-22added an integration test to make sure the archiver report invalidation ↵Thomas Steur
works as expected
2014-12-22we do not want to use the API here since it needs admin accessThomas Steur
2014-12-22Replaced usage of Log::verbose() with Log::debug()Matthieu Napoli
The "verbose" level doesn't exist in PSR-3, the lowest one is "debug".
2014-12-22invalidate reports if needed when building an archive requested via webThomas Steur
2014-11-24Fix bug in core/Archive.php class where if VisitsSummary metrics are ↵diosmosis
requested with another plugins' metrics while using a segment, the VisitsSummary metrics would not be selected. Piwik\Archive assumed VisitsSummary would only be in new archive if period = range.
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-08-20Refactor factory methods into base Factory type for ease of testing.diosmosis
2014-07-23removed lots of trailing whitespaceChristian Raue
2014-07-01Fixes #5356 Applying change suggested in pull request ↵mattab
https://github.com/piwik/piwik/pull/320 (the only change was to set default timezone to UTC)
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-12Do not mention archive.php in the sourcecode, instead mention `./console ↵mattab
core:archive` command
2014-05-09Removed unused imports in core/ and plugins/mattab
using phpstorm optimize imports feature
2014-05-02Fixes #5037 You can now configure periods that are available in the UI and APImattab
; The list of periods that are available in the Piwik calendar ; Example use case: custom date range requests are processed in real time, ; so they may take a few minutes on very high traffic website: you may remove "range" below to disable this period enabled_periods_UI = "day,week,month,year,range" enabled_periods_API = "day,week,month,year,range"