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
2011-04-23fixes #1111 - add support for IPv6 addresses (tracking, anonymization, and ↵robocoder
exclusion) fixes #2095 - add new anonymization hook (pre-heuristics) fixes #2055 - optional IP filter when multiple proxies present fixes #1775 - SitesManager: supports CIDR notation for IP exclusion Notes: * Installer no longer checks for IPv6, so the related messages should be deleted from translations * IPv4 mapped addresses (e.g., ::ffff:127.0.0.1) are no longer re-mapped into IPv4 space * users who to query IP addresses from MySQL directly, can use the following SQL, but inet_ntoa() is limited to IPv4 addresses: {{{ select inet_ntoa(conv(hex(location_ip), 16, 10)) from piwik_log_visit; }}} * Windows: IPv6 inet_pton()/inet_ntop() not supported until php 5.3; see #2351 git-svn-id: http://dev.piwik.org/svn/trunk@4533 59fd770c-687e-43c8-a1e3-f5a4ff64c105
2011-04-05Small changesmattpiwik
git-svn-id: http://dev.piwik.org/svn/trunk@4325 59fd770c-687e-43c8-a1e3-f5a4ff64c105
2011-04-02fixes #2252robocoder
git-svn-id: http://dev.piwik.org/svn/trunk@4283 59fd770c-687e-43c8-a1e3-f5a4ff64c105
2011-01-10fix buildrobocoder
git-svn-id: http://dev.piwik.org/svn/trunk@3690 59fd770c-687e-43c8-a1e3-f5a4ff64c105
2011-01-05Fixes #1916 mattpiwik
Now always checking in the DB if we saw the visitor earlier. The cookie also becomes much smaller. Renamed the setting enable_detect_unique_visitor_using_settings now called trust_visitors_cookies as it is different logic, and should only be enabled in intranet where IP is same for all users. This will also help getting 1st party cookie implemented Refs #409 git-svn-id: http://dev.piwik.org/svn/trunk@3634 59fd770c-687e-43c8-a1e3-f5a4ff64c105
2010-12-30refs #1919robocoder
git-svn-id: http://dev.piwik.org/svn/trunk@3545 59fd770c-687e-43c8-a1e3-f5a4ff64c105
2010-12-21tabifyrobocoder
git-svn-id: http://dev.piwik.org/svn/trunk@3483 59fd770c-687e-43c8-a1e3-f5a4ff64c105
2010-12-21Fixing unit tests mattpiwik
git-svn-id: http://dev.piwik.org/svn/trunk@3480 59fd770c-687e-43c8-a1e3-f5a4ff64c105
2010-12-21 * Updating TCPDF to latest versionmattpiwik
* Fixes #1537 Adding specific fonts for specific languages. PDF Reports now generate in all languages (inc. arabic, chinese, japanese, russian, korean, ukrainian, etc.) except ahmaric and thai. * git-svn-id: http://dev.piwik.org/svn/trunk@3477 59fd770c-687e-43c8-a1e3-f5a4ff64c105
2010-12-20git-svn-id: http://dev.piwik.org/svn/trunk@3471 ↵mattpiwik
59fd770c-687e-43c8-a1e3-f5a4ff64c105
2010-11-25Reverting, thanks Anthonmattpiwik
git-svn-id: http://dev.piwik.org/svn/trunk@3343 59fd770c-687e-43c8-a1e3-f5a4ff64c105
2010-11-25revert part of r3039mattpiwik
git-svn-id: http://dev.piwik.org/svn/trunk@3340 59fd770c-687e-43c8-a1e3-f5a4ff64c105
2010-11-15fixes #1573 - revert [3240]; silently ignore invalid idsiterobocoder
git-svn-id: http://dev.piwik.org/svn/trunk@3315 59fd770c-687e-43c8-a1e3-f5a4ff64c105
2010-11-03refs #1630 - how did I miss these?robocoder
git-svn-id: http://dev.piwik.org/svn/trunk@3288 59fd770c-687e-43c8-a1e3-f5a4ff64c105
2010-10-09fixes #1760, fixes #1573robocoder
git-svn-id: http://dev.piwik.org/svn/trunk@3240 59fd770c-687e-43c8-a1e3-f5a4ff64c105
2010-09-10touching a couple of files to trigger build (again)robocoder
git-svn-id: http://dev.piwik.org/svn/trunk@3116 59fd770c-687e-43c8-a1e3-f5a4ff64c105
2010-09-01refs #1520robocoder
git-svn-id: http://dev.piwik.org/svn/trunk@3039 59fd770c-687e-43c8-a1e3-f5a4ff64c105
2010-07-29Fixes #587mattpiwik
* Adding automatic crontab task triggered from Tracking requests on piwik.php. * Define max frequency in config file, default to 1 try each hour. * Will not run if 'Browser archiving' is disabled, as it means the cron is already setup, and it will run scheduled tasks. * Note that Scheduled tasks only do not necessarily trigger archiving. The user might still experience slow loading time if he loads Piwik after a long absence. We could consider writing a scheduled tasks that triggers archiving daily for each website git-svn-id: http://dev.piwik.org/svn/trunk@2767 59fd770c-687e-43c8-a1e3-f5a4ff64c105
2010-07-16testing hudson emailingmattpiwik
git-svn-id: http://dev.piwik.org/svn/trunk@2516 59fd770c-687e-43c8-a1e3-f5a4ff64c105
2010-07-06Introducing documented piwik.php PHP Tracking client.mattpiwik
Also adding integration test suite in place. * Adding new mechanism to trigger known tracking requests, then call all API methods get* and compare XML to the previous 'expected' XML. * make sure overwritten config files are not read during tests. Use defaults from global.ini.php. * piwik.php Tracker allow calling script to force Datetime and user IP for a specific request. * Wrote 3 main tests * wrong tracking requests should not return error and should not record anything * standard one visitor, 2 visits, with page view, download, outlink and goal tracked * Added integration test as an example in the ExampleAPI plugin (pretty simple to add testing code) TODO * Finish PiwikTracker and show it in UI * Show how to use image based tracker in UI * Add more tests (multi periods and multi sites) in Main.test.php * Fix failing Config.test.php test (when ran via all_tests.php doesn't fail otherwise) git-svn-id: http://dev.piwik.org/svn/trunk@2429 59fd770c-687e-43c8-a1e3-f5a4ff64c105
2010-07-03fixes #1457 - remove E_EXCEPTION (couldn't find any documentation for this ↵robocoder
as a predefined PHP constant) refs #998 - merge upgrade.php and common.php so json_decode() is available to Tracker plugins; sync up with -17 release of upgradephp git-svn-id: http://dev.piwik.org/svn/trunk@2420 59fd770c-687e-43c8-a1e3-f5a4ff64c105
2010-04-24fixes #1312robocoder
- index.php, piwik.php - no longer set include path - libs/Zend - comment out require_once per http://www.zendframework.com/manual/e n/performance.classloading.html - libs/Zend - comment out some redundant Zend_Loader::loadClass() calls - libs/HTML - use absolute include paths - libs/open-flash-chart/php-ofc-library - use absolute include paths git-svn-id: http://dev.piwik.org/svn/trunk@2118 59fd770c-687e-43c8-a1e3-f5a4ff64c105
2010-04-13Explicitely enable trackingmattpiwik
git-svn-id: http://dev.piwik.org/svn/trunk@2093 59fd770c-687e-43c8-a1e3-f5a4ff64c105
2010-03-29Refs #56 mattpiwik
- Added timezone setting per website. Added API to fetch the list of supported timezones. UTC Manual offsets are supported even if the PHP doesn't have timezone support built in. - Added default timezone setting that the Super user can set. It will be used to pre-select timezones when creating new websites, or setting the default timezone when adding websites via the API without specifying the timezone. - Default timezone set to UTC to all existing websites on update. PHP Default timezone set to UTC in index.php and piwik.php. - Removed all usage of mysql date/time functions (which are internally doing timezone conversions based on mysql timezone), now using php generated timestamps (in UTC), or dates manually converted to the website timezone. - Altered the few Mysql fields that were defaulting to "Current timestamp", they now default to NULL. - Deprecated the field log_visit.server_date and log_conversion.server_date as they are now not used. Must use DATE(visit_last_action_time) instead. Note that the new INDEX on (idsite, visit_last_action_time, config_md5config) will greatly benefit the Live! plugin. - Deprecated Piwik_Date->get, must now use Piwik_Date->toString - Deprecated the DB adapters getCurrentTimezone() feature, as we now don't rely on the DB timezone. Also removed the warning from the install screen. git-svn-id: http://dev.piwik.org/svn/trunk@2006 59fd770c-687e-43c8-a1e3-f5a4ff64c105
2010-03-22Fixes #43mattpiwik
Adding tests that prove that the code was working as expected (I got lucky :) the IP 255.255.255.* is stored in the config file as: array ( 0 => -256, 1 => -1, ), which passes the test >= && <= as expected git-svn-id: http://dev.piwik.org/svn/trunk@1972 59fd770c-687e-43c8-a1e3-f5a4ff64c105
2009-12-30git-svn-id: http://dev.piwik.org/svn/trunk@1751 ↵robocoder
59fd770c-687e-43c8-a1e3-f5a4ff64c105
2009-12-30minor fixesrobocoder
* added Andrew Sohn's parse_ini_file() - a pure-PHP implementation that behaves like parse_ini_file($file, $process_sections, INI_SCANNER_RAW); fixed a bug and added fallback to native, built-in function if it exists (i.e., not disabled) * added bitwise_eval() -- a safe expression evaluator for bitwise operations (see error_reporting) * added check for mbstring.func_overload and existence of mb_substr_replace; see http://bugs.php.net/?id=50609 * in Piwik_View, disable trimwhitespace output filter which bombs on the substr_replace not being multibyte aware and when strpos is overloaded by mb_strpos git-svn-id: http://dev.piwik.org/svn/trunk@1749 59fd770c-687e-43c8-a1e3-f5a4ff64c105
2009-09-20fix for dirname(__FILE__) returning '/'robocoder
git-svn-id: http://dev.piwik.org/svn/trunk@1476 59fd770c-687e-43c8-a1e3-f5a4ff64c105
2009-09-18fixes #904 - MySQL error codes; unsupported adapters can map these to ↵robocoder
driver-specific SQLSTATE (see example) fixes #980 - Piwik Installation support for "MySQL Improved" (mysqli) extension fixes #984 - Set client connection charset to utf8. Fixed tracker profiling data not recorded until after report generated. More refactoring and database abstraction: - Installation gets a list of adapters instead of hardcoding in the plugin - checking for database-specific system requirements deferred to the adapter - error detection moved to adapter but we still use MySQL error codes rather than defining new constants Note: unit tests don't run with MYSQLI -- Zend Framework's Mysqli adapater doesn't support prepare() yet git-svn-id: http://dev.piwik.org/svn/trunk@1473 59fd770c-687e-43c8-a1e3-f5a4ff64c105
2009-08-16refs #889 - add PIWIK_USER_PATH to relocate config & tmp folders per ↵robocoder
user/account where Piwik installation is shared git-svn-id: http://dev.piwik.org/svn/trunk@1401 59fd770c-687e-43c8-a1e3-f5a4ff64c105
2009-08-12refs #886 - move bootstrap loading to top where it should be;robocoder
refs #917 - adding PIWIK_DISPLAY_ERRORS git-svn-id: http://dev.piwik.org/svn/trunk@1389 59fd770c-687e-43c8-a1e3-f5a4ff64c105
2009-08-02refs #783 - more include (search) path changes to handle either (but not ↵robocoder
both) disabled ini_set() or set_include(); also avoid "[apc-error] Cannot redeclare class piwik_version" git-svn-id: http://dev.piwik.org/svn/trunk@1357 59fd770c-687e-43c8-a1e3-f5a4ff64c105
2009-07-29refs #886 - redo and extend change to visit generator and tests configrobocoder
git-svn-id: http://dev.piwik.org/svn/trunk@1343 59fd770c-687e-43c8-a1e3-f5a4ff64c105
2009-07-29refs #886, #656, #8585 - add PIWIK_DOCUMENT_ROOT and optional inclusion of ↵robocoder
bootstrap.php git-svn-id: http://dev.piwik.org/svn/trunk@1341 59fd770c-687e-43c8-a1e3-f5a4ff64c105
2009-07-24Fixes #876 - Piwik_Tracker_Visit should not validate uninitialized ↵robocoder
$this->request in constructor; make it possible to push data (in the absence of a REST API; see #134); fix duplicate function error messages when calling Piwik::printSqlProfilingReportTracker() more than once git-svn-id: http://dev.piwik.org/svn/trunk@1330 59fd770c-687e-43c8-a1e3-f5a4ff64c105
2009-07-23adding Loader.php so that it works in DEBUG modemattpiwik
git-svn-id: http://dev.piwik.org/svn/trunk@1326 59fd770c-687e-43c8-a1e3-f5a4ff64c105
2009-07-23Add () when instantiating classes for consistency.robocoder
git-svn-id: http://dev.piwik.org/svn/trunk@1321 59fd770c-687e-43c8-a1e3-f5a4ff64c105
2009-07-08fixes #803 - remove unnecessary require_once from core, plugins, and parts ofrobocoder
libs. (I didn't touch: open-flash-chart, Zend Framework, and PEAR HTML.) git-svn-id: http://dev.piwik.org/svn/trunk@1296 59fd770c-687e-43c8-a1e3-f5a4ff64c105
2009-07-04Use ini_set() instead of set_include_path() for consistency with index.php.robocoder
git-svn-id: http://dev.piwik.org/svn/trunk@1284 59fd770c-687e-43c8-a1e3-f5a4ff64c105
2009-06-24forgot to set debug to false mattpiwik
git-svn-id: http://dev.piwik.org/svn/trunk@1252 59fd770c-687e-43c8-a1e3-f5a4ff64c105
2009-06-24piwik.php in debug mode needs loader which is expectedmattpiwik
git-svn-id: http://dev.piwik.org/svn/trunk@1251 59fd770c-687e-43c8-a1e3-f5a4ff64c105
2009-06-15refs #620, refs #803 - refactor autoloader into core/Loader.php (class robocoder
Piwik_Loader); remove unnecessary require_once in core/Common.php git-svn-id: http://dev.piwik.org/svn/trunk@1224 59fd770c-687e-43c8-a1e3-f5a4ff64c105
2009-06-15fixes #801, fixes #620 - implement autoloader; remove require_once robocoder
FrontController.php from ./index.php to test autoloader; add "false" parameter to all class_exists() calls to not trigger autoloader git-svn-id: http://dev.piwik.org/svn/trunk@1221 59fd770c-687e-43c8-a1e3-f5a4ff64c105
2009-06-11Fixes #783 - don't append preset include path; thanks feyp.robocoder
git-svn-id: http://dev.piwik.org/svn/trunk@1205 59fd770c-687e-43c8-a1e3-f5a4ff64c105
2009-05-28fixes #743 - optimize include path; refs #631robocoder
git-svn-id: http://dev.piwik.org/svn/trunk@1150 59fd770c-687e-43c8-a1e3-f5a4ff64c105
2009-05-26fixes #631 - make set_include_path() conditional on presence of robocoder
Zend/Version.php git-svn-id: http://dev.piwik.org/svn/trunk@1146 59fd770c-687e-43c8-a1e3-f5a4ff64c105
2009-04-26Fixes #646, setting cache headers explicitly to nocache instead of robocoder
assuming PHP default. git-svn-id: http://dev.piwik.org/svn/trunk@1071 59fd770c-687e-43c8-a1e3-f5a4ff64c105
2009-03-27- memory and speed optimizations of archiving, refs #374 (hopefully fixing ↵mattpiwik
it but not sure yet) - added support for profiling memory & time in Piwik via the events mechanism - small other changes git-svn-id: http://dev.piwik.org/svn/trunk@1035 59fd770c-687e-43c8-a1e3-f5a4ff64c105
2009-03-26API CHANGE: we renamed two php constants. ENABLE_DISPATCH has been renamed ↵mattpiwik
PIWIK_ENABLE_DISPATCH and ENABLE_ERROR_HANDLER is renamed PIWIK_ENABLE_ERROR_HANDLER git-svn-id: http://dev.piwik.org/svn/trunk@1031 59fd770c-687e-43c8-a1e3-f5a4ff64c105
2009-03-26- renaming all constants that were not prefixed by PIWIK_ refs #632mattpiwik
git-svn-id: http://dev.piwik.org/svn/trunk@1030 59fd770c-687e-43c8-a1e3-f5a4ff64c105