-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
…n travis and make sure new repo is built every time integration tests pass on piwik build.
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[submodule "tests/PHPUnit/UI"] | ||
path = tests/PHPUnit/UI | ||
url = https://github.com/piwik/piwik-ui-tests.git |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1255,10 +1255,10 @@ private function overrideViewPropertiesWithQueryParams() | |
// TODO: should mark properties that are overridable so not all properties can be overidden this way | ||
$queryParams = $_GET + $_POST; | ||
foreach ($queryParams as $name => $value) { | ||
if (empty($queryParams[$name])) { | ||
if (empty($value)) { | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
diosmosis
Member
|
||
continue; | ||
} | ||
|
||
$value = Common::getRequestVar($name, $default = null, $type = null, $queryParams); | ||
|
||
if (Properties::isCoreViewProperty($name)) { | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,6 +19,17 @@ public static function addHooks() | |
}); | ||
Piwik_AddAction('Config.createConfigSingleton', function($config) { | ||
$config->setTestEnvironment(); | ||
|
||
$pluginsToLoad = array( | ||
"CorePluginsAdmin", "CoreAdminHome", "CoreHome", "Proxy", "API", "Widgetize", "Transitions", | ||
"LanguagesManager", "Actions", "Dashboard", "MultiSites", "Referers", "UserSettings", "Goals", | ||
"SEO", "UserCountry", "VisitsSummary", "VisitFrequency", "VisitTime", "VisitorInterest", | ||
"ExampleAPI", "ExamplePlugin", "ExampleRssWidget", "Provider", "Feedback", "Login", "UsersManager", | ||
"SitesManager", "Installation", "CoreUpdater", "PDFReports", "UserCountryMap", "Live", | ||
"CustomVariables", "PrivacyManager", "ImageGraph", "DoNotTrack", "Annotations", "MobileMessaging", | ||
"Overlay", "SegmentEditor", "VisitorGenerator", "DevicesDetection", "DBStats", | ||
This comment has been minimized.
Sorry, something went wrong.
halfdan
Member
|
||
); | ||
$config->Plugins = array('Plugins' => $pluginsToLoad); | ||
}); | ||
Piwik_AddAction('FrontController.dispatch', function() { | ||
\Piwik\Plugins\CoreVisualizations\Visualizations\Cloud::$debugDisableShuffle = true; | ||
|
This file was deleted.
is it expected that overriding properties with 0 will not work? (since empty( "0" ) === true)