Skip to content

Commit

Permalink
Merge branch 'master' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
olleharstedt committed Apr 13, 2018
2 parents 703b8db + 369da38 commit 5e4f292
Show file tree
Hide file tree
Showing 11 changed files with 18 additions and 1 deletion.
1 change: 1 addition & 0 deletions application/config/internal.php
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@
'vardump' => array(
'class' => 'CWebLogRoute',
'categories' => 'vardump', // tracevar function
'enabled' => isset($userConfig['config']['debug']) && $userConfig['config']['debug'] >= 1,
),
'profile' => array(
'class' => 'CProfileLogRoute'
Expand Down
6 changes: 5 additions & 1 deletion locale/_template/limesurvey.pot
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: LimeSurvey language file\n"
"Report-Msgid-Bugs-To: http://translate.limesurvey.org/\n"
"POT-Creation-Date: 2018-04-11 14:47:50+00:00\n"
"POT-Creation-Date: 2018-04-12 09:32:03+00:00\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
Expand Down Expand Up @@ -4217,6 +4217,10 @@ msgstr ""
msgid "You can't delete template '%s' because one or more templates inherit from it."
msgstr ""

#: application/controllers/admin/themes.php:573
msgid "Theme '%s' does not exist."
msgstr ""

#: application/controllers/admin/themes.php:633
msgid "Invalid theme name"
msgstr ""
Expand Down
Binary file modified locale/ca/ca.mo
Binary file not shown.
Binary file modified locale/de-informal/de-informal.mo
Binary file not shown.
Binary file modified locale/de/de.mo
Binary file not shown.
Binary file modified locale/es-AR/es-AR.mo
Binary file not shown.
Binary file modified locale/nl-informal/nl-informal.mo
Binary file not shown.
Binary file modified locale/nl/nl.mo
Binary file not shown.
Binary file modified locale/pl/pl.mo
Binary file not shown.
4 changes: 4 additions & 0 deletions tests/TestHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -421,6 +421,10 @@ public function getWebDriver()
$profile->setPreference('browser.download.manager.showAlertInterval', 100);
$profile->setPreference('browser.download.manager.resumeOnWakeDelay', 0);

// This two lines are necessary to avoid issue https://github.com/SeleniumHQ/docker-selenium/issues/388.
$profile->setPreference('browser.tabs.remote.autostart', false);
$profile->setPreference('browser.tabs.remote.autostart.2', false);

$capabilities->setCapability(FirefoxDriver::PROFILE, $profile);
$webDriver = LimeSurveyWebDriver::create($host, $capabilities, 5000);
$success = true;
Expand Down
8 changes: 8 additions & 0 deletions tests/controllers/ThemeControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,18 @@ public function testExtendTheme()
$contr = new \themes(new \ls\tests\DummyController('dummyid'));
$contr->delete('vanilla_version_1');

//foreach (App()->session['aFlashMessage'] as $flash) {
//var_dump($flash['message']);
//}

// ...and the renamed theme.
$contr = new \themes(new \ls\tests\DummyController('dummyid'));
$contr->delete('vanilla_version_renamed');

//foreach (App()->session['aFlashMessage'] as $flash) {
//var_dump($flash['message']);
//}

$urlMan = \Yii::app()->urlManager;
$urlMan->setBaseUrl('http://' . self::$domain . '/index.php');
$url = $urlMan->createUrl('admin/themeoptions');
Expand Down

0 comments on commit 5e4f292

Please sign in to comment.