1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-10-04 19:51:39 +02:00
Commit Graph

61 Commits

Author SHA1 Message Date
rxu
902c99bc0c [ticket/17535] Fix tests PHP deprecations and notices
PHPBB-17535
2025-07-18 13:14:06 +07:00
rxu
8a99024087 [ticket/17535] Convert config files, make data providers static
PHPBB-17535
2025-07-18 13:13:59 +07:00
rxu
d7db296eab [ticket/17535] Update PHPUnit to v.10
PHPBB-17535
2025-07-18 13:13:51 +07:00
Marc Alexander
9fbe00dd45 [ticket/17176] Fix some PHP 8.x deprecations and clean up test code
PHPBB3-17176
2023-09-18 19:28:22 +02:00
Marc Alexander
b46e242013 Merge branch 'ticket/15392' into ticket/15392-master 2021-03-04 17:04:17 +01:00
DinHere
8c9d26db1f [ticket/15392] Changed dirname(__FILE__) to __DIR__
Changed dirname(__FILE__) to __DIR__ everywhere

PHPBB3-15392
2021-03-03 22:24:10 +01:00
rxu
4c4debf004 [ticket/16549] PHPUnit function declarations tiny cleanup
PHPBB3-16549
2020-10-18 10:36:42 +07:00
rubencm
490ddbc2cd [ticket/16346] Fix method arguments
PHPBB3-16346
2020-08-14 18:42:50 +00:00
rubencm
774c609c4a [ticket/16345] Small improvements
PHPBB3-16346
2020-08-14 08:29:06 +00:00
JoshyPHP
2dbcad7840 [ticket/16342] Increase default hashing costs for Argon2 passwords
PHPBB3-16342
2020-01-28 01:42:39 +01:00
Marc Alexander
036871cd95 Merge pull request #5790 from rxu/ticket/16266
[ticket/16266] Fix argon2 driver issue for Sodium implementation
2019-12-29 21:43:06 +01:00
rxu
dcab076221 [ticket/16276] Further fix PHP nightly tests
PHPBB3-16276
2019-12-29 12:59:24 +07:00
rxu
37fddf8eef [ticket/16266] Fix tests
PHPBB3-16266
2019-12-28 23:55:31 +07:00
Marc Alexander
0cbe05faad [ticket/12574] Remove special cases for PHP < 5.3.7
PHPBB3-12574
2019-11-16 16:02:44 +01:00
JoshyPHP
860a370e8f [ticket/16017] Add support for Argon2id as default password hashing
PHPBB3-16017
2019-07-23 21:30:28 +02:00
Marc Alexander
ebac54aa9e [ticket/14948] Adjust calls for twig and phpunit updates
PHPBB3-14948
2019-05-09 21:40:06 +02:00
JoshyPHP
2ff5871ff4 [ticket/15646] Added support for Argon2i passwords
PHPBB3-15646
2019-05-08 22:26:23 +02:00
rxu
42b7782927 [ticket/14972] Migrate from deprecated getMock() method to createMock()
PHPBB3-14972
2019-05-08 21:57:00 +02:00
Marc Alexander
380be9f1fd [ticket/14733] Make sure detect_algorithm() works correctly and add tests
detect_algorithm() returned array() if an algorithm prefix was more than 2
characters long. This might have been invalid for other prefixes. In order
to correctly cope with other prefixes, another check for a backslash in the
prefix definitino has been added.
This was discovered while writing the tests for the newly added interface.

PHPBB3-14733
2016-10-03 22:09:28 +02:00
Marc Alexander
1d40c0f43b [ticket/14733] Support increasing hashing cost factor
PHPBB3-14733
2016-10-03 22:09:07 +02:00
Marc Alexander
cf9d1fbd1a [ticket/13203] Fix passwords manager tests
PHPBB3-13203
2014-10-22 15:09:58 -05:00
Marc Alexander
0bc04a4df0 [ticket/13203] Use string_compare method in passwords drivers
PHPBB3-13203
2014-10-22 14:54:55 -05:00
Marc Alexander
2b47ef1266 [ticket/13203] Add method for byte by byte comparison to drivers helper
PHPBB3-13203
2014-10-22 14:54:22 -05:00
Marc Alexander
fcaae9b047 [ticket/12352] Check each newly added passwords driver in manager_test
PHPBB3-12352
2014-06-01 21:31:05 +02:00
Marc Alexander
4b3aacfd18 [ticket/12352] Add get_settings_only method to passwords driver base
PHPBB3-12352
2014-06-01 21:31:05 +02:00
Marc Alexander
f3eba6275a [ticket/12352] Add passwords driver for xenforo 1.0, 1.1 passwords
PHPBB3-12352
2014-06-01 21:31:05 +02:00
Marc Alexander
97c36b00b3 [ticket/12352] Add tests for wcf1 and wcf2 drivers
PHPBB3-12352
2014-06-01 21:31:05 +02:00
Marc Alexander
cf61d35d75 [ticket/12352] Add driver for woltlab community framework 1 passwords
PHPBB3-12352
2014-06-01 21:31:05 +02:00
Marc Alexander
2d7593995e [ticket/12352] Add driver for woltlab community framework 2 passwords
PHPBB3-12352
2014-06-01 21:31:05 +02:00
Marc Alexander
146d3cfe75 [ticket/12352] Fix spacing in passwords tests
PHPBB3-12352
2014-06-01 21:31:05 +02:00
Marc Alexander
c6e1b51d78 [ticket/12352] Add passwords driver for vB passwords
PHPBB3-12352
2014-06-01 21:31:05 +02:00
Marc Alexander
252a061864 [ticket/12352] Use correct hashing method in md5_mybb driver
PHPBB3-12352
2014-06-01 21:31:05 +02:00
Marc Alexander
af25aef04c [ticket/12352] Add driver for myBB md5 passwords
PHPBB3-12352
2014-06-01 21:31:05 +02:00
Marc Alexander
dc5a5a7cdf [ticket/12352] Rename phpbb2_md5 driver to fit filenames of other drivers
PHPBB3-12352
2014-06-01 21:31:05 +02:00
Marc Alexander
033272f968 [ticket/12352] Add passwords driver for sha1 password hashes
PHPBB3-12352
2014-06-01 21:31:04 +02:00
Marc Alexander
b35ed3bc69 [ticket/12352] Add tests for functions in convert password driver
PHPBB3-12352
2014-06-01 21:31:04 +02:00
Marc Alexander
3508409c89 [ticket/12352] Add tests for phpBB2 md5 passwords driver
PHPBB3-12352
2014-06-01 21:31:04 +02:00
Marc Alexander
1e758ba7f0 [ticket/12352] Add passwords driver for passwords that should be converted
This driver will only be used for getting the new $CP$ prefix that will signal
that the hash is a legacy hash that needs to be converted.

PHPBB3-12352
2014-06-01 21:31:04 +02:00
Marc Alexander
57e4fb3810 [ticket/12352] Add tests for checking smf passwords
PHPBB3-12352
2014-06-01 21:31:04 +02:00
Marc Alexander
2ea45a06e7 [ticket/12352] Add legacy passwords driver for sha1 smf type passwords
PHPBB3-12352
2014-06-01 21:31:04 +02:00
Yuriy Rusko
a759704b39 [ticket/12594] Remove @package tags and update file headers
PHPBB3-12594
2014-05-27 20:51:13 +02:00
Joas Schilling
e9dabb0903 [ticket/12486] Rename data provider to fix "Risky" from phpunit
PHPBB3-12486
2014-05-05 18:19:12 +02:00
Joas Schilling
baef26f7ed [ticket/12503] All tests should extend \phpbb_test_case
PHPBB3-12503
2014-05-05 18:16:50 +02:00
Marc Alexander
06aa3d948a [ticket/12354] Assert same instead of equal where necessary in passwords tests
In some tests we try to make sure that we do not get the same output in a
limited timeframe. These tests should use assertSame/NotSame instead of
assertEqual/NotEqual.

PHPBB3-12354
2014-04-05 11:51:38 +02:00
Marc Alexander
b094c79996 [feature/passwords] Move combined hashing methods to manager
This will get rid of the circular dependency between the passwords manager
and the passwords helper. The combined_hash_password() method was also
slightly changed to allow both the definitions of service names or prefixes
for the hash types.

PHPBB3-11610
2014-02-02 14:57:43 +01:00
Marc Alexander
292961a277 [feature/passwords] Get rid of set_name/get_name methods for passwords drivers
PHPBB3-11610
2014-02-02 14:09:09 +01:00
Marc Alexander
a4d50d52b6 [feature/passwords] Use correct default type in manager_test
PHPBB3-11610
2013-10-27 14:29:36 +01:00
Marc Alexander
5193b3279c [feature/passwords] Pass list of default types to passwords manager
This list is in the order of how the driver types would be used. If a driver
is not supported we will try the subsequent one.

PHPBB3-11610
2013-10-27 14:18:02 +01:00
Marc Alexander
7c347864a4 [feature/passwords] Fix tests for 8th bit characters in bcrypt on PHP < 5.3.7
PHPBB3-11610
2013-10-10 12:09:50 +02:00
Marc Alexander
fdf9ae7c18 [feature/passwords] Increase test coverage to 100% of methods
Obsolete code that is impossible to hit has been removed and the logic
of the salted md5 driver has been changed to correctly implement the
phpBB 3.0 phpbb_hash() function.

PHPBB3-11610
2013-10-10 12:01:10 +02:00