diff --git a/.gitignore b/.gitignore
index dda2e0ecd9..6cc231a221 100644
--- a/.gitignore
+++ b/.gitignore
@@ -20,6 +20,7 @@ phpmyadmin.wpj
.buildpath
.cache
.idea
+.netbeans
*.sw[op]
# Locales
/locale/
@@ -31,3 +32,8 @@ phpmyadmin.wpj
/apidoc/
# Demo server
revision-info.php
+# PHPUnit
+phpunit.xml
+/test/bootstrap.php
+# Jenkins
+/build/
\ No newline at end of file
diff --git a/ChangeLog b/ChangeLog
index 4df55e5fd7..dc2f709b0e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -34,6 +34,11 @@ phpMyAdmin - ChangeLog
+ Show/hide column in table Browse
- bug #3353856 [AJAX] AJAX dialogs use wrong font-size
- bug #3354356 [interface] Timepicker does not work in AJAX dialogs
++ AJAX for table Structure Indexes Edit
++ AJAX for table Structure column Change
++ [interface] Improved support for events
++ [interface] Improved support for triggers
++ [interface] Improved server monitoring
3.4.4.0 (not yet released)
- bug #3323060 [parser] SQL parser breaks AJAX requests if query has unclosed quotes
@@ -43,6 +48,12 @@ phpMyAdmin - ChangeLog
- bug #3353649 [interface] "Create an index on X columns" form not validated
- bug #3350790 [interface] JS error in Table->Structure->Index->Edit
- bug #3353811 [interface] Info message has "error" class
+- bug #3357837 [interface] TABbing through a NULL field in the inline mode resets NULL
+- remove version number in /setup
+- bug #3367993 [usability] Missing "Generate Password" button
+- bug #3363221 [display] Missing Server Parameter on inline sql query
+- bug #3367986 [navi] Drop field -> lost active table
+- remove misleading comment on the "Rename database" interface
3.4.3.1 (2011-07-02)
- [security] Fixed possible session manipulation in swekey authentication, see PMASA-2011-5
diff --git a/Documentation.html b/Documentation.html
index 0b3bd922c5..6a8d5dcd16 100644
--- a/Documentation.html
+++ b/Documentation.html
@@ -2143,7 +2143,7 @@ setfacl -d -m "g:www-data:rwx" tmp
identify what they mean.
-
$cfg['ShowDisplayDir'] boolean
+ $cfg['ShowDisplayDirection'] boolean
Defines whether or not type display direction option is shown
when browsing a table.
diff --git a/bs_disp_as_mime_type.php b/bs_disp_as_mime_type.php
index 03a8c8b3ac..9ec0ec5b29 100644
--- a/bs_disp_as_mime_type.php
+++ b/bs_disp_as_mime_type.php
@@ -13,7 +13,7 @@ require_once './libraries/common.inc.php';
PMA_checkParameters(array('reference', 'c_type'));
// Increase time limit, because fetching blob might take some time
-set_time_limit(0);
+@set_time_limit(0);
$reference = $_REQUEST['reference'];
/*
diff --git a/build.xml b/build.xml
new file mode 100644
index 0000000000..ad4dc40597
--- /dev/null
+++ b/build.xml
@@ -0,0 +1,88 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/changelog.php b/changelog.php
index 5c42e6797f..9892638193 100644
--- a/changelog.php
+++ b/changelog.php
@@ -75,7 +75,7 @@ $replaces = array(
=> 'bug #\\1',
// all other 6+ digit numbers are treated as bugs
- '/(? ' bug #\\1',
// CVE/CAN entries
diff --git a/chart_export.php b/chart_export.php
index 87ab3a4615..e3a02f0e0b 100644
--- a/chart_export.php
+++ b/chart_export.php
@@ -7,17 +7,17 @@
*/
-define('PMA_MINIMUM_COMMON',true);
+define('PMA_MINIMUM_COMMON', true);
require_once './libraries/common.inc.php';
if(isset($_REQUEST['filename']) && isset($_REQUEST['image'])) {
$allowed = Array( 'image/png'=>'png', 'image/svg+xml'=>'svg');
- if(!isset($allowed[$_REQUEST['type']])) exit('Invalid export type');
+ if(! isset($allowed[$_REQUEST['type']])) exit('Invalid export type');
- if(!preg_match("/(".implode("|",$allowed).")$/i",$_REQUEST['filename']))
- $_REQUEST['filename'].='.'.$allowed[$_REQUEST['type']];
+ if(! preg_match("/(".implode("|",$allowed).")$/i", $_REQUEST['filename']))
+ $_REQUEST['filename'] .= '.' . $allowed[$_REQUEST['type']];
header("Cache-Control: public");
header("Content-Description: File Transfer");
@@ -25,8 +25,8 @@ if(isset($_REQUEST['filename']) && isset($_REQUEST['image'])) {
header("Content-Type: ".$_REQUEST['type']);
header("Content-Transfer-Encoding: binary");
- if($allowed[$_REQUEST['type']]!='svg')
- echo base64_decode(substr($_REQUEST['image'],strpos($_REQUEST['image'],',')+1));
+ if($allowed[$_REQUEST['type']] != 'svg')
+ echo base64_decode(substr($_REQUEST['image'], strpos($_REQUEST['image'],',') + 1));
else
echo $_REQUEST['image'];
diff --git a/db_events.php b/db_events.php
index 7d22f5d8c5..9991f83fff 100644
--- a/db_events.php
+++ b/db_events.php
@@ -1,40 +1,36 @@
diff --git a/db_operations.php b/db_operations.php
index 190f9b649b..e2d1e2bba5 100644
--- a/db_operations.php
+++ b/db_operations.php
@@ -77,7 +77,7 @@ if (strlen($db) && (! empty($db_rename) || ! empty($db_copy))) {
// the db name
$procedure_names = PMA_DBI_get_procedures_or_functions($db, 'PROCEDURE');
if ($procedure_names) {
- foreach($procedure_names as $procedure_name) {
+ foreach ($procedure_names as $procedure_name) {
PMA_DBI_select_db($db);
$tmp_query = PMA_DBI_get_definition($db, 'PROCEDURE', $procedure_name);
// collect for later display
@@ -89,7 +89,7 @@ if (strlen($db) && (! empty($db_rename) || ! empty($db_copy))) {
$function_names = PMA_DBI_get_procedures_or_functions($db, 'FUNCTION');
if ($function_names) {
- foreach($function_names as $function_name) {
+ foreach ($function_names as $function_name) {
PMA_DBI_select_db($db);
$tmp_query = PMA_DBI_get_definition($db, 'FUNCTION', $function_name);
// collect for later display
@@ -234,7 +234,7 @@ if (strlen($db) && (! empty($db_rename) || ! empty($db_copy))) {
// the db name
$event_names = PMA_DBI_fetch_result('SELECT EVENT_NAME FROM information_schema.EVENTS WHERE EVENT_SCHEMA= \'' . PMA_sqlAddSlashes($db,true) . '\';');
if ($event_names) {
- foreach($event_names as $event_name) {
+ foreach ($event_names as $event_name) {
PMA_DBI_select_db($db);
$tmp_query = PMA_DBI_get_definition($db, 'EVENT', $event_name);
// collect for later display
@@ -398,24 +398,12 @@ if ($db != 'mysql') {
- = XYYZZ) {
- // echo 'RENAME DATABASE';
- //} else {
- echo 'INSERT INTO ... SELECT';
- //}
- echo ')'; ?>