Commit Graph

92 Commits

Author SHA1 Message Date
Hugues Peccatte
126eab2ffe Replace deprecated unescape function by decodeURI.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-07-20 23:39:49 +02:00
Hugues Peccatte
4dadfa16b2 Remove useless call function parameter.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-07-20 22:23:18 +02:00
Hugues Peccatte
7ae011d1a5 Merge pull request #1794 from Tithugues/templatingHeaderLocation
Templating header location
2015-07-19 21:53:34 +02:00
Hugues Peccatte
ad59cb9c20 Templating header location.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-07-19 17:36:06 +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
202b9ae661 Fix more method names in tests
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-04-28 15:51:56 +05:30
Madhura Jayaratne
57ecddfa56 Fix method names in tests
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-04-28 15:42:32 +05:30
Marc Delisle
2a7f1ed42e Remove code duplication
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-02-14 06:12:53 -05:00
Hugues Peccatte
0ee7063220 Replace PMA_String calls by mb_* calls in tests.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-09-29 18:52:54 +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
Ashutosh Dhundhara
35dab58bf5 RFE#1492: Remove the distinct query window.
Signed-off-by: Ashutosh Dhundhara <ashutoshdhundhara@yahoo.com>
2014-08-12 01:47:20 +05:30
Marc Delisle
84f135d048 Fix coding style
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-06-03 12:40:21 -04:00
Hugues Peccatte
7193726c9a Fix PHPCS issues.
Update PHPDoc.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-04-26 19:26:19 +02:00
Michal Čihař
a3e05a32ef Add test for double call of PMA_arrayWalkRecursive
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-04-10 13:30:44 +02:00
Hugues Peccatte
3f5f8eac71 Fix test.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-03-15 11:54:32 +01:00
Hugues Peccatte
c38b78defb PHPCS updates.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-03-15 11:46:16 +01:00
Hugues Peccatte
9290c6857e PHPCS updates.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-03-14 20:58:33 +01:00
Jeff Chan
896fe8169a Fix PMA_arrayWalkRecursive to ensure single pass thru keys
Fix a bug with PMA_arrayWalkRecursive that causes it to apply a function
to its keys/values more than once. A previously incorrect test is fixed
as well.

The bug happens because when keys are modified, PHP's foreach loops
through the new keys again. This does not usually happen unless the
iterating array is passed through by reference (or has refcount=1).
See: http://stackoverflow.com/a/14854568/791890

Please see #936 for full explanation.

Signed-off-by: Jeff Chan <jefftchan@gmail.com>
2014-02-17 03:09:34 +00:00
Dhananjay
0a18d86059 Fix for bug#4237.
Signed-off-by: Dhananjay <dhananjaynakrani@gmail.com>
2014-02-07 11:56:46 +05:30
Hugues Peccatte
ae0c9218ce PHPDoc update.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-01-09 20:51:40 +01:00
Hugues Peccatte
f7d5da319e Fix coding style.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-01-09 18:22:11 +01:00
Marc Delisle
2a8962aa95 Signed-off-by: Marc Delisle <marc@infomarc.info>
Added warning about the mysql extension being deprecated
and removed the extension directive
2013-12-14 14:26:12 -05:00
Hugues Peccatte
32a6150272 Fix PHPCS new errors.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2013-12-09 08:09:42 +01:00
Hugues Peccatte
b76f616079 Fix unit test.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2013-12-08 11:16:07 +01:00
Hugues Peccatte
226ae34061 New unit tests.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2013-12-07 20:01:49 +01:00
Marc Delisle
946bf10276 Fix coding style 2013-11-18 07:32:20 -05:00
Michal Čihař
778369595c Simplify test method name, no need to repeat class name 2013-10-02 13:37:21 +02:00
Dieter Adriaenssens
eeadd6ae42 remove unused code 2013-09-09 18:19:00 +02:00
Michal Čihař
0a3d1d5be8 Better names for URL generating functions 2013-08-07 10:58:17 +02:00
Michal Čihař
a2e9ee199e Migrate PMA_sendHeaderLocation testing to shared header testing code 2013-07-15 10:42:41 +02:00
Michal Čihař
34dce1d3b4 Various coding style improvements 2013-06-11 16:27:31 +02:00
Michal Čihař
8b9fa8aa36 Do not set language in every test 2013-06-11 14:02:49 +02:00
Michal Čihař
ba9cff2736 Set token in single place for all tests 2013-06-11 13:53:31 +02:00
Madhura Jayaratne
0dab7f2463 Separate DatabaseInterface class and creation of an instance of it 2013-05-26 21:28:42 +05:30
Madhura Jayaratne
650a8cdda3 Convert database interface to a class 2013-05-24 17:30:59 +05:30
Michal Čihař
4382c7385c Wrap some long lines 2013-05-02 16:03:51 +02:00
Michal Čihař
92c76b9630 Various class name improvements in testsuite 2013-05-02 15:57:09 +02:00
Michal Čihař
a9e12ddec7 Various coding style improvements 2013-03-01 09:54:26 +01:00
ayushchd
f786c4c83a Added another assertion for testSendHeaderLocationWithoutSidWithIis
Also fixed the syntax for getting user defined constants as previous
one was failing the Travid build
2013-02-28 22:01:35 +05:30
ayushchd
12f2c08aff Fixed test failures and errors caused in tests using the runkit extension
Fixed:

1. errors pertaining to runkit extension in tests under
PMA_headerLocation_test.php
2. errors pertaining to runkit extension in tests under
PMA_whichCrlf_test.php
3. failed test: testSendHeaderLocationWithoutSidWithIis()
2013-02-28 20:54:24 +05:30
Michal Čihař
d64daa0cdb Include some possibly missing variables 2013-02-12 14:09:06 +01:00
Dieter Adriaenssens
d7f02a4598 wrap long lines 2013-01-15 20:03:39 +01:00
Dieter Adriaenssens
ead7b1a95d use include_once when including a file conditionally 2013-01-15 19:59:21 +01:00
Marc Delisle
0fb7b5907d Fix merge conflicts 2013-01-15 12:50:14 -05:00
Marc Delisle
373a7a025e bug #3599362 [core] Double-escaped error message 2013-01-15 12:42:04 -05:00
Marc Delisle
95fa48fc8e Remove remaining code in tbl_alter.php 2012-12-18 15:44:39 -05:00
Rouslan Placella
eedf07e915 Dropped getReloadNavigationScript(), this is already handled by Footer.class.php 2012-10-30 20:23:59 +00:00
Rouslan Placella
9e3a9ee52f Dropped main.php 2012-10-30 20:10:20 +00:00
Madhura Jayaratne
0c48470d83 Fix tag order 2012-09-22 22:26:48 +05:30
Chanaka Indrajith
9cf33ea0cc Resolved conflicts 2012-09-19 00:46:28 +05:30