Michal Čihař
23e01d306a
Merge branch 'QA_4_6'
2016-08-17 15:38:22 +02:00
Michal Čihař
76a471a790
Avoid problems with PHP comparison
...
- allow password where empty returns true
- compare using ===
Signed-off-by: Michal Čihař <michal@cihar.com >
2016-08-17 13:18:45 +02:00
Michal Čihař
1cd7b757bf
Merge branch 'master' into master-security
2016-08-02 08:45:23 +02:00
Michal Čihař
afcec9d9d7
Merge branch 'QA_4_6'
2016-08-02 08:34:42 +02:00
Michal Čihař
ef9bd20e7a
Merge branch 'QA_4_6' into QA_4_6-security
2016-08-02 08:33:39 +02:00
Michal Čihař
cdcf74ab0b
Fixed password change on MariaDB without auth plugin
...
Fixes #12424
Signed-off-by: Michal Čihař <michal@cihar.com >
2016-08-02 08:32:59 +02:00
Michal Čihař
b6df1bd1e3
Merge branch 'QA_4_6-security' into master-security
2016-07-26 17:04:39 +02:00
Michal Čihař
c90967071a
Do not allow to set too long password
...
We do not accept password longer than 256 chars, so do not accept it on
password change as well.
Signed-off-by: Michal Čihař <michal@cihar.com >
2016-07-26 17:04:26 +02:00
Michal Čihař
f5015c2ea3
Merge branch 'QA_4_6-security' into master-security
2016-07-26 16:31:21 +02:00
Deven Bansod
68903ae7a7
Merge branch 'QA_4_6'
2016-07-26 01:05:17 +05:30
Deven Bansod
25182fb6c3
Fix #12391 : Message with 'Change password successfully' displayed, but does not take effect
...
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com >
2016-07-26 00:25:08 +05:30
Michal Čihař
c136a74705
Cache current user information for DBI lifetime
...
We query this information quite often, so it makes sense to fetch it
only once from the MySQL server.
Signed-off-by: Michal Čihař <michal@cihar.com >
2016-04-06 09:45:53 +02:00
Durgesh
0b64827930
Refactored url parmeters generating, Issue #11990
...
Signed-off-by: Durgesh <007durgesh219@gmail.com >
2016-02-22 14:36:41 +05:30
Michal Čihař
f141cb1463
Merge branch 'QA_4_5'
2016-01-17 18:44:09 +01:00
Michal Čihař
bfaa77ef21
Fix password change on MariaDB 10.1 and newer
...
Use SET PASSWORD which seems again do the correct thing there.
Fixes #11855
Signed-off-by: Michal Čihař <michal@cihar.com >
2016-01-17 18:43:32 +01:00
Michal Čihař
20a508358b
Fix comment
...
Signed-off-by: Michal Čihař <michal@cihar.com >
2016-01-17 18:35:42 +01:00
Marc Delisle
1daeb372db
Remove unneeded code
...
Signed-off-by: Marc Delisle <marc@infomarc.info >
2015-12-20 18:33:43 -05:00
Deven Bansod
996a6b6636
Move the variable assignment inside the else-if block
...
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com >
2015-12-19 16:37:33 -05:00
Deven Bansod
c7b40c9717
Add a base case for MySQL versions 5.5.0 - 5.5.7 - Might give an error on these versions otherwise
...
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com >
2015-12-19 22:59:15 +05:30
Deven Bansod
dc64071185
Add a base case for MySQL versions 5.5.0 - 5.5.7
...
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com >
2015-12-19 22:00:39 +05:30
Deven Bansod
7c0a25c937
Move the variable assignment inside the else-if block
...
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com >
2015-12-19 21:56:57 +05:30
Marc Delisle
a93160128f
Fix indenting
...
Signed-off-by: Marc Delisle <marc@infomarc.info >
2015-12-19 10:53:31 -05:00
Marc Delisle
74a867fd45
Remove dead code
...
Signed-off-by: Marc Delisle <marc@infomarc.info >
2015-12-19 10:46:56 -05:00
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