From cbec998d78318539a206befc88ff9e696541da9a Mon Sep 17 00:00:00 2001 From: Stefan Giehl Date: Mon, 5 Dec 2016 18:37:19 +0100 Subject: always unescape escaped % symbols in translations (#10917) * always unescape escaped % symbols in translations * adds new tests to proove %-symbols are escaped in english translations * submodule update --- core/Translation/Translator.php | 2 +- lang/en.json | 2 +- plugins/Actions/lang/en.json | 2 +- plugins/CustomAlerts | 2 +- .../Test/Integration/LanguagesManagerTest.php | 26 ++++++++++++++++++++++ 5 files changed, 30 insertions(+), 4 deletions(-) diff --git a/core/Translation/Translator.php b/core/Translation/Translator.php index af2ae597f2..98b3759f3b 100644 --- a/core/Translation/Translator.php +++ b/core/Translation/Translator.php @@ -84,7 +84,7 @@ class Translator } if (count($args) == 0) { - return $translationId; + return str_replace('%%', '%', $translationId); } return vsprintf($translationId, $args); } diff --git a/lang/en.json b/lang/en.json index ab7e7dcc9c..ce3caaa2fe 100644 --- a/lang/en.json +++ b/lang/en.json @@ -70,7 +70,7 @@ "ColumnPageBounceRateDocumentation": "The percentage of visits that started on this page and left the website straight away.", "ColumnPageviews": "Pageviews", "ColumnPageviewsDocumentation": "The number of times this page was visited.", - "ColumnPercentageVisits": "% Visits", + "ColumnPercentageVisits": "%% Visits", "ColumnRevenue": "Revenue", "ColumnSumVisitLength": "Total time spent by visitors (in seconds)", "ColumnTotalPageviews": "Total Pageviews", diff --git a/plugins/Actions/lang/en.json b/plugins/Actions/lang/en.json index c31dc264ec..27c9b2f72f 100644 --- a/plugins/Actions/lang/en.json +++ b/plugins/Actions/lang/en.json @@ -18,7 +18,7 @@ "ColumnSearchCategory": "Search Category", "ColumnSearches": "Searches", "ColumnSearchesDocumentation": "The number of visits that searched for this keyword on your website's search engine.", - "ColumnSearchExits": "% Search Exits", + "ColumnSearchExits": "%% Search Exits", "ColumnSearchExitsDocumentation": "The percentage of visits that left the website after searching for this Keyword on your Site Search engine.", "ColumnSearchResultsCount": "Search Results Count", "ColumnSiteSearchKeywords": "Unique Keywords", diff --git a/plugins/CustomAlerts b/plugins/CustomAlerts index 49ae454fd7..8c861c9084 160000 --- a/plugins/CustomAlerts +++ b/plugins/CustomAlerts @@ -1 +1 @@ -Subproject commit 49ae454fd7eae39e07300c83e0dff40dda2e4276 +Subproject commit 8c861c9084a25dc36e1176496598a175a1619ee9 diff --git a/plugins/LanguagesManager/Test/Integration/LanguagesManagerTest.php b/plugins/LanguagesManager/Test/Integration/LanguagesManagerTest.php index 0ff66919ce..59124a79cd 100755 --- a/plugins/LanguagesManager/Test/Integration/LanguagesManagerTest.php +++ b/plugins/LanguagesManager/Test/Integration/LanguagesManagerTest.php @@ -155,6 +155,32 @@ class LanguagesManagerTest extends \PHPUnit_Framework_TestCase } } + /** + * check all english translations do not contain unescaped % symbols + * + * @group Plugins + * @group numbered2 + */ + function testTranslationsUseEscapedPercentSigns() + { + Cache::flushAll(); + $translator = StaticContainer::get('Piwik\Translation\Translator'); + $translator->reset(); + Translate::loadAllTranslations(); + $translations = $translator->getAllTranslations(); + foreach ($translations AS $plugin => $pluginTranslations) { + if ($plugin == 'Intl') { + continue; // skip generated stuff + } + foreach ($pluginTranslations as $key => $pluginTranslation) { + $pluginTranslation = preg_replace('/(%(?:[1-9]\$)?[a-z])/', '', $pluginTranslation); // remove placeholders + $pluginTranslation = str_replace('%%', '', $pluginTranslation); // remove already escaped symbols + $this->assertEquals(0, substr_count($pluginTranslation, '%'), + sprintf('%s.%s must use escaped %% symbols', $plugin, $key)); + } + } + } + /** * test English short name for language * -- cgit v1.2.3 From c68bdc20c17d51e315f0b88701f3829e8d6108b4 Mon Sep 17 00:00:00 2001 From: sgiehl Date: Mon, 5 Dec 2016 21:08:15 +0100 Subject: show token_auth only on click --- plugins/API/templates/listAllAPI.twig | 2 +- plugins/CoreHome/CoreHome.php | 2 + .../common/directives/show-sensitive-data.js | 59 ++++++++++++++++++++++ plugins/CoreHome/lang/en.json | 1 + plugins/UsersManager/templates/userSettings.twig | 2 +- tests/UI/specs/UIIntegration_spec.js | 3 -- 6 files changed, 64 insertions(+), 5 deletions(-) create mode 100644 plugins/CoreHome/angularjs/common/directives/show-sensitive-data.js diff --git a/plugins/API/templates/listAllAPI.twig b/plugins/API/templates/listAllAPI.twig index 258b74c49d..9aa2685881 100644 --- a/plugins/API/templates/listAllAPI.twig +++ b/plugins/API/templates/listAllAPI.twig @@ -20,7 +20,7 @@

{{ 'API_UsingTokenAuth'|translate('','',"")|raw }}
-

&token_auth={{ token_auth }}

+
&token_auth=

{{ 'API_KeepTokenSecret'|translate('','')|raw }}
{{ 'API_ChangeTokenHint'|translate('
+ */ +(function () { + angular.module('piwikApp.directive').directive('piwikShowSensitiveData', piwikShowSensitiveData); + + function piwikShowSensitiveData(){ + return { + restrict: 'A', + link: function(scope, element, attr) { + + var sensitiveData = attr.piwikShowSensitiveData || attr.text(); + var showCharacters = attr.showCharacters || 6; + var clickElement = attr.clickElementSelector || element; + + var protectedData = ''; + if (showCharacters > 0) { + protectedData += sensitiveData.substr(0, showCharacters); + } + protectedData += sensitiveData.substr(showCharacters).replace(/./g, '*'); + element.html(protectedData); + + function onClickHandler(event) { + element.html(sensitiveData); + $(clickElement).css({ + cursor: '' + }); + $(clickElement).tooltip("destroy"); + } + + $(clickElement).tooltip({ + content: _pk_translate('CoreHome_ClickToSeeFullInformation'), + items: '*', + track: true + }); + + $(clickElement).one('click', onClickHandler); + $(clickElement).css({ + cursor: 'pointer' + }) + } + }; + } +})(); diff --git a/plugins/CoreHome/lang/en.json b/plugins/CoreHome/lang/en.json index 808250348e..57c5071c4a 100644 --- a/plugins/CoreHome/lang/en.json +++ b/plugins/CoreHome/lang/en.json @@ -5,6 +5,7 @@ "CheckForUpdates": "Check for updates", "CheckPiwikOut": "Check Piwik out!", "ClickToEditX": "Click to edit %s", + "ClickToSeeFullInformation": "Click to see the full information", "CloseSearch": "Close search", "CloseWidgetDirections": "You can close this widget by clicking on the 'X' icon at the top of the widget.", "ChooseX": "Choose %1$s", diff --git a/plugins/UsersManager/templates/userSettings.twig b/plugins/UsersManager/templates/userSettings.twig index 2824262acd..34a2b5a75a 100644 --- a/plugins/UsersManager/templates/userSettings.twig +++ b/plugins/UsersManager/templates/userSettings.twig @@ -109,7 +109,7 @@
-
{{ userTokenAuth }}
+

 
     

{{ 'UsersManager_TokenRegenerateLogoutWarning'|translate }}

\ No newline at end of file diff --git a/plugins/Marketplace/templates/getNewPluginsAdmin.twig b/plugins/Marketplace/templates/getNewPluginsAdmin.twig index b929a48430..1e3d60f647 100644 --- a/plugins/Marketplace/templates/getNewPluginsAdmin.twig +++ b/plugins/Marketplace/templates/getNewPluginsAdmin.twig @@ -5,7 +5,7 @@

{{ plugin.name }}

+ piwik-plugin-name="{{ plugin.name|e('html_attr') }}">{{ plugin.displayName }}

{{ plugin.description }}

@@ -20,7 +20,7 @@ diff --git a/plugins/Marketplace/templates/getPremiumFeatures.twig b/plugins/Marketplace/templates/getPremiumFeatures.twig new file mode 100644 index 0000000000..fa0fe83744 --- /dev/null +++ b/plugins/Marketplace/templates/getPremiumFeatures.twig @@ -0,0 +1,23 @@ +
+
+ {% for plugin in plugins %} +
+ +

{{ plugin.displayName }}

+ + {{ plugin.description }} +
+ {{ 'General_MoreDetails'|translate }} +
+
+ {% if loop.index % 3 == 0 %} +
+ {% endif %} + {% endfor %} +
+ + +
\ No newline at end of file diff --git a/plugins/Widgetize/tests/System/WidgetTest.php b/plugins/Widgetize/tests/System/WidgetTest.php index af99759c77..e0ff947bf7 100644 --- a/plugins/Widgetize/tests/System/WidgetTest.php +++ b/plugins/Widgetize/tests/System/WidgetTest.php @@ -12,7 +12,6 @@ use Piwik\Container\StaticContainer; use Piwik\Http\ControllerResolver; use Piwik\Piwik; use Piwik\Plugins\API; -use Piwik\Plugins\Goals; use Piwik\Plugins\Widgetize\tests\Fixtures\WidgetizeFixture; use Piwik\Tests\Framework\TestCase\SystemTestCase; use Piwik\Widget\WidgetsList; @@ -992,6 +991,14 @@ class WidgetTest extends SystemTestCase 'module' => 'Marketplace', 'action' => 'getNewPlugins', ), + ), array ( + 'name' => 'Premium Features', + 'uniqueId' => 'widgetMarketplacegetPremiumFeatures', + 'parameters' => + array ( + 'module' => 'Marketplace', + 'action' => 'getPremiumFeatures', + ), ), array ( 'name' => 'System Check', 'uniqueId' => 'widgetInstallationgetSystemCheck', diff --git a/tests/PHPUnit/Integration/WidgetsListTest.php b/tests/PHPUnit/Integration/WidgetsListTest.php index ed80293143..f4c335a037 100644 --- a/tests/PHPUnit/Integration/WidgetsListTest.php +++ b/tests/PHPUnit/Integration/WidgetsListTest.php @@ -49,7 +49,7 @@ class WidgetsListTest extends IntegrationTestCase 'Insights_WidgetCategory' => 2, 'ExampleUI_UiFramework' => 8, 'Referrers_Referrers' => 9, - 'About Piwik' => 9, + 'About Piwik' => 10, ); // number of main categories $this->assertEquals(count($numberOfWidgets), count($widgetsPerCategory)); diff --git a/tests/PHPUnit/System/expected/test_apiGetReportMetadata__API.getWidgetMetadata.xml b/tests/PHPUnit/System/expected/test_apiGetReportMetadata__API.getWidgetMetadata.xml index 2607e36f1d..aeb906def4 100644 --- a/tests/PHPUnit/System/expected/test_apiGetReportMetadata__API.getWidgetMetadata.xml +++ b/tests/PHPUnit/System/expected/test_apiGetReportMetadata__API.getWidgetMetadata.xml @@ -822,7 +822,7 @@ 0 - Visits per visit duration + Visits per number of pages General_Visitors Visitors @@ -835,19 +835,19 @@ 30 VisitorInterest - getNumberOfVisitsPerVisitDuration - 115 + getNumberOfVisitsPerPage + 120 VisitorInterest - getNumberOfVisitsPerVisitDuration + getNumberOfVisitsPerPage - widgetVisitorInterestgetNumberOfVisitsPerVisitDuration + widgetVisitorInterestgetNumberOfVisitsPerPage 0 cloud 1 - Visits per number of pages + Visits per visit duration General_Visitors Visitors @@ -860,19 +860,19 @@ 30 VisitorInterest - getNumberOfVisitsPerPage - 120 + getNumberOfVisitsPerVisitDuration + 115 VisitorInterest - getNumberOfVisitsPerPage + getNumberOfVisitsPerVisitDuration - widgetVisitorInterestgetNumberOfVisitsPerPage + widgetVisitorInterestgetNumberOfVisitsPerVisitDuration 0 cloud 1 - Visits per server time + Visits by Day of Week General_Visitors Visitors @@ -885,13 +885,13 @@ 35 VisitTime - getVisitInformationPerServerTime - 120 + getByDayOfWeek + 125 VisitTime - getVisitInformationPerServerTime + getByDayOfWeek - widgetVisitTimegetVisitInformationPerServerTime + widgetVisitTimegetByDayOfWeek 0 graphVerticalBar 1 @@ -922,7 +922,7 @@ 1 - Visits by Day of Week + Visits per server time General_Visitors Visitors @@ -935,13 +935,13 @@ 35 VisitTime - getByDayOfWeek - 125 + getVisitInformationPerServerTime + 120 VisitTime - getByDayOfWeek + getVisitInformationPerServerTime - widgetVisitTimegetByDayOfWeek + widgetVisitTimegetVisitInformationPerServerTime 0 graphVerticalBar 1 @@ -1120,7 +1120,7 @@ 1 - Search Keywords with No Results + Page Titles Following a Site Search General_Actions Actions @@ -1133,19 +1133,19 @@ 25 Actions - getSiteSearchNoResultKeywords - 118 + getPageTitlesFollowingSiteSearch + 119 Actions - getSiteSearchNoResultKeywords + getPageTitlesFollowingSiteSearch - widgetActionsgetSiteSearchNoResultKeywords + widgetActionsgetPageTitlesFollowingSiteSearch 0 table 1 - Pages Following a Site Search + Search Keywords with No Results General_Actions Actions @@ -1158,19 +1158,19 @@ 25 Actions - getPageUrlsFollowingSiteSearch - 116 + getSiteSearchNoResultKeywords + 118 Actions - getPageUrlsFollowingSiteSearch + getSiteSearchNoResultKeywords - widgetActionsgetPageUrlsFollowingSiteSearch + widgetActionsgetSiteSearchNoResultKeywords 0 table 1 - Site Search Keywords + Pages Following a Site Search General_Actions Actions @@ -1183,19 +1183,19 @@ 25 Actions - getSiteSearchKeywords - 115 + getPageUrlsFollowingSiteSearch + 116 Actions - getSiteSearchKeywords + getPageUrlsFollowingSiteSearch - widgetActionsgetSiteSearchKeywords + widgetActionsgetPageUrlsFollowingSiteSearch 0 table 1 - Page Titles Following a Site Search + Site Search Keywords General_Actions Actions @@ -1208,13 +1208,13 @@ 25 Actions - getPageTitlesFollowingSiteSearch - 119 + getSiteSearchKeywords + 115 Actions - getPageTitlesFollowingSiteSearch + getSiteSearchKeywords - widgetActionsgetPageTitlesFollowingSiteSearch + widgetActionsgetSiteSearchKeywords 0 table 1 @@ -1373,7 +1373,7 @@ 1 - Event Actions + Event Names General_Actions Actions @@ -1386,14 +1386,14 @@ 40 Events - getAction - 101 + getName + 102 Events - getAction - eventName + getName + eventAction - widgetEventsgetActionsecondaryDimensioneventName + widgetEventsgetNamesecondaryDimensioneventAction 0 table 1 @@ -1425,7 +1425,7 @@ 1 - Event Names + Event Actions General_Actions Actions @@ -1438,20 +1438,20 @@ 40 Events - getName - 102 + getAction + 101 Events - getName - eventAction + getAction + eventName - widgetEventsgetNamesecondaryDimensioneventAction + widgetEventsgetActionsecondaryDimensioneventName 0 table 1 - Content Piece + Content Name General_Actions Actions @@ -1464,19 +1464,19 @@ 45 Contents - getContentPieces - 136 + getContentNames + 135 Contents - getContentPieces + getContentNames - widgetContentsgetContentPieces + widgetContentsgetContentNames 0 table 1 - Content Piece + Content Name General_Actions Actions @@ -1489,19 +1489,19 @@ 45 Contents - getContentPieces - 136 + getContentNames + 135 Contents - getContentPieces + getContentNames - widgetContentsgetContentPieces + widgetContentsgetContentNames 0 table 1 - Content Name + Content Piece General_Actions Actions @@ -1514,19 +1514,19 @@ 45 Contents - getContentNames - 135 + getContentPieces + 136 Contents - getContentNames + getContentPieces - widgetContentsgetContentNames + widgetContentsgetContentPieces 0 table 1 - Content Name + Content Piece General_Actions Actions @@ -1539,13 +1539,13 @@ 45 Contents - getContentNames - 135 + getContentPieces + 136 Contents - getContentNames + getContentPieces - widgetContentsgetContentNames + widgetContentsgetContentPieces 0 table 1 @@ -1651,7 +1651,7 @@ 1 - Websites + Social Networks Referrers_Referrers Referrers @@ -1664,19 +1664,19 @@ 15 Referrers - getWebsites - 105 + getSocials + 111 Referrers - getWebsites + getSocials - widgetReferrersgetWebsites + widgetReferrersgetSocials 0 - table + graphPie 1 - Social Networks + Websites Referrers_Referrers Referrers @@ -1689,15 +1689,15 @@ 15 Referrers - getSocials - 111 + getWebsites + 105 Referrers - getSocials + getWebsites - widgetReferrersgetSocials + widgetReferrersgetWebsites 0 - graphPie + table 1 @@ -1964,7 +1964,7 @@ 1 - Product Name + Product Category Goals_Ecommerce Ecommerce @@ -1977,19 +1977,19 @@ 10 Goals - getItemsName - 131 + getItemsCategory + 132 Goals - getItemsName + getItemsCategory - widgetGoalsgetItemsName + widgetGoalsgetItemsCategory 0 table 1 - Product Category + Product Name Goals_Ecommerce Ecommerce @@ -2002,13 +2002,13 @@ 10 Goals - getItemsCategory - 132 + getItemsName + 131 Goals - getItemsCategory + getItemsName - widgetGoalsgetItemsCategory + widgetGoalsgetItemsName 0 table 1 @@ -2533,31 +2533,6 @@ - - Data tables - - ExampleUI_UiFramework - UI Framework - 90 - - - - ExampleUI_GetTemperaturesDataTable - Data tables - 99 - - ExampleUI - getTemperatures - 210 - - ExampleUI - getTemperatures - - widgetExampleUIgetTemperatures - 0 - table - 1 - Advanced tag cloud: with logos and links @@ -2592,22 +2567,20 @@ - Bar graph - Bar graph + ExampleUI_GetTemperaturesDataTable + Data tables 99 ExampleUI getTemperatures 210 - 1 - graphVerticalBar ExampleUI getTemperatures - widgetExampleUIgetTemperaturesforceView1viewDataTablegraphVerticalBar + widgetExampleUIgetTemperatures 0 - graphVerticalBar + table 1 @@ -2695,6 +2668,33 @@ infoviz-treemap 1 + + Data tables + + ExampleUI_UiFramework + UI Framework + 90 + + + + Bar graph + Bar graph + 99 + + ExampleUI + getTemperatures + 210 + + 1 + graphVerticalBar + ExampleUI + getTemperatures + + widgetExampleUIgetTemperaturesforceView1viewDataTablegraphVerticalBar + 0 + graphVerticalBar + 1 + Pie graph @@ -2748,7 +2748,7 @@ 1 - Piwik.org Blog + System Summary About Piwik About Piwik @@ -2756,14 +2756,33 @@ - RssWidget - rssPiwik + CoreHome + getSystemSummary + 15 + + CoreHome + getSystemSummary + + widgetCoreHomegetSystemSummary + 0 + + + Premium Products & Services for Piwik + + About Piwik + About Piwik + 99 + + + + ProfessionalServices + promoServices 99 - RssWidget - rssPiwik + ProfessionalServices + promoServices - widgetRssWidgetrssPiwik + widgetProfessionalServicespromoServices 0 @@ -2786,26 +2805,26 @@ 0 - SEO Rankings + Piwik Changelog - SEO - SEO + About Piwik + About Piwik 99 - SEO - getRank + RssWidget + rssChangelog 99 - SEO - getRank + RssWidget + rssChangelog - widgetSEOgetRank + widgetRssWidgetrssChangelog 0 - System Check + Welcome! About Piwik About Piwik @@ -2813,18 +2832,18 @@ - Installation - getSystemCheck - 16 + CoreHome + getPromoVideo + 10 - Installation - getSystemCheck + CoreHome + getPromoVideo - widgetInstallationgetSystemCheck + widgetCoreHomegetPromoVideo 0 - Support Piwik! + Latest Marketplace Updates About Piwik About Piwik @@ -2832,18 +2851,18 @@ - CoreHome - getDonateForm - 5 + Marketplace + getNewPlugins + 19 - CoreHome - getDonateForm + Marketplace + getNewPlugins - widgetCoreHomegetDonateForm + widgetMarketplacegetNewPlugins 0 - Piwik Changelog + Piwik.org Blog About Piwik About Piwik @@ -2852,17 +2871,17 @@ RssWidget - rssChangelog + rssPiwik 99 RssWidget - rssChangelog + rssPiwik - widgetRssWidgetrssChangelog + widgetRssWidgetrssPiwik 0 - Premium Products & Services for Piwik + Premium Features About Piwik About Piwik @@ -2870,18 +2889,18 @@ - ProfessionalServices - promoServices - 99 + Marketplace + getPremiumFeatures + 20 - ProfessionalServices - promoServices + Marketplace + getPremiumFeatures - widgetProfessionalServicespromoServices + widgetMarketplacegetPremiumFeatures 0 - System Summary + System Check About Piwik About Piwik @@ -2889,18 +2908,18 @@ - CoreHome - getSystemSummary - 15 + Installation + getSystemCheck + 16 - CoreHome - getSystemSummary + Installation + getSystemCheck - widgetCoreHomegetSystemSummary + widgetInstallationgetSystemCheck 0 - Latest Marketplace Updates + Support Piwik! About Piwik About Piwik @@ -2908,33 +2927,33 @@ - Marketplace - getNewPlugins - 19 + CoreHome + getDonateForm + 5 - Marketplace - getNewPlugins + CoreHome + getDonateForm - widgetMarketplacegetNewPlugins + widgetCoreHomegetDonateForm 0 - Welcome! + Insights Overview - About Piwik - About Piwik + Insights_WidgetCategory + Insights 99 - CoreHome - getPromoVideo - 10 + Insights + getInsightsOverview + 99 - CoreHome - getPromoVideo + Insights + getInsightsOverview - widgetCoreHomegetPromoVideo + widgetInsightsgetInsightsOverview 0 @@ -2957,7 +2976,7 @@ 0 - Insights Overview + Movers and Shakers Insights_WidgetCategory Insights @@ -2966,32 +2985,32 @@ Insights - getInsightsOverview + getOverallMoversAndShakers 99 Insights - getInsightsOverview + getOverallMoversAndShakers - widgetInsightsgetInsightsOverview + widgetInsightsgetOverallMoversAndShakers 0 - Movers and Shakers + SEO Rankings - Insights_WidgetCategory - Insights + SEO + SEO 99 - Insights - getOverallMoversAndShakers + SEO + getRank 99 - Insights - getOverallMoversAndShakers + SEO + getRank - widgetInsightsgetOverallMoversAndShakers + widgetSEOgetRank 0 \ No newline at end of file -- cgit v1.2.3 From 388a1000f4b101e47e7458e916c36b65e3774234 Mon Sep 17 00:00:00 2001 From: mattab Date: Wed, 7 Dec 2016 01:16:08 +1300 Subject: Hide Piwik version in UI tests --- plugins/CoreHome/templates/getSystemSummary.twig | 2 +- tests/resources/screenshot-override/override.css | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/CoreHome/templates/getSystemSummary.twig b/plugins/CoreHome/templates/getSystemSummary.twig index 75cdf0a935..264162c180 100644 --- a/plugins/CoreHome/templates/getSystemSummary.twig +++ b/plugins/CoreHome/templates/getSystemSummary.twig @@ -14,7 +14,7 @@
{{ 'CoreHome_SystemSummaryPiwikVersion'|translate }}: - {{ piwikVersion }} + {{ piwikVersion }}
{{ 'CoreHome_SystemSummaryMysqlVersion'|translate }}: diff --git a/tests/resources/screenshot-override/override.css b/tests/resources/screenshot-override/override.css index 59b296f8e3..05325edefb 100644 --- a/tests/resources/screenshot-override/override.css +++ b/tests/resources/screenshot-override/override.css @@ -10,6 +10,7 @@ display:none; } +span.piwik-version, span.plugin-version { visibility:hidden; } -- cgit v1.2.3 From d96661e2bd8e54c1ef022cc88e95d133d3f6c615 Mon Sep 17 00:00:00 2001 From: mattab Date: Wed, 7 Dec 2016 01:16:47 +1300 Subject: 3.0.0-rc1 --- core/Version.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/Version.php b/core/Version.php index d7a1318045..ab4135b6b7 100644 --- a/core/Version.php +++ b/core/Version.php @@ -20,7 +20,7 @@ final class Version * The current Piwik version. * @var string */ - const VERSION = '3.0.0-b5'; + const VERSION = '3.0.0-rc1'; public function isStableVersion($version) { -- cgit v1.2.3