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
Maurício Meneghini Fauth
05ce6ffed4
Rename js/server_*.js to js/server/*.js
...
Rename js/server_status_*.js to js/server/status/*.js
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-06-07 03:56:22 -03: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
5e828ec810
Create Server\ReplicationController
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-04-06 20:26:06 -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
76d8bfdafa
Merge branch 'QA_4_8'
...
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2018-12-12 21:04:19 -02:00
Maurício Meneghini Fauth
eb13c69f0d
Retrieve parameters from $_POST in server replication
...
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2018-11-10 20:48:59 -02:00
Maurício Meneghini Fauth
5edbdf2063
Remove Template::get() method
...
Uses Template::render() instead of Template::get().
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2018-06-18 19:46:36 -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
58c755785c
Replace static methods with instance methods
...
Replaces PhpMyAdmin\ReplicationGui static methods with instance methods.
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2018-03-27 21:35:30 -03:00
Maurício Meneghini Fauth
79f6f88bff
Use template for server sub page header
...
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-11-02 22:26:47 -02:00
Michal Čihař
98964e2f59
Remove is_superuser superglobal
...
Issue #11731
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-10-10 12:28:00 +02: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
f7051b2e5c
Refactor server_common functions to static methods
...
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-09-08 00:28:06 -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
3f632ef7bc
Move js/zxcvbn.js to js/vendor/zxcvbn.js
...
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-06-14 02:01:11 -03:00
Dan Ungureanu
41683f3553
zxcvbn dependency was missing.
...
Fixes #13256 .
Signed-off-by: Dan Ungureanu <udan1107@gmail.com>
2017-05-08 21:37:36 +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
Deven Bansod
3166e8c0f2
Use values from request parameter url_param only if it is an array
...
Fix #12350
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2016-10-11 12:14:10 +05:30
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
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
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
Michal Čihař
9310e76a0e
Fix indentation
2013-07-30 13:23:51 +02:00
xmujay
239067f35f
refactor server_replication
...
1. refactor session "Handling control requests"
2. fix code style problems
2013-06-22 15:28:50 +08: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
cad22421ae
1. fix the undefine error
...
2. add function to render same html tags
2013-06-21 00:20:50 +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
Madhura Jayaratne
ce85ebd950
Merge branch 'master' into OOP_DBI
2013-05-24 19:06:45 +05:30
Madhura Jayaratne
650a8cdda3
Convert database interface to a class
2013-05-24 17:30:59 +05:30
Michal Čihař
ef6cf5a227
End sentence with stop
2013-05-24 10:58:19 +02:00
Madhura Jayaratne
d77f20961a
Rename PMA_replication_slave_bin_log_master -> PMA_Replication_Slave_binLogMaster
2013-05-23 23:27:52 +05:30
Madhura Jayaratne
63f6ef3d96
Rename PMA_replication_connect_to_master -> PMA_Replication_connectToMaster
2013-05-23 23:25:25 +05:30
Madhura Jayaratne
93deda5488
Rename PMA_replication_slave_change_master -> PMA_Replication_Slave_changeMaster
2013-05-23 23:24:07 +05:30
Madhura Jayaratne
926fee829b
Rename PMA_replication_slave_control -> PMA_Replication_Slave_control
2013-05-23 23:22:52 +05:30
Marc Delisle
d44367e4db
Fix merge conflicts
2013-05-15 13:07:22 -04:00
J.M
529903e0dd
Fix bug #3907 undefined variables, function parameter problems
...
Thanks Rasmus Lerdorf for analyzing!
2013-05-13 11:27:56 +02:00
Kasun Chathuranga
d933575811
PMA_DBI_try_query --> PMA_DBI_tryQuery
2013-04-30 23:05:18 +05:30
Marc Delisle
c4ff4bee20
Remove the Synchronize feature
2012-11-07 13:09:47 -05:00
Rouslan Placella
a31140d159
Partial fix for bug #3583312 - Broken replication forms/links
2012-11-04 23:19:56 +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
8ce541068c
Various coding style changes
2012-08-31 14:37:46 +05:30
Chanaka Indrajith
766466135e
Implement class behavior of common.lib.php file
2012-06-22 23:38:33 +05:30
Rouslan Placella
eb98110541
Dropped footer.inc.php
2012-06-11 14:06:04 +01:00