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

244 Commits

Author SHA1 Message Date
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
Nathan Guse
4ad1495768 [ticket/11903] Speed up paging test
PHPBB3-11903
2013-10-10 16:55:01 -05: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
Dhruv
b31bb8653b [ticket/11608] add search functional tests to search subfolder
PHPBB3-11608
2013-10-05 21:15:36 +05:30
Dhruv
07c259f4b1 [ticket/11608] rename search_found and not_found method
Rename search_found and search_not_found to assert_search_found and
assert_search_not_found. Count .errorbox incase the search backend is not
supported and skip tests

PHPBB3-11608
2013-10-05 21:15:34 +05:30
Dhruv
b7d55b8ff8 [ticket/11608] pass keywords to search_found and search_not_found test
PHPBB3-11608
2013-10-05 21:15:33 +05:30
Dhruv
e1030d3670 [ticket/11608] Set sphinx id from test_config file for tests
PHPBB3-11608
2013-10-05 21:15:32 +05:30
Dhruv
75d16da9fa [ticket/11608] Use assertEquals for more accurate assertions
PHPBB3-11608
2013-10-05 21:15:31 +05:30
Dhruv
5825bf7d33 [ticket/11608] Use assertContainsLang to compare language strings
PHPBB3-11608
2013-10-05 21:15:30 +05:30
Dhruv
36da38f062 [ticket/11608] split search tests into separate files
Tests for each search backend are into their own separate files.
These separate classes inherit from a common search test case class.

PHPBB3-11608
2013-10-05 21:15:29 +05:30
Dhruv
9c082999bb [ticket/11608] Check for word highlights in search results
Search tests check for highlighted words in search results

PHPBB3-11608
2013-10-05 21:15:27 +05:30
Dhruv
115599e78d [ticket/11608] Mark sphinx test as incomplete
Sphinx search for the test board cannot be tested

PHPBB3-11608
2013-10-05 21:15:26 +05:30
Dhruv
ec30fcf819 [ticket/11608] Logout before searching
Keyword search in search functional tests should be
performed as guests rather than logged in as admin.

PHPBB3-11608
2013-10-05 21:15:25 +05:30
Dhruv
f4ca9a30a5 [ticket/11608] Add more assetions in tests
PHPBB3-11608
2013-10-05 21:15:24 +05:30
Dhruv
92698c95dc [ticket/11608] Use assertions in test
PHPBB3-11608
2013-10-05 21:15:23 +05:30
Dhruv
81acd8ef10 [ticket/11608] complete search tests functionalities
PHPBB3-11608
2013-10-05 21:15:21 +05:30
Dhruv
c33c89a790 [ticket/11608] Skip tests for unsupported search backends
PHPBB3-11608
2013-10-05 21:15:20 +05:30
Dhruv
ea75b67f5e [ticket/11608] add basic search functional test structure
PHPBB3-11608
2013-10-05 21:15:19 +05:30
Nathan Guse
ff4756f87a [ticket/11840] Use generic information in the test extension
Not sure why I had my name/info in these files...

PHPBB3-11840
2013-09-30 21:24:46 -05:00
MichaelC
fd022123c0 [task/composer-compatibility] Minor changes that will break extension BC
PHPBB3-11840
2013-10-01 00:35:36 +01:00
Vjacheslav Trushkin
ccf00c7265 [ticket/11868] Add @depends to test
PHPBB3-11868
2013-09-26 15:21:04 +03:00
Joas Schilling
b1dbd5e992 [ticket/11868] Add functional test for registration
PHPBB3-11868
2013-09-26 11:49:35 +02:00
Joas Schilling
bc8c4ac270 [ticket/11865] Add bbcodes to functional posting tests
PHPBB3-11865
2013-09-26 00:07:22 +02:00
Nils Adermann
6b71284681 [ticket/11700] Correctly load templates for extensions
PHPBB3-11700
2013-09-19 19:53:57 +02:00
Nils Adermann
fe36375a36 [ticket/11700] Fix extension loading with namespaces
class loader now expects all classes to be prefixed with a backslash
when resolving paths

PHPBB3-11700
2013-09-19 18:29:08 +02:00
Nils Adermann
8b8ba3d7ac [ticket/11700] Check for ALLOW_REMOTE_UPLOAD in acp output as expected
PHPBB3-11700
2013-09-16 05:03:41 +02:00
Nils Adermann
21bbb58503 Merge remote-tracking branch 'github-phpbb/develop' into ticket/11700
* github-phpbb/develop: (586 commits)
  [ticket/11735] Display disabled checkbox in subsilver for read notifications
  [ticket/11735] Display disabled checkbox when notification is already read
  [ticket/11844] update acp/authentication language var
  [ticket/11795] Remove PM popup
  [ticket/11795] Remove outdated comment from forum_fn.js
  [ticket/11795] Move find user JS to forum_fn
  [ticket/11795] Replace TWIG with phpBB syntax in ACP
  [ticket/11795] Move MSN scripts to forum_fn.js
  [ticket/11795] Use phpBB template syntax instead of TWIG
  [ticket/11795] Move PM popup JS to forum_fn.js
  [ticket/11795] Get rid of pagination JS variables
  [ticket/11795] Get rid of onload_functions
  [ticket/11795] Use data-reset-on-edit attr to reset elements
  [ticket/11795] Redo form elements auto-focus
  [ticket/11811] Remove outline on :focus
  [ticket/11836] Fix subsilver fatal error
  [ticket/11837] Replace escaped single quote with utf-8 single quote
  [ticket/11836] Fix fatal error on unsupported provider for auth link
  [ticket/11837] Translate UCP_AUTH_LINK_NOT_SUPPORTED
  [ticket/11809] Ensure code.js is first script included after jQuery
  ...

Conflicts:
	phpBB/config/services.yml
	phpBB/develop/create_schema_files.php
	phpBB/develop/mysql_upgrader.php
	phpBB/download/file.php
	phpBB/includes/bbcode.php
	phpBB/includes/functions_container.php
	phpBB/install/database_update.php
	phpBB/install/index.php
	phpBB/phpbb/controller/helper.php
	phpBB/phpbb/controller/resolver.php
	phpBB/phpbb/request/request_interface.php
	phpBB/phpbb/session.php
	phpBB/phpbb/style/extension_path_provider.php
	phpBB/phpbb/style/path_provider.php
	phpBB/phpbb/style/path_provider_interface.php
	phpBB/phpbb/style/resource_locator.php
	phpBB/phpbb/style/style.php
	phpBB/phpbb/template/locator.php
	phpBB/phpbb/template/template.php
	phpBB/phpbb/template/twig/node/includeasset.php
	phpBB/phpbb/template/twig/node/includecss.php
	phpBB/phpbb/template/twig/node/includejs.php
	phpBB/phpbb/template/twig/twig.php
	tests/controller/helper_url_test.php
	tests/di/create_container_test.php
	tests/extension/style_path_provider_test.php
	tests/notification/notification_test.php
	tests/session/continue_test.php
	tests/session/creation_test.php
	tests/template/template_events_test.php
	tests/template/template_test_case.php
	tests/template/template_test_case_with_tree.php
	tests/test_framework/phpbb_functional_test_case.php
2013-09-16 01:24:05 +02:00
Nils Adermann
b95fdacdd3 [ticket/11700] Move all recent code to namespaces
PHPBB3-11700
2013-09-16 00:25:27 +02:00
David King
73859da481 [ticket/11215] Use new URL structure for controllers
In tests, the old app.php?controller=foo structure was used. Instead
it should be app.php/foo.

PHPBB3-11215
2013-08-31 14:51:28 -07:00
rechosen
e113b46810 [ticket/11792] Add functional test for var lang_set_ext of core.user_setup
To ensure that the new lang_set_ext variable available with the
core.user_setup event works properly, a functional test was added. It
overwrites the value of the 'SKIP' language key, which is assumed to remain
in use for some time to come.

PHPBB3-11792
2013-08-22 11:06:04 +02:00
Dhruv
c54f1faf59 Merge remote-tracking branch 'VSEphpbb/ticket/11784' into develop
# By Matt Friedman
# Via Matt Friedman
* VSEphpbb/ticket/11784:
  [ticket/11784] Remove naming redundancy for event listeners
2013-08-18 01:09:33 +05:30
Andreas Fischer
1ac1b9b7ee Merge branch 'develop-olympus' into develop
* develop-olympus:
  [ticket/11775] Fix doc blocks syntax
  [ticket/11775] Remove spaces at line ends
  [ticket/11775] Split test into multiple steps
  [ticket/11775] Add functional test for moving the last post
  [ticket/11775] Backport moving of the posting functions to 3.0
  [ticket/11775] Fix error when moving the last post to another topic

Conflicts:
	tests/test_framework/phpbb_functional_test_case.php
2013-08-15 01:40:08 +02:00
Matt Friedman
65d8cd6302 [ticket/11784] Remove naming redundancy for event listeners
PHPBB3-11784
2013-08-13 02:14:22 -07:00
Joas Schilling
63535b196d [ticket/11775] Split test into multiple steps
PHPBB3-11775
2013-08-12 15:38:20 +02:00
Joas Schilling
a9b5e77e68 [ticket/11775] Add functional test for moving the last post
PHPBB3-11775
2013-08-09 00:41:28 +02:00
Joas Schilling
a6e69f377b [ticket/11775] Backport moving of the posting functions to 3.0
PHPBB3-11775
2013-08-08 23:33:26 +02:00
Andy Chase
2508439b02 [ticket/11761] Serve blank file locally in functional test
Example.org no longer serves blank responses, failing functional tests.

this patch creates a  blank file and serve it locally during the test,
instead of hitting the http://example.org servers kindly provided by IANA.

PHPBB3-11761
2013-08-06 12:39:28 -07:00
Joas Schilling
8dc8ee205a [ticket/11733] Add browse test for feed.php
PHPBB3-11733
2013-07-23 00:58:03 +02:00
Nathan Guse
b71038486e Merge pull request #1513 from nickvergessen/ticket/11582
Ticket/11582 Split permission logic from translations
2013-07-22 11:28:55 -07:00
Nathan Guse
960c3bb4fb Merge pull request #1401 from marc1706/ticket/11531
[ticket/11531] Add basic set of functional tests for new avatar system
2013-07-22 10:25:32 -07:00
Marc Alexander
2eb32ef515 [ticket/11531] Check if uploaded avatar is properly displayed in tests
PHPBB3-11531
2013-07-22 13:38:19 +02:00