Commit Graph

116105 Commits

Author SHA1 Message Date
Maurício Meneghini Fauth
823408d759 Merge branch 'QA_4_9' into QA_5_0
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-08-28 17:23:56 -03:00
Maurício Meneghini Fauth
aced4e1bb4 Remove fieldset close tag when setting global privs
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-08-28 17:20:19 -03:00
William Desportes
ab06cda45a
Merge #15459 - configuration clarification for $cfg['SaveDir']
Ref: #15444

Signed-off-by: William Desportes <williamdes@wdes.fr>
2019-08-28 20:27:44 +02:00
Giovanni Sora
c7d9f25ab3
Translated using Weblate (Interlingua)
Currently translated at 75.6% (2499 of 3304 strings)

[CI skip]

Translation: phpMyAdmin/4.9
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/4-9/ia/
Signed-off-by: Giovanni Sora <g.sora@tiscali.it>
2019-08-27 23:23:18 +02:00
Maurício Meneghini Fauth
1f63c3bab0 Update Yarn dev dependencies
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-08-27 18:15:08 -03:00
Maurício Meneghini Fauth
53ae5007e0 Merge branch 'QA_4_9' into QA_5_0
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-08-27 17:12:36 -03:00
Maurício Meneghini Fauth
1e1056fd0e Update JavaScript dev dependencies
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-08-27 15:06:39 -03:00
Maurício Meneghini Fauth
0283cb6f72 Update js-cookie to v2.2.1
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-08-27 14:47:06 -03:00
Maurício Meneghini Fauth
1df1f2d078 Update jQuery to v3.4.1
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-08-27 14:20:39 -03:00
Maurício Meneghini Fauth
b1c9373f55 Update jQuery Validation to v1.19.1
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-08-27 14:06:04 -03:00
Maurício Meneghini Fauth
4f04c2753e Update jQuery Migrate to v3.1.0
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-08-27 14:00:28 -03:00
Maurício Meneghini Fauth
3b4084c721 Update CodeMirror to v5.48.4
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-08-27 13:39:38 -03:00
Marc Delisle
a4252589af
Clarification
Signed-off-by: Marc Delisle <marc@infomarc.info>
2019-08-26 09:43:01 -04:00
Domen
274c27c3f2
Translated using Weblate (Slovenian)
Currently translated at 100.0% (3304 of 3304 strings)

[CI skip]

Translation: phpMyAdmin/4.9
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/4-9/sl/
Signed-off-by: Domen <mitenem@outlook.com>
2019-08-25 11:23:18 +02:00
Olivier Humbert
3f2fde2ee8
Translated using Weblate (French)
Currently translated at 100.0% (3304 of 3304 strings)

[CI skip]

Translation: phpMyAdmin/4.9
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/4-9/fr/
Signed-off-by: Olivier Humbert <trebmuh@tuxfamily.org>
2019-08-25 11:23:16 +02:00
ssantos
e9f1116524
Translated using Weblate (Portuguese)
Currently translated at 100.0% (3304 of 3304 strings)

[CI skip]

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

[CI skip]

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

[CI skip]

Translation: phpMyAdmin/4.9
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/4-9/tr/
Signed-off-by: Burak Yavuz <hitowerdigit@hotmail.com>
2019-08-25 11:23:06 +02:00
William Desportes
0594a3a493
Add ChangeLog entries for #15446 and #14945
Reference: a23f2ba51a
[ci skip]

Signed-off-by: William Desportes <williamdes@wdes.fr>
2019-08-23 14:36:53 +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
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
Hosted Weblate
1651a454d0
Merge branch 'origin/QA_4_9' into Weblate.
[CI skip]

Translation: phpMyAdmin/4.9
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/4-9/
2019-08-23 12:30:53 +02:00
Michal Čihař
4ee17d2028
Translated using Weblate (Bengali)
Currently translated at 68.8% (2273 of 3303 strings)

[CI skip]

Translation: phpMyAdmin/4.9
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/4-9/bn/
Signed-off-by: Michal Čihař <michal@cihar.com>
2019-08-23 12:30:52 +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
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
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
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
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
Hugues Peccatte
c23bec2dee Be sure to use local variable
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2019-08-20 22:34:06 +02:00
Hugues Peccatte
14ba5a1b24 Retrieve DB instead of relying on current one
When adding a table to the designer, it is useful to know the DB of this table to be able to jump to its structure.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2019-08-20 22:23:35 +02:00
Hugues Peccatte
49dae2de12 Fix wrong id on table
When a table is added on the fly, the id was always built based on the first table of the targetted DB, not based on the selected table.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2019-08-20 20:57:20 +02:00
Hugues Peccatte
da9d907ad1 Fix #15446 Tables added from other databases are not collapsing in the designer section
The events to link all buttons to collapse tables were initialized at page loading. But when a new table was added, the event wasn't declared for this one.
With this commit, the event is now also declared on table addition.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2019-08-20 20:46:20 +02:00
William Desportes
10745bb392
#15363 - substr can return false
Signed-off-by: William Desportes <williamdes@wdes.fr>
2019-08-20 16:43:31 +02:00
William Desportes
f8688c2774
Merge branch 'QA_4_9' into 'QA_5_0'
Signed-off-by: William Desportes <williamdes@wdes.fr>
2019-08-20 14:47:24 +02:00