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-04-24Update doc blocks with new name (#15857)Stefan Giehl
* update doc blocks with new name * submodule updates * updates expected UI files
2020-04-17New page performance reports (#15736)Stefan Giehl
* Adds various new performance metrics and dimensions * Adds tracking for new performance values * track performance metrics only for page views * Archive new performance metrics * move everything into a new plugin * fix archiving of overall metrics * Adds new overview reports * show performance metric on some more reports * adds new page performance icon * Adds new row action to view page performance evolution for pages * Adds new stacked bar visualization for page performance evolutions * show total value in stacked bar chart tooltips * [TEMP] use php tracker package branch * Adds some simple System tests * Adds some UI tests * remove performance metrics from action reports that don't support it * move calculation to api * mark as tracker plugin * improve calculation of maximum value in bar evolution chart * enrich existing tests with performance metrics * updates expected test files * send performance metrics with the next request after they are available this might not be the pageview it self but any request after it, like a ping, goal, ... * Adds request processor to process performance metrics not sent directly with the page view * rebuilt js * Add metric decriptions to evolution chart documentation * fix convertion of microseconds part * Ensure average page load time is displayed in evolution graph in scheduled reports * fix some more tests * move page performance overview to visitors overview * Adds new table with performance metrics visualization * Adds some additional information to page performance evolution overlay * update omnifixture * updates expected UI files * Use mediumints for new dimensions * Adds additional permission check * Encode label in page performance overlay title * Improve updating performance metrics in later requests * Adds some integration tests * improves metric documentations * Send already available performance data with page view request * update tests * updates expected UI test screenshots * updates expected test files * improves archiving * show page generation time in performance metrics table if matomo was installed before 4.0 * Hide page generation time in ui reports if Matomo was installed after 4.0 * Fix removal of unavailable columns from being displayed that was done too early in the process causing to be overwritten again by the reports configureView * do not track automatically calculated generation time any more * split latency into network and server time * [TEMP] update php tracker * rebuilt piwik.js * Ensure to count zero values as hits * updates Omnifixture * updates expected test files * remove possibility to set generation time * rebuilt piwik.js * adjust tests * update php tracker * update test logs * submodule * update Omnifixture * show page load time in action tooltip and visitor summary instead of generation time * updates expected ui files * mark page generation time metric as deprecated * fix tests * [TEMP] use submodule branches * ensure lower metric values are shown as better * use 4.x-dev branch of php-tracker * update submodules
2020-04-08many typo fixes in the code thanks to codespell (#15730)Lukas Winkler
* many typo fixes in the code thanks to codespell * reset submodules I really need to stop using `git commit -a` * reset change in library * rebuilt piwik.js * fix test * updates expected UI file Co-authored-by: sgiehl <sgiehl@users.noreply.github.com> Co-authored-by: Stefan Giehl <stefan@matomo.org>
2020-03-04Fix PHPDocs (#15663)Jean Baptiste Noblot
2020-03-04Fix double colon and case (#15655)Jean Baptiste Noblot
* Fix double semicolon * Fix case
2020-02-27Update to PHPUnit 8.5 (#15581)Stefan Giehl
* use latest phpunit/phpunit ~8.5 * submodule updates * fixes
2020-02-24Merge branch '3.x-dev' into 4.x-devsgiehl
2020-02-20Removes deprecated class Piwik\Translate (#15586)Stefan Giehl
* Removes deprecated class Piwik\Translate * use submodule branches * adjust test * fix typo * readd deprecated Piwik\Translate * submodule updates
2020-02-16Fix non-numeric value encountered in session recording (#15569)Thomas Steur
2020-02-11Use \PHPUnit\FrameWork\TestCase instead of \PHPUnit_Framework_TestCase (#15554)Stefan Giehl
2020-02-11Merge branch 3.x-dev into 4.x-dev (#15543)Stefan Giehl
* Updates search engine and social definitions (#15384) * updates device detector to latest release (#15388) * updates device detector to latest release * updates tests * translation update (#15389) * Fix Could not get the lock for ID, when creating a site (#15401) * Lock key start * do not empty key lock Co-authored-by: Thomas Steur <tsteur@users.noreply.github.com> * 3.13.1 * submodule updates * Use correct name in update available message (#15423) * Fix removing user capabilities (#15422) * Order of implode() args, avoid E_NOTICE in PHP7.4 (#15428) * Fixes possible php warning in visitor log (#15442) * silence is_executable call (#15446) * Make sure geolocation admin experience is consistent if user is not using GeoIp2 plugin. (#15447) * Fix referrers test. (#15448) * Ensure to close visitor popover correctly (#15443) * Fixes possible warning (#15453) * Forward instance_id from local config when reseting config during tests. (#15445) * Add event that allows plugins to disable archiving for certain periods/sites if they want. (#15457) * Add event that allows plugins to disable archiving for certain periods/sites if they want. * apply review feedback * Fix possible warning for columns without index (#15467) * Day range archiving issue (#15462) * Improve lock ID check for max length (#15407) Better patch for https://github.com/matomo-org/matomo/pull/15401 which was merged last minute... This way it always works even when someone calls `acquireLock` directly instead of `execute` Pushing this for now into 3.x-dev but can also put it into 4.x-dev directly but then there might be merge conflicts when merging 3.x-dev into 4.x-dev * Use SameSite none for session token when embedded into iframe (#15439) * Make sure tracking works in IE9 and lower (#15480) * Mention Joomla install FAQ (#15481) * Make sparklines work when mbstring extension is not installed (#15489) 1) Too few arguments to function mb_strtolower(), 1 passed in matomo/vendor/davaxi/sparkline/src/Sparkline/StyleTrait.php on line 129 and exactly 2 expected 2) mb_strlen is not defined * update screenshots (#15488) * 3.13.2-rc1 * Use safemode when running CLI commands (#15472) * update icons submodule (#15490) * update icons submodule * update UI tests * Fix possible undefined index notice (#15502) * Use latest davaxi/sparkline release (#15464) * translation update * submodule updates * Fix deprecation notice (#15530) see https://github.com/matomo-org/matomo/pull/15467#issuecomment-583283444 * 3.13.2-rc2 * update cache component (#15536) * fixes copy dashboard to user for more than 100 users (#15538) cherry picking #15424 to fix #15420 in 3.x-dev * Add missing return statement. (#15539) * 3.13.2 * update tests * update tests Co-authored-by: Matthieu Aubry <mattab@users.noreply.github.com> Co-authored-by: Thomas Steur <tsteur@users.noreply.github.com> Co-authored-by: Peter Upfold <pgithub@upfold.org.uk> Co-authored-by: diosmosis <diosmosis@users.noreply.github.com> Co-authored-by: Lukas Winkler <github@lw1.at>
2020-02-07Fix deprecation notice (#15530)Stefan Giehl
see https://github.com/matomo-org/matomo/pull/15467#issuecomment-583283444
2020-01-27Fix possible warning for columns without index (#15467)Stefan Giehl
2020-01-03Compute row percentages in PHP before metrics are formatted to avoid ↵diosmosis
percentage formatting WARNINGS. (#15304) * Compute row percentages in PHP before metrics are formatted to avoid percentage formatting WARNINGS. * do not fail if site summary is not available * Make sure siteSummary requests total data without segment. * Make sure proper precision is used. * try to fix tests * update expected screenshots
2019-12-06Fix header alignment for multi-dimension reports (#15134)Kate Butler
2019-11-18Invert change comparison when displaying percents in the UI … (#15098)diosmosis
* Invert change comparison when displaying percents in the UI, and add extra _change_from metric to support API calculation of from change percent when there are more than two periods. * Update bandwidth submodule * update screenshots * Update tests. * Update screenshot.
2019-11-07Use thousands separator in single metric view (#15026)Kate Butler
2019-10-23Request different columns when no columns will be available (#15038)Thomas Steur
refs https://github.com/matomo-org/matomo/issues/15033 it might fix that issue fixes a regression from https://github.com/matomo-org/matomo/pull/14996 When you have the Visits over time for example in the dashboard, view day period, select unique visitors, then select year period, it will then show visits metric instead of unique visitors because unique visitors is not available for year. The visits metric will not show any data though because it had the `&columns=nb_unique_visitors` param applied and the visits metric was never fetched. That's because in https://github.com/matomo-org/matomo/pull/14996 the metric was replaced after the dataTable was being requested. Trying to do this now before requesting dataTable too. Not sure what other regressions this could potentially introduce...
2019-10-13Hide unavailable metrics in graphs (#14996)Stefan Giehl
2019-10-13Fix pass by reference error when generating comparison sparklines (#14997)Stefan Giehl
2019-10-03Removed closing PHP tag due to PSR-2 definition (#14929)Kai Neuwerth
2019-09-30Comparison tweaks (#14923)diosmosis
* Do not display limit control when comparing. * Only show separate dimensions if supposed to in comparison view.
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-09-26Rename Generic widget to KPI Metric (#14868)Kate Butler
* Rename Generic widget to KPI Metric * Fix UI and system tests
2019-08-20Show series picker in evolution chart always on the left (#14783)Stefan Giehl
* Show series picker always on the left * updates expected UI files
2019-08-14Freeze left-hand column of data table (#14594)Kate Butler
* Freeze left-hand column of data table * Freeze left-hand column of datatable * Don't use position-absolute on first th as it messes with column placement. * Use a spacer column to prevent label column from overlapping with first value column * Set margin of second td * Use position:sticky * Fix missing border in Safari/Firefox * Cross-browser fixes * Increase space available for first data column * Don't put dataTableScroller around non-HTML table vizs * Only apply negative margin/width to datatables in widgets * Reduce border radius to adjust for border-collapse: separate * Updated reference screenshots * UI test fixes * Don't let live widget overflow dashboard card * Updated reference images * Reduce left margin to make data action icons visible on smaller screens * Update reference images * Back out change to TestSetupFixture (should not have been committed on this branch) to avoid merge conflicts * Update UI screenshots
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-06-11Show flattened columns as extra columns in UI (#12524)Stefan Giehl
* Show each dimension as seperate column in html tables for flattened reports * set default columns * rename first dimension column for flattened reports to label * modify rows right before rendering to prevent plugins to overwrite the displayed columns again * Use datatable config to allow splitting dimensions into separate columns * Hide datatable option if report has only one dimension * ensure to add only needed metric dimensions * adds ui test * reorder datatable options * Add additional columns before generic filters are applied to make sorting of those columns possible * Improve table layout with multipe label columns * show logo only in first column * Add new metadata so the original combine label is still available for row actions * improve check for multiple lables * show row action always in last label column * updates UI file * fix Others handling for flattened reports * ensure label translation is set correctly * show concatenated dimension names as flatten report label * search combined labels in flattened tables showing dimensions separately * more ui tests * fix handling of summary row for concatenated dimensions * updates expected test files * fix insights layout * fix realtime visits table layout * fix ui tests * ensure dimensions have correct display order
2019-05-28Ensure each plugin has a config.php and tracker.php file (#14430)Kate Butler
* Add empty config.php and tracker.php files to each plugin that doesn't have them; add to whitelist of files that are included in new plugins generated by generate:plugin * Add plugin files for plugins which were missing them
2019-05-28Add extra processed metrics to list of available metrics in Graph if the ↵diosmosis
metadata field exists. (#14486)
2019-05-25Changed period in row evolution breaks graph/metric association (#14423)Thomas Steur
* Changed period in row evolution breaks graph/metric association fix #14208 worked for me, also with multi row evolution. Only known issue I found is if requesting eg first yearly row evolution which may have the `users` metric hidden, then switching to `day` period, and then the `users` metric is maybe supposed to become available but didn't. That should be quite edge case though. * add class whether row is hidden * Fixing couple regressions visible in ui tests. * fix build + update comment * tweak * test tweak
2019-05-15Allow throwing exceptions for HTTP error codes to better check query param ↵diosmosis
input. (#14023) * Allow throwing exceptions for HTTP error codes to better check query param input. * Add multiple period checks to visualizations. * Forgot to add files. * apply review comments * Make sure code is set when using HttpCodeException.
2019-05-09Switch UI tests from phantomjs to chrome headless (#14421)Thomas Steur
* Make sure xss entries is always an array. * Update expected test files and submodule. * Regenerate broken omnifixture dump. * poc conversion to chrome headless for UI tests, single test works locally * Get single test to pass on travis & local w/ headless chrome. * Remove old diff viewer generation, and get output to look the same as before when there is a failure. * Add global timeout & get ViewDataTableTest to pass. * Convert BarGraph_spec.js. * Convert EmptySite_spec. * Update EvolutionGraph spec for chrome headless. * Convert GoalsTable test & find/replace for common changes. * Convert MeasurableManager. * Another find & replace. * Get Menus/OptOutForm to pass w/ chrome headless * Convert PeriodSelector, PieGraph & PivotByDimension UI tests. * undo unrelated debugging change * Convert QuickAccess UI tests * Converts ActionsDataTable UI tests * reset viewport after each testsuite * Converts RowEvolution UI tests * Converts Theme UI tests * Converts SiteSelector UI tests * Converts CustomVariables UI test * Converts DBStats UI test * Ignore empty responses when calling api/controller * Converts Dashboard UI tests * Converts Live UI tests * Converts SimpleUI tests * Converts Installation UI tests * Converts ImageGraph UI tests * Converts Login UI tests * Converts Marketplace UI tests * Converts Insights UI tests * Converts ReportExporting UI tests * Converts UIIntegration tests * Updates ViewDataTable UI tests * Converts CoreUpdater UI tests * Converts UsersManager UI tests * Converts Morpheus UI tests * Converts MultiSites UI tests * Fix testEnvironment.callApi handling of array parameters * Converts Overlay UI tests * Converts PrivacyManager UI tests * Converts ScheduledReports UI tests * Converts SegmentEditor UI tests * compare pixel difference in images * Converts PeriodSelector UI tests * allow a pixel difference * Converts SingleMetricView UI tests * Converts SitesManager UI tests * Converts Transitions UI tests * Converts MeasurableManager UI tests * Move Mouse out of screen after each test suite * Converts PieGraph UI tests * Ensure cursor is not shown in focused input elements * Converts VisitorMap UI tests * Converts CustomLogo UI tests * Converts BarGraph UI tests * Converts EvolutionGraph UI tests * Converts IntranetMeasurable UI tests * Converts TrackingFailures UI tests * Converts CampaignBuilder UI tests * Converts TagManagerTeaser UI tests * fix request url rewrite for changed port * Converts TwoFactorAuth UI tests * do not print full responses in logs, but size instead * improve additional style injection * use submodule branches * fix request interception * update dependencies * [TEMP] disable dangerous link checks * [TEMP] limit tests * Use puppeteer@next and make sure diffs get uploaded properly. * Use correct fs function. * Allow timeout to be specified on command line for UI tests and debug console logs. * timeout option tweak * Setup diff dir once before running tests not before each suite. * fix last commit * Update screenshots and fix some specs. * Convert some tests that were not converted during merge. * updating screenshots * Updating screenshots and fixing some tests. * more test fixes * couple more test fixes * More test fixes and plugin updates. * wait for jquery * Fix some screenshots and tests. * more test fixes * debug travis test failure * remove .only * more test fixes and updated expected files * another test fixing iteration * typo * another quick test change * more tests updates * Test fixes and & more debugging. * more debugging and test fixes * more fixes and debugging. * remove .only * Another round of fixed tests. * more debugging & fixes * more test changes * more debugging and fixes * Fixing more tests + some bug fixes. * Couple more fixes. * Couple more fixes. * Fixing tracking failures test * more fixes * Last couple fixes hopefully. * couple more test fixes * more fixes, bug fix in usersmanager, some test updates * Some more test fixes/changes. * more and more fixes * hoping for a green build * Do not compare against existing files in dashboard_spec. * more fixes, re-enabling travis * really re-enable travis * Install puppeteer on travis-ci. * more fixes * try to fix random failues * remove return * Convert some login tests I forgot and update UsersManager expected file * Fix test for primary key update * Update AddPrimaryKey.php * More test fixes + implement synchronous comparison threshold (so no resemblejs) * More wait fixes + reset token detection fix. * couple more fixes * Fix login/overlay screenshot issue & magick command running issue. * identify is the executable on travis (hopefully) + fix some random failures * Another run. * Last fix. * two more tweaks * typo
2019-05-06Fix possible error occuring under certain circumstances (#14419)Stefan Giehl
2019-05-02Make sure evolution parameters are initialized in Config so Controllers can ↵diosmosis
override them. (#14386)
2019-05-02Bar graph should only have Users and Unique Visitors options when they are ↵Kate Butler
valid (#14332) * Hide the nb_uniq_visitors metric from user when date range doesn't support it * Refactoring * Fix logic for choosing columns to display in bar graphs * Further improvements/bug fixes when column not available in pie or bar graph * Refactoring * update custom dimensions submodule * Prevent valid columns being removed from columns_to_display, add a sprinkling of unit tets * minor tweak cause label might not always be the first key
2019-03-28Ensure first row is highlighted after switching periods (#14212)Stefan Giehl
2019-03-13Couple assorted changes (#13935)diosmosis
* Allow annotations API to accept multiple periods, so evolution graphs that use multiple periods work. * Remove warning when rows_to_display viewdatatable config property is left at its default value. * Allow individual cells in an html visualization to be styled (if the visualization is extended). * Remove unneeded TODO. * In series picker encode picked rows in case the labels have commas. * Must decode the rows value as well (as it is not handled by API, must be done in plugin). * Allow joins to specified through LogAggregator::queryConversionsByDimension(). * Add safety check to _idts processing: if visitor is unknown, ignore _idts value, since it is their first visit. * In the tracker when searching by visitor ID, search through entire log_visit table instead of just in the last 30 mins. * When tracking visitor days since first, do not round since this can result in inaccurate data when rounding up. Which can cause trouble when finding the start visit for a log. * Allow HtmlTable descendants to add any html attributes to cells. * Allow derived Visualizations to add custom parameters to API requests via a new RequestConfig method. * Tweak to TODO. * Add test for annotations API change & get to pass. * Apply more review feedback * Update INI config docs for window_look_back_for_visitor. * Only copy visitor properties if action is part of an existing visit. * Some more properties that should be copied over from known visitor even if new visit. * Fixing some tests. * update test * Fix CustomEventsTest test failures. * Fixing more tests. * update rest of tests * Fixing tests. * Update some test files. * Fix log statements. * To better handle out of order actions, add part of last_action_time check to visitor ID search. * Update tests. * Updating expected screenshots. * Fix ArchiveCronTest. * Throw exception if idorder not unique. * Only throw exception if idorder specified. * Fixing a couple tests. * Fix another test.
2019-02-26If more than one yaxis in a jqplot graph, make sure there is space on right ↵diosmosis
for it. (#14111) * If more than one yaxis in a jqplot graph, make sure there is space on right for it. * Remove debugging statement. * Fixing test. * Try to fix test. * fix tests * Update screenshot.
2018-12-26Do not fetch totals for insights (#13891)Thomas Steur
* Do not fetch totals for insights Got this error warning > WARNING: Trying to add two strings in DataTable\Row::sumRowArray: 35.8% + 48.6% for row # ['label' =&gt; -2, 'nb_visits' =&gt; 379, 'growth_percent' =&gt; '35.8%', 'growth_percent_numeric' =&gt; '35.8', 'grown' =&gt; 1, 'value_old' =&gt; 162, 'value_new' =&gt; 220, 'difference' =&gt; 58, 'importance' =&gt; 58, 'isDisappeared' =&gt; , 'isNew' =&gt; , 'isMover' =&gt; 1] [] [idsubtable = ]&lt;br /&gt; * also do not fetch totals for movers and shakers * Update Model.php * by default fetch totals only when html tables are requested * ensure to not fetch totals for any other visualisation but htmltable * update doc
2018-12-11Adds new event to define units for metrics (#13640)Stefan Giehl
2018-12-10Enable row evolution for flattened reports (#13769)Stefan Giehl
* Enable row evolution for flattened reports * Do not allow to change flat option in evolution chart * Disable higher evolution limits for flattened reports
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-11-26Add possibility to switch period in evolution graph (#13689)Thomas Steur
* add possibility to switch period in evolution graph * fix some tests * fix ui test * Update screenshots.
2018-11-13Update theme to reflect the new logo and brand color changes (#13629)Thomas Steur
* update theme * fix alert box has no spacing * fix couple issues with new theme * improve contrast and make sure to use correct theme color * fix notification colour * fix wrong logo used * fix theme color * fix update title not readable
2018-10-03Create periods with timezones in a couple places that are missing it. (#13445)diosmosis
* Create periods with timezones in a couple places that are missing it. * tweak * Apply timezone only if endDate is not a normal date. * add comment
2018-09-10Get goals through Request::processRequest instead of directly from AP… ↵diosmosis
(#13293) * Get goals through Request::processRequest instead of directly from API so events can fire. * Do not use Request in tracker requests since renderers are not loaded. * Add default = [] & filter_limit = -1 to changed Goals.getGoals calls. * Add empty default request to one Goals.get call. * fix another test * Use 3.x-dev file.
2018-08-29Single metric view fixes (#13352)diosmosis
* Make sure client side sparkline limits first date in range to min allowed date. * For goal metrics make sure sparkline in single metric view uses GOal.get w/ idGoal. * UI test tweak. * update ui screenshots * Fixing tests. * Fix caching in singlemetricview. * Update expected UI test. * Update screenshots.
2018-08-03Add reusable widget to display single metric w/ sparkline & evolution ↵diosmosis
percent (+ other changes) (#13101) * Add empty metric for single metric view. * Add new isReusable property to widget metadata & if set to true, do not grey out the widget in the dashboard manager, even if the widget is used in the dashboard. * Initial working version of single metric view. * Get single metric view widget to work and look correctly (no series picker). * Add series picker to single metric widget and add filter_last_period_evolution parameter. * Persist metric change through dashboard widget parameter saving. * Loading state for single metric view. * Make new evolution param work on processed reports + tweak component implementation. * Tweak CSS and make sure angular components are compiled in widget preview. * Make component work with widget preview and avoid unnecessary widget reloads when multiple widgets of the same type are shown. * Generalize JS lastN range period computing and use to create standalone sparkline angular component and get rid of need for "past-period" argument to single metric view. * Add format_metrics: "1" to API.get method. * Add escaping to _angularComponent.twig. * hacky fix for formatting revenue columns * Format past data values & allow evolution to be calculated for processed metrics. * filter evolution changes * Fix issue in subtable recursion for processed metric computation & metric formatting + add new processed metric compute hooks to fix bug in evolution calculation on subtables. * remove isReusable property. * attempting to change strategy * simpler solution that does not require backend changes * remove unneeded code + fix issue w/ formatted metrics * remove some more unneeded code * write UI test * add new screenshots * Add all goals to single metric view picker. * move category * fix test * fixing more tests * Fixing some UI tests. * Update more screenshots. * update two more screenshots
2018-07-25Replace proxy redirect with rel=noreferrer (#12780)Christian Schmidt
* Replace proxy redirect with rel=noreferrer * Add noopener * Restore action=redirect for non-Matomo links * Wrap referring URLs * NO target on download link * Fix Github links * Fix whitespace * Fix tests * Revert change * Revert changes * Fix tests * Add noreferrer shim for MSIE 10 * Remove all action=redirect links * Restore noreferrer * Restore test * Fix one more occurrence * Update changelog * Combine if's * Fix changelog wording * Fix stray whitespace