Piyush Vijay
63a54d14f3
Adding jQplot package and its plugins and tablesorter are as module in js files and removed from php files.
...
Signed-Off-By: Piyush Vijay <piyushvijay.1997@gmail.com>
2018-08-10 13:37:25 +05:30
Piyush Vijay
8c986d8308
Weekly progress.
...
1). Microhistory added in classes for modular code
2). Code is structured and camel casing of varables is done for removing linter warnings.
3). JQuery plugins are added in some files.
4). jQplot is working for server_status_queries and server_status_monitor.
5). Work started for Dabatase, SQl and Table files.
Some changes are stll left for server_status_monitor and sql.js
Signed-Off-By: Piyush Vijay <piyushvijay.1997@gmail.com>
2018-08-10 13:36:58 +05:30
Piyush Vijay
a99acfef71
Modularize server related remaining files like replication, plugins, queries, processes.
...
Sever monitor is also modularised and is not working but jQplot is not imported as it is giving error with webpack.
Another issue with these files is that table sorter is also not woking
working properly as it is not available on npm as plugin.
Signed-off-by: Piyush Vijay <piyushvijay.1997@gmail.com>
2018-07-30 23:08:28 +05:30
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
dfbea9648f
Refactor server_status_queries to static methods
...
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-09-07 22:18:35 -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
Maurício Meneghini Fauth
47865ee3bb
Move jqPlot to js/vendor
...
Move js/jqplot to js/vendor/jqplot
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-06-14 01:57:26 -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ř
2e53b7189f
Merge remote-tracking branch 'origin/pull/12952' into tmp
2017-02-21 09:18:48 +01:00
Michal Čihař
dda0d8b69d
Load server stats queries scripts in order
...
We can not load first script which uses later one.
Fixes #12934
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-02-13 15:06:13 +01:00
Cristiano Lancelotti
5781a009e0
show-hide-chart-slice
...
Signed-off-by: Cristiano Lancelotti <lancelot.info@gmail.com>
2017-02-04 06:36:05 -02: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ř
5cb88f380f
Remove excanvas
...
It's needed for IE < 9 and we no longer supports that.
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-01-14 09:51:53 +01:00
Madhura Jayaratne
abcb83c462
These scripts are not required
...
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-11-06 20:42:00 +11:00
Madhura Jayaratne
06821464bf
Use generic charting mechanism for profiling chart as well
...
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-11-06 20:36:28 +11: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
xmujay
fcd83fca5e
fix the code style of server_status_queries.php
2013-07-29 20:40:53 +08:00
xmujay
71fcb2fe2c
refactor server_status_queries.php: 1. move functions to lib file
2013-07-29 20:32:45 +08:00
Marc Delisle
dc92c29f5b
Bug #3907 , other fixes
2013-05-16 13:03:13 -04:00
xmujay
87ec31ce5f
refactor function naming on server view files
2013-05-15 23:58:50 +08:00
J.M.
378fd7bc63
Merge pull request #299 from xmujay/refactor_procedure1
...
Refactor getQueryStatisticsHtml function in server_status_queries.php
2013-05-01 08:17:31 -07:00
xmujay
959201b7a6
[server_status_queries.php refactor]
...
split long function getQueryStatisticsHtml into small function
2013-05-01 20:51:17 +08:00
Michal Čihař
2fbb4cee0d
Consistently include colon in strings to translate
...
In some languages this makes difference in translating, so it's better
to give translators full context.
2013-04-25 14:22:31 +02:00
Dieter Adriaenssens
76f871585d
remove unused variables
2013-01-25 13:08:49 +01:00
Rouslan Placella
fe95c8988d
phpcs fixes
2012-12-14 19:05:04 +00:00
Rouslan Placella
0f317d4b56
Removed redundant parameter
2012-12-14 19:05:04 +00:00
Rouslan Placella
04549d2dcc
Restored server_status table sorter
2012-12-14 19:05:04 +00:00
Rouslan Placella
b621d2b56c
Split the server staus monitor features into a separate page
2012-12-14 19:05:04 +00:00
Rouslan Placella
8875eb4799
Moved more features from server_status.php to own pages
...
Dropped live charting
2012-12-14 19:05:03 +00:00