Commit Graph

187 Commits

Author SHA1 Message Date
Hugues Peccatte
f0792503e9 Update to fix tests.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-05-17 14:24:31 +02:00
Hugues Peccatte
18625f3bbf Update PHPDoc and minor coding style modifications.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-05-17 13:15:08 +02:00
Madhura Jayaratne
bdf66cd772 Merge branch 'QA_4_4' 2015-05-14 07:10:10 +05:30
Madhura Jayaratne
5ca7f19d05 Invalid value for CURLOPT_SSL_VERIFYPEER
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-05-14 06:52:26 +05:30
Madhura Jayaratne
5857fe163d Fix spacing after opening brace
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-04-28 11:05:08 +05:30
Madhura Jayaratne
0cb93d6870 File is being conditionally included; use "include" instead
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-04-27 19:11:26 +05:30
Madhura Jayaratne
aa1c35cedf Remove trailing whitespace
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-04-27 18:26:09 +05:30
Madhura Jayaratne
9f1f0e6bc1 Per server iv
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-03-16 08:34:40 +05:30
Madhura Jayaratne
d162f4f3bd Per server iv
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-03-11 15:32:46 +05:30
Madhura Jayaratne
9bf5792dc0 Merge branch 'QA_4_3' into QA_4_4 2015-03-09 14:48:43 +05:30
Madhura Jayaratne
7dde05cc41 phpUnit is unable to mock private methods
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-03-09 14:17:15 +05:30
Madhura Jayaratne
df39cff9ef Return value from the new method
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-03-09 13:53:12 +05:30
Madhura Jayaratne
42bbc5e04d bug #4758 Firefox with auth_type to http with multiple server doesn't work anymore
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-03-09 13:24:28 +05:30
Marc Delisle
ff35677c26 Merge pull request #1523 from madhuracj/rfe1602
Alternative implementation for rfe #1602
2015-03-01 06:33:41 -05:00
Madhura Jayaratne
1b939fb3d3 rfe #1441 Add regexp match when using AllowArbitraryServer
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-02-26 17:02:09 +05:30
Madhura Jayaratne
e506afc3b0 Revert "Save unfinished work"
This reverts commit 3007c6a6ef.

Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-02-26 11:53:48 +05:30
Hugues Peccatte
05ebf9a3a7 Fix typos.
Minor PHPDoc update.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-02-22 22:54:09 +01:00
Zhang Hao
3007c6a6ef Save unfinished work
Signed-off-by: Zhang Hao <jason.daurus@gmail.com>
2015-02-13 18:46:09 +08:00
Marc Delisle
be03cb3f27 Remove dead code
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-02-02 06:25:37 +01:00
Madhura Jayaratne
743a528835 rfe #1590 Recaptcha API v2
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-01-08 15:49:24 +05:30
Marc Delisle
69052a0663 Fix coding style
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-12-07 18:40:53 -05:00
Marc Delisle
f87458719e Merge branch 'QA_4_3' 2014-12-07 06:41:20 -05:00
Robert Scheck
d9468e3fff Bug #4623 Incomplete PHP OpenSSL support
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-12-07 06:37:15 -05:00
Madhura Jayaratne
478e781f1b Replace more instances of .live() and .die() with .on() and .off()
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2014-12-04 18:33:37 +05:30
Marc Delisle
41c02abc41 Merge branch 'MAINT_4_3_0' into QA_4_3 2014-12-03 09:02:25 -05:00
Madhura Jayaratne
a4e8d008f4 bug #4611 [security] DOS attack with long passwords
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-12-03 08:50:14 -05:00
Michal Čihař
2ce7aa70c4 Move storing password/username after checking password
The cookie encryption is quite expensive, so let's move it after we
check password validity.

Signed-off-by: Michal Čihař <michal@cihar.com>
2014-12-01 09:50:16 +01:00
Madhura Jayaratne
eb79ad9181 Fix typo
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2014-11-28 11:09:04 +05:30
Madhura Jayaratne
ea7ca462e5 Document what these flags do
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2014-11-28 10:57:19 +05:30
Madhura Jayaratne
5e1ab952b8 Use a separate flag to avoid confusion
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2014-11-28 10:56:52 +05:30
Madhura Jayaratne
b92d3e1047 Workaround for token mismatch error on server session timeout for config and http authentication types
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2014-11-28 10:56:28 +05:30
Marc Delisle
9e9d9c08c7 Fix typos
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-11-26 07:46:06 -05:00
Marc Delisle
6f8a253daf Merge pull request #1407 from madhuracj/tokenMismatch
Workaround for token mismatch error on server session timeout for config and http authentication types
2014-11-26 07:42:46 -05:00
Madhura Jayaratne
090c10cccf Document what these flags do
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2014-11-26 09:39:16 +05:30
Madhura Jayaratne
5e3a4451e6 Use a separate flag to avoid confusion
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2014-11-26 08:41:33 +05:30
Madhura Jayaratne
783cacbd1e Workaround for token mismatch error on server session timeout for config and http authentication types
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2014-11-20 17:37:39 +05:30
Michal Čihař
8fc377d83a Share code for resetting IV size
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-11-20 10:27:01 +01:00
Michal Čihař
5f1a5a78bc Shared check for OpenSSL support
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-11-20 10:14:47 +01:00
Robert Scheck
491c426623 Patch by Robert Scheck <robert@fedoraproject.org> for phpMyAdmin 4.2.6
which enhances cookie encryption/decryption by the optional usage of
PHP OpenSSL. Unfortunately PHP Mcrypt is not shipped by all Linux
distributions however PHP OpenSSL is often enabled by default.
PHP < 5.3.4 does not support passing an IV, thus this has been added as
a requirement. I could have used 'BF-CBC' rather 'AES-128-CBC' but Blowfish
(even it is fast) is seen by experts as weaker algorithm than
AES. If this should be a show-stopper for upstream merging just replace
'AES-128-CBC' by 'BF-CBC', please.

Patch adapted for 4.3.x and tests modified by Marc Delisle

Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-11-19 07:38:32 -05:00
Madhura Jayaratne
0bca6a096f Determine the databases the user has access to based on GRANTs and query only for them
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2014-11-06 08:13:58 +05:30
Hugues Peccatte
42e0bdd47a Fix typos.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-11-02 18:32:42 +01:00
Hugues Peccatte
fd7f02f929 Fix typos.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-11-02 14:33:41 +01:00
Hugues Peccatte
58ed27560c Reverse modification to fix PHPUnit issue.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-11-01 22:10:51 +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
e17de11c74 Improve multibytes string manipulation performances.
Review SQL import process.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-10-30 17:40:09 +01:00
Hugues Peccatte
74f0beda8f Fix syntax error.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-10-20 20:56:12 +02:00
Ann + J.M
a540e6ba87 More fixes to new PMA_URL_getCommon style
Signed-off-by: Ann + J.M <phpMyAdmin@ZweiSteinSoft.de>
2014-10-18 19:42:39 +02:00
Ann + J.M
b1a7039ae3 Convert PMA_URL_getCommon calls to new style
Rewritten tests need validation
Signed-Off-By: Ann + J.M. <phpMyAdmin@ZweiSteinSoft.de>
2014-10-18 19:42:29 +02:00
Madhura Jayaratne
ae148f37e6 Merge branch 'QA_4_2' 2014-10-17 13:16:45 +05:30
Madhura Jayaratne
bdd76f18ce bug #4259 reCaptcha sound session expired problem
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2014-10-17 13:14:28 +05:30