diff --git a/ChangeLog b/ChangeLog
index f2e77af0ac..8956b4f1ed 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,10 +3,16 @@ phpMyAdmin - ChangeLog
4.2.2.0 (not yet released)
- bug #4388 Disable database expansion when enabled throws Error 500 when database name is clicked in navigation tree
+- bug #4414 table display of performance_schema DB structure
+- bug #4411 Protect Binary Columns: many problems
+- bug #4395 BLOB link transformation is broken
+- bug Respect ['ShowCreateDb'] in the navi panel
+- bug #4392 Cannot see databases in nav panel on databases grouping when disabled database expansion
+- bug #4419 No more calendar into search tab
- bug #4398 Monitor should fit into screen width
4.2.1.0 (2014-05-13)
-- bug #4380 Cannot display table structure with enums containing special characters
+- bug #4380 Cannot display table structure with enums containing special characters
- bug #4381 Cannot remove the last remembered sorted column
- bug Correctly fetch length of user and host fields in MySQL tables
- bug #4364 examples/signon.php does not support the SessionSavePath directive
diff --git a/js/server_status_monitor.js b/js/server_status_monitor.js
index d057ae8a70..b601e95964 100644
--- a/js/server_status_monitor.js
+++ b/js/server_status_monitor.js
@@ -1290,10 +1290,10 @@ AJAX.registerOnload('server_status_monitor.js', function () {
}
function PMA_getLogAnalyseDialog(min, max) {
- $('#logAnalyseDialog input[name="dateStart"]')
- .val(PMA_formatDateTime(min, true));
- $('#logAnalyseDialog input[name="dateEnd"]')
- .val(PMA_formatDateTime(max, true));
+ var $dateStart = $('#logAnalyseDialog input[name="dateStart"]');
+ var $dateEnd = $('#logAnalyseDialog input[name="dateEnd"]');
+ $dateStart.val(PMA_formatDateTime(min, true));
+ $dateEnd.val(PMA_formatDateTime(max, true));
var dlgBtns = { };
@@ -1312,6 +1312,17 @@ AJAX.registerOnload('server_status_monitor.js', function () {
height: 'auto',
buttons: dlgBtns
});
+
+ PMA_addDatepicker($dateStart, 'datetime', {
+ showMillisec: false,
+ showMicrosec: false,
+ timeFormat: 'HH:mm:ss'
+ });
+ PMA_addDatepicker($dateEnd, 'datetime', {
+ showMillisec: false,
+ showMicrosec: false,
+ timeFormat: 'HH:mm:ss'
+ });
}
function loadLog(type, min, max) {
diff --git a/libraries/TableSearch.class.php b/libraries/TableSearch.class.php
index bbc233c0a7..bc535a3643 100644
--- a/libraries/TableSearch.class.php
+++ b/libraries/TableSearch.class.php
@@ -986,7 +986,9 @@ EOT;
$html_output .= '
' . $properties['type'] . ' | ';
$html_output .= '' . $properties['collation'] . ' | ';
$html_output .= '' . $properties['func'] . ' | ';
- $html_output .= '' . $properties['value'] . ' | ';
+ // here, the data-type attribute is needed for a date/time picker
+ $html_output .= '' . $properties['value'] . ' | ';
$html_output .= '';
//Displays hidden fields
$html_output .= '| ';
diff --git a/libraries/insert_edit.lib.php b/libraries/insert_edit.lib.php
index 2672e97dc0..27ee6191ae 100644
--- a/libraries/insert_edit.lib.php
+++ b/libraries/insert_edit.lib.php
@@ -1099,9 +1099,9 @@ function PMA_getBinaryAndBlobColumn(
$vkey, $is_upload
) {
$html_output = '';
- if (($GLOBALS['cfg']['ProtectBinary'] && $column['is_blob'])
- || ($GLOBALS['cfg']['ProtectBinary'] == 'all' && $column['is_binary'])
- || ($GLOBALS['cfg']['ProtectBinary'] == 'noblob' && !$column['is_blob'])
+ if (($GLOBALS['cfg']['ProtectBinary'] === 'blob' && $column['is_blob'])
+ || ($GLOBALS['cfg']['ProtectBinary'] === 'all')
+ || ($GLOBALS['cfg']['ProtectBinary'] === 'noblob' && !$column['is_blob'])
) {
$html_output .= __('Binary - do not edit');
if (isset($data)) {
diff --git a/libraries/navigation/NavigationTree.class.php b/libraries/navigation/NavigationTree.class.php
index 865aa22110..4e00cd5319 100644
--- a/libraries/navigation/NavigationTree.class.php
+++ b/libraries/navigation/NavigationTree.class.php
@@ -544,7 +544,7 @@ class PMA_NavigationTree
*/
public function groupNode($node)
{
- if ($node->type != Node::CONTAINER) {
+ if ($node->type != Node::CONTAINER || $GLOBALS['cfg']['NavigationTreeDisableDatabaseExpansion']) {
return;
}
diff --git a/libraries/navigation/Nodes/Node_Database_Container.class.php b/libraries/navigation/Nodes/Node_Database_Container.class.php
index c76da069d1..d666fee482 100644
--- a/libraries/navigation/Nodes/Node_Database_Container.class.php
+++ b/libraries/navigation/Nodes/Node_Database_Container.class.php
@@ -29,7 +29,9 @@ class Node_Database_Container extends Node
{
parent::__construct($name, Node::CONTAINER);
- if ($GLOBALS['is_create_db_priv']) {
+ if ($GLOBALS['is_create_db_priv']
+ && $GLOBALS['cfg']['ShowCreateDb'] !== false
+ ) {
$new = PMA_NodeFactory::getInstance(
'Node', _pgettext('Create new database', 'New')
);
diff --git a/libraries/plugins/transformations/abstract/ImageLinkTransformationsPlugin.class.php b/libraries/plugins/transformations/abstract/ImageLinkTransformationsPlugin.class.php
index d5059fdf48..b6e8759da3 100644
--- a/libraries/plugins/transformations/abstract/ImageLinkTransformationsPlugin.class.php
+++ b/libraries/plugins/transformations/abstract/ImageLinkTransformationsPlugin.class.php
@@ -45,8 +45,11 @@ abstract class ImageLinkTransformationsPlugin extends TransformationsPlugin
*/
public function applyTransformation($buffer, $options = array(), $meta = '')
{
+ // must disable the page loader, see
+ // https://wiki.phpmyadmin.net/pma/Page_loader#Bypassing_the_page_loader
$transform_options = array (
- 'string' => '[BLOB]'
);
return PMA_Transformation_globalHtmlReplace(
diff --git a/libraries/structure.lib.php b/libraries/structure.lib.php
index 146e9778bf..a24f23e669 100644
--- a/libraries/structure.lib.php
+++ b/libraries/structure.lib.php
@@ -181,7 +181,7 @@ function PMA_getHtmlBodyForTableSummary($num_tables, $server_slave_status,
if ($server_slave_status) {
$html_output .= ' | ' . __('Replication') . ' | ' . "\n";
}
- $html_output .= ''
+ $html_output .= ' | '
. __('Sum')
. ' | ';
$html_output .= ''
@@ -750,7 +750,7 @@ function PMA_tableHeader($db_is_system_schema = false, $replication = false)
$cnt = 0; // Let's count the columns...
if ($db_is_system_schema) {
- $action_colspan = 3;
+ $action_colspan = 4;
} else {
$action_colspan = 7;
}
diff --git a/po/pt_BR.po b/po/pt_BR.po
index d4cd5ae96d..886cef4a93 100644
--- a/po/pt_BR.po
+++ b/po/pt_BR.po
@@ -4,7 +4,7 @@ msgstr ""
"Project-Id-Version: phpMyAdmin 4.2.0-beta1\n"
"Report-Msgid-Bugs-To: phpmyadmin-devel@lists.sourceforge.net\n"
"POT-Creation-Date: 2014-04-24 14:50-0400\n"
-"PO-Revision-Date: 2014-05-10 20:26+0200\n"
+"PO-Revision-Date: 2014-05-14 20:18+0200\n"
"Last-Translator: Edie Johnny \n"
"Language-Team: Portuguese (Brazil) "
"\n"
@@ -2031,7 +2031,7 @@ msgid ""
"Warning: a form on this page has more than %d fields. On submission, some of "
"the fields might be ignored, due to PHP's max_input_vars configuration."
msgstr ""
-"Aviso: um formulário nesta páginas tem mais de %d campos. Ao enviar, alguns "
+"Aviso: um formulário nesta página tem mais de %d campos. Ao enviar, alguns "
"campos podem ser ignorados, por causa da configuração max_input_vars do PHP."
#. l10n: Display text for calendar close link
diff --git a/po/sv.po b/po/sv.po
index ce55970527..01bd078ea0 100644
--- a/po/sv.po
+++ b/po/sv.po
@@ -4,7 +4,7 @@ msgstr ""
"Project-Id-Version: phpMyAdmin 4.2.0-beta1\n"
"Report-Msgid-Bugs-To: phpmyadmin-devel@lists.sourceforge.net\n"
"POT-Creation-Date: 2014-04-24 13:06-0400\n"
-"PO-Revision-Date: 2014-04-28 14:22+0200\n"
+"PO-Revision-Date: 2014-05-15 01:04+0200\n"
"Last-Translator: Anders Jonsson \n"
"Language-Team: Swedish \n"
"Language: sv\n"
@@ -12,7 +12,7 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
-"X-Generator: Weblate 1.9-dev\n"
+"X-Generator: Weblate 1.9\n"
#: changelog.php:36 license.php:28
#, php-format
@@ -1591,11 +1591,11 @@ msgstr "Döp om databaser"
#: js/messages.php:241
msgid "Copying Database"
-msgstr "Kopiera databas"
+msgstr "Kopierar databas"
#: js/messages.php:242
msgid "Changing Charset"
-msgstr "Ändra teckenuppsättning"
+msgstr "Ändrar teckenuppsättning"
#: js/messages.php:246 libraries/mult_submits.lib.php:432
msgid "Foreign key check:"
@@ -9161,7 +9161,7 @@ msgstr "Visa/dölj navigationsobjekt"
#: libraries/relation.lib.php:290
msgid "Saving Query-By-Example searches"
-msgstr ""
+msgstr "Sparar Query-By-Example-sökningar"
#: libraries/relation.lib.php:296
msgid "Quick steps to setup advanced features:"
@@ -12976,12 +12976,11 @@ msgstr ""
"phpMyAdmin kunde inte döda tråd %s. Troligtvis har den redan avslutats."
#: setup/frames/form.inc.php:25
-#, fuzzy
#| msgid ""
#| "Incorrect formset, check $formsets array in setup/frames/form.inc.php"
msgid "Incorrect formset, check $formsets array in setup/frames/form.inc.php!"
msgstr ""
-"Felaktigt formset, kontrollera $formsets matris i setup/frames/form.inc.php"
+"Felaktigt formset, kontrollera arrayen $formsets i setup/frames/form.inc.php!"
#: setup/frames/index.inc.php:53
msgid "Cannot load or save configuration"
diff --git a/po/th.po b/po/th.po
index 5669107c0e..6749c2e1c2 100644
--- a/po/th.po
+++ b/po/th.po
@@ -4,15 +4,15 @@ msgstr ""
"Project-Id-Version: phpMyAdmin 4.2.0-beta1\n"
"Report-Msgid-Bugs-To: phpmyadmin-devel@lists.sourceforge.net\n"
"POT-Creation-Date: 2014-04-24 14:50-0400\n"
-"PO-Revision-Date: 2014-03-27 15:15+0200\n"
-"Last-Translator: Michal Čihař \n"
-"Language-Team: Thai \n"
+"PO-Revision-Date: 2014-05-17 07:11+0200\n"
+"Last-Translator: Sorawee Porncharoenwase \n"
+"Language-Team: Thai \n"
+"Language: th\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"Language: th\n"
"Plural-Forms: nplurals=1; plural=0;\n"
-"X-Generator: Weblate 1.9-dev\n"
+"X-Generator: Weblate 1.9\n"
#: changelog.php:36 license.php:28
#, php-format
@@ -675,13 +675,15 @@ msgstr "ที่คั่นหน้า %s ได้ถูกสร้าง
#: import.php:577
#, php-format
msgid "Import has been successfully finished, %d queries executed."
-msgstr "นำเข้าได้สำเร็จ %d ได้ถูกนำเดินการแล้ว"
+msgstr "นำเข้าสำเร็จเรียบร้อย การสอบถาม %d รายการได้ถูกดำเนินการแล้ว"
#: import.php:598
msgid ""
"Script timeout passed, if you want to finish import, please resubmit same "
"file and import will resume."
-msgstr "หมดเวลาการนำเข้าสริปแล้ว กรุณานำเข้าไฟล์สริปใหม่"
+msgstr ""
+"หมดเวลาการนำเข้าแล้ว หากคุณต้องการดำเนินการต่อให้เรียบร้อย "
+"กรุณานำเข้าไฟล์เดิมอีกรอบ"
#: import.php:602
msgid ""
diff --git a/test/classes/plugin/transformations/Image_Link_test.php b/test/classes/plugin/transformations/Image_Link_test.php
index 5e4ee755b2..29fb62af75 100644
--- a/test/classes/plugin/transformations/Image_Link_test.php
+++ b/test/classes/plugin/transformations/Image_Link_test.php
@@ -123,7 +123,8 @@ class Image_JPEG_Link_Test extends PHPUnit_Framework_TestCase
{
$buffer = "PMA_IMAGE_LINK";
$options = array("./image/", "200", "wrapper_link"=>"PMA_wrapper_link");
- $result = '[BLOB]';
$this->assertEquals(
$result,
diff --git a/test/libraries/PMA_insert_edit_test.php b/test/libraries/PMA_insert_edit_test.php
index af57e4d8ab..817769a590 100644
--- a/test/libraries/PMA_insert_edit_test.php
+++ b/test/libraries/PMA_insert_edit_test.php
@@ -1127,7 +1127,7 @@ class PMA_InsertEditTest extends PHPUnit_Framework_TestCase
*/
public function testGetBinaryAndBlobColumn()
{
- $GLOBALS['cfg']['ProtectBinary'] = true;
+ $GLOBALS['cfg']['ProtectBinary'] = 'blob';
$column['is_blob'] = true;
$column['Field_md5'] = '123';
$column['pma_type'] = 'blob';
|
|---|