Age | Commit message (Collapse) | Author |
|
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
|
|
git-svn-id: http://dev.piwik.org/svn/trunk@4325 59fd770c-687e-43c8-a1e3-f5a4ff64c105
|
|
git-svn-id: http://dev.piwik.org/svn/trunk@4283 59fd770c-687e-43c8-a1e3-f5a4ff64c105
|
|
git-svn-id: http://dev.piwik.org/svn/trunk@3690 59fd770c-687e-43c8-a1e3-f5a4ff64c105
|
|
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
|
|
git-svn-id: http://dev.piwik.org/svn/trunk@3545 59fd770c-687e-43c8-a1e3-f5a4ff64c105
|
|
git-svn-id: http://dev.piwik.org/svn/trunk@3483 59fd770c-687e-43c8-a1e3-f5a4ff64c105
|
|
git-svn-id: http://dev.piwik.org/svn/trunk@3480 59fd770c-687e-43c8-a1e3-f5a4ff64c105
|
|
* 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
|
|
59fd770c-687e-43c8-a1e3-f5a4ff64c105
|
|
git-svn-id: http://dev.piwik.org/svn/trunk@3343 59fd770c-687e-43c8-a1e3-f5a4ff64c105
|
|
git-svn-id: http://dev.piwik.org/svn/trunk@3340 59fd770c-687e-43c8-a1e3-f5a4ff64c105
|
|
git-svn-id: http://dev.piwik.org/svn/trunk@3315 59fd770c-687e-43c8-a1e3-f5a4ff64c105
|
|
git-svn-id: http://dev.piwik.org/svn/trunk@3288 59fd770c-687e-43c8-a1e3-f5a4ff64c105
|
|
git-svn-id: http://dev.piwik.org/svn/trunk@3240 59fd770c-687e-43c8-a1e3-f5a4ff64c105
|
|
git-svn-id: http://dev.piwik.org/svn/trunk@3116 59fd770c-687e-43c8-a1e3-f5a4ff64c105
|
|
git-svn-id: http://dev.piwik.org/svn/trunk@3039 59fd770c-687e-43c8-a1e3-f5a4ff64c105
|
|
* 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
|
|
git-svn-id: http://dev.piwik.org/svn/trunk@2516 59fd770c-687e-43c8-a1e3-f5a4ff64c105
|
|
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
|
|
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
|
|
- 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
|
|
git-svn-id: http://dev.piwik.org/svn/trunk@2093 59fd770c-687e-43c8-a1e3-f5a4ff64c105
|
|
- 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
|
|
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
|
|
59fd770c-687e-43c8-a1e3-f5a4ff64c105
|
|
* 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
|
|
git-svn-id: http://dev.piwik.org/svn/trunk@1476 59fd770c-687e-43c8-a1e3-f5a4ff64c105
|
|
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
|
|
user/account where Piwik installation is shared
git-svn-id: http://dev.piwik.org/svn/trunk@1401 59fd770c-687e-43c8-a1e3-f5a4ff64c105
|
|
refs #917 - adding PIWIK_DISPLAY_ERRORS
git-svn-id: http://dev.piwik.org/svn/trunk@1389 59fd770c-687e-43c8-a1e3-f5a4ff64c105
|
|
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
|
|
git-svn-id: http://dev.piwik.org/svn/trunk@1343 59fd770c-687e-43c8-a1e3-f5a4ff64c105
|
|
bootstrap.php
git-svn-id: http://dev.piwik.org/svn/trunk@1341 59fd770c-687e-43c8-a1e3-f5a4ff64c105
|
|
$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
|
|
git-svn-id: http://dev.piwik.org/svn/trunk@1326 59fd770c-687e-43c8-a1e3-f5a4ff64c105
|
|
git-svn-id: http://dev.piwik.org/svn/trunk@1321 59fd770c-687e-43c8-a1e3-f5a4ff64c105
|
|
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
|
|
git-svn-id: http://dev.piwik.org/svn/trunk@1284 59fd770c-687e-43c8-a1e3-f5a4ff64c105
|
|
git-svn-id: http://dev.piwik.org/svn/trunk@1252 59fd770c-687e-43c8-a1e3-f5a4ff64c105
|
|
git-svn-id: http://dev.piwik.org/svn/trunk@1251 59fd770c-687e-43c8-a1e3-f5a4ff64c105
|
|
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
|
|
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
|
|
git-svn-id: http://dev.piwik.org/svn/trunk@1205 59fd770c-687e-43c8-a1e3-f5a4ff64c105
|
|
git-svn-id: http://dev.piwik.org/svn/trunk@1150 59fd770c-687e-43c8-a1e3-f5a4ff64c105
|
|
Zend/Version.php
git-svn-id: http://dev.piwik.org/svn/trunk@1146 59fd770c-687e-43c8-a1e3-f5a4ff64c105
|
|
assuming PHP default.
git-svn-id: http://dev.piwik.org/svn/trunk@1071 59fd770c-687e-43c8-a1e3-f5a4ff64c105
|
|
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
|
|
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
|
|
git-svn-id: http://dev.piwik.org/svn/trunk@1030 59fd770c-687e-43c8-a1e3-f5a4ff64c105
|