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
path: root/core
AgeCommit message (Collapse)Author
2019-07-05Copy downloaded plugin to all plugins directories (#14537)nabiltntn
* Copy download plugin to all plugins directories including MATOMO_PLUGIN_DIRS * Use MATOMO_PLUGIN_COPY_DIR env and Global * Remove unused import * Copy plugin only to one directory * Check $GLOBALS['MATOMO_PLUGIN_COPY_DIR'] in both cases
2019-07-05avoid using group by and select min for tracker actions query to avoid tmp ↵Thomas Steur
tables refs #14535 (#14584)
2019-07-05try to improve speed of serving unreadable files (#14605)Stefan Giehl
2019-07-03Truncate very long useragents to prevent possible tracking slowdown (#14581)Stefan Giehl
* Truncate very long useragents to prevent possible tracking slowdown * use Common::mb_substr
2019-07-013.10.03.10.0Matthieu Aubry
2019-06-293.10.0-rc53.10.0-rc5Matthieu Aubry
2019-06-29Activate Matomo Tour feature for all users (#14590)Thomas Steur
* add tour update * adjust file name
2019-06-273.10.0-rc43.10.0-rc4Matthieu Aubry
2019-06-27Provide methods to force the update of tracker caches (#14578)Thomas Steur
* Provide methods to force the update of tracker caches * delete tracker cache more often * delete only needed cache * invalidate cache when hosts change
2019-06-263.10.0-rc33.10.0-rc3Matthieu Aubry
2019-06-26Fix error number is detected wrongly in tracker mode (#14571)Thomas Steur
* Fix error number is detected wrongly Eg when the error is `Error query: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry`, it would detect 2300 instead of 1062. fix DEV-1683 * Update Mysqli.php same behaviour as for regular DB * reuse same code
2019-06-26Use ranking query on userid reports. (#14551)diosmosis
* Use ranking query on userid reports. * Fix test ordering on travis. * Use existing userid row limit config option and deal w/ ranking query summary row which is not treated as datatable summary row. * update system test * another test update * Add order by to get test to pass.
2019-06-243.10.0-rc23.10.0-rc2Matthieu Aubry
2019-06-193.10.0-rc13.10.0-rc1Matthieu Aubry
2019-06-17Detect expired session use (#14502)diosmosis
* Add INI config option and add tests. * Detect expired sessions. * Update config docs. * Apply review feedback including storing expiration in session fingerprint. * fixing tests. * fix unit tests * fix test
2019-06-12Use query params to add goal processed metrics instead of filter directly. ↵diosmosis
(#14465) * Use query params to add goal processed metrics instead of filter directly. * Fix goal validation for filter_update_columns_when_show_all_goals param. * Fix another test.
2019-06-11Do not do unprocessed segment check if within archiving process, sinc… ↵diosmosis
(#14471) * Do not do unprocessed segment check if within archiving process, since it is not for the main HTTP request. * Add more explanation to the comment.
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-06-07Ensure incompatible viewdatatable entries are shown as footer icons when ↵Stefan Giehl
they are still selected (#14507)
2019-06-02If no pivotBy column is specified, make sure when getting first column… ↵diosmosis
(#14469) * If no pivotBy column is specified, make sure when getting first column in table to find associated metric index value. * Fix copy-paste fail
2019-05-283.10.0-b33.10.0-b3Matthieu Aubry
2019-05-20Console: invalidating reports with segment based on custom Dimensions fails ↵Thomas Steur
(#14347) * Console: invalidating reports with segment based on custom Dimensions fails refs https://github.com/matomo-org/matomo/issues/14344 When idSite/idSites is used as a parameter, we need to make sure to use `Request::processRequest` otherwise event listeners cannot get the idSite through `Common::getRequestVar`. * Make sure to fetch all segments * Do not use any parameters from original request * update submodule * Update submodule. * Update submodule (test for fix in this PR) + couple doc tweaks.
2019-05-17Let controllers specify what type a view to be rendered is (#14309)diosmosis
* Let controllers specify what type a view to be rendered is, so it is not always assumed based on controller type. * Check the view type. * Do not modify @api methods. * tweak comment
2019-05-17Don't tell people to run chmod -R 755 on their install if update fails (#14412)Thomas Steur
fix #13628 For not writable directory it generated eg this: ``` chown -R foo:localaccounts /var/www/matomo find /var/www/matomo/tmp -type f -exec chmod 644 {} \; find /var/www/matomo/tmp -type d -exec chmod 755 {} \; ``` for auto update it also adds execute permission for `console` ``` chmod 755 /var/www/matomo/console ``` Not sure if any other file needs permission to execute? Couldn't think of any right now. Of course the find commands above they don't change the permission of any symlinks or so. Not sure what users possibly have in there and if it could create some issue. Could extend the find command to something like `-type f or -type l`. Also generally not sure if `find` is compatible like this on all *nix. @Findus23 maybe any thoughts?
2019-05-17Store matomo url only if host is valid (#14422)Thomas Steur
fix #11029
2019-05-16Ignore variables that start w/ @ when auto-detecting tables in segment sql ↵diosmosis
expressions. (#14425) * Ignore variables that start w/ @ when auto-detecting tables in segment sql expressions. * Add test & fix * Make sure column detection excludes decimal numbers.
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-15Use NumberFormatter to format metric values (#14017)Stefan Giehl
* Use NumberFormatter to format metric values * fixing tests * update test files * load translations for tests as otherwise number formatter fails * updates expected UI files * ensure correct number of minimum fraction digits * update tests
2019-05-14Allow period used to generate scheduled report to be different from email ↵diosmosis
schedule. (#13832) * Allow period used to generate scheduled report to be different from email schedule. * Apply review feedback. * Add quick test. * Update UI tests, fix for random failure. * Update expected screenshot.
2019-05-13Allow Metric instances to be stored in Report::$metrics. (#14414)diosmosis
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-06Add config option to use own cacert.pem file (#14113)Fabian Dellwing
* fixes #13742 * add explaining text * minor tweak as in past we had sometimes trouble accessing Config::getInstance()->General['custom_cacert_pem'] directly on some systems shouldn't be an issue anymore, but better be safe.
2019-05-06Do not create request to validate license in tracker mode (#14405)Thomas Steur
* Do not create request to validate license in tracker mode fix https://github.com/matomo-org/matomo/issues/14401 * be a bit more specific we assume license is not missing in tracker mode
2019-05-06Fix build for failing integration test purger (#14407)Thomas Steur
I added a ctype_xdigit test to 100% prevent injections but then noticed the tests use also some other letters. Could restrict the preg_match to `a-f` but using `A-Z` makes the tests a bit more readable and is as safe
2019-05-03Task to purge archives for deleted websites and segments (#14317)Kate Butler
* Purge archives for deleted sites and segments * Purge archives for deleted sites and segments * Add new purgeOrphanedArchives task to expected list * Fix build * PR improvements * Fix consistency of method names * Fix typo * Unit tests for getSegmentHashesByIdSite * PR changes * add note on how to test the command * minor tweak to make sure no injections are possible
2019-05-03CronArchive: Catch UnexpectedWebsiteFoundException (#14403)paladox
* CronArchive: Catch UnexpectedWebsiteFoundException This is to allow the archive to continue if the site was deleted from matomo. Fixes #14393 * Update CronArchive.php
2019-04-20Adds new ViewDataTable.configure.end event (#14355)Stefan Giehl
* Adds new ViewDataTable.configure.end event after params have been overwritten by saved settings and query params * changelog
2019-04-193.10.0-b13.10.0-b1Matthieu Aubry
2019-04-193.9.1-b13.9.1-b1Matthieu Aubry
2019-04-16Fix archive invalidation timezone issue in tracker (#14318)Kate Butler
* Fix timezone bug in PHP tracker archive invalidation * Reset timezone after each unit test * Fix timezone issue in unit test * More elegant method for getting midnight in UTC+5
2019-04-16Remove diagnostics plugin from list of always-activated plugins (#14349)Kate Butler
2019-04-11Add enable_sql_profiler setting to Tracker (#14288)simivar
* Add enable_sql_profiler setting to Tracker * Adjust message @simivar fyi removed the need for `[log]` as it should be 99% enabled. It's just important they also enable tracker debug.
2019-04-11Display all product categories if present in the visitor log (#14083)diosmosis
* Query and show all product categories not just the first in the visitor log. * Fix SQL + processing * Allow XML renderer to render array of simple values. * Add unit test for xml renderer. * Add second product category to fixture, update test files and update omnifixture. * Update some expected test files.
2019-04-11fix #14307 template override in custom theme did not work anymore (#14337)Thomas Steur
2019-04-11require TwoFA to be verified before updating code base (#14322)Thomas Steur
* require TwoFA to be verified before updating code base fix https://github.com/matomo-org/matomo/issues/14251 * Remove part ofcomment
2019-04-03Strip HTML tags in API error messages (#14213)Stefan Giehl
* Strip HTML tags in API error messages * check if root request is api request * fix some tests
2019-04-02Load ThemeStyles in View and make theme-color themeable (#14282)simivar
2019-04-01Changing session name with const PIWIK_SESSION_NAME (#14254) (#14283)simivar
2019-04-01fix typosgiehl
2019-04-01Fixing build (#14296)diosmosis
* fix condition * NullHandler must be end of writer array to allow other handlers to handle the message (since it seems to stop bubbling). * Do not do php eol check during tests. * Just in case. * try to fix the build * Add screenshot.