Commit Graph

228 Commits

Author SHA1 Message Date
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
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
e2c83b954b Refactor relation functions to static methods
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-08-22 20:51:27 -03:00
Maurício Meneghini Fauth
dc1407ca66 Move navigation classes to PhpMyAdmin namespace
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-07-19 21:52:26 -03:00
Maurício Meneghini Fauth
5e7f6a1bab Move config classes to PhpMyAdmin namespace
- Move ConfigFile to PhpMyAdmin namespace
- Move FormDisplay to PhpMyAdmin namespace
- Move Form to PhpMyAdmin namespace
- Move PageSettings to PhpMyAdmin namespace
- Move ServerConfigChecks to PhpMyAdmin namespace
- Move Validator to PhpMyAdmin namespace

Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-07-09 15:16:37 -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
54a15dbd9c Move classes to PhpMyAdmin namespace
- Move Logging to PhpMyAdmin namespace
- Move Menu to PhpMyAdmin namespace
- Move Message to PhpMyAdmin namespace

Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-06-30 13:30:04 -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
Hugues Peccatte
8db5465556 Move libraries/navigation classes into a namespace.
Rename libraries/navigation/Nodes as nodes.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-09-04 22:53:00 +02:00
Hugues Peccatte
e5e447e937 Set namespace on config classes.
Update config classes.
Add @noinspection tag.
Update documentation and script.
Set ConfigGenerator in a namespace.
Rename ConfigGenerator filename.
Remove ConfigGenerator requires.
Fix namespaces of mock objects.
Remove useless require.
Add missing 'use'.
Add missing require.
Update PHPDoc.
Fix class test typo.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-09-01 21:30:23 +02: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
Madhura Jayaratne
ad49ae971e These checks are redundant. <feature>work variables should always be defined unless in an upgrade
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-07-15 19:31:37 +05:30
Nisarg Jhaveri
9c77ec694e Navigation panel settings
Signed-off-by: Nisarg Jhaveri <nisargjhaveri@gmail.com>
2015-05-22 17:15:03 +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
c4f87ea615 Bug Undefined index navwork
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-02-07 08:18:15 -05:00
Kasun Chathuranga
1282a3877f Add a dialog to unhide hidden navigation tree items 2013-07-21 14:46:16 +05:30
Kasun Chathuranga
66d01fcffb Hide tables in navigation tree 2013-07-20 23:13:25 +05:30
Dieter Adriaenssens
53d7710221 use uppercase for AJAX acronym 2013-01-21 00:34:23 +01:00
Rouslan Placella
9ba7490003 For navigation fetch database names from INFORMATION_SCHEMA only 2012-10-30 20:10:21 +00:00
Rouslan Placella
aba183c386 Preload the navigation tree to save an ajax request and don't store the pagination position in the session 2012-10-30 20:10:21 +00:00
Rouslan Placella
f3ebce5715 Renamed collapsible tree class to navigation tree 2012-10-30 20:10:21 +00:00
Rouslan Placella
2b12872c2a Initial import of the new navigation system 2012-10-30 20:10:21 +00:00
Rouslan Placella
4d4c8a9bad Update recent tables through index,php instead of navigation.php 2012-10-30 20:10:20 +00:00
Rouslan Placella
69b81e843b Added ajax-loaded navigation to the main page 2012-10-30 20:07:02 +00:00
Rouslan Placella
c24010362f Dropped references to index.php 2012-10-30 20:07:02 +00:00
Chanaka Indrajith
13208324d3 Removed unnecessary empty lines in functions 2012-09-19 00:15:15 +05:30
Chanaka Indrajith
e6894be57f Renamed ->method() with PMA_Util::method() 2012-09-16 14:35:45 +05:30
Chanaka Indrajith
0829709064 Remove variable 2012-09-16 14:31:22 +05:30
Chanaka Indrajith
a6234ae0a3 Renamed the file to Util.class.php and modify the relavant files 2012-09-16 13:48:21 +05:30
Madhura Jayaratne
f5dfca5c8c Improve doc blocks 2012-09-05 22:14:40 +05:30
Madhura Jayaratne
7e169fcaef Coding style improvements 2012-08-31 01:27:17 +05:30
Chanaka Indrajith
74de5e3fd3 common.lib.php file renamed to CommonFunctions.class.php 2012-06-28 06:00:58 +05:30
Chanaka Indrajith
39d37fafcc Resolved conflicts 2012-06-27 21:53:59 +05:30
Madhura Jayaratne
6689049b35 bug #3535015 [navi] DbFilter, TableFilter clear buttons hidden on Chrome 2012-06-24 10:26:24 +05:30
Chanaka Indrajith
766466135e Implement class behavior of common.lib.php file 2012-06-22 23:38:33 +05:30
Chanaka Indrajith
9fba69e73a Modifications to PMA_listNavigator() function in common.lib.php and renamed as PMA_getListNavigator() 2012-06-14 09:02:28 +05:30
Rouslan Placella
a16e723048 Dropped PMA_ajaxResponse() 2012-06-11 17:58:35 +01:00
Rouslan Placella
ae6e50a8a8 Drop display() from Header and Footer classes. The Response class will do all the rendering. 2012-06-11 14:06:04 +01:00
Rouslan Placella
d9bedbd75e Finished integrating the PMA_Footer class 2012-06-11 14:06:03 +01:00
Rouslan Placella
41cb6e20b0 Added PMA_OutputBuffering class, dropped ob.lib.php 2012-06-11 14:06:03 +01:00
Rouslan Placella
a054562100 PMA_Footer and PMA_Header no longer need to be singletons 2012-06-11 14:06:03 +01:00
Rouslan Placella
05e7653f2a Use PMA_Header class in navigation.php 2012-06-11 14:06:03 +01:00
Madhura Jayaratne
6f9253b59e Various coding style improvements 2012-06-03 20:40:47 +05:30
Rouslan Placella
933ad71021 Merged CSS stylesheets 2012-05-18 19:14:09 +01:00
Miłosz Lewandowski
6130edd505 Feature Requests item #3300418: Fast database search. 2012-05-16 21:31:59 +02:00
Dieter Adriaenssens
68fe78a42a fix function definition 2012-04-29 01:09:09 +02:00
Michal Čihař
b2243f08a8 Fix spacing around brackets 2012-04-27 11:30:47 +02:00
Madhura Jayaratne
4b8d52d937 Fix CheckStyle warnings, Type:CloseBracketNewLine (Closing parenthesis of a multi-line IF statement must be on a new line) 2012-04-22 21:28:41 +05:30
Madhura Jayaratne
ef68eaa254 Fix Checkstyle Warnings - Type: CloseBracketLine 2012-04-14 10:40:39 +05:30
Madhura Jayaratne
3332151859 Fix Checkstyle Warnings - Type: CloseBracketLine (Closing parenthesis of a multi-line function call must be on a line by itself) 2012-04-14 09:09:21 +05:30