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-28Fix timezone issue when using magic date keywords (#17144)Stefan Giehl
* Fix timezone issue when using magic date keywords * improve readability * use Date::factoryInTimezone
2020-12-24Fix report showing data of wrong date (#17008)Stefan Giehl
* Use timezone in period factory only for magic keywords * add test * use better timezone * add non-timezone date Co-authored-by: diosmosis <diosmosis@users.noreply.github.com>
2020-12-10Allow using last (week|month|year) as date param (#16830)Stefan Giehl
* Allow using last (week|month|year) as date param * Adds some unit tests * improve tests * Make it possible to use last (week|month|year) for api requests * improve test
2020-05-07Rewrite cron archiving process for easier maintenance and performance (#15499)diosmosis
* Adding initial new code for cron archive rewrite. * first pass at removing unused CronArchive code. * unfinished commit * fill out archiveinvalidator code * getting some tests to pass * unfinished commit * fixing part of test * Another test fix. * another sql change * fix broken merge or something else that went wrong * Couple more fixes and extra logs. * Fixing enough issues to get core archive command to run completely. * Fix and log change. * Fixed more segment/test related issues for CronArchiveTest. Includes optimization for no visits for period + segment process from handling. * another optimization and possible build fix * no visit optimization * test fix * Implement archiving_custom_ranges logic w/ queue based implementation * fixes to get archivecrontest to work * add logic to invalidate today period * fix optimization and some tests * Fixing more tests. * Fixing more tests * debug travis failure * more test fixes * more test fixes, removing more unneeded code, handling some TODOs * Handle more TODOs including creating ArchiveFilter class for some cli options. * tests and todos * idarchives are specific to table + start on archivefilter tests * one test * more TODOs and tests * more tests and todo taken care of * handle more todos * fixing more tests * fix comment * make sure autoarchiving is enabled for segments when cron archive picks them up * Fixing test. * apply more pr feedback * order by date1 asc * quick refactor * use batch insert instead of createDummyArchives * apply rest of pr feedback * add removed events, add new test, fix an issue (when deleting idarchives older than do not lump all segments together). * re-add fixed/shared siteids * fix tests * incomplete commit * Insert archive entries into archive_invalidations table. * Use invalidations table in core:archive and get ArchiveCronTest to pass. * fixing some tests * debugging travis * fix more tests & remove DONE_IN_PROGRESS which is no longer used. * fix more tests * apply review feedback * fix tests * try fixing alltests build * try again * try again * Move archive_invalidations update to new beta since omnifixture was updated w/o it. * Another fix.
2020-04-24Update doc blocks with new name (#15857)Stefan Giehl
* update doc blocks with new name * submodule updates * updates expected UI files
2020-03-16Merge branch '3.x-dev' into 4.x-devsgiehl
2020-03-05Convert range date to date archive if needed (#15665)Stefan Giehl
2020-02-18Add movers and shakers widget to dashboard (#15578)Thomas Steur
* Add movers and shakers widget to dashboard * few fixes * show movers first * move dashboard position again * tests should be fixed
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(?)
2018-12-14For special dates in evolution graphs, calculate date & timezone together, ↵diosmosis
to get proper result. (#13799) * Update TimezonesTest to be more useful. * Update TimezonesTest which will not pass until https://github.com/matomo-org/matomo/issues/13829 * Non-intrusively fix evolution graph timezone end date issue using new Date method. * Make sure Date::factoryInTimezone only works w/ special word times.
2018-12-09Make sure Period::toString() handles case when child period returns array ↵diosmosis
and add a unit test. (#13762) * Make sure Period::toString() always returns array of strings and add a unit test. * Ensure backwards compatible. * docblock tweak * Fix tests.
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-30Fix various notices caused by invalid parameter values (#13511)Stefan Giehl
* Properly check dates used for period factory * Properly check given idSite for rowevolution * Improve example API to check given parameter type * cast idSite parameter in ImageGraph API method
2018-08-17Do not serialize every property of Periods which can appear in DataTable ↵diosmosis
metadata. (#13280) * Do not serialize every property of Periods which can appear in DataTable metadata. * Add test for original PHP serialized response.
2018-03-06Assorted events and changes (#12496)Benaka
* Throw exception if date is empty in Period\Factory::build() since it can occur during development. * Add API.Request.intercept event in API\Proxy so plugins can preempt normal API execution. * Use Request::getRenamedModuleAndAction() in Visualization, as it is called in every other use of core/API/Proxy. * Add new SitesManager.shouldPerformEmptySiteCheck event. * Add event Request.shouldDisablePostProcessing so plugins can disable datatable post processing for certain requests. * Make sure DataTable metadata is serialized with the table. * Add description of API.Request.intercept, Request.shouldDisablePostProcessing, SitesManager.shouldPerformEmptySiteCheck to changelog.
2017-12-03Several fixes/improvements to angular period selector (#12319)Benaka
* If a period is filtered out, the result of the periods array becomes an object which breaks the period selector which expects an array. * Use $onInit instead of directive constructor. Seems angular.js silences errors when this is done. * Parse previousN/lastN dates correctly in angular periods service. * Parse periods using piwikPeriods client side, since we cannot assume a date range. Also if an invalid is used for period/date, display ERROR in the period selector. * Angular will swallow errors from datepicker.parseDate, so add a console.log for developer sanity + make sure period selector has consistent state even when period/date values are invalid (& result in failed date parsing). * Update misc/log-analytics submodule to latest.
2017-10-16Convert period selector to angular & allow plugins to add periods to the ↵Benaka
frontend (#11873) * Add generate:angular-component command to generate an angular component. * Do not modify Date prototype. * Move period selector code from calendar.js to new angular directive (just move, no refactoring). * Extract date picker code from period selector code and put into new directive. * Extract range picking code into separate component than period selector. * Extract single period calendar to separate component & extract period specific functionality to new extendable periods service. * Fixing regressions in period selector behavior. * Move bulk of period selector code from directive to controller, & fix variable name in date range picker template. * Fix issue w/ yesterday date value, remove need to give period selector directive translations and make sure periods can be extended in the frontend. * Make sure period selector still works outside of an angular routing context (ie, in embedded dashboard). * In period selector UI test, hide ajaxLoadingCalendar using CSS since it is now managed by angular. * Make sure selected period highlighting changes immediately after selecting, even if loading a new page. * Put period selector top level element ID & classes on correct elements to ensure certain styles work properly. * Make sure selected period text changes immediately after selecing period, even if loading a new page or changing the URL. * Make sure range start/end changes immediately when a period is selected & selected period date range stops being highlighted immediately when a range period is selected, even if loading a new page. * Updating expected screenshots. * Updating screenshots. * Assorted fixes for period selector refactor. - Filter out invalid period labels (can happen if INI config for allowed periods is incorrect). - When determining display text for range, don't try to format the startRangeDate/endRangeDate vars, they're both strings. - Use correct selector when closing period selector. * Set global piwik date/period values on location change, outside of period selector component. * Do not skip parsing date if it does not start with an int (since the JS can handle today/yesterday/now). * Assorted fixes for period selector refactor: - use $onChanges instead of watches in datepicker (watches get triggered every time, $onChanges doesn't) - don't use arrays for selected/highlighted dates (for some weird reason, changing one of these arrays results in angular thinking it changes 3 times instead of once) - don't redraw on triggered mouseover events (something triggers mouseover when a date is selected, probably jquery datepicker) - draw after a setTimeout when a date is selected so our drawing occurs after jquery datepicker draws * Achieving smoother rendering for period selector by removing click handlers jquery datepicker adds. Also fixed bug where selecting the current period type reset the view date for the date picker. * Bound range date in period selector by piwik min/max date, so inferred dates will always be within allowed pickable dates in picker. * Removing ES6 used by accident + fix for issue when switching from non-year to year period (ui-datepicker-current-day class does not get removed). * Fix for angularjs one way binding quirk: initial property value is set before $onInit not during construction. * Avoid an exception when a date input in the date range picker is empty. * Split up change/keyup event to solve strange race condition in IE 10 on browserstack. * Change period selector "click again" tooltip to "double click". * Remove tabindexes > 1 so period selector control can be tabbed through. * Show visual cue for invalid dates in date range picker. * Only hide period option tooltip if period is active period, not if period is selected period. * In period selector, disable apply button if range is invalid. Also fix case when \$.datepicker.parseDate returns null instead of throwing.
2017-09-11Changes to support custom periods (#11837)Benaka
* Separate Archive query creation responsibility from Archive class. * Add ability for plugins to define custom period types. * Make period responsible for determining start/end time of periods, not LogAggregator. * Allow specifying custom archive writer in PluginsArchiver.
2015-12-22remove unused use statementssgiehl
2015-10-12Rename InvalidationResultInfo to InvalidationResult and remove ↵diosmosis
Period::getAllParentPeriods and replace its use in ArchiveInvalidator w/ some small SQL changes.
2015-10-12Move cascading logic to ArchiveInvalidator and make sure to cascade up by ↵diosmosis
default.
2015-10-12Move subperiod calculation from invalidate archive command to Range period ↵diosmosis
class + add unit tests.
2015-10-12Don't use switch in core:invalidate-archive-data command, instead add new ↵diosmosis
non-API method to Piwik Core.
2015-09-25fixed testssgiehl
2015-09-25Improved range formats; fixed/added testssgiehl
2015-09-25fetch and use week interval format from cldrsgiehl
2015-09-25use new date/time formats; use updated internal namessgiehl
2015-06-20use new intl unit datasgiehl
2015-05-27fix core folder with php-cs-fixer for psr-2fabiocarneiro
2015-04-09#7615 When selecting a disabled period, redirect to the default "yesterday" ↵Matthieu Napoli
period Alternate implementation of #7623
2015-03-19Monthly archiving should use the smaller amount of weeks and days inside the ↵Thomas Steur
month
2015-02-09Merge pull request #7119 from piwik/performance_improvementsMatthieu Aubry
Various performance improvements, especially for Range period and installations with many sites
2015-02-09Test to remove the if statement and see if tests still passMatthieu Aubry
2015-02-02Fixing testsMatthieu Napoli
2015-02-02Replaced calls of static methods with dependency injectionMatthieu Napoli
2015-02-02Cache generated date range periods.Thomas Steur
This is a bit experimental and I need to see whether any test will fail. It takes a long time to generate subperiods for period=range. Eg requesting date=2015-01-04,2015-02-02&module=Referrers&action=getSearchEngines&period=range took about 700ms for each request of 1500ms in total. It now takes only 40ms which means it is 30-40% faster. With the other optimizations the request in total does now only take 700-800ms instead of 1500ms.
2015-01-21Better fix for #7057 Fixes also "previous0" and "last0" + testsMatthieu Napoli
2015-01-21#7057 Bug on range with "last" and "previous"Matthieu Napoli
2014-09-30coding style fixes, some PHPStorm inspection fixes, improved readability of ↵Thomas Steur
code, few refactorings, all as part of our code cleanup strategy
2014-07-23reduced multiple empty lines to exactly oneChristian Raue
2014-07-15fixed method signaturesChristian Raue
2014-07-10--force-periods will respect the config setting "Periods enabled in API" ↵mattab
enabled_periods_API
2014-07-01Fixes #5356 Applying change suggested in pull request ↵mattab
https://github.com/piwik/piwik/pull/320 (the only change was to set default timezone to UTC)
2014-06-10Piwik is a free/libre analytics platform. Refs #4455 GNU Package requirement ↵mattab
to use free/libre instead of open source
2014-05-12Do not mention archive.php in the sourcecode, instead mention `./console ↵mattab
core:archive` command
2014-05-02Fixes #5037 You can now configure periods that are available in the UI and APImattab
; The list of periods that are available in the Piwik calendar ; Example use case: custom date range requests are processed in real time, ; so they may take a few minutes on very high traffic website: you may remove "range" below to disable this period enabled_periods_UI = "day,week,month,year,range" enabled_periods_API = "day,week,month,year,range"
2014-05-02Refs #5037 Apply the enabled periods to APImattab
2014-05-02Refs #5037 Refactor the factory out of the Period class in its own ↵mattab
Period\Factory class
2014-02-28refs #57 started to work on displaying Insights. Added a widget for the ↵Thomas Steur
dashboard and a new Insights visualization. More to come... still early version so expect a lot of things to change but I am still happy about feedback
2014-02-03Remove all occurences of @package / @subpackage / @category from core/ files.Fabian Becker
refs #4609