Commit graph

3890 commits

Author SHA1 Message Date
Joas Schilling
7a8a440895 [ticket/12002] Change functional test to use link hash
PHPBB3-12002
2013-11-08 14:08:55 +01:00
Joas Schilling
bf7eab423e [ticket/11994] Fix functional tests
PHPBB3-11994
2013-11-08 01:20:04 +01:00
Joas Schilling
d17bf9aa27 [ticket/11994] "Delete data" is only available for disabled extensions
PHPBB3-11994
2013-11-08 01:20:03 +01:00
Joas Schilling
12a6e2c603 [ticket/11994] Filter crawler for better search comparisons
PHPBB3-11994
2013-11-08 01:20:02 +01:00
Joas Schilling
40fcc906a2 [ticket/11994] Fix tests after uninstall rename
PHPBB3-11994
2013-11-08 01:20:00 +01:00
Joas Schilling
476464374a [ticket/11994] Update functional tests with display name
PHPBB3-11994
2013-11-08 01:19:58 +01:00
Joas Schilling
e60588a259 [ticket/11994] Replace spaces with tabs
PHPBB3-11994
2013-11-08 01:19:56 +01:00
Joas Schilling
f98ddb23e8 [ticket/11994] Fix functional extension tests
PHPBB3-11994
2013-11-08 01:19:55 +01:00
Joas Schilling
95348c8f6d [ticket/11927] Prefix function with phpbb_
PHPBB3-11927
2013-11-07 13:49:55 +01:00
Joas Schilling
7aa4d8fce2 [ticket/11927] Correctly add new files on update
Currently we ignore language and style files when the directory where they
go to do not exist. However in 3.1 we introduce some new sub directories:
* language/en/email/short/
* styles/prosilver/theme/en/
So we need to change our check to look whether the language or style exist,
rather then the parent directory.

PHPBB3-11927
2013-11-07 13:12:58 +01:00
Nathan Guse
cc54e6a9e5 Merge pull request #1819 from marc1706/ticket/11534
[ticket/11534] Check remote avatar content type if possible
2013-11-04 10:22:28 -08:00
Nathan Guse
c609f25bae [ticket/11943] Add test for DEFINE $VAR = false
PHPBB3-11943
2013-11-04 12:15:02 -06:00
Joas Schilling
e8a3028ea6 [ticket/11995] Remove exceptions and split reverse into different tests
PHPBB3-11995
2013-11-02 19:26:45 +01:00
Joas Schilling
a175b091b9 [ticket/11995] Add unit test for reverting config.remove
PHPBB3-11995
2013-11-02 18:12:50 +01:00
Marc Alexander
b2f638b793 [ticket/11857] Use passed service collection instead of container in manager
The service collection that was already passed to the avatar manager should
be used in the avatar manager method get_driver() instead of the container
itself.

PHPBB3-11857
2013-10-27 15:08:58 +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
760f148a2b [feature/passwords] Fix tests on PHP < 5.3.3 again
PHPBB3-11610
2013-10-27 13:22:53 +01:00
Marc Alexander
bb836b65e3 [feature/passwords] Integrate convert_flag with db auth provider
PHPBB3-11610
2013-10-25 15:21:09 +02:00
Marc Alexander
9b0b5481fe [ticket/11534] Check remote avatar content type if possible
This should make sure that error pages like 404 or 503 pages are not treated
as remote avatar images.

PHPBB3-11534
2013-10-24 23:43:40 +02:00
Marc Alexander
1f624e1367 [ticket/11842] Replace outdated occurences of user and group avatar_type
user_avatar_type und group_avatar_type are now a string and should therefore
be treated accordingly.

PHPBB3-11842
2013-10-24 21:41:41 +02:00
Marc Alexander
9d4d212e0f [ticket/11525] Only remove group or user prefix from given avatar data
Until now, the user data had both user_id and group_id keys in the avatar
data. As both group_ and user_ prefixes were removed the group_id was
collapsed onto the user_id and therefore all users in the same group had
the same prefix for their uploaded avatars. This patch will make sure
that the correct id is used depending on whether it's a group's or user's
avatar data.

PHPBB3-11525
2013-10-24 13:55:23 +02:00
Marc Alexander
bc7ff47537 [ticket/11912] Supply filename to content_guesser for guessing on windows
The filename of the files sent to the guesser by plupload do not contain
the file extension. Therefore, it's impossible to guess the mimetype if
only the content_guesser is available and the function mime_content_type()
doesn't exist. By supplying the filename we can circumvent this issue.

PHPBB3-11912
2013-10-24 12:05:00 +02:00
Marc Alexander
f617aff182 [ticket/11912] Add tests for content_guesser
PHPBB3-11912
2013-10-23 23:18:40 +02:00
Marc Alexander
c8040024cb [ticket/11912] Add tests for phpbb mimetype guesser
PHPBB3-11912
2013-10-23 18:36:11 +02:00
Nils Adermann
a7e41b23fd Merge pull request #1801 from nickvergessen/ticket/11948
Ticket/11948 Extensions should be allowed to have more then 1 routing file
2013-10-22 00:29:20 -07:00
Joas Schilling
96317b2c45 [ticket/11948] Check actual result of routes
PHPBB3-11948
2013-10-21 22:18:03 +02:00
Joas Schilling
51561ed538 [ticket/11948] Allow resource importing for routing
PHPBB3-11948
2013-10-21 21:52:48 +02:00
Marc Alexander
d7bf50bc80 [ticket/11930] Move path_helper in front of optional cache argument
Optional method arguments should be after any mandatory ones.

PHPBB3-11930
2013-10-21 10:20:12 +02:00
Joas Schilling
3cc2e619d2 [ticket/11948] Add second routing file to tests
PHPBB3-11948
2013-10-19 12:11:09 +02:00
Marc Alexander
3f0ce78a25 [ticket/11930] Fix tests after adding phpbb\path_helper to avatar drivers
PHPBB3-11930
2013-10-17 20:49:10 +02:00
Marc Alexander
1d57ec1f65 [feature/passwords] Add functional tests for forum passwords
PHPBB3-11610
2013-10-13 12:06:02 +02:00
Andreas Fischer
2050a39da7 [feature/plupload/integration] Integration of Plupload
This commit is a highly-refactored and up-to-date version of Fyorl's work
which was part of his Google Summer of Code 2012 project "Attachment
Improvements".

PHPBB3-10929
2013-10-11 17:40:16 +02:00
Nils Adermann
446dc9b47e Merge pull request #1764 from EXreaction/ticket/11874
[ticket/11874] Do not always prepend the web path; only replace phpbb_root_path
2013-10-10 15:54:58 -07:00
Nathan Guse
4ad1495768 [ticket/11903] Speed up paging test
PHPBB3-11903
2013-10-10 16:55:01 -05:00
Nathan Guse
31649f1eb0 [ticket/11874] Fix tests
PHPBB3-11874
2013-10-10 16:20:00 -05: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
Marc Alexander
cd74fb0946 [feature/passwords] Increase test coverage to 35 out ouf 36 methods
Only one small code part in the salted md5 driver can't be tested right now.
Passwords helper and passwords driver helper are now fully covered by tests.

PHPBB3-11610
2013-10-09 22:53:13 +02:00
Marc Alexander
3b6038cfcd [feature/passwords] Add tests for unique_id() method in helper
PHPBB3-11610
2013-10-09 14:28:57 +02:00
Nathan Guse
1e2ceb456f Merge pull request #1481 from dhruvgoel92/ticket/11608
[ticket/11608] add functional tests for search
2013-10-07 10:15:06 -07:00
Dhruv
8c73d28341 [ticket/11608] Mark failed test as incomplete for mysql search backend
PHPBB3-11608
2013-10-05 22:49:55 +05:30
Dhruv
67536eb9f7 [ticket/11608] Update search backend class names to namespaces
PHPBB3-11608
2013-10-05 21:21:15 +05:30
Dhruv
2b5311deac [ticket/11608] Move markIncomplete to search backends test
PHPBB3-11608
2013-10-05 21:16:06 +05:30
Dhruv
72d939372f [ticket/11608] Rename base search test class file
PHPBB3-11608
2013-10-05 21:16:05 +05:30
Dhruv
77ef82682e [ticket/11608] Remove suffix test from base class
Rename base class to phpbb_functional_search_base and fix Docblocks as per
phpbb guidelines.

PHPBB3-11608
2013-10-05 21:16:04 +05:30
Dhruv
1cd888e0ee [ticket/11608] Mark postgres search not found test as incomplete
PHPBB3-11608
2013-10-05 21:16:03 +05:30
Dhruv
5135ae2a24 [ticket/11608] Mark sphinx tests as incomplete for now
PHPBB3-11608
2013-10-05 21:16:02 +05:30
Dhruv
c31035d047 [ticket/11608] Mark failed search test incomplete for native search
PHPBB3-11608
2013-10-05 21:16:01 +05:30
Dhruv
a3482bded4 [ticket/11608] remove setUp method override
PHPBB3-11608
2013-10-05 21:15:59 +05:30