Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release Piwik 3.0.2-b4 #11357

Merged
merged 38 commits into from
Feb 19, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
4b9708a
language update (#11297)
sgiehl Jan 30, 2017
2f0ff98
show custom logo in email reports
tsteur Jan 31, 2017
5a95dda
make piwik faster when having hundreds of rows
tsteur Jan 31, 2017
4971c11
make sure to compare > 250
tsteur Jan 31, 2017
c34a942
fixes ajax form directive documentation
sgiehl Feb 1, 2017
51b4e10
added getlinktrackingtimeout
tsteur Feb 3, 2017
41f1fcc
Update CHANGELOG.md
tsteur Feb 3, 2017
437e371
Merge pull request #11317 from piwik/trackerfixes
tsteur Feb 3, 2017
85ce196
use widget container to search for evolution chart (#11328)
sgiehl Feb 10, 2017
ace9c4f
disable when there are more than 255 rows
tsteur Feb 11, 2017
f2a648c
exposing new method to detect whether a node is visible
tsteur Feb 11, 2017
17b0cd4
language update (#11336)
sgiehl Feb 12, 2017
8129db2
update expected screenshot
sgiehl Feb 12, 2017
930acad
submodule updates
sgiehl Feb 12, 2017
4edc201
fix rate metric was not formatted
tsteur Feb 12, 2017
2fb5c5a
Make sure to actually work on first level table
tsteur Feb 12, 2017
5eb911a
Should fix rounding tests on Mysqli driver (#11339)
mattab Feb 13, 2017
a93381d
Improve donation message
tsteur Feb 13, 2017
ee8a8b3
When generating a component, require correct Piwik version
tsteur Feb 13, 2017
c1eeaaa
update screenshots
tsteur Feb 14, 2017
17fb255
Merge pull request #11342 from piwik/correctrequirepiwik
tsteur Feb 14, 2017
261a032
Merge pull request #11337 from piwik/formatratemetrics
tsteur Feb 14, 2017
fbb9c12
Merge pull request #11334 from piwik/tracker_nodevisible
tsteur Feb 14, 2017
4c34deb
Merge pull request #11305 from piwik/emailreportslogo
tsteur Feb 14, 2017
14c4b69
Merge pull request #11341 from piwik/donationtext
tsteur Feb 15, 2017
ff67a9d
Merge pull request #11338 from piwik/fixreporttotals_workon1stleveltable
tsteur Feb 17, 2017
6fab62e
Merge pull request #11308 from piwik/fastertables
tsteur Feb 17, 2017
5b8619f
Fix #11332 (#11333)
iiegn Feb 18, 2017
7ee610c
#11306 Improve wording for scheduled report email (#11307)
clouseau Feb 18, 2017
fd88377
define icon size for plugin icon in popup in visitor log (#11271)
Findus23 Feb 18, 2017
91b1605
updates piwik/decompress package (#11351)
sgiehl Feb 18, 2017
8374e68
Fix for mail type dropdown in general settings. (#11267)
Globulopolis Feb 18, 2017
28c2e0b
Replace prefilled values in Name & SiteUrl with placeholders. (#11279)
NickDickinsonWilde Feb 19, 2017
7078a46
Fix the builds + Submodule update (#11355)
mattab Feb 19, 2017
e766324
Fixes #11167 (#11356)
mattab Feb 19, 2017
7946bd2
When there is no data for a website, as soon as a visit was detected …
mattab Feb 19, 2017
0e16aae
Remove Smartbanners (#11301)
Findus23 Feb 19, 2017
35e9fbf
3.0.2-b4
mattab Feb 19, 2017
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ The Product Changelog at **[piwik.org/changelog](http://piwik.org/changelog)** l

### New APIs
* The JavaScript Tracker now supports CrossDomain tracking. The following tracker methods were added for this: `enableCrossDomainLinking`, `disableCrossDomainLinking`, `isCrossDomainLinkingEnabled`
* Added JavaScript Tracker method `getLinkTrackingTimer` to get the value of the configured link tracking time
* Added a new method `Piwik\Plugin\Report::getMetricNamesToProcessReportTotals()` that lets you define which metrics should show percentages in the table report visualization on hover. If defined, these percentages will be automatically calculated.

## Piwik 3.0.1
Expand Down
4 changes: 0 additions & 4 deletions LEGALNOTICE
Original file line number Diff line number Diff line change
Expand Up @@ -116,10 +116,6 @@ THIRD-PARTY COMPONENTS AND LIBRARIES
Link: http://mths.be/placeholder
License: Dual licensed: MIT (Expat) or GPL

Name: jquery smartbanner
Link: https://github.com/jasny/jquery.smartbanner
License: Dual licensed: MIT (Expat)

Name: json2.js
Link: http://json.org/
License: Public domain
Expand Down
12 changes: 6 additions & 6 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions core/API/DataTableManipulator/ReportTotalsCalculator.php
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ private function makeSureToWorkOnFirstLevelDataTable($table)
}

$request = $this->request;
unset($request['idSubtable']); // to make sure we work on first level table

/** @var \Piwik\Period $period */
$period = $table->getMetadata('period');
Expand Down
4 changes: 3 additions & 1 deletion core/API/Inconsistencies.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ public function getPercentMetricsToFormat()
'bounce_rate_returning',
'nb_visits_percentage',
'/.*_evolution/',
'/goal_.*_conversion_rate/'
'/goal_.*_conversion_rate/',
'/form_.*_rate/',
'/field_.*_rate/',
);
}
}
7 changes: 7 additions & 0 deletions core/ReportRenderer/Html.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@
namespace Piwik\ReportRenderer;

use Piwik\Piwik;
use Piwik\Plugin;
use Piwik\Plugins\API\API;
use Piwik\Plugins\CoreAdminHome\CustomLogo;
use Piwik\ReportRenderer;
use Piwik\SettingsPiwik;
use Piwik\Site;
Expand Down Expand Up @@ -85,6 +87,7 @@ public function getRenderedReport()
private function epilogue()
{
$view = new View('@CoreHome/ReportRenderer/_htmlReportFooter');
$view->hasWhiteLabel = Plugin\Manager::getInstance()->isPluginLoaded('WhiteLabel');
$this->rendering .= $view->render();
}

Expand All @@ -105,6 +108,10 @@ public function renderFrontPage($reportTitle, $prettyDate, $description, $report
$frontPageView->assign("idSite", $this->idSite);
$frontPageView->assign("period", $period);

$customLogo = new CustomLogo();
$frontPageView->assign("isCustomLogo", $customLogo->isEnabled() && CustomLogo::hasUserLogo());
$frontPageView->assign("logoHeader", $customLogo->getHeaderLogoUrl($pathOnly = false));

$date = Date::now()->setTimezone(Site::getTimezoneFor($this->idSite))->toString();
$frontPageView->assign("date", $date);

Expand Down
2 changes: 1 addition & 1 deletion core/Version.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ final class Version
* The current Piwik version.
* @var string
*/
const VERSION = '3.0.2-b3';
const VERSION = '3.0.2-b4';

public function isStableVersion($version)
{
Expand Down
25 changes: 22 additions & 3 deletions js/piwik.js
Original file line number Diff line number Diff line change
Expand Up @@ -992,7 +992,7 @@ if (typeof JSON_PIWIK !== 'object' && typeof window.JSON === 'object' && window.
disablePerformanceTracking, setGenerationTimeMs,
doNotTrack, setDoNotTrack, msDoNotTrack, getValuesFromVisitorIdCookie, enableCrossDomainLinking,
disableCrossDomainLinking, isCrossDomainLinkingEnabled,
addListener, enableLinkTracking, enableJSErrorTracking, setLinkTrackingTimer,
addListener, enableLinkTracking, enableJSErrorTracking, setLinkTrackingTimer, getLinkTrackingTimer,
enableHeartBeatTimer, disableHeartBeatTimer, killFrame, redirectFile, setCountPreRendered,
trackGoal, trackLink, trackPageView, trackRequest, trackSiteSearch, trackEvent,
setEcommerceView, addEcommerceItem, trackEcommerceOrder, trackEcommerceCartUpdate,
Expand Down Expand Up @@ -1032,7 +1032,7 @@ if (typeof JSON_PIWIK !== 'object' && typeof window.JSON === 'object' && window.
/*members push */
/*global Piwik:true */
/*members addPlugin, getTracker, getAsyncTracker, getAsyncTrackers, addTracker, trigger, on, off, retryMissedPluginCalls,
DOM, onLoad, onReady, JSON */
DOM, onLoad, onReady, isNodeVisible, isOrWasNodeVisible, JSON */
/*global Piwik_Overlay_Client */
/*global AnalyticsTracker:true */
/*members initialize */
Expand Down Expand Up @@ -5928,6 +5928,15 @@ if (typeof window.Piwik !== 'object') {
configTrackerPause = delay;
};

/**
* Get delay for link tracking (in milliseconds)
*
* @param int delay
*/
this.getLinkTrackingTimer = function () {
return configTrackerPause;
};

/**
* Set list of file extensions to be recognized as downloads
*
Expand Down Expand Up @@ -6988,7 +6997,17 @@ if (typeof window.Piwik !== 'object') {
*
* @param function callback
*/
onReady: trackCallbackOnReady
onReady: trackCallbackOnReady,

/**
* Detect whether a node is visible right now.
*/
isNodeVisible: isVisible,

/**
* Detect whether a node has been visible at some point
*/
isOrWasNodeVisible: content.isNodeVisible
},

/**
Expand Down