Hugues Peccatte
df847d7121
Remove useless 'use'
...
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2019-06-15 21:40:21 +02:00
Hugues Peccatte
a395bd2823
Remove as much as possible the old DI system
...
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2019-06-15 21:39:21 +02:00
Hugues Peccatte
9abd308837
Inject dependencies ( #15271 )
...
Inject dependencies instead of building them.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2019-06-01 15:13:41 -03:00
Hugues Peccatte
380707fbcd
Define controllers as services in an external configuration file
...
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2019-05-19 01:54:44 +02:00
Maurício Meneghini Fauth
17195fbe72
Get $dbi from DIC instead of global in entry points
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-04-18 01:09:38 -03:00
Maurício Meneghini Fauth
5368c151b4
Create Server\Status\StatusController
...
- Extracts Server\Status and server_status.php logic to controller
- Extracts HTML to server/status/status/index template
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2019-02-18 15:59:59 -03: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
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
dcedb418dc
Refactor replication_gui functions to static methods
...
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-09-13 16:00:40 -03:00
Maurício Meneghini Fauth
7596fe8d6f
Refactor server_status functions to static methods
...
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-09-07 15:52:20 -03:00
Maurício Meneghini Fauth
cf354d29cd
Rename ServerStatusData to Server/Status/Data
...
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-09-07 14:07:04 -03:00
Maurício Meneghini Fauth
8f943ae1c0
Move classes to PhpMyAdmin namespace
...
- Move Sanitize to PhpMyAdmin namespace
- Move SavedSearches to PhpMyAdmin namespace
- Move Scripts to PhpMyAdmin namespace
- Move ServerStatusData to PhpMyAdmin namespace
- Move Sql to PhpMyAdmin namespace
- Move StorageEngine to PhpMyAdmin namespace
- Move SubPartition to PhpMyAdmin namespace
- Move SysInfoLinux to PhpMyAdmin namespace
- Move SysInfoSunOS to PhpMyAdmin namespace
- Move SysInfoWINNT to PhpMyAdmin namespace
- Move SysInfo to PhpMyAdmin namespace
- Move SystemDatabase to PhpMyAdmin namespace
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-07-07 01:46:08 -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
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
7f8f34e89d
Remove classes require_once.
...
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-09-01 21:30:22 +02:00
Hugues Peccatte
0761fb1801
Rename classes files.
...
Rename classes.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-09-01 21:30:21 +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
d3e8dac98c
Fix #11445 MySQL 5.7 and Status page for an unprivileged user
...
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-08-31 21:23:51 +10: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
Hugues Peccatte
49836e6e6f
Use $replication_info everywhere, instead of $server_* variables.
...
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-11-09 16:30:07 +01:00
Chirayu Chiripal
32511719b1
RFE-1490 Dynamic process list
...
Signed-off-by: Chirayu Chiripal <chirayu.chiripal@gmail.com>
2014-06-24 19:13:21 +05:30
Michal Čihař
7bc9eba9bc
One place to generate KILL query
...
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-06-06 11:08:40 +02:00
Craig Duncan
17fd6b576a
Dynamically detect an amazon rds instance
...
This is to avoid more configuration options
Signed-off-by: Craig Duncan <git@duncanc.co.uk>
2014-06-05 19:38:57 +01:00
Craig Duncan
812d1ce67d
Allow processes to be killed on Amazon RDS
...
The 'KILL' syntax isn't available but a procedure to do the same thing is
http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Appendix.MySQL.CommonDBATasks.html
Signed-off-by: Craig Duncan <git@duncanc.co.uk>
2014-06-03 22:39:04 +01:00
Marc Delisle
269d0c89fe
Fix merge conflicts
2013-07-28 06:17:38 -04:00
xmujay
8da2a62146
refactor server_status.php
2013-07-16 21:45:41 +08:00
J.M
2005c4b7c1
[security] Fix stored XSS in Server status monitor, see PMASA-2013-9
2013-07-07 15:55:18 +02:00
xmujay
252a392592
1. change the function name
...
2. fix Div function
3. using $_REQUEST when the variable is in the request list
2013-06-22 01:32:17 +08:00
xmujay
1044df611a
refactor server_replication.php
...
1. render HTML at once
2. split long functions
2013-06-20 01:10:24 +08:00
xmujay
c51e6d66a1
split long lines
2013-06-04 23:51:36 +08:00
xmujay
9a93f7e127
refactor server_status.php
...
1. using better function name
2. split long lines
2013-06-03 23:24:48 +08:00
Marc Delisle
70c25451e2
Use CodeMirror to highlight in the processes list
2013-05-27 12:52:27 -04:00
Madhura Jayaratne
2baf473ad7
Merge branch 'master' into OOP_DBI
...
Conflicts:
libraries/database_interface.lib.php
2013-05-26 21:43:33 +05:30
Marc Delisle
b8e4f346a5
Clarify function name
2013-05-26 11:34:43 -04:00
Madhura Jayaratne
650a8cdda3
Convert database interface to a class
2013-05-24 17:30:59 +05:30
Marc Delisle
06d3f3a550
Remove unnecessary message. When this page did not contain tabs for the
...
various sections, it was useful to have a link to reach this section
further down.
2013-05-18 06:59:22 -04:00
xmujay
87ec31ce5f
refactor function naming on server view files
2013-05-15 23:58:50 +08:00
Marc Delisle
e5c00797bf
Add missing variable (yes there is a one-line duplication)
2013-05-11 07:53:39 -04:00
xmujay
46af1aeb38
refactor server_view:
...
1. add function for html render
2. code indention
3. split long lines
2013-05-07 21:35:41 +08:00
Kasun Chathuranga
5ef0833210
Merge branch 'master' into DBI_naming_cleanUp2
...
Conflicts:
sql.php
2013-05-05 20:58:07 +05:30
xmujay
35c65ed15b
server_status.php refactor
...
add getServerStateGeneralInfoHtml to correct general information
2013-05-05 20:37:37 +08:00
Kasun Chathuranga
5bcc32999f
PMA_DBI_fetch_assoc --> PMA_DBI_fetchAssoc
2013-05-04 08:30:12 +05:30
Kasun Chathuranga
d632dd9946
Merge branch 'master' into DBI_naming_cleanUp
...
Conflicts:
ChangeLog
2013-05-01 21:33:52 +05:30
xmujay
89a9f36c1b
split the long function (getServerTrafficHtml) into three functions:
...
1. getServerStateTrafficHtml
2. getServerStateConnectionsHtml
3. getTableProcesslistHtml
2013-05-01 18:53:27 +08:00
Kasun Chathuranga
bc4bfaa6d5
PMA_DBI_fetch_value --> PMA_DBI_fetchValue
2013-05-01 00:02:00 +05:30
Kasun Chathuranga
d933575811
PMA_DBI_try_query --> PMA_DBI_tryQuery
2013-04-30 23:05:18 +05:30