Commit Graph

115 Commits

Author SHA1 Message Date
Marc Delisle
357b1b4757 Remove some unnecessary string concatenations
https://github.com/dseguy/clearPHP/blob/master/rules/no-unnecessary-string-concatenation.md

Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-12-04 09:05:42 -05:00
Madhura Jayaratne
1cffd63940 More coding style fixes
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-11-26 19:54:39 +11:00
Deven Bansod
107f054ed6 Merge branch 'QA_4_5'
Conflicts:
	libraries/server_privileges.lib.php
	po/pt_BR.po
	user_password.php
2015-11-26 14:40:25 +05:30
Deven Bansod
d55abcd5ff Fix issue 11684
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2015-11-24 15:46:50 +05:30
Hugues Peccatte
ffc4422db7 Make PHPCS happy.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-10-19 20:33:21 +02:00
Marc Delisle
da5e605ba7 Fix merge conflicts
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-10-15 12:26:17 -04:00
Deven Bansod
19f1536a1c Fixed error in PR : 11569
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2015-10-16 02:55:07 +05:30
Marc Delisle
7ddbfefb9d Fix merge conflicts
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-10-13 11:32:21 -04:00
Deven Bansod
8a82a04ff9 Refactor code for generation of available auth plugins HTML
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2015-10-14 00:33:15 +05:30
Hugues Peccatte
6f4676cdfc Merge remote-tracking branch 'origin/master' into useNamespaces_master 2015-10-04 18:04:49 +02:00
Marc Delisle
fd7c8522ea Clarify method name
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-10-03 10:14:29 -04: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
Hugues Peccatte
6434fbfa80 Make PHPCS happy.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-07-27 21:13:58 +02:00
Isaac Bennetch
7b1765f1fd Merge pull request #1792 from devenbansod/rfe1396
RFE #1396 : Add support for MySQL 5.6.6+ SHA256 Auth plugin
2015-07-27 14:04:51 -04:00
Deven Bansod
56b4352719 RFE#1396 : Support MySQL 5.6.6+ SHA256 Auth Plugin
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2015-07-23 21:49:05 +05:30
Hugues Peccatte
a1cf9a24e3 Coding style modification.
Make PHPCS happy.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-07-22 22:08:24 +02:00
Marc Delisle
4eccae5290 Merge pull request #1547 from znck/master
Remove unneeded closing tags
2015-03-26 07:56:45 -04:00
harish095
dbba36e0b8 MySQL 5.7 Syntax for password change
Signed-off-by: Harish Kandala <kandalaharish95@gmail.com>

Updated the If condition

Signed-off-by: Harish Kandala <kandalaharish95@gmail.com>
2015-03-19 12:37:35 -04: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
Marc Delisle
be03cb3f27 Remove dead code
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-02-02 06:25:37 +01:00
Marc Delisle
41d168afe2 Remove dead code
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-02-02 05:50:25 +01:00
Hugues Peccatte
30e0dc70cc Coding style modifications.
Remove unused variables.
PHPDoc update.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-08-09 23:11:36 +02:00
Marc Delisle
096d60009b Clarify variable's origin
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-07-17 08:42:39 -04:00
Michal Čihař
a7bc3a73a3 Do not pas arround empty $_url_params variable
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-06-12 14:43:10 +02:00
Michal Čihař
bd4cccc039 Move password change handling to authenticaton plugins
We should not care about plugin type while changing password, we should
just notify it and the plugin should be responsible for anything needed.

Signed-off-by: Michal Čihař <michal@cihar.com>
2014-06-12 14:43:10 +02:00
Michal Čihař
209390c3f2 Properly store password in cookie when changing it
Use auth plugin method to do that, otherwise it could not work properly
with autogenerated blowfish_secret.

Signed-off-by: Michal Čihař <michal@cihar.com>
2014-06-12 14:43:10 +02:00
Madhura Jayaratne
3c9f6a6890 Space around . operator - mroe instances
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2014-01-08 18:56:30 +05:30
Hugues Peccatte
f82579055b Update PHPDoc.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2013-12-20 23:11:03 +01:00
Michal Čihař
44eac82d0e Document some parameters 2013-10-02 13:37:22 +02:00
Michal Čihař
0a3d1d5be8 Better names for URL generating functions 2013-08-07 10:58:17 +02:00
Michal Čihař
bf8bb147e4 Various coding style fixes 2013-08-06 16:04:11 +02:00
Madhura Jayaratne
650a8cdda3 Convert database interface to a class 2013-05-24 17:30:59 +05:30
Kasun Chathuranga
42256b2d0c PMA_DBI_select_db --> PMA_DBI_selectDb 2013-05-04 08:26:27 +05:30
Kasun Chathuranga
d933575811 PMA_DBI_try_query --> PMA_DBI_tryQuery 2013-04-30 23:05:18 +05:30
Dieter Adriaenssens
1dbf02bb2d remove unused variable and simplify code 2013-01-25 13:13:35 +01:00
Marc Delisle
397c5b8167 Missing Change password dialog in Edit privileges 2012-11-10 09:09:24 -05:00
Rouslan Placella
9e3a9ee52f Dropped main.php 2012-10-30 20:10:20 +00:00
Rouslan Placella
c24010362f Dropped references to index.php 2012-10-30 20:07:02 +00:00
Chanaka Indrajith
13208324d3 Removed unnecessary empty lines in functions 2012-09-19 00:15:15 +05:30
Chanaka Indrajith
6971295e96 Renamed PMA_CommonFunctions::getInstance()-> with PMA_Util:: 2012-09-16 14:41:47 +05:30
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
2095bc3211 Wrap some long lines 2012-09-05 22:13:55 +05:30
Marc Delisle
3c301b0d59 Incorrect file reference 2012-07-02 15:28:58 -04:00
Chanaka Indrajith
106265a7f8 Resolve conflicts 2012-06-30 11:30:39 +05:30
Chanaka Indrajith
766466135e Implement class behavior of common.lib.php file 2012-06-22 23:38:33 +05:30
Alex Marin
0565b0e12a oop: integrate authentication plugins 2012-06-22 11:43:54 +03:00
Rouslan Placella
69bdaed0fd Fixed bad variable name 2012-06-15 00:14:56 +01:00
Rouslan Placella
74199dd114 Display messages once on password change 2012-06-11 14:06:04 +01:00
Rouslan Placella
ae6e50a8a8 Drop display() from Header and Footer classes. The Response class will do all the rendering. 2012-06-11 14:06:04 +01:00