Commit Graph

391 Commits

Author SHA1 Message Date
Maurício Meneghini Fauth
bd73df573c Rename MrgMyisamTest and TablePropertyTest
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-05-04 19:49:57 -03:00
Maurício Meneghini Fauth
0e236f43bf Rename export plugins helpers
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-05-04 19:33:55 -03:00
Maurício Meneghini Fauth
290b183d03 Fix errors detected by PHP_CodeSniffer
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-04-15 00:05:19 -03:00
Maurício Meneghini Fauth
5366c507a5 Fix coding standard errors using vendor/bin/phpcbf
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-03-21 23:16:32 -03:00
Michal Čihař
0700cee6e3 Merge pull request #13024 from nijel/remove-unused-auth-code
Remove no longer needed code in authentication
2017-03-16 15:50:46 +01:00
Osaid Rehman Nasir
7c22af6d78 Added change password test
Issue #12393

Signed-off-by: osaid <osaid.nasir@gmail.com>
2017-03-16 15:49:14 +01:00
Michal Čihař
4ca1f8bd27 Remove no longer needed code in authentication
The code is incosistent between auth methods and I don't see any purpose
for it.

Fixes #12478
Fixes #13003

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-02-20 17:39:21 +01:00
Michal Čihař
1f819d8d50 Coding style improvements to #13011
- use camel case for function names
- move initialization to existing on load block

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-02-20 16:32:01 +01:00
Shreyas Sinha
c433b571b4
Pass Google reCAPTCHA with the submit button
Signed-off-by: Shreyas Sinha <shreyas.sinha14@gmail.com>
2017-02-20 11:12:34 +05:30
Michal Čihař
26d7d4269d Merge branch 'QA_4_7' 2017-02-14 17:01:07 +01:00
Michal Čihař
82f13e34d0 Better handle multiple open browser windows
Calculate session expiry per browser (tracking is based on
sessionStorage which is unique per tab). With this we're able to detect
that there is another window open and actively used and avoid logging it
out by inactive one.

Issue #11231

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-02-14 17:00:44 +01:00
Shreyas Sinha
1dfce55965 Incorrect protocol number at 401/303 headers (#12920)
Shared code for handling HTTP response codes and correctly
set it based on PHP SAPI.

Signed-off-by: Shreyas Sinha <shreyas.sinha14@gmail.com>
2017-02-14 13:20:13 +01:00
Michal Čihař
1b7914a4e5 Remove connect_type setting
It is really not necessary as MySQL decides connection type rather based
on hostname than on anything else.

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-02-02 16:08:44 +01:00
Michal Čihař
d2ade81788 Assert for language selection only in case locales are available
Fixes #12911

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-01-21 12:46:42 +01:00
Michal Čihař
815149c3f9 Share more of response mocking
Issue #12079

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-01-18 16:32:19 +01:00
Michal Čihař
028f32da5f Share more code for reponse mocking
Issue #12079

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-01-18 16:14:25 +01:00
Michal Čihař
ffb28560c7 Merge pull request #12879 from ragnerok/patch
use shared response mock
2017-01-18 10:03:39 +01:00
Isaac Bennetch
77c33d0444 Rename Relations to Relationships in many places; Fixes issue #12536
Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
2017-01-13 18:20:30 -05:00
osaid
f98832c691 remove tab and unused code
Signed-off-by: osaid <osaid.nasir@gmail.com>
2017-01-08 19:21:47 +05:30
osaid
528d702e6b use shared response mock
Signed-off-by: osaid <osaid.nasir@gmail.com>
2017-01-08 19:04:03 +05:30
Michal Čihař
3c2867c02a Use shared response mock in cookie auth tests
Issue #12079

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-01-08 10:51:25 +01:00
Michal Čihař
10416615cd Merge remote-tracking branch 'origin/pull/12799' 2017-01-02 16:15:58 +01:00
Michal Čihař
92aa487c54 Merge branch 'QA_4_6' 2016-12-20 14:44:03 +01:00
Michal Čihař
09da5eb49f Test both with and without phpseclib
This ensures we generate compatible data in both cases.

Issue #12293

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-12-20 14:40:31 +01:00
Michal Čihař
30cd5fc358 Use same encryption key with openssl and phpseclib
Issue #12293

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-12-20 14:38:34 +01:00
Michal Čihař
6bf4f3bf39 Merge branch 'QA_4_6' 2016-12-19 16:20:57 +01:00
Michal Čihař
a856a61c9d Fix HTTP auth test expectations
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-12-19 16:20:51 +01:00
Ashus
40825597df Fixed tests for SignonCookieParams parameter
Signed-off-by: Ashus <github.com@ashus.net>
2016-12-10 17:19:25 +01:00
Ashus
e63ffe1ab8 Added SignonCookieParams parameter
Signed-off-by: Ashus <github.com@ashus.net>
2016-12-10 15:52:44 +01:00
Michal Čihař
f86aca5b80 Merge branch 'QA_4_6' 2016-12-06 10:48:16 +01:00
Michal Čihař
ec9139edef Do not try to run gd based tests if gd extension is not there
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-12-06 10:44:06 +01:00
Michal Čihař
dad93483c1 Merge branch 'QA_4_6' 2016-11-10 11:08:36 +01:00
Deven Bansod
06e9b62a25 Remove tests against unsupported versions
Remove duplicate test, fix other tests

Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2016-11-07 20:42:28 +05:30
Deven Bansod
67501106e0 clear some more tests
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2016-11-07 11:51:47 +05:30
Deven Bansod
28a658fda0 Fix more tests
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2016-11-07 00:18:50 +05:30
Deven Bansod
0d03c97ce6 Fix more test errors
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2016-11-06 23:47:23 +05:30
Deven Bansod
3f48d9cb5f Fixed some more test errors
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2016-11-05 09:49:55 +05:30
Deven Bansod
8b6e102cf7 Fixed small error in XML test
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2016-11-04 20:54:23 +05:30
Deven Bansod
02dcfc8198 Fix errors with TrackerTest
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2016-11-04 19:16:01 +05:30
Deven Bansod
675186ee00 Fixed tests in Designer, Insert edit for, UserGroups, User preferences
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2016-11-04 18:17:31 +05:30
Deven Bansod
6a79e7c0c0 Fixed some tests in Export, Import and Node
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2016-11-04 14:21:02 +05:30
Deven Bansod
956f3179cb Fix Navigation tests and Export tests
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2016-11-04 11:55:46 +05:30
Deven Bansod
f14cffdbe7 Properly escape strings in MySQL statement values
Use *_real_escape string functions provided by connectors to escape strings while exporting

Fix #12453

Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>

Conflicts:
	libraries/server_privileges.lib.php
2016-10-29 10:45:12 +05:30
Deven Bansod
201ba095ce Adjust tests
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2016-10-14 10:01:04 +05:30
Deven Bansod
6ed1da5a45 Merge branch 'QA_4_6' 2016-10-14 09:59:32 +05:30
Deven Bansod
3accab1764 Adjust tests
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2016-10-14 09:55:50 +05:30
Michal Čihař
1d09172f14 Turn OpenDocument wrapper to a class
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-09-16 11:49:53 +02:00
Michal Čihař
23e01d306a Merge branch 'QA_4_6' 2016-08-17 15:38:22 +02:00
Michal Čihař
83476322ba Use PmaAbsolueUri for cookie path
Issue #12374

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-08-17 15:35:15 +02:00
Michal Čihař
7ef6fecb87 Merge branch 'master' into master-security 2016-08-01 11:07:33 +02:00