Age | Commit message (Collapse) | Author |
|
|
|
Cookie::get().
|
|
code, few refactorings, all as part of our code cleanup strategy
|
|
to use free/libre instead of open source
|
|
refs #4609
|
|
|
|
|
|
|
|
Adding MetricsFormatter class which knows how to format/display metrics (time, money, size, etc)
|
|
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
|
|
|
|
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)
|
|
https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md#45-abstract-final-and-static
|
|
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@7594 59fd770c-687e-43c8-a1e3-f5a4ff64c105
|
|
performance.
Notes:
* Added LocalTracker tracker that can be used w/ tests & benchmarks to speed things up.
* Modified HTTP header sending code to use intermediate utility function.
git-svn-id: http://dev.piwik.org/svn/trunk@6533 59fd770c-687e-43c8-a1e3-f5a4ff64c105
|
|
git-svn-id: http://dev.piwik.org/svn/trunk@6325 59fd770c-687e-43c8-a1e3-f5a4ff64c105
|
|
git-svn-id: http://dev.piwik.org/svn/trunk@6300 59fd770c-687e-43c8-a1e3-f5a4ff64c105
|
|
git-svn-id: http://dev.piwik.org/svn/trunk@4302 59fd770c-687e-43c8-a1e3-f5a4ff64c105
|
|
php/ext/standard/head.c has this comment:
* MSIE doesn't delete a cookie when you set it to a null value so in order to force cookies to be deleted, even on MSIE, we pick an expiry date 1 year and 1 second in the past
git-svn-id: http://dev.piwik.org/svn/trunk@3853 59fd770c-687e-43c8-a1e3-f5a4ff64c105
|
|
pass path + domain.
git-svn-id: http://dev.piwik.org/svn/trunk@3815 59fd770c-687e-43c8-a1e3-f5a4ff64c105
|
|
* stores idvisitor, config_id as BIGINT rather than char(32)
* updates Tracking and Archiving code
git-svn-id: http://dev.piwik.org/svn/trunk@3729 59fd770c-687e-43c8-a1e3-f5a4ff64c105
|
|
git-svn-id: http://dev.piwik.org/svn/trunk@3713 59fd770c-687e-43c8-a1e3-f5a4ff64c105
|
|
git-svn-id: http://dev.piwik.org/svn/trunk@3712 59fd770c-687e-43c8-a1e3-f5a4ff64c105
|
|
sites with custom php builds that exhibit buggy json_encode/json_decode behaviour preventing login; since we use json_encode/json_decode for the dashboard, we can debug further there
p.s. Infomaniak's conclusion (posted in the forum) is inaccurate, and their bug fix is wrong (in more ways than one).
1) json_encode/json_decode is not a 5.3 feature. It was added in php 5.2.0. (I tested with 5.2.0, 5.2.1, 5.2.13, 5.2.14, 5.2.16, and 5.2.17 without Infomaniak's "fix". One of the phpinfo I received shows php was built with --disable-all, and then --enable specific extensions.)
2) their "fix" to use preg_match(/5.2.1/, PHP_VERSION) no longer matches broken 5.2.0, and excludes 5.2.2 through 5.2.9, but includes 5.2.10 - 5.2.17 (latest 5.2.x); *boggle*
git-svn-id: http://dev.piwik.org/svn/trunk@3706 59fd770c-687e-43c8-a1e3-f5a4ff64c105
|
|
safe_serialize/safe_unserialize for php 5.1.x (because json extension is not built-in and it emits warnings that the built-in doesn't)
git-svn-id: http://dev.piwik.org/svn/trunk@3613 59fd770c-687e-43c8-a1e3-f5a4ff64c105
|
|
git-svn-id: http://dev.piwik.org/svn/trunk@3610 59fd770c-687e-43c8-a1e3-f5a4ff64c105
|
|
stored in a cookie; we can't use this workaround for the dashboard layout because of cookie size limits
git-svn-id: http://dev.piwik.org/svn/trunk@3514 59fd770c-687e-43c8-a1e3-f5a4ff64c105
|
|
git-svn-id: http://dev.piwik.org/svn/trunk@3508 59fd770c-687e-43c8-a1e3-f5a4ff64c105
|
|
data as array Refs #1900
git-svn-id: http://dev.piwik.org/svn/trunk@3507 59fd770c-687e-43c8-a1e3-f5a4ff64c105
|
|
cookies, replace serialize/unserialize with more compact, json_encode()/json_decode()
git-svn-id: http://dev.piwik.org/svn/trunk@3460 59fd770c-687e-43c8-a1e3-f5a4ff64c105
|
|
offset vs positive length)
git-svn-id: http://dev.piwik.org/svn/trunk@3373 59fd770c-687e-43c8-a1e3-f5a4ff64c105
|
|
git-svn-id: http://dev.piwik.org/svn/trunk@3296 59fd770c-687e-43c8-a1e3-f5a4ff64c105
|
|
git-svn-id: http://dev.piwik.org/svn/trunk@3286 59fd770c-687e-43c8-a1e3-f5a4ff64c105
|
|
git-svn-id: http://dev.piwik.org/svn/trunk@2968 59fd770c-687e-43c8-a1e3-f5a4ff64c105
|
|
safe by default); small change to core/Cookie.php to allow cookie to expire at end-of-session; shorten persistent cookie life to 14 days
Note: potential compat buster: logme() cookie is no longer persistent
git-svn-id: http://dev.piwik.org/svn/trunk@2901 59fd770c-687e-43c8-a1e3-f5a4ff64c105
|
|
robust defense
git-svn-id: http://dev.piwik.org/svn/trunk@2856 59fd770c-687e-43c8-a1e3-f5a4ff64c105
|
|
* Quick fixes; ensuring tracking cookies never exceed 1k. it was surprisingly simple to implement, nice...
* also adding small test failure script in misc/
git-svn-id: http://dev.piwik.org/svn/trunk@2777 59fd770c-687e-43c8-a1e3-f5a4ff64c105
|
|
skipped plugins/Live as there's a large patch to merge
git-svn-id: http://dev.piwik.org/svn/trunk@1968 59fd770c-687e-43c8-a1e3-f5a4ff64c105
|
|
git-svn-id: http://dev.piwik.org/svn/trunk@1927 59fd770c-687e-43c8-a1e3-f5a4ff64c105
|
|
git-svn-id: http://dev.piwik.org/svn/trunk@1682 59fd770c-687e-43c8-a1e3-f5a4ff64c105
|
|
git-svn-id: http://dev.piwik.org/svn/trunk@1667 59fd770c-687e-43c8-a1e3-f5a4ff64c105
|
|
git-svn-id: http://dev.piwik.org/svn/trunk@1637 59fd770c-687e-43c8-a1e3-f5a4ff64c105
|
|
* add @category (Piwik => 'core', Piwik_Plugins => 'plugins')
* in core, use @package and @subpackage more consistently to group files/classes; exception is DataFiles/*, PluginsFunctions/*, and SmartyPlugins/*
* in plugins, @package is the plugin name
* removed '@param none' -- not a phpdoc convention
* '@throws' and '@return void' are also not phpdoc conventions, but are widely used elsewhere, e.g., Smarty & Zend
git-svn-id: http://dev.piwik.org/svn/trunk@1420 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@1270 59fd770c-687e-43c8-a1e3-f5a4ff64c105
|
|
git-svn-id: http://dev.piwik.org/svn/trunk@1238 59fd770c-687e-43c8-a1e3-f5a4ff64c105
|
|
git-svn-id: http://dev.piwik.org/svn/trunk@876 59fd770c-687e-43c8-a1e3-f5a4ff64c105
|