Age | Commit message (Collapse) | Author |
|
|
|
|
|
Conflicts:
plugins/Installation/SystemCheck.php
|
|
Conflicts:
tests/PHPUnit/Integration/LogTest.php
|
|
|
|
Conflicts:
core/Twig.php
|
|
Piwik\Period\Factory::factory()
|
|
functionality to derived class. Use FOrmatter in Metric::format calls so Metrics do not have to be aware of context of formatting, and so Metric::format methods will have less code redundancy.
|
|
The `tmp/` path was hardcoded everywhere, which resulted in using `SettingsPiwik::rewriteTmpPathWithInstanceId()` to rewrite it for specific use cases.
I've moved that path into the config, and replaced all hardcoded usage (and calls to `rewriteTmpPathWithInstanceId()`) by a `get()` from the container.
Getting entries from the container is a bad practice and dependency injection should be preferred, but we do baby steps. When refactoring those classes to DI, we'll replace calls to the container with proper dependency injection.
Another thing we'll need to do too is move the hardcoded *sub-path* of `tmp/` (e.g. `tmp/sessions/`) into the config also (but again: baby steps).
Another future step would be to remove completely instance ID and let it be handled by a plugin (or by end-user config). Having the `tmp/` path in the config means that plugins or users can override it and know it will be taken into account everywhere in Piwik.
|
|
code, few refactorings, all as part of our code cleanup strategy
|
|
|
|
to use free/libre instead of open source
|
|
on a non-object in /home/travis/build/piwik/piwik/core/Twig.php on line 49
|
|
|
|
be visible as it is reserved by RFC2396. Other characters work fine
|
|
|
|
|
|
using phpstorm optimize imports feature
|
|
datamintsGmbH-master
|
|
encoded in page tooltip
|
|
Theme templates can be overridden by placing them in plugins/[theme]/templates.
Plugin-templates can be overridden by placing themb in plugins/[theme]/templates/plugin/[plugin]/
|
|
is done in the twig template:
```
{{ postEvent("Template.jsGlobalVariables", minDateYear, maxDateYear) }}
```
and you can hook on this event, by doing:
```
public function addTrackingHostnamesToJs(&$out, $minDateYear, $maxDateYear)
{
// printout out the data as a comment for testing
$out .= "/* " . $minDateYear . " - " . $maxDateYear . " */";
```
|
|
|
|
|
|
Twig tag to render Views and allow selected segment of segment selector to be determined by PHP code.
|
|
refs #4609
|
|
|
|
tableMetadata and generate ratio in view
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
regression, fix core updater css regression, change logger_message level column to string, and delete unneeded logger tables if not empty. Also includes some changes to travis build.
|
|
|
|
Adding MetricsFormatter class which knows how to format/display metrics (time, money, size, etc)
|
|
automatically generate translation JS for all plugins. Translation JS is now treated as an asset and is included in merged JS.
Note:
- Includes tweaks to capture.js: on webpage error stop capture program.
|
|
Conflicts:
core/Tracker/Request.php
core/ViewDataTable.php
core/ViewDataTable/HtmlTable/Goals.php
plugins/Actions/Actions.php
plugins/Annotations/API.php
plugins/CoreHome/CoreHome.php
plugins/DBStats/DBStats.php
plugins/DevicesDetection/DevicesDetection.php
plugins/Goals/Goals.php
plugins/Live/Live.php
plugins/Referers/Referers.php
plugins/UserSettings/UserSettings.php
plugins/UsersManager/API.php
plugins/VisitTime/VisitTime.php
plugins/VisitorInterest/VisitorInterest.php
|
|
|
|
|
|
|
|
visualizations, changed JavaScript properties to 'client side parameters' and 'overridable properties' to 'client side properties', changed keep_summary_row from a JavaScript property to a client side property, allowed visualization properties to be inherited, fixed system that allowed visualizations to set custom defaults for property values, modified behavior of datatable_css_class viewdatatable property, allow view properties to be customized in metadata based on the visualization used, and tweaks to UI Integration tests.
|
|
\Piwik\Plugins\*
Added namespaces to functions.php files in the five plugins that had one
Work in progress
|
|
|
|
|
|
Conflicts:
core/Access.php
core/Config.php
core/EventDispatcher.php
core/JqplotDataGenerator/Evolution.php
core/Piwik.php
core/Plugin/MetadataLoader.php
core/ViewDataTable.php
core/ViewDataTable/Cloud.php
core/ViewDataTable/GenerateGraphHTML.php
core/ViewDataTable/HtmlTable.php
core/ViewDataTable/HtmlTable/AllColumns.php
core/ViewDataTable/HtmlTable/Goals.php
plugins/Actions/Controller.php
plugins/CoreHome/Controller.php
plugins/CoreHome/DataTableRowAction/RowEvolution.php
plugins/CoreHome/templates/_dataTable.twig
plugins/CustomVariables/Controller.php
plugins/DBStats/Controller.php
plugins/DevicesDetection/Controller.php
plugins/ExampleUI/Controller.php
plugins/Goals/Controller.php
plugins/Live/Controller.php
plugins/Provider/Controller.php
plugins/Referers/Controller.php
plugins/UserCountry/Controller.php
plugins/UserCountryMap/Controller.php
plugins/UserSettings/Archiver.php
plugins/UserSettings/Controller.php
plugins/VisitTime/Controller.php
plugins/VisitTime/VisitTime.php
plugins/VisitorInterest/Controller.php
plugins/VisitsSummary/Controller.php
tests/PHPUnit/proxy/index.php
|
|
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
|