Age | Commit message (Collapse) | Author |
|
|
|
refs #3710
|
|
maskLength is now interpreted as "mask level" (0-4) and determines the number of bits to be masked.
Level IPv4 IPv6
0 0 0
1 8 64
2 16 80
3 24 104
4 32 n/a
fixes #3710
|
|
\Piwik\Plugins\*
Added namespaces to functions.php files in the five plugins that had one
Work in progress
|
|
Removed many Piwik_ functions, in Piwik 2 it is best practise to use the methods calls instead
Todo: finish converting core/ classes + convert plugins/ classes to use \Piwik\Plugin namespace + fix build + Merge master
|
|
Segment, SegmentExpression, PluginsManager.
Removed some deprecated code.
|
|
|
|
Notice that auto refactoring has created a nested namespace. Not sure this is what we want - so we might have to edit those nested namespaces afterwards (I think they don't look so good)
|
|
Notice that auto refactoring has created a nested namespace. Not sure this is what we want - so we might have to edit those nested namespaces afterwards (I think they don't look so good)
|
|
2 steps required:
1. Refactor > Move > \Piwik\Core\Config (uncheck "Create new File")
2. Refactor > Rename > Piwik_Config to Config
|
|
* Removing getInformation() call from core plugins
* Renamed translation key PDFReports_PluginDescriptionReports => PDFReports_PluginDescription
|
|
|
|
dispatcher lib in libs/Event).
Notes:
- New dispatcher can execute callbacks before or after other callbacks.
- It is also possible to dispatch events only to a specific set of plugins instead of all plugins.
- Moved Piwik::unprefixClass to Piwik_Common::unprefixClass
- Added visibility to some event handlers that were missing it.
- Allowed two unit tests to fail w/ better diagnostic messages.
|
|
Converting Piwik core source files, PHP, JS, TPL, CSS
More info: http://piwik.org/participate/coding-standards/
|
|
|
|
git-svn-id: http://dev.piwik.org/svn/trunk@7240 59fd770c-687e-43c8-a1e3-f5a4ff64c105
|
|
git-svn-id: http://dev.piwik.org/svn/trunk@6243 59fd770c-687e-43c8-a1e3-f5a4ff64c105
|
|
git-svn-id: http://dev.piwik.org/svn/trunk@5951 59fd770c-687e-43c8-a1e3-f5a4ff64c105
|
|
* removed ip_address_pre_mask_length setting -- now there is only one setting which anonymises after testing for IP exclusion
* Reverted the "synchronize" from [5772] since not needed anymore
* Added integration test to test that IP is indeed anonymized
* Added integration test to test that IP is anonymized AFTER testing for ip exclusion
git-svn-id: http://dev.piwik.org/svn/trunk@5776 59fd770c-687e-43c8-a1e3-f5a4ff64c105
|
|
git-svn-id: http://dev.piwik.org/svn/trunk@5431 59fd770c-687e-43c8-a1e3-f5a4ff64c105
|
|
git-svn-id: http://dev.piwik.org/svn/trunk@4630 59fd770c-687e-43c8-a1e3-f5a4ff64c105
|
|
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@4312 59fd770c-687e-43c8-a1e3-f5a4ff64c105
|
|
git-svn-id: http://dev.piwik.org/svn/trunk@3188 59fd770c-687e-43c8-a1e3-f5a4ff64c105
|
|
git-svn-id: http://dev.piwik.org/svn/trunk@3186 59fd770c-687e-43c8-a1e3-f5a4ff64c105
|
|
find plugins -name '*.test.php' -exec php {} \;
git-svn-id: http://dev.piwik.org/svn/trunk@3143 59fd770c-687e-43c8-a1e3-f5a4ff64c105
|
|
git-svn-id: http://dev.piwik.org/svn/trunk@2968 59fd770c-687e-43c8-a1e3-f5a4ff64c105
|
|
git-svn-id: http://dev.piwik.org/svn/trunk@2264 59fd770c-687e-43c8-a1e3-f5a4ff64c105
|
|
addresses; the number of octets to mask is configurable; let me know if I've missed any edge cases in the unit tests
git-svn-id: http://dev.piwik.org/svn/trunk@1877 59fd770c-687e-43c8-a1e3-f5a4ff64c105
|