Commit Graph

777 Commits

Author SHA1 Message Date
Michal Čihař
a7bcbbc35f Wrap long line
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-06-12 10:51:29 +02:00
Michal Čihař
20640592f0 Always use phpseclib for cookie encryption
- it provides fallback in case mcrypt is not found
- we now use AES in both mcrypt and PHP code case
- cleanup the code by removing mcrypt conditials
- rename some methods and cookies so that they don't refer to
  implementation details
- switching encryption implementations no longer invalidates the
  credentials

Signed-off-by: Michal Čihař <michal@cihar.com>
2014-06-12 10:39:52 +02:00
Michal Čihař
0652ca9ccd Merge remote-tracking branch 'origin/QA_4_2' 2014-06-12 10:19:00 +02:00
Michal Čihař
bc60315023 Adjust tests to new IV logic
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-06-12 10:18:45 +02:00
Marc Delisle
a83ca5d73b Fix merge conflict
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-06-10 12:43:07 -04:00
Chirayu Chiripal
ff688b18fb Bug-4448: Dump binary columns in hexadecimal notation not working and hex_for_blob -> hex_for_binary
Signed-off-by: Chirayu Chiripal <chirayu.chiripal@gmail.com>
2014-06-10 19:00:16 +05:30
Chirayu Chiripal
33dfef377f RFE-759 Use aliases in SQL export for tables and columns
Signed-off-by: Chirayu Chiripal <chirayu.chiripal@gmail.com>
2014-06-09 22:44:07 +05:30
Michal Čihař
c9dc5611ee Fix type string for longtext
It has to be checked before "long", otherwise it matches first.

Signed-off-by: Michal Čihař <michal@cihar.com>
2014-06-06 15:46:34 +02:00
Michal Čihař
dfacd8ad14 Check for correct return type
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-06-06 15:46:34 +02:00
Michal Čihař
fbd5c4ff65 Share code for rendering storage engine subpages
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-06-06 14:59:22 +02:00
Michal Čihař
3e4da830ee Correctly set static properties in testsuite
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-06-06 13:01:14 +02:00
Marc Delisle
c8e33b2a96 Fix coding style
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-06-03 12:59:55 -04:00
Marc Delisle
84f135d048 Fix coding style
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-06-03 12:40:21 -04:00
Marc Delisle
f9a0e1e8e9 Unused code or parameter
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-05-29 12:39:36 -04:00
Hugues Peccatte
d5b53ae9b8 Fix unit test.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-05-25 12:21:20 +02:00
Marc Delisle
9373e1b204 Fix merge conflict
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-05-23 10:21:37 -04:00
Ann + J.M
5ddd0c1990 Code style fixes
Signed-off-by: Ann + J.M <phpMyAdmin@ZweiSteinSoft.de>
2014-05-21 20:56:01 +02:00
Chirayu Chiripal
85390a7169 rfe-982: Support for editing binary fields in hexadecimal
Signed-off-by: Chirayu Chiripal <chirayu.chiripal@gmail.com>
2014-05-21 21:42:21 +05:30
Marc Delisle
49f1bdd822 Merge commit '0ee881d' 2014-05-16 12:20:52 -04:00
Marc Delisle
0ee881da71 bug #4395 BLOB link transformation is broken
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-05-16 09:56:47 -04:00
Michal Čihař
329deddbfd Let's have just one PMA_mimeDefaultFunction
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-05-10 14:53:49 +02:00
Michal Čihař
71c0eba99f Add test for NavigationTree::renderPath
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-05-10 12:48:16 +02:00
Madhura Jayaratne
d0fd5acc0f Revert 33a30ad7ae. Those funcitons are infact used.
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2014-05-10 12:04:36 +02:00
Madhura Jayaratne
33a30ad7ae These functions do not seem to be used anywhere, removing...
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2014-05-10 11:51:03 +02:00
Michal Čihař
72d180afd8 Add basic test for navigation tree
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-05-10 11:23:33 +02:00
Michal Čihař
725073709c Use token directly for session
There is no need to have intermediate global variable to store the token
once we have it in the session data.

Signed-off-by: Michal Čihař <michal@cihar.com>
2014-05-10 11:23:33 +02:00
Michal Čihař
3eccb9eb26 Improve signon-script example
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-05-09 18:07:39 +02:00
Michal Čihař
b1915bade0 The storeResult needs mysqli lin parameter to operate
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-05-09 16:29:56 +02:00
Michal Čihař
8bc5e560e8 Uset errno before testing
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-05-09 16:19:59 +02:00
Michal Čihař
2a66d750a4 Use correct mock value
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-05-09 16:11:30 +02:00
Michal Čihař
0f39a811ce The DBI->getError is no longer called twice
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-05-09 16:03:00 +02:00
Michal Čihař
514e1c6356 Include missing parameter
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-05-09 14:08:58 +02:00
Michal Čihař
1f669982f8 Adjust test to new API
Also mark as incomplete tests which really did not test anything.

Signed-off-by: Michal Čihař <michal@cihar.com>
2014-05-09 12:46:22 +02:00
Michal Čihař
1590e23868 We no longer need to mock the dbi object
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-05-09 11:56:45 +02:00
Michal Čihař
302bda9961 Fix typo in method name
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-05-09 11:27:55 +02:00
Michal Čihař
4631131cbc We default to TCP connection, so I believe this is correct value here
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-05-09 10:33:02 +02:00
Michal Čihař
6e6c513eed Fix typo in type name
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-05-08 18:04:07 +02:00
Michal Čihař
7996bd1c21 Move hex encoding back to getContent method
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-05-08 15:17:55 +02:00
Michal Čihař
708d058b63 Fix text expectations
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-05-08 14:46:47 +02:00
Michal Čihař
9f5d592ff3 Add method for getting transoformations options
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-05-06 15:35:58 +02:00
Michal Čihař
a679b8c476 Adjust expectations
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-05-06 14:32:56 +02:00
Hugues Peccatte
9870cb5142 Update DB group queries format.
Update DB group test.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-04-23 21:30:12 +02:00
Hugues Peccatte
ebc2739c89 Update documentation.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-04-22 21:36:26 +02:00
Marc Delisle
507fa83e7f Merge branch 'QA_4_1' 2014-04-07 13:09:32 -04:00
Marc Delisle
81ed4c9c83 bug #4355 Precision specifier for DOUBLE type is truncated
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-04-07 13:08:41 -04:00
Chanaka Indrajith
70c3ad7c27 Remove unneccessary tests
Signed-off-by: Chanaka Indrajith <pe.chanaka.ck@gmail.com>
2014-04-05 23:20:50 +05:30
Michal Čihař
7233657d4d Remove support for SQL validator
The SOAP service seems to be down for quite some time and it is not
mentioned anywhere on Mimer website.

Signed-off-by: Michal Čihař <michal@cihar.com>
2014-04-02 12:10:52 +02:00
Michal Čihař
c6cc2f70b1 Merge branch 'QA_4_1' 2014-04-02 09:15:25 +02:00
Michal Čihař
b80e73979b Fixed PHP Parse error in Advisor
There is one rule which needs to pass more values to format string and
the code did not properly handle this. Now evaluating params and passing
them to vsprintf to process the format string.

Signed-off-by: Michal Čihař <michal@cihar.com>
2014-04-02 09:14:15 +02:00
Michal Čihař
58fcc7bb32 Add test for double format values
bug #4347

Signed-off-by: Michal Čihař <michal@cihar.com>
2014-04-02 09:09:19 +02:00