Age | Commit message (Collapse) | Author |
|
remove duplicated code to load autoload.php and to be able to register more autoloaders (eg for test files) on demand. This I got read of many includes that had to be updated all the time and that had to be updated all the time when moving iles
|
|
|
|
|
|
|
|
|
|
to use free/libre instead of open source
|
|
too old
|
|
static method rather than a closure
|
|
|
|
uninstall the plugin, work is still 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.
|
|
|
|
Converting Piwik core source files, PHP, JS, TPL, CSS
More info: http://piwik.org/participate/coding-standards/
|
|
|
|
The fact that errors are displayed is one of the key factors that help us troubleshoot users, losing error and NOTICES messages would be a lot more support pain...
we still recommend power users to set it to off: http://piwik.org/security/how-to-secure-piwik/
git-svn-id: http://dev.piwik.org/svn/trunk@6068 59fd770c-687e-43c8-a1e3-f5a4ff64c105
|
|
git-svn-id: http://dev.piwik.org/svn/trunk@6033 59fd770c-687e-43c8-a1e3-f5a4ff64c105
|
|
git-svn-id: http://dev.piwik.org/svn/trunk@6032 59fd770c-687e-43c8-a1e3-f5a4ff64c105
|
|
"as is" because ini_set("display_errors", "stderr") is still leaky
git-svn-id: http://dev.piwik.org/svn/trunk@5974 59fd770c-687e-43c8-a1e3-f5a4ff64c105
|
|
bootstrap.php)
git-svn-id: http://dev.piwik.org/svn/trunk@5973 59fd770c-687e-43c8-a1e3-f5a4ff64c105
|
|
git-svn-id: http://dev.piwik.org/svn/trunk@4765 59fd770c-687e-43c8-a1e3-f5a4ff64c105
|
|
git-svn-id: http://dev.piwik.org/svn/trunk@4599 59fd770c-687e-43c8-a1e3-f5a4ff64c105
|
|
are in one place; fixes #2292
git-svn-id: http://dev.piwik.org/svn/trunk@4444 59fd770c-687e-43c8-a1e3-f5a4ff64c105
|
|
git-svn-id: http://dev.piwik.org/svn/trunk@3828 59fd770c-687e-43c8-a1e3-f5a4ff64c105
|
|
git-svn-id: http://dev.piwik.org/svn/trunk@3485 59fd770c-687e-43c8-a1e3-f5a4ff64c105
|
|
git-svn-id: http://dev.piwik.org/svn/trunk@3484 59fd770c-687e-43c8-a1e3-f5a4ff64c105
|
|
git-svn-id: http://dev.piwik.org/svn/trunk@3288 59fd770c-687e-43c8-a1e3-f5a4ff64c105
|
|
this in their own try...catch
git-svn-id: http://dev.piwik.org/svn/trunk@3242 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@2763 59fd770c-687e-43c8-a1e3-f5a4ff64c105
|
|
git-svn-id: http://dev.piwik.org/svn/trunk@2121 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
|
|
- 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
|
|
git-svn-id: http://dev.piwik.org/svn/trunk@1676 59fd770c-687e-43c8-a1e3-f5a4ff64c105
|
|
Installation:
* add another step (databaseCheck); warn if not UTF8
* provide charset example in config.ini.sample.php
* missing translation strings from some forms
* handle last step ('finished') being refreshed or language selected
* handle incomplete install (i.e., anonymous user or initial site not created)
index.php:
* handle session.save_path not defined, unable to mkdir, or not writable
MySQLi:
* handle connection error
* uncaught exceptions from Dashboard, ExampleFeedburner, and LanguagesManager
git-svn-id: http://dev.piwik.org/svn/trunk@1609 59fd770c-687e-43c8-a1e3-f5a4ff64c105
|
|
open_basedir restriction (''a "broken" security measure'' according to Debian security), or session.save_path not writable
git-svn-id: http://dev.piwik.org/svn/trunk@1546 59fd770c-687e-43c8-a1e3-f5a4ff64c105
|
|
some users report spurious warnings in the log file (open_basedir restriction). The rationale for this test is to handle the case where a fresh PHP install has not been properly configured.
So, we add test for open_basedir restriction. By default, this is not set.
- if not set, we test to see if the session.savepath is writable. This would handle the case where a fresh PHP install has not been configured.
- if it has been set, we assume session.savepath is writable.
git-svn-id: http://dev.piwik.org/svn/trunk@1536 59fd770c-687e-43c8-a1e3-f5a4ff64c105
|
|
git-svn-id: http://dev.piwik.org/svn/trunk@1522 59fd770c-687e-43c8-a1e3-f5a4ff64c105
|