Commit Graph

2364 Commits

Author SHA1 Message Date
Isaac Bennetch
095cb4d5a2 Fix phpcs test errors
Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
2020-03-22 23:08:22 -04:00
Isaac Bennetch
6f698b87b3 Fix tests for phpunit 9
Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
2020-03-20 23:02:44 -04:00
Isaac Bennetch
8c847c55ca Merge branch 'QA_4_9' into QA_5_0 2020-03-20 23:01:53 -04:00
Isaac Bennetch
2ee7e9840f Fix transformation test
Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
2020-03-20 23:00:57 -04:00
Isaac Bennetch
0d4c7c66a5 Merge branch 'QA_4_9' into QA_5_0 2020-03-20 22:01:14 -04:00
Maurício Meneghini Fauth
46a7aa7cd4 Fix Display\ResultsTest errors
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-03-05 18:49:50 -03:00
William Desportes
f6af795eb3
Add test case for #15898
Depends on 20e3d2fa9f

Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-02-28 23:12:31 +01:00
William Desportes
20e3d2fa9f
Implement a mysql like escapeString method
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-02-28 23:05:48 +01:00
William Desportes
e671ee3ebb
Fix #15282 - MySQL 8.0 password syntax error when creating a replication user
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-02-23 00:39:06 +01:00
William Desportes
818b9f76bf
Fix more broken queries on Windows CI
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-02-22 16:59:26 +01:00
William Desportes
6bf1309d12
Add a test for escapeString
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-02-22 16:59:26 +01:00
William Desportes
9ed31d6fa1
Fix #15830 - strftime issue on windows for Japanese users
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-02-22 14:50:38 +01:00
William Desportes
1e384979ad
Fix ja translation detection for data depending on translations
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-02-15 11:06:29 +01:00
William Desportes
74f7e7b0f0
Fix CR vs CRLF issue for testSendHeaderLocationIisLongUri on Windows
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-02-15 01:39:36 +01:00
William Desportes
a865a641b0
Fix CR vs CRLF issue for testGetSQLQuery on Windows
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-02-15 01:32:35 +01:00
William Desportes
e0c204e971
Fix CR vs CRLF issue for testGetPageBufferpool on Windows
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-02-15 01:22:11 +01:00
Gaurav Punjabi
96260d9192
Added a condition to find the latest compatible version
Co-authored-by: William Desportes <williamdes@wdes.fr>
Signed-off-by: Gaurav Punjabi <gaurav.bpunjabi@gmail.com>
2020-02-14 08:52:16 +01:00
William Desportes
796e24cc9c
Fix tests for #15830 - set back locale to 'en' and add test case
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-02-12 23:46:08 +01:00
William Desportes
e0074f053a
Improve tests for #15830 and fix coding standard errors
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-02-12 23:32:05 +01:00
William Desportes
190ad754bc
Improve tests for #15830
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-02-12 23:29:47 +01:00
William Desportes
14edb793b6
Fix test after #15901 - Fix #15795 - Broken link on "MySQL said"
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-02-12 22:58:51 +01:00
Gaurav Punjabi
87aa7b0dc7
Revert "Added a condition to find the latest compatible version"
This reverts commit d26b9fb543.
Sorry for that error
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-02-11 23:54:08 +01:00
Gaurav Punjabi
d26b9fb543
Added a condition to find the latest compatible version
Signed-off-by: Gaurav Punjabi <gaurav.bpunjabi@gmail.com>
2020-02-11 23:51:52 +01:00
William Desportes
71a02a92d4
Fix edge cases on #15200 - server-side HTTPS detection misses support for Forwarded HTTP Extension (RFC 7239)
Ref: 6729c89b17 (r37198800)
Ref: 6729c89b17 (r37198800)

Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-02-11 23:42:15 +01:00
Max Base
efb5bfdc89
Fix #15926 - PhpMyAdmin\Core::getRealSize
Signed-off-by: Seyyed Ali Mohammadieh <Max@Asrez.com>
2020-02-10 08:34:24 +01:00
William Desportes
6729c89b17
Fix php notices on #15200 - server-side HTTPS detection misses support for Forwarded HTTP Extension (RFC 7239)
Ref: 3db8949ad3 (commitcomment-37079212)
Fixes: 3db8949ad3

Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-02-07 16:12:12 +01:00
William Desportes
16f3eb7cc5
Merge #15837 - Fix #15836 designer move menu icon not changing directions
Pull-request: #15837
Fixes: #15836
Closes: #15835
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-01-28 19:46:03 +01:00
corey buckley
fcb451d70b
Tests added for convertBitDefaultValue. Consider valid database names with single quotes. Change regex to only replace if digits between b'..'
Signed-off-by: Corey Buckley <coreybuckley13@gmail.com>
2020-01-25 21:00:53 +01:00
William Desportes
3db8949ad3
Fix #15200 - server-side HTTPS detection misses support for Forwarded HTTP Extension (RFC 7239)
Fixes: #15200
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-01-24 22:56:55 +01:00
William Desportes
6dfa603f0c
Add test for Form::cleanGroupPaths
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-01-22 23:07:40 +01:00
William Desportes
187194b7e6
Merge #15805 - Fix #15802 - removed SET AUTOCOMMIT=0 from export
Fixes: #15802
Pull-request: #15805
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-01-19 14:10:35 +01:00
William Desportes
af100abddf
Add more tests for testCookieDecrypt
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-01-07 19:07:27 +01:00
bepsvpt
fd553a45d5
Update and revert "Remove a test that can not be predictible"
This reverts commit a6155da6a9.

Co-authored-by: bepsvpt <og7lsrszah6y3lz@infinitefa.email>

Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-01-07 21:02:04 +08:00
William Desportes
a6155da6a9
Remove a test that can not be predictible
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-01-07 00:28:35 +01:00
William Desportes
a5ec07f0e9
Merge #15753 - fix #14875 shp import tests where failing
Pull-request: #15753
Fixes: #14875
Closes: #15753
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-01-06 23:40:56 +01:00
bepsvpt
879b7fe681
fix #14875 - fix shp filename sanitization and update test
Co-authored-by: bepsvpt <og7lsrszah6y3lz@infinitefa.email>

Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-01-06 23:00:55 +01:00
William Desportes
21c2bcdbb3
Add Unit tests
Closes #15752

Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-01-06 21:45:49 +01:00
William Desportes
e1b1f155ef
Add a test for pull-request #15666
Signed-off-by: William Desportes <williamdes@wdes.fr>
2019-12-30 18:44:29 +01:00
Yunhao Tian
56be819ee4
Renders absolutely nothing when header is not enabled.
When downloading blob data from database, the header template will be rendered as `\n` which adds an extra 0x0A at the beginning of the blob data. This fixes the problem.

Signed-off-by: Yunhao Tian <18373444@buaa.edu.cn>
2019-12-30 18:42:05 +01:00
William Desportes
49513022df
Merge branch 'QA_4_9' into QA_5_0
Signed-off-by: William Desportes <williamdes@wdes.fr>
2019-12-24 21:30:52 +01:00
William Desportes
0c80c0eaa3
Add a group to exclude a test on debian
Signed-off-by: William Desportes <williamdes@wdes.fr>
2019-12-24 20:26:02 +01:00
William Desportes
aa2f369bf3
Merge branch 'QA_4_9' into QA_5_0
Signed-off-by: William Desportes <williamdes@wdes.fr>
2019-12-21 20:27:25 +01:00
William Desportes
d40f89ebd9
Fix a possible php7.4 error / failing tests
"Trying to access array offset on value of type null"

Signed-off-by: William Desportes <williamdes@wdes.fr>
2019-12-21 16:38:21 +01:00
Maurício Meneghini Fauth
73c1ff9875 Fix Plugins/Auth/AuthenticationCookieTest.php
Related to commit 9f32a895b5.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
(cherry picked from commit 39770eec88)
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-12-17 22:52:34 -03:00
William Desportes
f00273209e
Fix a phpstan error
Signed-off-by: William Desportes <williamdes@wdes.fr>
2019-12-16 23:46:38 +01:00
William Desportes
850c125684
Fix #14732 Can't rename primary key with auto increment
Signed-off-by: William Desportes <williamdes@wdes.fr>
2019-12-16 23:46:35 +01:00
William Desportes
5e271bd93b
Merge branch 'QA_4_9' into QA_5_0
Signed-off-by: William Desportes <williamdes@wdes.fr>
2019-12-09 21:16:43 +01:00
William Desportes
fd2b172365
Fix #15621 - Support CloudFront-Forwarded-Proto header
Signed-off-by: William Desportes <williamdes@wdes.fr>
2019-12-09 21:10:12 +01:00
William Desportes
86a536451b
Improve test suite because php-bz2 can be not installed
Signed-off-by: William Desportes <williamdes@wdes.fr>
2019-12-05 21:23:46 +01:00
William Desportes
59f5cdea43
Merge branch 'QA_4_9' into QA_5_0
Signed-off-by: William Desportes <williamdes@wdes.fr>
2019-12-05 21:13:59 +01:00