Commit Graph

71 Commits

Author SHA1 Message Date
Hugues Peccatte
f9d582bd09 Make PHPCS happy.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-11-08 15:58:48 +01: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
Dan Ungureanu
91b97fadc2 Remove unneeded closing tags.
Signed-off-by: Dan Ungureanu <udan1107@gmail.com>
2015-07-19 00:18:38 +03:00
Madhura Jayaratne
b4007f12da Revert 86c740bc57. This is being referred
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-05-13 08:23:07 +05:30
Madhura Jayaratne
b9ab876cdc Avoid fetching these data on file inclusion, rather fetch them when required
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-05-13 08:19:24 +05:30
Madhura Jayaratne
86c740bc57 Fetch this only when it is required
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-05-13 08:14:15 +05:30
Madhura Jayaratne
c7a563893b These two should be $server_slave_replication
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2014-11-12 17:02:35 +05:30
Hugues Peccatte
829a84b46e Refactor replication_info filling.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-11-11 16:24:45 +01:00
Hugues Peccatte
8280bb0f9e Manage empty values of slave replication.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-11-11 16:12:26 +01:00
Hugues Peccatte
01c514e060 Manage empty values of slave replication.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-11-11 16:08:40 +01:00
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
Hugues Peccatte
bdb5f333d7 Fix PHPCS issues.
PHPDoc updates.
Minor coding style modifications.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-11-01 22:07:18 +01:00
Hugues Peccatte
3de88162ff Replace PMA_String uses by mb_* calls.
Remove part of unused  variables.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-09-28 20:53:01 +02:00
Hugues Peccatte
ff0011ac3f Merge pull request #1353 from Tithugues/securityStringSquash
Mass modifications to use PMA_String.
2014-09-06 19:15:06 +02:00
Hugues Peccatte
767b45380c Merge branch 'master' into securityStringSquash 2014-09-06 11:48:24 +02:00
Hugues Peccatte
9b77d746ab Mass modifications to use PMA_String.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-09-06 10:44:03 +02:00
Igor Prokopenkov
adb0ad4fb8 https://github.com/phpmyadmin/phpmyadmin/pull/1351/files#r16997280
Signed-off-by: Igor Prokopenkov <cmyk777@gmail.com>
2014-09-03 12:50:12 +03:00
Igor Prokopenkov
5a5bd3e535 Fixed undefined index notices
Fixed misspelling in the comment

Signed-off-by: Igor Prokopenkov <cmyk777@gmail.com>
2014-09-02 15:06:54 +03:00
cmyker
06e8b65738 Support of MariaDB 10+ multi-master replication functionality See https://mariadb.com/kb/en/mariadb/documentation/replication-cluster-multi-master/replication/multi-source-replication/
Signed-off-by: Igor Prokopenkov <cmyk777@gmail.com>
2014-09-02 13:52:09 +03:00
Michal Čihař
4fe6bf0737 Fix return value types
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-05-08 10:43:34 +02:00
Marc Delisle
806687331a Fix undefined variable notice
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-01-25 10:31:59 -05:00
Hugues Peccatte
464ec23ad8 Huge PHPDoc update. 2013-11-10 23:04:58 +01:00
Marc Delisle
efb60dbe7f Remove dead code 2013-11-07 08:08:21 -05: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
Madhura Jayaratne
01cdc5cbf7 Few renamings that got missed 2013-05-24 19:53:52 +05:30
Madhura Jayaratne
650a8cdda3 Convert database interface to a class 2013-05-24 17:30:59 +05:30
Madhura Jayaratne
af177aca2b Wrap more long lines 2013-05-23 23:34:15 +05:30
Madhura Jayaratne
d5c4c6c76e Wrap some long lines 2013-05-23 23:31:59 +05:30
Madhura Jayaratne
44a528671c Rename PMA_replication_master_replicated_dbs -> PMA_Replication_Master_getReplicatedDbs 2013-05-23 23:30:38 +05:30
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
Madhura Jayaratne
84db648391 Rename PMA_extract_db_or_table -> PMA_extractDbOrTable 2013-05-23 23:18:20 +05:30
Marc Delisle
c445775595 Fix merge conflicts 2013-05-15 16:47:20 -04:00
Marc Delisle
5681279f34 Remove dead code 2013-05-15 16:42:45 -04:00
Kasun Chathuranga
03fc9b9256 PMA_is_system_schema --> PMA_isSystemSchema 2013-05-12 08:51:54 +05:30
Kasun Chathuranga
a242ed1ae5 PMA_DBI_fetch_row --> PMA_DBI_fetchRow 2013-05-04 08:31:22 +05:30
Kasun Chathuranga
fbe4438628 PMA_DBI_fetch_result --> PMA_DBI_fetchResult 2013-05-01 00:05:16 +05:30
Kasun Chathuranga
a85d9eaa2c PMA_DBI_get_tables --> PMA_DBI_getTables 2013-04-30 23:29:55 +05:30
Kasun Chathuranga
d933575811 PMA_DBI_try_query --> PMA_DBI_tryQuery 2013-04-30 23:05:18 +05:30
Michal Čihař
3e050ff9d9 Various docblocks improvements 2012-09-19 15:05:26 +02:00
Madhura Jayaratne
4ff76ff31c Coding style improvements (Inline control structures are discouraged) 2012-04-25 23:39:04 +05:30
Madhura Jayaratne
ac83360796 Coding style improvements 2012-03-21 05:45:58 +05:30
Michal Čihař
e56949f160 Use package name PhpMyAdmin
Needed to match phpdoc rules as package name must begin with upper case.
2011-10-25 10:13:17 +02:00
Madhura Jayaratne
e67a0a2531 Spaces between parameters in function calls 2011-09-23 08:43:41 +05:30
Piotr Przybylski
8cd8760256 Create PMA_is_system_schema() function which checks whether current database server treats it as a system schema 2011-08-23 22:48:14 +02:00
Michal Čihař
ecb999e010 Remove some unused variables 2011-08-19 09:02:11 +02:00