Leonardo Strozzi
0d26cfb5f1
Finish db designer refactor
...
Signed-off-by: Leonardo Strozzi <laps15@inf.ufpr.br>
2018-06-11 19:37:07 -03:00
Maurício Meneghini Fauth
285e38e931
Fix some PSR-2 coding standard errors
...
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2018-05-30 09:07:56 -03:00
Maurício Meneghini Fauth
b9c0463d96
Use short array syntax instead of long array syntax
...
Replaces array() with [].
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2018-05-30 01:42:21 -03:00
Maurício Meneghini Fauth
66f2e4a2dc
Remove $dbi global from Database classes
...
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2018-05-22 22:46:41 -03:00
Maurício Meneghini Fauth
af148ad92b
Enable strict mode in PHP files
...
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2018-05-16 04:36:04 -03:00
Maurício Meneghini Fauth
aa958b5567
Replace pmd* in CSS classes and IDs with designer*
...
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2018-02-24 18:33:10 -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
fcfa31a51f
Rename js/pmd directory to js/designer
...
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2018-02-24 16:58:58 -03:00
Maurício Meneghini Fauth
f21bc9668d
Replace static methods with instance methods
...
Replace PhpMyAdmin\Database\Designer\Common static methods with instance methods.
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2018-02-24 16:39:53 -03:00
Maurício Meneghini Fauth
7f62eef8a7
Rename PmdCommon to Database\Designer\Common
...
Rename PhpMyAdmin\PmdCommon to PhpMyAdmin\Database\Designer\Common.
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2018-02-24 16:14:44 -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
01fd301003
Use 'elseif' keyword istead of 'else if'
...
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-12-04 13:31:25 -02: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
d2c487e378
Refactor pmd_common functions to static methods
...
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-09-13 18:48:10 -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
Isaac Bennetch
22ddc46e4d
Replace some double-quotes with single-quotes to match existing styles
...
Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
2017-08-14 14:16:52 -04:00
Raghuram Vadapalli
7fc7e5aa76
Allow designer to show tables from other DB
...
Signed-off-by: Raghuram Vadapalli <raghuram.4350@gmail.com>
2017-07-22 23:04:17 +05:30
Maurício Meneghini Fauth
ca910e8de8
Move classes to PhpMyAdmin namespace
...
- Move Table to PhpMyAdmin namespace
- Move Template to PhpMyAdmin namespace
- Move ThemeManager to PhpMyAdmin namespace
- Move Theme to PhpMyAdmin namespace
- Move Tracker to PhpMyAdmin namespace
- Move Transformations to PhpMyAdmin namespace
- Move TypesMySQL to PhpMyAdmin namespace
- Move Types to PhpMyAdmin namespace
- Move Util to PhpMyAdmin namespace
- Move VersionInformation to PhpMyAdmin namespace
- Move Url to PhpMyAdmin namespace
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-07-08 10:54:21 -03:00
Maurício Meneghini Fauth
119563b7ea
Move classes to PhpMyAdmin namespace
...
- Move OpenDocument to PhpMyAdmin namespace
- Move OutputBuffering to PhpMyAdmin namespace
- Move Partition to PhpMyAdmin namespace
- Move Pdf class to PhpMyAdmin namespace
- Move RecentFavoriteTable to PhpMyAdmin namespace
- Move Response to PhpMyAdmin namespace
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-06-30 23:44:10 -03:00
Maurício Meneghini Fauth
61b7d5dfd8
Move js/jquery to js/vendor/jquery
...
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-06-14 01:57:25 -03:00
Michal Čihař
308c9d7951
Simplify Response object handling
...
- always use use and short name
- avoid calling getInstance() several times in one script
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-12-07 18:17:59 +01:00
Michal Čihař
14d7c638a8
Merge branch 'QA_4_5'
2016-01-25 12:19:34 +01:00
Michal Čihař
316792bf4a
Move databse check to correct location
...
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-01-25 12:18:37 +01:00
Michal Čihař
f0e4b242ea
Merge branch 'QA_4_5'
2016-01-19 11:40:06 +01:00
Michal Čihař
a5affed07a
Validate database before starting designer
...
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-01-19 11:38:50 +01:00
Michal Čihař
d03d4eaa19
Remove iecanvas script
...
It just provides support for older MSIE versions.
Issue #11833
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-01-08 12:10:22 +01:00
Hugues Peccatte
f9d582bd09
Make PHPCS happy.
...
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-11-08 15:58:48 +01:00
Hugues Peccatte
6f4676cdfc
Merge remote-tracking branch 'origin/master' into useNamespaces_master
2015-10-04 18:04:49 +02:00
Marc Delisle
fd7c8522ea
Clarify method name
...
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-10-03 10:14:29 -04:00
Hugues Peccatte
f0ba28fc1d
Set namespace on Advisor, Config, Console and Util classes.
...
Set namespace on DbQbe.
Set namespace to 'DbSearch'.
Split Advisor.class.php file.
Change Advisor namespace.
Rename DbQbe class and file.
Set namespace on DisplayResults.
Set namespace on Error.
Use namespace for ErrorHandler.
Add class autoloader.
Change ErrorHandler filename.
Remove some require.
Update Config namespace path.
Update PMA_Util to PMA\libraries\Util.
Rename Font and File classes files.
Use namespace for Footer.
Set namespace in all libraries classes.
Namespace OutputBuffering.
Export SubPartition.
Rename Partition file.
Namespace PDF.
Namespace RecentFavoriteTable.
Replace PMA_Response by Response and PMA_Message by Message.
Update uses and calls.
Fix unit tests.
Fix SqlParser autoload.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-09-01 21:22:52 +02:00
Marc Delisle
bb01f9b2b7
Refactor db_info.inc.php
...
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-08-25 11:16:59 -04:00
Madhura Jayaratne
6f84ecf3a4
Simplify
...
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-08-13 08:27:39 +05:30
Madhura Jayaratne
af95a39747
Refactor - Extract method
...
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-08-13 07:52:40 +05:30
Madhura Jayaratne
224b2245a7
FIx bug - Use control link for db operation related to configuration storage
...
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-08-13 07:33:48 +05:30
Hugues Peccatte
08919d9252
Make PHPCS happy.
...
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-07-25 09:36:48 +02:00
Madhura Jayaratne
b0ae16fcd6
These are also internal directives. Remove underscore to match with other similar ones
...
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-07-09 17:15:10 +05:30
Deven Bansod
2e6abf3cb2
Modified structure for pma__designer_settings table
...
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2015-06-29 13:33:42 +05:30
Deven Bansod
3d1157c944
Changed the mysql reserved words conflicting column names
...
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2015-06-25 00:14:06 +05:30
Madhura Jayaratne
ee7564af01
Load in visual query builder the default pdf page if such exists
...
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-06-24 18:01:55 +05:30
Deven Bansod
54a480e8eb
Designer settings saved in a new table in configuration storage
...
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2015-06-21 15:44:39 +05:30
Marc Delisle
6d6ca8ebed
Fix coding style
...
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-05-15 09:02:00 -04:00
Madhura Jayaratne
4ab6f29302
These images does not seem to be used
...
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-04-30 18:45:59 +05:30
Madhura Jayaratne
1c52bc2a81
rfe #1650 Support a default page in designer
...
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-04-08 10:15:27 +05:30
Rahul Kadyan
4d308ba364
Remove unneeded closing tags
...
Closing tags at the end of file are not mandatory. It is often
suggested to omit to closing tags at the end of file to prevent
unwanted effects as PHP will start output buffering if there is
any character after closing tag.
Reference: http://php.net/manual/en/language.basic-syntax.phptags.php
Signed-off-by: Rahul Kadyan <hi@znck.me>
2015-03-06 23:37:35 +05:30
Marc Delisle
eca87c132f
Clarify function name
...
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-02-10 02:50:37 -05:00
Zhang Hao
6888b4c50b
New designer menu
...
Signed-off-by: Zhang Hao <jason.daurus@gmail.com>
2015-02-09 22:04:04 +08:00
Madhura Jayaratne
9ea91627cf
'same' and 'new' are the only choices here
...
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2014-10-04 18:18:17 +05:30
Madhura Jayaratne
8a410119cd
rfe #1542 Better error reporting in Designer
...
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2014-10-03 18:50:15 +05:30
Madhura Jayaratne
03f3ad8144
Hide PDF page related icon in visual builder
...
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2014-08-26 17:43:18 +05:30