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
2022-03-24Don't create cookies when disabled (#18935)Justin Velluppillai
* Rebuilding * Empty commit * rebuilt piwik.js * Need to track a pageview before checking cookie * more fixes for tests where not setting visitorId cookie until tracking request first sent * a few more test fixes * allow a little longer for beforeUnloadHandler now it does more by default... * bump it a little higher * track a page view so the referer tests work * undo last * testing * give more info * removed test code * undo test changes, set a variable to store initial visitor id while the cookie isn't set * one more test removal * Track a pageview to create cookie before testing matching visitorIds * rebuilt piwik.js * trackpageview so some more visitorid tests pass * one more tracking request now * allow more time for beforeUnloadHandler * Instead of storing a temporary variable we just create the cookie when getVisitorId is called, if it is not existing * rebuilt piwik.js * Removed unnecessary changes * rebuilt piwik.js * minor fixes * different approach * rebuilt piwik.js * set visitor id cookie in getVisitorInfo also * rebuilt piwik.js * remove unnecessary configCookiesDisabled check * rebuilt piwik.js Co-authored-by: justinvelluppillai <justinvelluppillai@users.noreply.github.com>
2022-02-14add enable browser detection and some tests (#18633)Peter Zhang
* add enableBrowserFeatureDetection and simple tests add enableBrowserFeatureDetection and simple tests * Update AnonymousPiwikUsageMeasurement update tests * rebuilt piwik.js * Revert "Update AnonymousPiwikUsageMeasurement" This reverts commit 21de4c77ba8032c085ed9f4b1924bac4eee228f0. * Update index.php add tests * Update index.php * Update index.php update wrong function * Update index.php update tests * Update index.php update tests * Update .eslintignore disable jslint for complie js * update jsLint error update jsLint error * remove space remove space * Update index.php update wording Co-authored-by: peterhashair <peterhashair@users.noreply.github.com>
2021-10-04JavaScript tracker exclude query parameters (#18031)Ben Burgess
Adds a new option to the JavaScript tracker to exclude query parameters from the tracked URL. Co-authored-by: bx80 <bx80@users.noreply.github.com> Co-authored-by: sgiehl <stefan@matomo.org>
2021-09-16Add piwik.js public api method setPagePerformanceTiming. (#17901)Tim-Hinnerk Heuer
2021-07-30Don't check cookie value if cookie was deleted (#17830)Stefan Giehl
* don't check cookie value if cookie was deleted * add test that ensures no error is logged when setCookieDomain is called w/ valid input Co-authored-by: diosmosis <diosmosis@users.noreply.github.com>
2021-07-1517417 cookie domain (#17744)Justin Velluppillai
* Handle failed promise by silently ignoring it * rebuilt piwik.js * Remove unnecessary check for .ready - if serviceWorker exists it should be there anyway * Set cookie domain even if cookies are disabled; log console errors for issues setting cookies * rebuilt piwik.js * Added tests * Fixed js tests by modifying expected number of asserts * Fixed JSLint issues * rebuilt piwik.js * Don't unset cookie domain at end of test * Reorder get and set cookie functions to fix jslint issue * rebuilt piwik.js * JSLint error from missing ; Co-authored-by: tsteur <tsteur@users.noreply.github.com> Co-authored-by: justinvelluppillai <justinvelluppillai@users.noreply.github.com>
2021-06-18fix regression in trackingspamprevention and warning in bound parameter ↵dizzy
checking code (#17683) * remove testdox * fix warning if parameters is a single value, not an array * allow skipping valid host check for hardcoded URLs we know are valid * print testdox hint in case build takes too long to finish consistently * move testdox warning to correct boostrap file * fixing some tests + fix use of Date in bind params
2021-05-27Outlink tracking when DOM modified (#17522)Zoltan Flamis
* modify enabletracking * check for multiple click listeners * add other mouse events * delete log * rebuilt piwik.js * add to changelog and fix test * Update piwik.js * rebuilt piwik.js Co-authored-by: flamisz <flamisz@users.noreply.github.com>
2021-04-12Run JavaScript tests also with node/puppeteer (#17432)Stefan Giehl
* Run Javascript tests on node / puppeteer * fix js tests for modern browsers supporting sendBeacon * run js tests on phantomjs & on node/puppeteer * updates travis submodule
2021-03-29Track JS errors only once per page view (#17288)Zoltan Flamis
* track js errors only once per page view * rebuilt piwik.js * use indexOfArray * rebuilt piwik.js * rebuilt piwik.js * Update CHANGELOG.md * js files new line delete * rebuilt piwik.js * Update CHANGELOG.md * add test * add the javascript errors for the tracker * Update CHANGELOG.md * rebuilt piwik.js * fix tests * rebuilt piwik.js Co-authored-by: flamisz <flamisz@users.noreply.github.com> Co-authored-by: sgiehl <stefan@matomo.org> Co-authored-by: sgiehl <sgiehl@users.noreply.github.com> Co-authored-by: dizzy <diosmosis@users.noreply.github.com>
2021-02-25fix js test (#17265)dizzy
* fix js test * rebuilt piwik.js
2021-02-24add quick test for userId using ints (#17256)dizzy
2020-12-03When forcing GET request method in JS tracker then disable send beacon (#16870)Thomas Steur
2020-12-02Document setGenerationTime removal and add back the method (#16860)Thomas Steur
* Document setGenerationTime removal and add back the method * rebuilt piwik.js Co-authored-by: diosmosis <diosmosis@users.noreply.github.com>
2020-11-23Add disablePerformanceTracking method to methods to apply first (#16768)Thomas Steur
2020-11-17SameSite cookie attribute can be configured for JS tracker (#16733)Thomas Steur
2020-11-15Fix ecommerce and goal tracking may not work (#16716)Thomas Steur
* Fix ecommerce and goal tracking may not work * rebuilt piwik.js
2020-10-19Ignore tracking requests for disabled plugins (#16570)Thomas Steur
2020-09-30Fix percent symbol fails JavaScript Matomo code (#16469)Thomas Steur
2020-09-22Fix JS test (#16458)Thomas Steur
2020-09-21Fix JS test (#16455)4.0.0-a2Thomas Steur
2020-09-09Remove visit standard length from tracker (#16412)Thomas Steur
* Remove visit standard length from tracker * adjust changelog * rebuilt piwik.js
2020-08-31Allow execution of core and plugin specific JS tests only (#16345)Thomas Steur
2020-07-24Merge branch '3.x-dev' into 4.x-devsgiehl
2020-07-07Implement cookie consent (#16178)Thomas Steur
* implement cookie consent * rebuilt piwik.js * fix documentation
2020-07-06Don't set any cookies when no consent is given (#16173)Thomas Steur
* Better detection for cookies for browser plugins report * rebuilt piwik.js * improve comment * Add method to enable cookies * rebuilt piwik.js * fix test * no longer include cookie in fingerprint * only ignore cookies in fingerprint for IE * fix tests * fix test * tweak enablecookies * rebuilt piwik.js * send tracking request if needed when enable cookies * rebuilt piwik.js * tweak code * update docs * rebuilt piwik.js * Update Visit.php * fix tests * Don't set cookies unless consent given when consent is required * fix test * rebuilt piwik.js * add tests * add missing function * rebuilt piwik.js * fix jslint test
2020-07-03Add method to enable cookies in JS (#16113)Thomas Steur
* Better detection for cookies for browser plugins report * rebuilt piwik.js * improve comment * Add method to enable cookies * rebuilt piwik.js * fix test * no longer include cookie in fingerprint * only ignore cookies in fingerprint for IE * fix tests * fix test * tweak enablecookies * rebuilt piwik.js * send tracking request if needed when enable cookies * rebuilt piwik.js * tweak code * update docs * rebuilt piwik.js * Update Visit.php * fix tests * rebuilt piwik.js Co-authored-by: diosmosis <diosmosis@users.noreply.github.com>
2020-06-26Track seconds instead of days for "days since" dimensions (#15774)diosmosis
* Modify dimensions and add tests. * unfinished debugging commit * changes to fix test, remove tracker code, add update code * fix some tests * fix migration issue * fixing some tests * fix some bugs, update some expected test files, remove _idvc from some tests * start replacing _ects * Finish seconds since last ecommerce order change. * fix couple issues * fix a couple tests * fix some more tests * fixing a couple more tests * apply review feedback * unfinished commit * add back dimensions = * fixing tests & removing some code * fix some bugs + tests and remove debugging code * fixing some tests and issues * Some debugging code for the tracker in case of exceptions. * debug and fix another issue when tracking visits in the past * fix test * update JS and fix several tests * Fixing more tests. * Add missing files. * update expected test files * Add some unit tests. * update more expected files * update more test files * update more test files * update changelog and remove _ects query param * apply review feedback * fix merge issue * clearer code * fix migration issue * update expected files * update expected files again * updating tests * fix test * rebuilt piwik.js * unify previous visitor properties / original visit row approach * fixing some tests * Add new column version entries into the option table. * try undoing 1.5 update change * apply review feedback * remove more unused cookie values * rebuilt piwik.js * Fix test count. * update test files * rebuilt piwik.js * removel log analytics submodule update * update submodule * update some expected screenshots * Fix versions in omnifixture since we were probably adding to the beta update after it changed. * update screenshots
2020-06-12Rename Piwik -> Matomo in JS tracker where possible (#16052)Thomas Steur
* Rename Piwik -> Matomo in JS Tracker * fix tests * rebuilt piwik.js
2020-06-09Expose setVisitorId JS tracker method (#16042)Thomas Steur
2020-06-09Track ecommerce views as new dimensions instead of custom variables (#15999)Stefan Giehl
* Adds new columns to log_link_visit_action table to track ecommerce view data * update piwik.js to track ecommerce view s the new way * Adjust archiving * update tests * [TEMP] use php-tracker branch for composer * Archive custom variables the old way, only if Matomo was installed before 4.0 * add fallback to custom variables to keep bc when replaying old logs * update some expected test files * fix jslint errors * update javascript test * update dimension names * updates some expected test files * add product view data to visitor details and add suggested segment values * updates some expected test files * rebuilt piwik.js * adjust checked version * update expected ui files * updates some expected test files * submodule updates * apply some review feedback * Show product views in action tooltips * updates expected UI files Co-authored-by: sgiehl <sgiehl@users.noreply.github.com>
2020-06-08Switch from bower to npm and update JS libraries (#14082)diosmosis
* Starting to replace bower with npm: use updated jquery-ui from npm. * Use jquery from npm./ * Use angular from npm. * Add more angular libraries. * Use chroma-js from npm. * Remove html5shiv, does not appear to be used. * Use iframe resizer library from npm. * Add jquery-mousewheel * Add jquery.dotdotdot from npm. * Get jquery.scrollto from npm. * Get jscrollpane from npm. * Get materialize-css from npm. * Get mousetrap from npm. * Remove ngDialog, as it is no longer used. * Install qrcode.js from npm. * Get sprintf-js from npm. * Get visibillityjs from npm. * Remove bower.json. * Getting parts of matomo to work w/ new versions of libraries installed by npm. * Ignore node_modules subfolders in node_modules since we only use npm for frontend dependencies + fix a test. * Fix button padding. * Fix series picker checkboxes. * Fix karma conf. * Fix CSS in right place. * Fixing more css/less issues. * More test fixes. * Limit selection style fix. * Fix more tests + materializecss issues. * Fix a couple more tests. * Fix annotation styling. * remove error * add ng-dialog files * try to fix some tests * Fix several UI tests. * fixing more build issues * Fix several more tests and issues. * fixing more tests * split ui tests into 3 groups * fix several more issues and tests * Fix some console warnings on chrome. * Updating more test files. * fix some tests * yet more fixes * couple more fixes * another form fix * Fix some tests. * update screenshot * update more expected files * Fix two more form issues. * test commit (travis is not fetching submodules for some reason...) * remove scripts removed in merge * three travis builds * split UIIntegrationTest into multiple suites * lets try this again * updae several expected screenshots * fix some more tests * fix plugin details material select and tabs initiaialization * update screenshots + css fix * re-initialize materialize tabs since we load jquery-ui afterwards for datepicker which unsets materialize tabs * update more screenshots and fix couple more issues * update more screenshots + tweak to test * more fixes and screenshot updates * fix some issues and update more screenshots * update submodules * more fixes + more updated screenshots * more css fixes and test fixes * couple fixes & updated screenshots * update screenshots * fix random failure * Map old bower_component files to new ones in AssetManager. * Remove node_modules from PR and ignore node_modules in .gitignore and remove libs/jquery (adding new required libs). * Update .travis.yml. * update screenshots * fixing some more issues * fix copy pasta * update screenshots * fix more modal issues * Update css & screenshots. * correct close modal calls * fixing more issues * data-target instead of data-activates * fix more tests * trigger build that works? * fix more tests * update submodule * debugging travis * more debugging * try to fix test * fix modal no button click in test * update more screenshots * couple more test fixes * some more fixes and updated screenshots * update screenshots * apply some review feedback * Fix modal centering and initial top position. * apply some more pr feedback * another pr fix * update submodule * remove style * fix color of checkbox mark * Fix centering the popover Note: centering the popover relative to body doesn't work poperly anymore, maybe because of the fixed position of the widget overlay. Using the ui-widget-overlay to position the dialog centered seems to work * ignore line endings check for node modules * updates expected UI files * submodule updates * use minified file of jquery.browser.js * updates expected test files * ensure to hide parent tooltips when row action tooltips are shown * tweak less for datatable navigation * style is only useful for dashboard * update some screenshots * update submodules Co-authored-by: sgiehl <stefan@matomo.org>
2020-05-08Merge remote-tracking branch 'origin/3.x-dev' into 4.x-devsgiehl
2020-04-29Queue content tracking requests (#15872)Thomas Steur
2020-04-16merge 3.x to 4.x (#15821)diosmosis
* Avoid possible error subtable already exists but not loaded (#15779) * Make sure to always set JSON_PIWIK to native JSON when possible (#15785) * make sure to always set JSON_PIWIK to native JSON when possible * rebuilt piwik.js * Force POST for bulk requests, fix alwaysUseSendBeacon not respected for bulk requests (#15784) * Force POST for bulk requests, fix alwaysUseSendBeacon not respected for bulk requests * rebuilt piwik.js * Make sure to clean up tracking failures before sending email notification (#15798) Feedback from a customer... Eg the daily `cleanupTrackingFailures()` action might be only executed after the weekly `notifyTrackingFailures` therefore we should try to clean up failures first and then check if any are left. Avoids the case where a user opens hours later the email they receive and then there are no tracking failures reported. This could still happen but it's a bit less likely. * 3.13.5-b1 * Faster segmented suggested values when browser archiving is disabled (#15786) * Faster segmented suggested values when browser archiving is disabled * make sure no segment is set * remove wrong var type * fix/add tests * add more segment values * detect if we should flatten or not * add docs * Fix problem when comparing segments or opening popovers (#15809) refs #15805 * purge all old archives regardless of done value (#15800) * purge all old archives regardless of done value, we only care about the newest usable one * Fix test and start on new one. * Add coverage for change in tests. * there is no longer an inner join so should not need the idsite check * Add more parameters to the computeNbUnique event (#15808) * 3.13.5-b2 * One click update in two parts so new code is loaded for second. (#15770) * One click update in two parts so new code is loaded for second. * remove no longer needed code Co-authored-by: Thomas Steur <tsteur@users.noreply.github.com> Co-authored-by: Matthieu Aubry <mattab@users.noreply.github.com> Co-authored-by: Stefan Giehl <stefan@matomo.org>
2020-04-08Force POST for bulk requests, fix alwaysUseSendBeacon not respected for bulk ↵Thomas Steur
requests (#15784) * Force POST for bulk requests, fix alwaysUseSendBeacon not respected for bulk requests * rebuilt piwik.js
2020-02-11Renames CustomPiwikJs plugin to CustomJsTracker (#15505)Stefan Giehl
* Renames CustomPiwikJs plugin to CustomTrackerJs * adds bc for old api class name * adds update to rename plugin in exisiting config * update ui tests * rename again * remove old events * improve changelog * remove bc fallback * Improve migration * use tagmanager submodule * updates UI files
2020-02-06No longer redirect when interacted with content (#15406)Thomas Steur
2020-01-27Fix JSON tests (#15460)Thomas Steur
2020-01-21enable send beacon by default (#15405)Thomas Steur
2019-12-31Set a first-party cookie when user opts out of tracking (#15184)Kate Butler
2019-11-08accept numbers for setUserId, setEcommerceView, addEcommerceItem, ↵Thomas Steur
removeEcommerceItem (#15131)
2019-11-06More efficient heart beat timer (#15058)Thomas Steur
* More efficient heart beat timer * add changelog * make sure the event is added for each tracker * add test * fix test
2019-11-04Send queued requests less often (#15048)Thomas Steur
2019-08-26No longer require idsite in addtracker (#14787)Thomas Steur
* no longer require idsite in addtracker * update minified version to fix tests * fix tests * fix test * fix number of expected tests
2019-07-17Fix missing 3rd party cookie when using POST requests (#14368)MichaelHeerklotz
* Fix missing 3rd party cookie when using POST requests * fix test * jslint fix * Update piwik.min.js * Update matomo.js * Update piwik.js
2019-06-27JS Tracker: Prevent Error 400 issue on IE11 when custom dimension values ↵Matthieu Aubry
include non ascii characters (#14566) * Prevent Error 400 issue on IE11 when custom dimension values include non ascii characters Issue found & Patch suggested by Customer * typo * fix test * fix test * fix JS test
2019-04-08Reset tracked impressions for searches and only send tracking request when ↵Thomas Steur
interaction was defined (#14002) * Reset tracked impressions for searches and only send tracking request when interaction was defined * add test to ensure site search clears content impressions
2019-03-04fix queued requests in JS tracker and add possibility to disable it (#14146)Thomas Steur
* fix queued requests in JS tracker and add possibility to disable it * Regenerate core tracker JS. * Fix jslint error. * trying to fix and debug failing js test * fix js test * trying to fix test * debugging failing test * fix JS tests * fix jslint
2019-01-27Add method to get ecommerce items to tracker (#14028)diosmosis
* Add getEcommerceItems() method to tracker so users can see what was added/removed. * doc twea * Update minified JS. * Fix test.