Commit Graph

117231 Commits

Author SHA1 Message Date
Olivier Humbert
696fcd55d9
Translated using Weblate (French)
Currently translated at 100.0% (3335 of 3335 strings)

[CI skip]

Translation: phpMyAdmin/Development
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/master/fr/
Signed-off-by: Olivier Humbert <trebmuh@tuxfamily.org>
2020-01-01 12:21:17 +01:00
Maurício Meneghini Fauth
b9639c7160 Use only one array assignment in js/messages.php
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-12-31 13:24:24 -03:00
William Desportes
cd7504b2a2
Merge branch 'QA_5_0'
Signed-off-by: William Desportes <williamdes@wdes.fr>
2019-12-31 12:03:51 +01:00
William Desportes
4a5294932e
Add ChangeLog entry for #15725
Signed-off-by: William Desportes <williamdes@wdes.fr>
2019-12-31 12:01:44 +01:00
William Desportes
609cd722e9
Fix #15725 - error 500 when exporting - set time limit
Signed-off-by: William Desportes <williamdes@wdes.fr>
2019-12-31 12:00:25 +01:00
William Desportes
9b15f10bc7
Merge branch 'QA_5_0'
Signed-off-by: William Desportes <williamdes@wdes.fr>
2019-12-30 18:52:02 +01:00
William Desportes
b8afa21aed
Add ChangeLog entry for PR #15666
Signed-off-by: William Desportes <williamdes@wdes.fr>
2019-12-30 18:47:32 +01:00
William Desportes
2e624d9b07
Merge #15666 - Remove extra line break from downloaded blob content
Signed-off-by: William Desportes <williamdes@wdes.fr>
2019-12-30 18:46:51 +01:00
William Desportes
e1b1f155ef
Add a test for pull-request #15666
Signed-off-by: William Desportes <williamdes@wdes.fr>
2019-12-30 18:44:29 +01:00
Yunhao Tian
56be819ee4
Renders absolutely nothing when header is not enabled.
When downloading blob data from database, the header template will be rendered as `\n` which adds an extra 0x0A at the beginning of the blob data. This fixes the problem.

Signed-off-by: Yunhao Tian <18373444@buaa.edu.cn>
2019-12-30 18:42:05 +01:00
William Desportes
aa10ba9969
Merge branch 'QA_5_0'
Signed-off-by: William Desportes <williamdes@wdes.fr>
2019-12-30 18:27:51 +01:00
William Desportes
0fac6a16b2
Add ChangeLog entry for PR #15637
Signed-off-by: William Desportes <williamdes@wdes.fr>
2019-12-30 18:26:43 +01:00
William Desportes
6f16c2d76a
Merge #15637 - Prevent line wrap in DB structure size column
Pull-request: #15637
Signed-off-by: William Desportes <williamdes@wdes.fr>
2019-12-30 18:25:50 +01:00
following5
50c63ff0df
Prevent line wrap in DB structure size column
Signed-off-by: Peter Mandrella <following@online.de>
2019-12-30 18:24:59 +01:00
William Desportes
f3a3a45b9f
Fix #15669 - remove useless url_encode
The url is escaped by the function so the params do not need to be escaped

Signed-off-by: William Desportes <williamdes@wdes.fr>
2019-12-30 18:17:44 +01:00
William Desportes
6b461c0fde
Remove phpstan errors from baseline
Ref: bd28a96295
Ref: 8033c15fe6
Ref: f9157f2ac4

Signed-off-by: William Desportes <williamdes@wdes.fr>
2019-12-30 18:02:23 +01:00
William Desportes
205790f6bd
Merge branch 'QA_5_0'
Signed-off-by: William Desportes <williamdes@wdes.fr>
2019-12-30 17:55:50 +01:00
William Desportes
95b5cf665f
Add ChangeLog entry for #15723
Signed-off-by: William Desportes <williamdes@wdes.fr>
2019-12-30 17:55:30 +01:00
William Desportes
f9157f2ac4
Fix #15723 - Can't browse certain tables since 5.0.0 update
Fixes: #15723
Signed-off-by: William Desportes <williamdes@wdes.fr>
2019-12-30 17:54:00 +01:00
William Desportes
666e06904d
Merge branch 'QA_5_0'
Signed-off-by: William Desportes <williamdes@wdes.fr>
2019-12-30 17:38:28 +01:00
William Desportes
87468c67b4
Add ChangeLog entry for #15722
Signed-off-by: William Desportes <williamdes@wdes.fr>
2019-12-30 17:37:49 +01:00
William Desportes
8033c15fe6
Fix #15722 - Get Database structure fails with PHP error on replicated server
Fixes: #15722
Signed-off-by: William Desportes <williamdes@wdes.fr>
2019-12-30 17:37:49 +01:00
William Desportes
bd28a96295
Fix phpstan reported errors if /proc/stat can not be opened
Signed-off-by: William Desportes <williamdes@wdes.fr>
2019-12-30 17:36:16 +01:00
William Desportes
3d1f3c84e1
Remove phpstan error from baseline after f5b6d8aec3
Signed-off-by: William Desportes <williamdes@wdes.fr>
2019-12-30 17:05:53 +01:00
William Desportes
aaa1f9937e
Merge branch 'QA_5_0'
Signed-off-by: William Desportes <williamdes@wdes.fr>
2019-12-30 17:01:30 +01:00
William Desportes
7647d91034
Add ChangeLog entry for #14936
Signed-off-by: William Desportes <williamdes@wdes.fr>
2019-12-30 16:59:58 +01:00
William Desportes
7d5e52d263
Fix #14936 - display NULL on numeric fields
Ref: 3dce65d913
Partial revert of my phpstan level 1
Pull-request: #14472

Signed-off-by: William Desportes <williamdes@wdes.fr>
2019-12-30 16:58:51 +01:00
William Desportes
f5b6d8aec3
Fix php error when using strlen on null
Signed-off-by: William Desportes <williamdes@wdes.fr>
2019-12-30 15:47:53 +01:00
Maurício Meneghini Fauth
83b9fba1e2 Create Controllers\ExportController class
Moves the export entry point to the controller and removes the entry
point file.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-12-29 21:55:46 -03:00
Maurício Meneghini Fauth
41e13a6a68 Create Controllers\ImportController controller
Moves the import entry point logic to the controller and removes the
entry point file.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-12-29 21:14:58 -03:00
Maurício Meneghini Fauth
4457a60e5e Create Server\ImportController class
Moves the server import entry point logic to the controller and removes
the entry point file.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-12-29 20:34:24 -03:00
Maurício Meneghini Fauth
5debd00bd0 Create Database\ImportController class
Moves the database import entry point logic to the controller and
removes the entry point file.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-12-29 20:22:21 -03:00
Maurício Meneghini Fauth
5ad33769b9 Create Table\ImportController controller
Moves the table import entry point logic to the controller and removes
the entry point file.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-12-29 17:23:14 -03:00
William Desportes
9799dfc643
Merge branch 'QA_5_0'
Signed-off-by: William Desportes <williamdes@wdes.fr>
2019-12-29 15:46:26 +01:00
William Desportes
3000f99370
Add ChangeLog entry for #15719
Signed-off-by: William Desportes <williamdes@wdes.fr>
2019-12-29 15:41:03 +01:00
William Desportes
de652cd95a
Add some typecasts to fix #15719 and other possible issues
Signed-off-by: William Desportes <williamdes@wdes.fr>
2019-12-29 15:39:04 +01:00
William Desportes
fa01cea3f2
Add phpdoc blocks for phpstan
Signed-off-by: William Desportes <williamdes@wdes.fr>
2019-12-29 15:28:18 +01:00
William Desportes
4938c0345e
Escape database name on data-dictionary url route name
Signed-off-by: William Desportes <williamdes@wdes.fr>
2019-12-29 15:22:03 +01:00
William Desportes
d018fd999a
Add className to getInstanceForNewNode
Signed-off-by: William Desportes <williamdes@wdes.fr>
2019-12-29 14:49:47 +01:00
William Desportes
761e37eeaa
Reduce code duplication around NodeFactory calls
Signed-off-by: William Desportes <williamdes@wdes.fr>
2019-12-29 14:48:07 +01:00
William Desportes
51f292beab
Improve some params and return types marked as mixed
Signed-off-by: William Desportes <williamdes@wdes.fr>
2019-12-29 14:33:49 +01:00
William Desportes
ba1e22c92b
Fix some primitive types not in lower case and add some return type hints
Signed-off-by: William Desportes <williamdes@wdes.fr>
2019-12-29 13:49:03 +01:00
Maurício Meneghini Fauth
e36f5a1938 Refactor Table\SearchController
Moves the table select entry point logic to the controller and removes
the entry point file.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-12-28 22:18:29 -03:00
Olivier Humbert
5429d0a9c1
Translated using Weblate (French)
Currently translated at 100.0% (3335 of 3335 strings)

[CI skip]

Translation: phpMyAdmin/Development
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/master/fr/
Signed-off-by: Olivier Humbert <trebmuh@tuxfamily.org>
2019-12-28 10:29:27 +01:00
Olivier Humbert
b1e3f39bcb
Translated using Weblate (French)
Currently translated at 100.0% (3332 of 3332 strings)

[CI skip]

Translation: phpMyAdmin/5.0
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/5-0/fr/
Signed-off-by: Olivier Humbert <trebmuh@tuxfamily.org>
2019-12-28 10:29:22 +01:00
Maurício Meneghini Fauth
36730b33bd Create Table\ZoomSearchController controller
Moves the table zoom search entry point to the ZoomSearchController,
removes the entry point file and extracts the zoom search logic from the
SearchController class.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-12-28 00:18:26 -03:00
Isaac Bennetch
f928a3d6cd Fix merge conflicts
Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
2019-12-27 21:51:56 -05:00
Isaac Bennetch
66f18ab921 Prepare for 5.0.1-dev
Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
2019-12-27 21:48:48 -05:00
Maurício Meneghini Fauth
98424ec065 Extract class from Table\SearchController
Extracts the buildSqlQuery method from
Controllers\Table\SearchController class to the new Table\Search class.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-12-27 22:01:28 -03:00
Maurício Meneghini Fauth
d83b5ceb51 Fix allow failures in .travis.yml
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-12-27 18:32:08 -03:00