1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-30 19:24:13 +02:00

2316 Commits

Author SHA1 Message Date
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
ed1d4fe4a0 [ticket/12352] Revert to db auth provider if default does not exist
This will make sure that we will not encounter a non-existing auth provider.
We will revert to the default db auth provider if the one set in the config
does not exist in our auth provider collection.

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
Joas Schilling
9c2687ddc9 Merge pull request #2494 from Nicofuma/ticket/12589
[ticket/12589] Search directly in $directory if it's an absolute sub-path

* Nicofuma/ticket/12589:
  [ticket/12589] Add test searching in a non absolute directory
  [ticket/12589] Fix tests
  [ticket/12589] Search directly in $directory if it's an absolute sub-path
2014-05-31 01:35:10 +02:00
Joas Schilling
b92787a132 Merge pull request #2524 from bantu/ticket/12637
[ticket/12637] Correct file header in coding-guidelines

* bantu/ticket/12637:
  [ticket/12637] Fixup all incorrect uses of file header.
  [ticket/12637] Correctly escape the file header in coding-guidelines.html.
2014-05-30 23:22:49 +02:00
Joas Schilling
40218ba5e6 Merge pull request #2433 from Nicofuma/ticket/10899
[ticket/10899] Using Delete All in log viewer with keyword search

* Nicofuma/ticket/10899:
  [ticket/10899] Update doc block
  [ticket/10899] Use isset($field_value['IN'])
  [ticket/10899] Add event core.delete_log
  [ticket/10899] Remove trailing ;
  [ticket/10899] Fix typo in the class name
  [ticket/10899] Add unit tests
  [ticket/10899] Get $phpbb_log from the container
  [ticket/10899] Remove extra ';'
  [ticket/10899] Typo
  [ticket/10899] Refactoring in \phpbb\log\log_interface
  [ticket/10899] Using Delete All in log viewer with keyword search
2014-05-30 23:13:00 +02:00
Joas Schilling
9f87c497fe Merge pull request #2447 from n-aleha/ticket/11467
[ticket/11467] Add language variables for extension exception messages

* n-aleha/ticket/11467:
  [ticket/11467] Add user object to extension manager for tests
  [ticket/11467] Add language variables to tests
  [ticket/11467] Add language variables for extension exception messages
2014-05-30 23:01:19 +02:00
Andreas Fischer
21c6102d55 [ticket/12637] Fixup all incorrect uses of file header.
PHPBB3-12637
2014-05-30 22:34:26 +02:00
Andreas Fischer
bbb83c09c0 Merge pull request #2508 from ptitlazy/ticket/12597
[ticket/12597] Command for executing all available cron tasks

* ptitlazy/ticket/12597: (27 commits)
  [ticket/12597] Reformating an acp message
  [ticket/12597] Modifiying acp message
  [ticket/12597] Fix wrong global variable name
  [ticket/12597] Typo correction
  [ticket/12597] Typo corrections
  [ticket/12597] Changing place of lock release in execute() method
  [ticket/12597] Fix test file
  [ticket/12597] Typing corrections and improvement of code consistency
  [ticket/12597] Fix various mistakes
  [ticket/12597] Fix various mistakes
  [ticket/12597] Fix visibilty of two functions in run.php
  [ticket/12597] Refactoring and test improving
  [ticket/12597] Fix language key name
  [ticket/12597] Fix coding style and typing mistakes
  [ticket/12597] Changes name of command  cron:run-all to cron:run.
  [ticket/12597] Fix various problems
  [ticket/12597] Fix constructor bug and servral doc blocs
  [ticket/12597] Modification of return statuses and of test files
  [ticket/12597] Fix misplaced release of db lock
  [ticket/12597] Change EXECUTE to RUN in language
  ...
2014-05-30 20:12:15 +02:00
Joas Schilling
634824e888 [ticket/12594] Fix file headers of new files
PHPBB3-12594
2014-05-30 15:29:10 +02:00
LEZY Thomas
01dba249d7 [ticket/12597] Fix wrong global variable name
$pathEx changed to $phpEx

PHPBB3-12597
2014-05-29 18:27:00 +02:00
LEZY Thomas
2f2e404639 [ticket/12597] Fix test file
Fix bug of test_no_task that expected a message where none was supposed
to exist.

PHPBB3-12597
2014-05-29 17:40:57 +02:00
LEZY Thomas
e7fd259766 [ticket/12597] Refactoring and test improving
Adding tests of return status
Refactoring code
Adding consistency in verbose mode

PHPBB3-12597
2014-05-29 16:37:45 +02:00
Joas Schilling
cae8448fe4 Merge pull request #2432 from Nicofuma/ticket/11226
[ticket/11226] filespec::move_file() should error correctly

* Nicofuma/ticket/11226:
  [ticket/11226] Explicity set file_moved to false
  [ticket/11226] Add tests
  [ticket/11226] Use $user->lang()
  [ticket/11226] filespec::move_file() should error correctly
2014-05-29 00:15:10 +02:00
n-aleha
7f00c38c50 [ticket/11467] Add user object to extension manager for tests
PHPBB3-11467
2014-05-29 01:07:44 +03:00
n-aleha
56959a2f83 [ticket/11467] Add language variables to tests
Convert the hardcoded strings to language variables.

PHPBB3-11467
2014-05-29 01:07:44 +03:00
Joas Schilling
033df350d9 Merge pull request #2474 from PayBas/ticket/12561
[ticket/12561] Add "after" check to schema_generator for columns_add

* PayBas/ticket/12561:
  [ticket/12561] Reworked tests by nickvergessen
  [ticket/12561] Added tests for "after last", "after missing" and "empty"
  [ticket/12561] Add check to see if "after" column actually exists
  [ticket/12561] Added test for "after"
  [ticket/12561] Add "after" check to schema_generator for columns_add
2014-05-28 23:33:25 +02:00
Tristan Darricau
59f39273d4 [ticket/10899] Add event core.delete_log
PHPBB3-10899
2014-05-28 23:20:50 +02:00
Tristan Darricau
b75fb96bab [ticket/11226] Explicity set file_moved to false
PHPBB3-11226
2014-05-28 22:34:10 +02:00
Joas Schilling
e2308df14d Merge pull request #2426 from Nicofuma/ticket/12174
[ticket/12174] Update topic_attachment flag when a post is soft-deleted

* Nicofuma/ticket/12174:
  [ticket/12174] Add tests
  [ticket/12174] Coding style
  [ticket/12174] Remove $update_topic_attachments_flag
  [ticket/12174] Don't update the flag for a post without attachment
  [ticket/12174] Update the conditions
  [ticket/12174] Remove inline assignment
  [ticket/12174] Update sql query
  [ticket/12174] Revert the changes on $topic_update_array
  [ticket/12174] Corrections
  [ticket/12174] Update topic_attachment flag when a post is soft-deleted
2014-05-28 21:45:39 +02:00
LEZY Thomas
9f942776ad [ticket/12597] Changes name of command cron:run-all to cron:run.
Also adds an optional argument to specify one precise cron task to
lauch, and modifies test file accordingly.

PHPBB3-12597
2014-05-28 20:03:28 +02:00
LEZY Thomas
61ad42790f [ticket/12597] Fix various problems
Actually fix the return status of command cron:run-all
Fix some doc block coding style issue
Fix missing and obsolete file headers
Delete a useless constructor method

PHPBB3-12597
2014-05-28 19:22:25 +02:00
LEZY Thomas
18875894ec [ticket/12597] Fix constructor bug and servral doc blocs
PHPBB3-12597
2014-05-28 18:19:46 +02:00
LEZY Thomas
0d839cbefc [ticket/12597] Modification of return statuses and of test files
PHPBB3-12597
2014-05-28 18:02:30 +02:00
Tristan Darricau
ad4a373557 [ticket/12174] Add tests
PHPBB3-12174
2014-05-28 14:55:55 +02:00
LEZY Thomas
6f279c1bf4 [ticket/12597] Update pull-request
Removes a useless comment.
Switchs command name from cron:execute-all to cron:run-all.
Replaces assertEquals by assertSame

PHPBB3-12597
2014-05-28 14:49:55 +02:00
LEZY Thomas
50cb9d5838 [ticket/12597] Correcing coding style mistakes
PHPBB3-12597
2014-05-28 11:57:20 +02:00
LEZY Thomas
6f3276653f [ticket/12597] Improvement of test files
PHPBB3-12597
2014-05-28 11:12:50 +02:00
Tristan Darricau
6a3b343dfc [ticket/11226] Add tests
PHPBB3-11226
2014-05-28 10:53:19 +02:00
Tristan Darricau
dfec62c68d [ticket/10899] Fix typo in the class name
PHPBB3-10899
2014-05-28 01:14:36 +02:00
Yuriy Rusko
55e1f02151 [ticket/12594] Replace phpBB Group with phpBB Limited
PHPBB3-12594
2014-05-28 01:07:56 +02:00
Yuriy Rusko
2a42aee8ac Merge remote-tracking branch 'upstream/develop-ascraeus' into ticket/12594 2014-05-28 01:02:39 +02:00
Tristan Darricau
05e76e55e1 [ticket/10899] Add unit tests
PHPBB3-10899
2014-05-28 00:54:22 +02:00
Joas Schilling
83fc8725da Merge pull request #2453 from Nicofuma/ticket/12536
[ticket/12536] Get Versions Should Not Require Both Stable and Unstable

* Nicofuma/ticket/12536:
  [ticket/12536] Restore missing @throws
  [ticket/12536] Add test cases with empty versions list
  [ticket/12536] Use stable values when unstable are unavailable
  [ticket/12536] Update doc block
  [ticket/12536] Return empty array if stability unavailable
  [ticket/12536] Get Versions Should Not Require Both Stable and Unstable
2014-05-28 00:07:33 +02:00
Yuriy Rusko
1d61bcedfd Merge remote-tracking branch 'upstream/develop-ascraeus' into ticket/12594
Conflicts:
	phpBB/docs/hook_system.html
2014-05-27 21:55:40 +02:00
Yuriy Rusko
a759704b39 [ticket/12594] Remove @package tags and update file headers
PHPBB3-12594
2014-05-27 20:51:13 +02:00
LEZY Thomas
abb8a2892d [ticket/12597] Command for executing all available cron tasks
Command cron:execute-all executes all available cron tasks.
Test files in tests/console/cron folder

PHPBB3-12597
2014-05-27 18:37:37 +02:00
PayBas
9f37d414be [ticket/12561] Reworked tests by nickvergessen
PHPBB3-12561
2014-05-27 00:41:11 +02:00
Joas Schilling
275e56ce70 [ticket/12570] Remove test for affected rows after SELECT
It's not supposed to work

PHPBB3-12570
2014-05-26 21:43:40 +02:00
Joas Schilling
adc62684f0 [ticket/12570] Add a test for set_array() and updating with the same value
PHPBB3-12570
2014-05-26 21:43:39 +02:00
Joas Schilling
15516bd078 [ticket/12570] Add a unit test to show broken sql_affectedrows()
PHPBB3-12570
2014-05-26 21:43:37 +02:00
Joas Schilling
ce5258d801 [ticket/12570] Add test for updating a config with the same value
PHPBB3-12570
2014-05-26 21:43:36 +02:00