William Desportes
770f30aa86
Fix display field in Designer
...
Introduced by: a23f2ba51a
Signed-off-by: William Desportes <williamdes@wdes.fr>
2019-11-20 12:29:07 +01:00
William Desportes
e070256fe4
Fix #13912 and #15123 - Tables of phpMyAdmin storage are not accessible
...
Fixes : #13912
Fixes : #15123
Signed-off-by: William Desportes <williamdes@wdes.fr>
2019-11-11 12:02:54 +01:00
William Desportes
58f56111df
Fix reloading a designer page
...
- Added cast to be sure pageNumber is an int -1 or postitive
Signed-off-by: William Desportes <williamdes@wdes.fr>
2019-09-08 11:40:13 +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
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
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
Madhura Jayaratne
d676d6941f
Issue phpmyadmin-security/267 SQL injection in Designer feature
...
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2018-12-26 22:48:47 +11:00
William Desportes
18c23df20f
Issue #13032 - fix designer on QA_4_8
...
Used cherry-pick : Merge pull request #14376 from williamdes/issue-13032-designer
Cherry-picked-from: cb2dae58be
Issue #13032 - fix designer
Signed-off-by: William Desportes <williamdes@wdes.fr>
2018-11-29 20:19:02 +01:00
Maurício Meneghini Fauth
ca7fd2b2c7
Fix case where 'query' is always considered defined
...
Related to #14079
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2018-03-27 18:44:28 -03:00
Maurício Meneghini Fauth
d98658187a
Replace PhpMyAdmin\Relation static calls
...
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2018-03-25 19:32:13 -03:00
Maurício Meneghini Fauth
c7f3d6e4e6
Rename $GLOBALS['PMD'] to $GLOBALS['designer']
...
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2018-02-24 17:45:48 -03:00
Maurício Meneghini Fauth
ce42c68823
Fix some coding styles issues
...
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2018-02-23 12:06:54 -03:00
Maurício Meneghini Fauth
92beb1a4f4
Replace static methods with instance methods
...
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2018-02-22 23:58:41 -03:00
Maurício Meneghini Fauth
1f98dcf1c2
Fix designer not showing table column information
...
Fix #13809
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-11-12 02:11:47 -02:00
Maurício Meneghini Fauth
b35892e6d5
Port database/designer/database_tables to Twig
...
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-10-14 15:18:35 -03:00
Maurício Meneghini Fauth
e29665b5de
Port database/designer/table_list to Twig
...
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-10-14 12:33:49 -03:00
Maurício Meneghini Fauth
07f1de003d
Port database/designer/side_menu to Twig
...
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-10-14 09:59:35 -03:00
Maurício Meneghini Fauth
5995c4967c
Port database/designer/page_save_as to Twig
...
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-10-14 09:59:35 -03:00
Maurício Meneghini Fauth
f54cfe5d42
Port database/designer/edit_delete_pages to Twig
...
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-10-14 09:59:35 -03:00
Maurício Meneghini Fauth
0b0833fbd6
Remove Database\Designer::getHtmlForPageSelector
...
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-10-12 11:27:41 -03:00
Maurício Meneghini Fauth
565014656f
Port database/designer/page_selector to Twig
...
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-10-12 11:07:16 -03:00
Maurício Meneghini Fauth
f7be7ceec1
Port database/designer/query_details to Twig
...
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-10-11 23:28:12 -03:00
Maurício Meneghini Fauth
1621e1ab8a
Port database/designer/js_fields template to Twig
...
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-10-07 00:04:06 -03:00
Maurício Meneghini Fauth
1d4125f15c
Add array type declarations
...
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-09-24 23:49:59 -03:00
Maurício Meneghini Fauth
700e081833
Refactor plugin_interface functions to static methods
...
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-09-12 17:36:39 -03:00
Maurício Meneghini Fauth
8079fd7009
Refactor db_designer functions to static methods
...
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-09-05 16:41:48 -03:00