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
2022-08-24Ignore duplicate key errors when creating temporary tables (#19662)Stefan Giehl
fixes #18937
2022-08-23Fix logging when invalidating reports (#19641)Stefan Giehl
2022-08-08Fix for current year not processed for new custom reports (#19569)Ben Burgess
* Ignore repair year invalidation when processing a week that spans two years * Added integration test * Fixed test
2022-08-08update szymach/c-pchart (#19604)Stefan Giehl
* update szymach/c-pchart * fix php8.1 deprecation notice
2022-08-04update tracking config (#19495)Peter Zhang
update tracking config
2022-08-02Config option to specify database error codes to ignore during updates (#19578)Ben Burgess
* Added config option for database error codes to ignore during updates * Update config/global.ini.php Co-authored-by: Stefan Giehl <stefan@matomo.org> * Update core/Updater/Migration/Db/Sql.php Co-authored-by: Stefan Giehl <stefan@matomo.org> Co-authored-by: Stefan Giehl <stefan@matomo.org>
2022-08-02Improve the sanitization of request parameters (#19577)Ben Burgess
* Improve the sanitization of request parameters by replacing tab characters with spaces * Adjust scope of value sanitization * Fix commented line mistake
2022-07-25Refactor and improve password confirmation in UI & API (#19525)Stefan Giehl
* Extract password confirmation into own vue component * Require password confirmation for Anonymize data section * Adjust tests * Move password confirmation method to abstract class * Use new password confirmation component also for setting super user access * Use new password confirmation component also for changing user & 2FA reset * Introduce new event Login.userRequiresPasswordConfirmation to allow plugins to disable the password confirmation for users * adjust ui tests * Use new password confirmation component also for user settings * cleans up some vue code * built vue files * clean up php code * improve 2fa tab & adjust tests * add warning to event Co-authored-by: sgiehl <sgiehl@users.noreply.github.com>
2022-07-25Fix possible notices / code improvements (#19561)Stefan Giehl
* Improve reading possibly undefined config value * Improve reading possibly undefined config value * remove another error suppression
2022-07-25Adds unique index for user email (#19560)Stefan Giehl
2022-07-15Full width field in settings (#19454)Victor S
* added: full width field in settings * removed fixed width for full width multi pair * added: full width multi pair demo
2022-07-08Merge branch 'next_release' into 4.x-devsgiehl
2022-07-08update invite user (#19366)4.11.0-rc2Peter Zhang
* update invite update invite * update tests and VUE error update tests and VUE error * built vue files * update ui update ui * update vue update vue * update vue update vue * built vue files * Update UsersManager_spec.js update tests * update clean update clean * Update UsersManager_spec.js update success * Update UsersManager_spec.js remove popup error * update tests order update tests order * Update UsersManager_next_click.png updateui * revert screenshot revert screenshot * delete if user if declined delete use if declined add privacy split templated into 3 parts * remove decline remove decline * add invited by column add invited by column * Revert "add invited by column" This reverts commit e2358cb493684dc26fdf9a436d00a29981365861. * Update UserRepository.php add view user display * add email tests and update admin email add email tests and update admin email * update php cs update php cs * add expire task and default setting add expire task and default setting * add api tests add api tests * add filter add filter * update ui tests update ui tests * built vue files * update tests update tests * update signup and tests update signup and tests * update tests update tests * update screenshots update screenshots * update screenshots update screenshots * update ui update ui * update typo update typo * built vue files * Update core/Updates/4.12.0-b1.php Co-authored-by: Ben Burgess <88810029+bx80@users.noreply.github.com> * Update plugins/UsersManager/API.php Co-authored-by: Ben Burgess <88810029+bx80@users.noreply.github.com> * Update plugins/UsersManager/UsersManager.php Co-authored-by: Ben Burgess <88810029+bx80@users.noreply.github.com> * Update plugins/UsersManager/lang/en.json Co-authored-by: Ben Burgess <88810029+bx80@users.noreply.github.com> * Update config/global.ini.php Co-authored-by: Ben Burgess <88810029+bx80@users.noreply.github.com> * update email date update email date * update typo update typo * update UI update UI * Updated UI screenshot * Update plugins/Login/lang/en.json Co-authored-by: Stefan Giehl <stefan@matomo.org> * Update plugins/Login/templates/invitationDecline.twig Co-authored-by: Stefan Giehl <stefan@matomo.org> * update some feedbacks update some feedbacks * built vue files * update feedbacks update feedbacks * update filter update filter * pending your can't reset password pending your can't reset password * fix php cs fix php cs * update column update column * built vue files * set up terms in tests set up terms in tests * Update PendingUsers.php setup website * update tests and broken template update tests * update password update password * update screenshots update screenshots * add delete to admin add delete to admin * update invite success notification update invite success notification * add tests add tests * built vue files * update tests update tests * update UI and checkbox update UI and checkbox * Update Invite_spec.js show error screen * update tests update tests * update lang update lang * Update OmniFixture-dump.sql revert OmniFixture * update wording update wording * update version update version * fix change column fix change column * Update UsersManagerTest.php update tests * Update Model.php update tests * Update Model.php update tests * remove fixes remove fixes * Revert "remove fixes" This reverts commit f8fe33706513a32bf3386bc6b52800d68ec58562. * update tests update tests * revert password reset revert password reset * update tests update tests * update resend update resend * update tests update tests * Update PasswordResetter.php update tests * correct pending user from last time correct pending user from last time * apply some fixes /improvements * Apply suggestions from code review Co-authored-by: Ben Burgess <88810029+bx80@users.noreply.github.com> * Allow composer plugins for dev dependency codesniffer to fix travis builds. (#19468) Co-authored-by: peterhashair <peterhashair@users.noreply.github.com> Co-authored-by: Ben Burgess <88810029+bx80@users.noreply.github.com> Co-authored-by: Ben <ben.burgess@innocraft.com> Co-authored-by: Stefan Giehl <stefan@matomo.org> Co-authored-by: dizzy <diosmosis@users.noreply.github.com>
2022-07-08Implement url parameter to ignore referrer (#19420)Stefan Giehl
* Implement url parameter to ignore referrer * rebuilt js files * apply some fixes
2022-07-08Merge branch 'next_release' into 4.x-devsgiehl
2022-07-08Show notification if PHP version is EOL (#19421)Stefan Giehl
2022-07-04Use browser client hints for detection (#18843)Stefan Giehl
* inject client hints in js * use client hints for detection * don't use catch, as yui compressor can't parse it * rebuilt js files * use new version of device detector * more code adjustments * updates expected test files * improve js * fix header detection * improve cache key handling * fix tests * use a separate queue to wait for client hints if needed * try to fix js tests * also consider X_HTTP_REQUESTED_WITH header as client hints * updates expected test files * Extend demo detection with client hints * code improvements * use new version of matomo-php-tracker * Adds test case for client hints set through matomo php tracker * apply review feedback * submodule update * fix test
2022-06-30Provide possibility to configure referrer exclusion list (#19302)Stefan Giehl
* Adds database column to store referrer exclusion * Adds global setting for referrer exclusion * Adds measurable setting to configure excluded referrers * adjust SitesManager tests * Implement referrer exclusion * Make referrer exclusion code easier to understand * fix tests * Adds validation for referrer exclusion * fix test * Implement referrer exclusion in tracker js * rebuilt tracker js * Adds some javascript tests * ensure setIgnoredReferrers is executed before tracking * adjust wording to excluded referrers (instead of ignored) * ignore www subdomain in javascript * Included excluded referrer in tracking code generator * Don't require protocol for excluded referrers and add better description * built vue files * update expected test files * updates expected UI files * add changelog * removes unused variable * Allow wildcard subdomains * updates expected test files * apply review feedback * Fix typo Co-authored-by: sgiehl <sgiehl@users.noreply.github.com> Co-authored-by: Ben Burgess <88810029+bx80@users.noreply.github.com>
2022-06-27Update ReportsProvider.php (#19414)Alexander Prinzhorn
Copying this from the docs caused > Unmatched '}' and fixing it caused > Call to undefined method Piwik\Plugins\API\Reports\Get::getCategory() and logging `getCategoryId()` shows that `Actions` is not correct either. But using `General_Actions` doesn't remove any menus either, even though `unset` is called. I feel like the first person using these APIs (refs #19389)
2022-06-22added: setting prepare callback before validation (#19363)Victor S
2022-06-21Merge branch 'next_release' into 4.x-devsgiehl
2022-06-21[Vue] when getting plugin path relative to webroot, try all possible ↵dizzy
webroots (#19362) * when getting plugin path relative to webroot, try all possible webroots * use key values of array * replace absolute path w/ path relative to matomo root to get it to work * fix test * remove leading slashes
2022-06-15Fix for zero average order value on charts (#19353)Ben Burgess
* Changed evolution jqplot charts to not format metrics, added basic percent formatting for the jqplotDataGenerator * Only show dollar and pound currency symbols as postfix for jqplot formatting * Do not attempt to format jqplot percent values unless format_metrics = 0, UI test screenshot update * Improve jqplot formatting, remove unnecessary format metrics default logic * Revert format metrics default logic removal
2022-06-15[Graphic]reload table if the default date changes (#19349)Peter Zhang
* reload table if the changes reload table if the changes * add reload flag add reload flag * Revert "add reload flag" This reverts commit f3ffe624bab3836dc54a32304dea7e2dc5ac5dfd. * add cache load on rowEvolution add cache load on rowEvolution * revert changes revert changes * Update plugins/CoreHome/DataTableRowAction/RowEvolution.php Co-authored-by: Ben Burgess <88810029+bx80@users.noreply.github.com> Co-authored-by: Ben Burgess <88810029+bx80@users.noreply.github.com>
2022-06-13remove depracted dollar brace string interpolation (#19344)Lukas Winkler
https://wiki.php.net/rfc/deprecate_dollar_brace_string_interpolation
2022-06-13Fix FAQ # links (#19347)Starker3
2022-06-09fixed: vardumper overriding (#19308)Victor
2022-06-07Update Version to Matomo 4.11.0-rc14.11.0-rc1Justin Velluppillai
2022-06-07Improve memory usage of CSV exporter (#19315)Stefan Giehl
2022-06-07[UI]update invalid archive notification (#19126)Peter Zhang
* update archive notification update archive notification * update condition update condition * update condition on message update condition on message * update error update error * Update _unprocessedSegmentMessage.twig update unprocessed * update screenshot update screenshot * update tests and some parts update tests and some parts * update phpcs error update phpcs * update tests update tests * update phpcs update phpcs * update screen shots update screen shots * Update plugins/SegmentEditor/lang/en.json Co-authored-by: Stefan Giehl <stefan@matomo.org> * Update plugins/SegmentEditor/templates/_unprocessedSegmentMessage.twig Co-authored-by: Stefan Giehl <stefan@matomo.org> * built vue files * update tests ui screenshot update tests ui screenshot * update tests update tests * Update UnprocessedSegment_spec.js update ui tests * update tests update tests * update tests update tests * update tests update tests * Update UnprocessedSegment_spec.js update tests * Update UnprocessedSegment_spec.js update tests * set full config set full config * update screenshots update screenshots * update screeenshots update screeenshots * Rerun tests Co-authored-by: Stefan Giehl <stefan@matomo.org> Co-authored-by: peterhashair <peterhashair@users.noreply.github.com> Co-authored-by: Ben <ben.burgess@innocraft.com>
2022-06-07invite user replace add user (#18868)Peter Zhang
* draft vue version draft vue version * built vue files * update some functions update some functions * Update API.php update wording * move some validation move some validation * built vue files * update some structure update some structure * update validators update validators * update some changes update some changes * update invite update invite * add status add status * built vue files * add invite page add invite page * add invite page add invite page * add some api back add some api back * Update UserRepository.php update tests * update all xml in the tests update all xml in the tests * update tests update tests * update tests update tests * Update LoginLdap update tests * Update UsersManagerTest.php update tests * update tests update tests * Update APITest.php update tests * Update UserInviteEmail.php fix cs * update cs update cs * Update SessionAuthTest.php update tests * update tests error update tests error * Update UserRepository.php remove unused * update tests update tests * update user tests update user tests * update tests update tests * Update API.php update tests * built vue files * Update OmniFixture-dump.sql update tests * update validator update validator * built vue files * update tests and screenshots update tests and screenshots * update test xml update test xml * update user total size update user total size * update tests update tests * built vue files * update tests and test user email update tests and test user email * update tests update tests * built vue files * update tests update tests * update ranking in screenshots update ranking in screenshots * update test update test * update tests change the table list order * Update UsersManager_spec.js update tests * update tests update tests * built vue files * update tests update tests * update tests update tests * update tests update tests * adding login tests adding login tests * update tests update tests * Update UsersManager_resend_popup.png add screenshots * Update PendingUsers.php update error of model * update tests update tests * Update UserInviteTest.php update tests error * update set up for pending user should be pending user * update screenshots update screenshots * update wrong password check update wrong password check * Update Invite_wrong_password.png update password * update to 4.10 update to 4.10 * Update ReportParameters.vue remove un used element * update vue file update vue file * hide password on invite user hide password on invite user * built vue files * built vue files * Update UserEditForm.vue update password condition * built vue files * update condition on pending user update condition on pending user * built vue files * update screenshots update screenshots * update bugs update bugs * built vue files * add expired status add expired status * fix php cs fix php cs * update vue error update vue error * built vue files * add decline interface add decline interface * update all the user status update all the user status * built vue files * update tests xml for invite status update tests * fix phpcs fix phpcs * update migration number update migration number * update tests email update tests email * update screenshot tests update screenshot tests * update tests update tests * update screenshots * update screenshots update screenshots * Update Invite_wrong_password.png update screenshots * update status update status * update tests update tests * update tests update tests * Update TwoFactorAuthUsersManager_spec.js update tests * Update TwoFactorAuthUsersManager_spec.js update tests * update tests update tests * update lang update lang * update some errors update some errors * update screenshots update screenshots * update ui tests and resend invitation update ui tests and resend invitation * fix resend fix resend * built vue files * update screenshots update screenshots Co-authored-by: peterhashair <peterhashair@users.noreply.github.com>
2022-05-31Goals per page - new reports and metrics for tracking page conversions (#18221)Ben Burgess
* Goals per page - added new reports and metrics for tracking page conversions * Added top entry page statistic, added entry titles related report, adjusted percent formatting * Added datatable filter to remove goal revenue columns if there are no values, refactored goal visualisation classes to minimise duplicate methods * Fixed conversion query matching issue * Added system tests for page goals reports, rework of metrics and SQL to match expected calculations * Added UI tests * Remove unnecessary code, merge system tests * Fix for archiving query error on MySQL * Fix for query to work with MySQL 5.7 * Update core/API/DocumentationGenerator.php Co-authored-by: Stefan Giehl <stefan@matomo.org> * Revert unnecessary DocumentationGenerator change * Fix incorrect row limit config setting names * Remove special handling of pages reports * Update plugins/Goals/Visualizations/GoalsPages.php Co-authored-by: Stefan Giehl <stefan@matomo.org> * Update plugins/Goals/Visualizations/GoalsEntryPages.php Co-authored-by: Stefan Giehl <stefan@matomo.org> * Tidy up visualization classes * Fix for sorting * Remove unnecessary columns from reports, fix tests * Add new visualizations to Javascript checks * Add BasePages parent report class to deduplicate new reports * Reworked to add per-goal metric columns to the Actions_action and Action_action_url archives instead of generating separate page goal archives * Added a filter to remove goal columns from Actions datatables by default and an optional parameter to include goals columns * Improved remove goals actions filter to recurse subtables, get goals list for site * Test fixes * Move page goal metrics to nested column structure on actions and actions_url archives * Fixes and updates for apiGetReportMetadata tests * Test fixes * Test fixes and updates * More test updates * Bug fix for entry page incorrectly aggregating data from different goals * Backwards compatibility test fixes * Test fix * Update submodule * Updated tests * Updated tests * Updated test * built vue files * Force sorting of scheduled reports list by unique id to avoid sorting inconsistencies between PHP7 and PHP8 tests * Updated tests after sorting scheduled reports list * Updated tests * Test fixes * Skip specific tests that pass with PHP7 but fail with PHP8 * Test updates * Test updates * UI test screenshot updates * Slightly increased reasonable release total filesize test from 55mb to 56mb * Test fix * Disable test for PHP8 * Update submodule * Update submodule * Test updates * Revert test changes * Predictably sort scheduled reports * Disable failing test for PHP 8 * Updated tests after conflict fix * Update tests after conflict fix * Update submodule * Revert unnecessary change * Rework to use a single goals visualisation and show goal metrics directly on the action page reports * Update UI tests * Update tests, fix for goals menu ordering issue * Update tests * Revert goal overview menu item ordering * Do not add goal metadata to actions reports when the includeGoals API parameter is set to false * Updated unit and UI tests * Update UI tests * Update submodule * Update submodules * Code improvements, handle ecommerce metrics for page goals, remove obsolete test expected xml files * Remove unnecessary row properties after use * fix phpcs * Improve & refactor code * Update system test * Tweaked release reasonable size test from 55mb to 58mb to prevent test failure * Update submodule * Update system test * Update UI test screenshots * Update UI test screenshots * Update submodule * Update UI test screenshot * update submodule * test improvements * updates expected UI files * fix removing unused revenue columns from UI * applies some psr12 code formatting * Minor query optimisations * Rework the conversions by pageview query to remove subquery and all grouping, add aggregation in code * Test fixes, null checks for revenue metrics * Expanded goal page tests to cover multiple goals converted in a single visit * Updated UI test screenshots * Expanded test to be multi-day, multi-goal, multiple conversion per visit. Fixed summary logic for multi-goal visits. Fixed calculation of viewed before page rate to get conversion total via API call * Update system and UI screenshot tests * Added method return type hint, ensure request parameters are blank on Goals.get filter API call * Retrieve conversion totals from numeric archives directly instead of via API call * Move goal conversion totals lookup from the CalculateConversionPageRate filter to the Actions API and then pass to the filter * Tidy up unused namespaces * Revert move of goal conversion total retrieval from filter to actions api. Included segment in archive build for goal conversions totals. * fixes: date might be manipulated too often * updates expected UI files * avoid building archive too often * updates expected test files * fix ui tests Co-authored-by: sgiehl <stefan@matomo.org> Co-authored-by: bx80 <bx80@users.noreply.github.com>
2022-05-25Add 429 response code (#19245)Jason Morton
* Add 429 response code * Only set the default adapter if needed * Revert adapter change
2022-05-24[Vue] add manage goals store to share loaded idGoal with plugin components ↵dizzy
that extend goal management (#19236) * add manage goals store to share loaded idGoal with plugin components used to extend goal management * allow vue-entry components in edit goal template * for checkbox fields, undo dom property change manually so parent components can determine whether it should go through (vue does not do this automatically itself) * bump version so plugin tests can use this code * remove warning from vue when empty template is used for before goal list actions template event * fix v-for ref issue + do same change to FieldRadio
2022-05-24Show sparkline evolution figures for visits, goals and ecommerce overviews ↵Ben Burgess
(#19057) * Add evolution to sparklines on the visits overview and the goals overview * Add evolution to sparklines on the ecommerce overview * Updated UI test screenshots * Update submodule * Fix for tooltip date formatting, improved translation lookup and callback method extra parameter documentation * Sparklines API calls modified to return unformatted values, formatting added to the sparkline visualization and overview reports * update submodule * Updated inherited method signature * Code improvements, added forcedParams parameter to ViewDataTable / Visualization loadDataTableFromAPI methods * Revert change to loadDataTableFromAPI method signature in ViewDataTable and Visualization classes * Remove incorrectly added file * Improve international handling of plus symbol in ecommerce overview template * Always use gigabytes when formatting byte values for evolution charts * update sumbodule * built vue files * System test updates * UI test screenshot updates * Update submodule * Test fix * Test fixes * Update system tests * Rerun tests * Fix for unformatted metrics when comparing * Update UI test screenshots for sparkline comparisons * apply some fixes * Update submodule Co-authored-by: sgiehl <stefan@matomo.org> Co-authored-by: sgiehl <sgiehl@users.noreply.github.com>
2022-05-18[security] Force matomo.org related requests to use ssl as default (#19098)Peter Zhang
* Update dataTable.js update database table * Update dataTable.js update table bug * Update dataTable.js shorter the query * update screenshot update screenshot * Update dataTable.js make table size stable * Revert "Update dataTable.js" This reverts commit 1a72e1d9580172414fb147cda9e66f4927f4b2ae. * Update dataTable.js update columns * Revert "update screenshot" This reverts commit c11aec88af44668171d2ee14e7a502b5fb04126f. * force ssl to api and plug force ssl to api and plug * force request to ssl force request to ssl * Update Http.php update tests * update tests update condition only on matomo.org * update checks update checks * update default to https update default to https * update phpcs check update phpcs check * Update plugins/Marketplace/config/config.php * add config force ssl on market place add config force ssl on market place * Update plugins/Marketplace/config/config.php Co-authored-by: Justin Velluppillai <justin@innocraft.com> * update config update config * update config update config * built vue files * remove double diagnostic remove double diagnostic * force api using https force api using https * update tests update tests * update feed back update feed back * Remove unused use * update failed display message update failed display message * Update plugins/CoreUpdater/Diagnostic/HttpsUpdateCheck.php Co-authored-by: Justin Velluppillai <justin@innocraft.com> * Minor text tweak * update hardcode to translation update hardcode to translation * update translation update translation * update language and some logic update language and some logic * run test run test * trigger test trigger test * update screenshot update screenshot Co-authored-by: sgiehl <stefan@matomo.org> Co-authored-by: Justin Velluppillai <justin@innocraft.com> Co-authored-by: peterhashair <peterhashair@users.noreply.github.com> Co-authored-by: Ben Burgess <88810029+bx80@users.noreply.github.com>
2022-05-17Compatibility fixes for PHP 8.1 (#19143)Stefan Giehl
* Update .travis.yml * fix php 8.1 deprecation notices * Revert "run report tests on any PHP version (#18666)" This reverts commit ec58ab4606cbc6c7f7c3a7aa7f1e9cc5a88e5dfb. * apply PSR12 code formatting * fix deprecation notice * try to fix test * fix frontcontroller test * Clearing output buffers with enabled output compression makes problems on some PHP versions * Set the mysqli error reporting to none, to prevent possible problems on PHP 8.1
2022-05-16Merge 4.10.0 changes back to development branch (#19223)Justin Velluppillai
* tweak QueryParameters type in index.d.ts to better match arbitrary object types (#19191) * tweak QueryParameters type in index.d.ts to better match arbitrary object types * make sure github action takes into account changes in CoreVue types * add ability to use a deep watch in scope var watches in angularjs adapters (#19195) * covert getPluginUmdChunks from private to protected (#19212) * set default color value, when key not exist. (#18696) * Update Sparkline.php add addition setup * Update Sparkline.php update foreach to array_merge * protected getPluginUmdChunks update private to protect * correctly destroy vue entry components in widgetloader (#19216) * Release Matomo 4.10.0 Co-authored-by: dizzy <diosmosis@users.noreply.github.com> Co-authored-by: Peter Zhang <peter@innocraft.com>
2022-05-06Add support to exclude hosts from proxy (#19139)Jürgen Thomann
2022-05-03Update to 4.10.0-rc14.10.0-rc1Justin Velluppillai
2022-04-25Merge branch 'next_release' into 4.x-devsgiehl
2022-04-25Fix some "Passing null to parameter" warnings (#19135)MichaelRoosz
* Fix "passing null to parameter" errors * Fix "passing null to parameter" error * Fix "passing null to parameter" errors * Fix "passing null to parameter" error * Update fix for "passing null to parameter" error Co-authored-by: Michael Roosz <michael.roosz@check24.de>
2022-04-19Fix PHP 8.1 deprecation warning (#19103)Stefan Giehl
2022-04-13Create assets folder if it is missing when writing Report (#19088)Sam
* create assets folder if it is missing when writing Report * apply PSR12 code formatting Co-authored-by: sgiehl <stefan@matomo.org>
2022-04-13Update version to 4.9.04.9.0Justin Velluppillai
2022-04-12Remove invalid hosts tracker settings cache (#19021)Sam
* remove invalid host tracker settings cache * only check ini cache file if it exists * Revert "remove invalid host tracker settings cache" This reverts commit 88ec3b9d37517bfa290ea31022ecc423c8273ab5. * check host structure before cache init * fix tests - removing original file isn't necessary for test * apply PSR12 code formatting Co-authored-by: sgiehl <stefan@matomo.org>
2022-04-12Adds update script to remove broken scheduled reports from db (#19062)Stefan Giehl
* Adds update script to remove broken scheduled reports from db * Update core/Updates/4.10.0-b1.php Co-authored-by: Ben Burgess <88810029+bx80@users.noreply.github.com> Co-authored-by: Ben Burgess <88810029+bx80@users.noreply.github.com>
2022-04-11[Bug]fix prefilght cors OPTIONS request record in the action visits (#19030)Peter Zhang
* extend request with options and method when options header and method is options do not record in the database. * update function update function * update tests update tests * update tests adjust code only trigger on option request * remove class variable remove server * Update Request.php add check request method * drop option request drop prefight request * update reset update reset * return 204 on prefight return 204 on prefight * Update Tracker.php accept cors * fix typo & add type hint * Update core/Tracker/RequestSet.php * apply PSR12 code formatting * adds test Co-authored-by: sgiehl <stefan@matomo.org>
2022-04-11Add the request hostname to error & exception logs (#18996)Sam
* Add the hostname to the tracker exception log so multi-tenant domains are easier to debug * Add hostname to error log to help with debugging * use Url::getHost and add method to Url class instead * apply PSR12 code formatting Co-authored-by: sgiehl <stefan@matomo.org>
2022-04-05Remove execute bit on files that do not need it (#19052)Adrien Crivelli
Because execute bit might be a security risk and has no useful purpose for files that are not meant to be executed in the first place.