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
2021-01-15use karma < 6 (#17100)Stefan Giehl
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>
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-07-05Update GitHub links in tests/angularjs/README.md (#14634)Luca
I I adjusted the GitHub link for the link to install-ubuntu.sh The file was moved to the folder /scripts/
2019-03-12Pagination localisation clean-up (#14157)Christian Schmidt
* Range start should be one-based, like the range end * Clean up pagination translation * Restore ScheduledReports translations * Update screenshots * Revert changes to non-English translations * Update screenshots * Update screenshot * Replace UsersManager_XtoYofN with General_Pagination * Only remove translation from en.json. * Off by one * Update screenshots * Fix off-by-one in range end * Update screenshots * Updated screenshot
2018-11-29Make matomo.js and matomo.php the default Tracking API endpoints used (#13596)Thomas Steur
* Make matomo.js and matomo.php the default Tracking API endpoints used * few fixes * fix few tests * update matomo php tracker in composer * make sure to record install version * do not overwrite ever install version * trying to fix test * more tweaks and fix tests * prefer matomo endpoint in the ui, fix some tests * file was still needed * apply review feedback * fix ui tests
2018-06-28Remove executable bit on most files (#13038)Adrien Crivelli
Only the files declaring a shebang have their execution bit set. Everything else is not executable to avoid possible security issues
2018-01-10Further Piwik.org => Matomo.org replacements (#12415)Thomas Steur
* renaming more Piwik mentions * some more updates * fix some tests * support matomo partially as require string * fix tests * fix failing system test * fix tests * fix system test * fix test
2017-09-11Use correct delimiter for Page Title reportssgiehl
2016-09-20expose some DOM methods (#10522)Thomas Steur
2016-08-28Split piwik.js into multiple files and provide a merged one (#10441)Thomas Steur
refs #6106
2015-10-27Try to fix javascript + angular tests on travis.diosmosis
2015-10-13added PHP & JS tests for anonymous tracking pluginThomas Steur
2015-09-25use new date/time formats; use updated internal namessgiehl
2015-06-06use new translations from Intl pluginsgiehl
2014-10-20refs #6469 some initial work for using bowerThomas Steur
2014-09-24refs #5983 updated docs for test file naming as suggested by AngularJs style ↵Thomas Steur
guide
2014-09-24refs #5983 more filename correctionsThomas Steur
2014-09-24refs #5983 in the style guide it was suggested to use for instance the "." ↵Thomas Steur
as a separator for those types which absolutely makes more sense to me. So dash can be used for naming of the component and is clearly separated from the type
2014-08-11source travis-helper.sh again for angular js tests.diosmosis
2014-08-11Try removing redundant travis_retry.diosmosis
2014-07-27maybe this forces karma to use a specific mocha version? might fix angularjs ↵Thomas Steur
tests
2014-07-26Remove dead code and use travis_retry in npm install command in ↵diosmosis
tests/angularjs/scripts/install-ubuntu.sh to remove random travis failure.
2014-07-23reduced multiple empty lines to exactly oneChristian Raue
2014-07-23removed lots of trailing whitespaceChristian Raue
2014-06-26Applying change suggested by travismattab
npm is included with Node, so there is no separate package for it. Our Node (and npm) is installed with nvm, and as such is not directly available with sudo. Changing the last few lines of the install-ubuntu.sh script to this should work (and removing the install of the npm package): npm config set loglevel error npm install .
2014-06-19revert previous changemattab
2014-06-19Travis said nodejs is available by default in the travis imagemattab
2014-05-23Zeitgeist => MorpheusThomas Steur
2014-05-14refs #5165 this is not directly related but can prevent forgetting to minify ↵Thomas Steur
piwik.js. Whenever js/piwik.js is updated grunt will automatically minify/compile it instantly
2014-04-30Prevent some random build failures when connectivity fails, by calling ↵mattab
travis_retry which retries up to 3 times https://travis-ci.org/piwik/piwik/jobs/23570274 https://travis-ci.org/piwik/piwik/jobs/23912462 http://blog.travis-ci.com/2013-05-20-network-timeouts-build-retries/
2014-04-30Prevent some random build failures when connectivity fails, by calling ↵mattab
travis_retry which retries up to 3 times https://travis-ci.org/piwik/piwik/jobs/23570274 https://travis-ci.org/piwik/piwik/jobs/23912462 http://blog.travis-ci.com/2013-05-20-network-timeouts-build-retries/
2014-04-13refs #4523 whenever a css or less file changes, delete compiled css. I put ↵Thomas Steur
this as a "workaround" in here as it solves the problem but maybe we wanna implement a solution in PHP though? If not, we could put this in another place maybe or leave it under tests. To make use of this just execute "cd tests/angularjs && grunt" after installing all the packages (see README). grunt will be notified whenever a file changes and immediately remove the compiled css
2014-04-04In the tracking code, the domain was not displayed (regression). Prepending ↵mattab
http:// fixes it.
2014-03-31refs #4691 _test.js => _spec.jsThomas Steur
2014-03-31lets use _spec.js instead of _test.js as this is already used in the UI testsThomas Steur
2014-03-31fix linksThomas Steur
2014-03-31added note about jshint executionThomas Steur
2014-03-31refs #4691 make sure mocha reporter is thereThomas Steur
2014-03-31less noise when installing packagesThomas Steur
2014-03-31refs #4619 run jshint when saving a file or running tests but only for ↵Thomas Steur
actual angular files
2014-03-31refs #4691 use spec and mocha reporter, prepared usage of jshintThomas Steur
2014-03-31refs #4691 added more example tests and fixed a bug found because of the testsThomas Steur
2014-03-31refs #4691 log only errorsThomas Steur
2014-03-31refs #4691 fix file nameThomas Steur
2014-03-31added file structureThomas Steur
2014-03-31refs #4691 make sure to install correct packageThomas Steur
2014-03-31Update README.mdThomas Steur
2014-03-31refs #4691 added more test casesThomas Steur
2014-03-31refs #4691 assume yes to all queriesThomas Steur