Commit Graph

116306 Commits

Author SHA1 Message Date
ssantos
55d4b5e54f
Translated using Weblate (Portuguese)
Currently translated at 100.0% (3331 of 3331 strings)

[CI skip]

Translation: phpMyAdmin/Development
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/master/pt/
Signed-off-by: ssantos <ssantos@web.de>
2019-08-25 11:23:13 +02:00
Kristjan Räts
7de50bebdb
Translated using Weblate (Estonian)
Currently translated at 100.0% (3331 of 3331 strings)

[CI skip]

Translation: phpMyAdmin/Development
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/master/et/
Signed-off-by: Kristjan Räts <kristjanrats@gmail.com>
2019-08-25 11:23:11 +02:00
Burak Yavuz
2a5ebd9580
Translated using Weblate (Turkish)
Currently translated at 100.0% (3331 of 3331 strings)

[CI skip]

Translation: phpMyAdmin/Development
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/master/tr/
Signed-off-by: Burak Yavuz <hitowerdigit@hotmail.com>
2019-08-25 11:23:04 +02:00
Maurício Meneghini Fauth
689c6567bb Fix notice in table structure
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-08-24 18:57:33 -03:00
Maurício Meneghini Fauth
ce8c14c114 Declare globals in some entry points
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-08-24 17:22:45 -03:00
Maurício Meneghini Fauth
4dc459bab4 Declare globals in gis_data_editor and home
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-08-24 15:26:05 -03:00
Maurício Meneghini Fauth
c86e40a8dc Declare globals in export.php entry point
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-08-24 15:08:51 -03:00
Maurício Meneghini Fauth
75c9552152 Declare globals in import.php entry point
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-08-24 12:47:41 -03:00
Maurício Meneghini Fauth
4a08dfc00f Extract HTML from FormDisplayTemplate::displayFormTop
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-08-23 20:02:01 -03:00
Maurício Meneghini Fauth
2e88ed0888 Fix issue when copying a table row
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-08-23 19:23:59 -03:00
Maurício Meneghini Fauth
88e0f2eeb8 Declare some globals in table change/replace
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-08-23 17:36:39 -03:00
Maurício Meneghini Fauth
2aa10f594e Declare some globals in import.php entry point
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-08-23 15:08:01 -03:00
Maurício Meneghini Fauth
333b68eb45 Fix PageSettingsTest failing test
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-08-23 14:50:56 -03:00
Maurício Meneghini Fauth
142232b247 Declare some globals in export.php entry point
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-08-23 14:16:24 -03:00
Maurício Meneghini Fauth
d9f702964f Fix double enconding in settings form
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-08-23 13:47:05 -03:00
Maurício Meneghini Fauth
d3c5bd8abb Fix a merge mistake
803d07d868 (diff-fd50c2c04f569284f6a7743e43d543b0R1168)

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-08-23 12:04:36 -03:00
Maurício Meneghini Fauth
0ae18f87c5 Add missing define in show_config_errors.php
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-08-23 11:27:50 -03:00
William Desportes
77a285ad57
Update po files
[ci skip]

Signed-off-by: William Desportes <williamdes@wdes.fr>
2019-08-23 14:21:31 +02:00
William Desportes
803d07d868
Merge branch 'QA_5_0' into 'master'
Signed-off-by: William Desportes <williamdes@wdes.fr>
2019-08-23 14:19:56 +02:00
William Desportes
b8527d90dd
Fix typo introduced by 1af61f88b3
Signed-off-by: William Desportes <williamdes@wdes.fr>
2019-08-23 13:49:25 +02:00
Michal Čihař
cbe06b54e0
Translated using Weblate (Bengali)
Currently translated at 67.5% (2247 of 3330 strings)

[CI skip]

Translation: phpMyAdmin/Development
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/master/bn/
Signed-off-by: Michal Čihař <michal@cihar.com>
2019-08-23 13:23:10 +02:00
William Desportes
564894ce46
Update po files
[ci skip]

Signed-off-by: William Desportes <williamdes@wdes.fr>
2019-08-23 12:36:23 +02:00
William Desportes
1af61f88b3
Merge branch 'QA_4_9' into QA_5_0
Signed-off-by: William Desportes <williamdes@wdes.fr>
2019-08-23 12:34:24 +02:00
William Desportes
4f5a171826
Update po files
[ci skip]

Signed-off-by: William Desportes <williamdes@wdes.fr>
2019-08-23 12:28:00 +02:00
William Desportes
8590357612
Fix a bug introduced by a23f2ba51a
[ci skip]

Signed-off-by: William Desportes <williamdes@wdes.fr>
2019-08-23 12:25:02 +02:00
William Desportes
027f39057a
Merge branch 'QA_4_9' into QA_5_0
- Fixed css img urls for designer

Signed-off-by: William Desportes <williamdes@wdes.fr>
2019-08-23 12:22:37 +02:00
William Desportes
6d0f3083ca
Fix display field can return a boolean
[ci skip]

Signed-off-by: William Desportes <williamdes@wdes.fr>
2019-08-23 12:15:21 +02:00
William Desportes
9c5195d438
Fix Unit tests broken by a23f2ba51a
Signed-off-by: William Desportes <williamdes@wdes.fr>
2019-08-23 01:07:24 +02:00
William Desportes
a23f2ba51a
Fix some bugs with strange table and database names
- Fix export
- Fix split on . to have db and table
- Replace some $_REQUEST occurences
- Add translations to "add tables from another database" : "None" > strNone
- Refactor the ugly code that used globals to use an object "DesignerTable"
- Fix save a new added table
- Fix delete page items
- Fix more bugs

Fixes: #15446
Fixes: #13370
Fixes: #14945
Closes: #15438

Signed-off-by: William Desportes <williamdes@wdes.fr>
2019-08-23 00:55:41 +02:00
William Desportes
5940d11e72
Merge #15448 - Fix many bugs when adding new tables to designer
Fixes: #15446
Pull-request: #15448
Signed-off-by: William Desportes <williamdes@wdes.fr>
2019-08-22 14:05:32 +02:00
William Desportes
9518e0d053
Merge #15452 - Display an error when trying to import in designer a table that's already imported
Signed-off-by: William Desportes <williamdes@wdes.fr>
2019-08-22 14:03:14 +02:00
Hugues Peccatte
58e3b71ae2 Update js/messages.php
add context for translators

Co-Authored-By: William Desportes <williamdes@wdes.fr>
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2019-08-22 10:07:15 +02:00
Hugues Peccatte
5c7eb38a81 Fix url encoding of table names
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2019-08-22 10:06:32 +02:00
William Desportes
4f832662c5
Merge #15451 - Designer export fails when a table name contains special chars
Signed-off-by: William Desportes <williamdes@wdes.fr>
2019-08-22 09:43:53 +02:00
Maurício Meneghini Fauth
a2308ee965 Extract HTML from login form
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-08-21 21:10:47 -03:00
Hugues Peccatte
b37b479da0 Display an error when trying to import in designer a table that's already imported
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2019-08-21 23:05:15 +02:00
Hugues Peccatte
67c94b17fd Designer export fails when a table name contains special chars
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2019-08-21 21:32:32 +02:00
William Desportes
3aa7a35dae
#15363 - substr can return false on tbl_definition_form
Signed-off-by: William Desportes <williamdes@wdes.fr>
2019-08-21 19:10:37 +02:00
Maurício Meneghini Fauth
fc6b6c872c Merge branch 'QA_5_0' 2019-08-21 14:00:12 -03:00
Maurício Meneghini Fauth
601fbf9fef Fix type errors with stripcslashes function
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-08-21 13:57:47 -03:00
Maurício Meneghini Fauth
5267b38eb8 Set $plugin_param global for PHPStan
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
(cherry picked from commit 736a1be378)
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-08-21 13:50:38 -03:00
Maurício Meneghini Fauth
7a27daa00a Extract the route definition from index.php
Moves the route definition from index.php to libraries/route.php.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-08-21 13:31:09 -03:00
Hugues Peccatte
fce235c7bc Remove variable that is unused anymore
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2019-08-21 08:27:32 +02:00
Maurício Meneghini Fauth
632a774de2 Use the router for transformation_wrapper.php
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-08-21 00:11:04 -03:00
Maurício Meneghini Fauth
2ca7148f6a Use the router for transformation_overview.php
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-08-21 00:11:04 -03:00
Maurício Meneghini Fauth
60f4c5651a Use the router for view_operations.php
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-08-21 00:11:04 -03:00
Maurício Meneghini Fauth
ba6bad9533 Use the router for view_create.php
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-08-21 00:11:04 -03:00
Hugues Peccatte
b13c05edfa Toggling global collapse of tables now relies on tables items instead of j_tabs
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2019-08-21 00:47:06 +02:00
Hugues Peccatte
ac340e29b6 Add missing overlay on added tables
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2019-08-21 00:20:13 +02:00
Hugues Peccatte
de57539fb7 Build "tables list" in JS
This will allow to have the list generation in only one place, as the tables can now be added on the fly. So JS also needs to add items to this list.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2019-08-21 00:01:17 +02:00