Maurício Meneghini Fauth
b80403b304
Rename ServerDatabasesController to DatabasesController
...
Renames PhpMyAdmin\Controllers\Server\ServerDatabasesController to PhpMyAdmin\Controllers\Server\DatabasesController.
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2019-02-13 22:20:14 -02:00
Maurício Meneghini Fauth
32e83d9097
Refactor ServerDatabasesController
...
Refactors PhpMyAdmin\Controllers\Server\ServerDatabasesController.
- Renames variables and methods to camelCase format.
- Moves request and response handling back to server_databases.php.
- Groups all HTML into templates/server/databases/index.twig.
- Improves unit tests.
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2019-01-26 16:29:33 -02:00
Maurício Meneghini Fauth
38e5b12c1c
Define an absolute path to use for require statements
...
Fixes #6167
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2018-12-22 14:37:31 -02: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
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
feb200a000
Move DI classes to PhpMyAdmin namespace
...
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-07-16 15:25:59 -03:00
Maurício Meneghini Fauth
95a409c4f2
Move controllers to PhpMyAdmin namespace
...
- Move base controllers to PhpMyAdmin namespace
- Move database controllers to PhpMyAdmin namespace
- Move server controllers to PhpMyAdmin namespace
- Move table controllers to PhpMyAdmin namespace
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-07-14 11:18:48 -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
Madhura Jayaratne
b930848e44
New controller for server databases page
...
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-11-19 20:07:37 +11:00
Hugues Peccatte
3bf856e4c4
Merge branch 'master' into useNamespaces_master
2015-09-13 15:53:04 +02:00
Marc Delisle
b1d955e3e1
Merge branch 'QA_4_5'
2015-09-12 07:31:35 -04:00
Marc Delisle
9c20e644a5
Fix error report #14350
...
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-09-12 07:31:10 -04:00
Hugues Peccatte
42c0ebac85
Merge branch 'master' into useNamespaces_master
2015-09-09 22:05:00 +02:00
Madhura Jayaratne
d16bc93ff1
Remove Drizzle support from functionalities in server level
...
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-09-10 01:02:33 +10: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
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
Hugues Peccatte
7a60853443
Replace $replication_info by a global variable.
...
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-11-09 19:14:26 +01:00
Madhura Jayaratne
ca16959719
Remove trailing white spaces
2013-10-20 10:21:34 +05:30
xmujay
680f5b1b87
refactor server_databases: add function for drop multiple databases
2013-08-29 09:50:58 +08:00
xmujay
eb368b2fd7
refactor the PMA_getListForSortDatabase
2013-08-26 22:00:21 +08:00
Michal Čihař
0a3d1d5be8
Better names for URL generating functions
2013-08-07 10:58:17 +02:00
xmujay
db39eeb423
refactor server_variables
...
1. move functions to separated files
2. render HTML at once
3. refactor function name to PMA_getHtmlForSubPageHeader
2013-08-02 20:05:27 +08:00
xmujay
6bb321670b
refactor of server_databases.php
2013-06-24 01:13:14 +08:00
Madhura Jayaratne
650a8cdda3
Convert database interface to a class
2013-05-24 17:30:59 +05:30
Kasun Chathuranga
03fc9b9256
PMA_is_system_schema --> PMA_isSystemSchema
2013-05-12 08:51:54 +05:30
Kasun Chathuranga
d632dd9946
Merge branch 'master' into DBI_naming_cleanUp
...
Conflicts:
ChangeLog
2013-05-01 21:33:52 +05:30
J.M
6c8777f604
Don't use id attribute for checkall boxes, use class name
2013-05-01 16:43:23 +02:00
Kasun Chathuranga
6b1f6ae046
Merge branch 'master' into DBI_naming_cleanUp
...
Conflicts:
libraries/database_interface.lib.php
libraries/db_table_exists.lib.php
libraries/relation.lib.php
libraries/rte/rte_triggers.lib.php
libraries/schema/Dia_Relation_Schema.class.php
libraries/schema/Visio_Relation_Schema.class.php
tbl_addfield.php
2013-05-01 00:51:15 +05:30
Kasun Chathuranga
ecb1e4f038
PMA_DBI_get_databases_full --> PMA_DBI_getDatabasesFull
2013-04-30 23:31:44 +05:30
Marc Delisle
e9caca2e6c
Merge pull request #235 from xmujay/gsoc2013_4
...
[Refactor] server_databases.php refactor:
2013-04-11 04:46:23 -07:00
xmujay
1871c90072
add $html definition
2013-04-11 09:49:17 +08:00
xmujay
c2685a8b33
fix some indention
2013-04-10 23:32:46 +08:00
xmujay
42fcc5f6f6
merge with $html="" with php statements below
2013-04-10 23:07:02 +08:00
xmujay
7c86aab8f9
[Refactor] server_databases.php refactor:
...
0.split long lines
1 render the HTML element at once
2 fix code indention
3 use $html for readability
2013-04-10 22:31:18 +08:00
Michal Čihař
3600a5e701
Revert "Count real number of shown databases"
...
This reverts commit bb317b2fc1 .
This forces fetching of all databases again, but we need complete count
(see bug #3870 ).
2013-04-10 12:23:27 +02:00
Samith Dassanayake
c88420a247
[Contest1] No hard-coded icons in css
...
Modified "list-style-type" to "none" for the list items that has an image as the bullet point and aligned them
2013-03-02 22:07:48 +05:30
Michal Čihař
bb317b2fc1
Count real number of shown databases
2013-02-14 14:38:57 +01:00
Marc Delisle
2723495a4f
Removed the AjaxEnable directive
2012-12-21 16:04:57 -05:00
Rouslan Placella
be231714c2
Fixed drop databases form submission
2012-11-04 22:56:21 +00:00
Rouslan Placella
0d6c1fb175
Drop "Check All/Uncheck All" functionality in PHP, this is already handled in JS
2012-10-30 20:04:51 +00:00
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
Madhura Jayaratne
7e169fcaef
Coding style improvements
2012-08-31 01:27:17 +05:30
Chanaka Indrajith
39d37fafcc
Resolved conflicts
2012-06-27 21:53:59 +05:30
Chanaka Indrajith
1cc49d32d9
Resolved conflicts
2012-06-27 07:06:34 +05:30
J.M
8eb0f2f22b
Use checkbox for checking/unchecking all rows in a table
2012-06-24 17:49:53 +02:00
Chanaka Indrajith
766466135e
Implement class behavior of common.lib.php file
2012-06-22 23:38:33 +05:30
Michal Čihař
79ee73fb9b
Merge pull request #73 from roccivic/server-databases-ajax-fixes
...
server_databases.php ajax fixes
2012-06-18 01:11:26 -07:00
Rouslan Placella
8e51382fcd
Drop dead code
2012-06-15 20:37:41 +01:00