Commit graph

2384 commits

Author SHA1 Message Date
Matt Friedman
d8c1c7fb9a [ticket/7580] Add test for IF {VAR} is defined in templates
http://tracker.phpbb.com/browse/PHPBB3-7580
This test demonstrates that is possible to test if a
variable exists and then use it if it does, similar to
using isset(), but in template/twig syntax.
<!— IF {VAR} is defined —>{VAR}<!— ENDIF —>

PHPBB3-7580
2014-03-16 20:38:50 -07:00
Joas Schilling
0aa23d203e Merge remote-tracking branch 'EXreaction/ticket/9871-2' into develop
* EXreaction/ticket/9871-2:
  [ticket/9871] Can set current version to use instead of the phpBB version
  [ticket/9871] Fix indentation on comment
  [ticket/9871] Fix test name
  [ticket/9871] Split fast and slow version tests
  [ticket/9871] Option to force the stability when checking for updates
  [ticket/9871] Allow setting the host/file to load for the version class
  [ticket/9871] Restore get_remote_file_test
  [ticket/9871] Fix tests
  [ticket/9871] Typehint and comment on var types
  [ticket/9871] Mark test as slow
  [ticket/9871] Restore phpbb_version_compare
  [ticket/9871] Restore get_remote_file
  [ticket/9871] Use $request->variable instead of request_var
  [ticket/9871] Update version check file to use json format
2014-03-14 14:04:30 +01:00
Joas Schilling
7b08a483fd Merge branch 'develop-olympus' into develop
* develop-olympus:
  [ticket/12202] Use an array in the data provider instead of exploding manually
  [ticket/12202] Can't call htmlspecialchars before checking for quotes
  [ticket/12202] Fix tests
  [ticket/12202] Test for parse_cfg_file
  [ticket/12202] Use copyright symbol in style.cfg files
  [ticket/12202] Apply htmlspecialchars to style.cfg data

Conflicts:
	phpBB/styles/prosilver/style.cfg
	phpBB/styles/subsilver2/style.cfg
2014-03-14 13:55:53 +01:00
Joas Schilling
943e4e35ee Merge remote-tracking branch 'exreaction/ticket/12202' into develop-olympus
* exreaction/ticket/12202:
  [ticket/12202] Use an array in the data provider instead of exploding manually
  [ticket/12202] Can't call htmlspecialchars before checking for quotes
  [ticket/12202] Fix tests
  [ticket/12202] Test for parse_cfg_file
  [ticket/12202] Use copyright symbol in style.cfg files
  [ticket/12202] Apply htmlspecialchars to style.cfg data
2014-03-14 13:53:55 +01:00
Joas Schilling
1f8ab1c196 [ticket/12202] Use an array in the data provider instead of exploding manually
PHPBB3-12202
2014-03-14 13:18:30 +01:00
Nathan Guse
23289c89a1 [ticket/9871] Fix test name
PHPBB3-9871
2014-03-14 07:02:25 -05:00
Joas Schilling
5f8f1f04fd Merge remote-tracking branch 'dhruv/ticket/11040' into develop
* dhruv/ticket/11040:
  [ticket/11040] Topic is deleted if test is skipped
  [ticket/11040] Use unique text for the test post added
  [ticket/11040] Use hard delete in delete_topic
  [ticket/11040] Add migration to drop postgres search indexes
  [ticket/11040] Delete the functional test topic to avoid conflicts
  [ticket/11040] Add methods to delete post and topic in functional tests
  [ticket/11040] Swap post_text and post_subject for post_content index
  [ticket/11040] Add test cases for searching subject and post content together
  [ticket/11040] Remove postgres extra indexes
  [ticket/11040] Add post_content index
  [ticket/11040] Search subject and text together
2014-03-14 10:13:42 +01:00
Joas Schilling
954f0697ce Merge remote-tracking branch 'EXreaction/ticket/10288' into develop
* EXreaction/ticket/10288:
  [ticket/10288] Test to make sure included templates have proper variable scope
2014-03-14 08:56:06 +01:00
Nathan Guse
a45aa2e5a0 [ticket/10288] Test to make sure included templates have proper variable scope
PHPBB3-10288
2014-03-13 19:48:07 -05:00
Nathan Guse
fb6b350c21 [ticket/9871] Split fast and slow version tests
PHPBB3-9871
2014-03-13 19:38:20 -05:00
Nathan Guse
36837e1975 Merge pull request #2109 from nickvergessen/ticket/11581
[ticket/11581] Hide categories on level 0 when they have no visible children
2014-03-13 19:31:22 -05:00
Joas Schilling
6361d382b3 [ticket/11581] Add assertNotContainsLang() for functional test cases
PHPBB3-11581
2014-03-13 11:25:58 +01:00
Oliver Schramm
86a88751a8 [ticket/12267] Replace $php_ext with $phpEx
PHPBB3-12267
2014-03-13 10:52:10 +01:00
Joas Schilling
dbebe30c9a Merge branch 'develop-olympus' into develop
* develop-olympus:
  [ticket/12176] Reword comment about config entries.
  [ticket/12176] Add newest_user_colour to config array to ensure it exists
  [ticket/12176] Display correct message when trying to delete founder.
  [ticket/12176] Add functional test for founder deletion message.

Conflicts:
	tests/test_framework/phpbb_functional_test_case.php
2014-03-13 10:27:19 +01:00
Joas Schilling
03eb23cbae Merge remote-tracking branch 'bantu/ticket/12176' into develop-olympus
* bantu/ticket/12176:
  [ticket/12176] Reword comment about config entries.
  [ticket/12176] Add newest_user_colour to config array to ensure it exists
  [ticket/12176] Display correct message when trying to delete founder.
  [ticket/12176] Add functional test for founder deletion message.
2014-03-13 10:16:41 +01:00
Andreas Fischer
e123b0c0a0 [ticket/12176] Reword comment about config entries.
PHPBB3-12176
2014-03-13 00:53:07 +01:00
Nathan Guse
d69012ea6d Merge pull request #2104 from nickvergessen/ticket/12261
[ticket/12261] Remove web root path from login redirect url
2014-03-12 18:48:41 -05:00
Joas Schilling
ca92ed918a [ticket/12176] Add newest_user_colour to config array to ensure it exists
PHPBB3-12176
2014-03-12 20:08:55 +01:00
Dhruv
6918921d53 [ticket/11040] Topic is deleted if test is skipped
PHPBB3-11040
2014-03-12 11:03:33 +05:30
Dhruv
3d1d25a122 [ticket/11040] Use unique text for the test post added
PHPBB3-11040
2014-03-12 11:03:30 +05:30
Dhruv
799c575990 [ticket/11040] Use hard delete in delete_topic
PHPBB3-11040
2014-03-12 11:03:29 +05:30
Dhruv
6524513f9d [ticket/11040] Delete the functional test topic to avoid conflicts
PHPBB3-11040
2014-03-12 11:02:08 +05:30
Dhruv
b5310e9565 [ticket/11040] Add methods to delete post and topic in functional tests
PHPBB3-11040
2014-03-12 11:02:06 +05:30
Dhruv
1094a2b577 [ticket/11040] Add test cases for searching subject and post content together
PHPBB3-11040
2014-03-12 11:02:01 +05:30
Joas Schilling
e07f314117 [ticket/12261] Mark test as incomplete, something is wrong with sessions
PHPBB3-12261
2014-03-11 11:05:27 +01:00
Dhruv
cf468bcc09 [ticket/11581] Fix year in copyright header
PHPBB3-11581
2014-03-11 10:38:20 +01:00
Dhruv
8b936fc8eb [ticket/11581] Enabled private messages after tests
PHPBB3-11581
2014-03-11 10:38:04 +01:00
Dhruv
ce4926d000 [ticket/11581] Add test to check UCP_PM is enabled/disabled correctly
PHPBB3-11581
2014-03-11 10:37:52 +01:00
Joas Schilling
4b259e3c82 Merge remote-tracking branch 'dhruvgoel92/ticket/11288-develop' into develop
* dhruvgoel92/ticket/11288-develop:
  [ticket/11288] Add unit test cases for foo-bar like queries
  [ticket/11288] Handle +,- without preceeding whitespace characters
2014-03-11 09:48:24 +01:00
Nathan Guse
92b638ed83 Merge pull request #2107 from VSEphpbb/ticket/12117
[ticket/12117] Add get_all_tree_data method to tree class
2014-03-10 21:30:39 -05:00
Nathan Guse
1f7c891da2 [ticket/9871] Restore get_remote_file_test
PHPBB3-9871
2014-03-10 20:57:20 -05:00
Nathan Guse
f7020fb5d1 Merge pull request #2092 from nickvergessen/ticket/12090
[ticket/12090] Pass route name to url() instead of the url itself
2014-03-10 20:50:08 -05:00
Matt Friedman
c1115d9451 [ticket/12117] Add get_all_tree_data method to tree class
PHPBB3-12117
2014-03-10 15:59:45 -07:00
Joas Schilling
235f7c3721 Merge remote-tracking branch 'rxu3/ticket/12224' into develop
* rxu3/ticket/12224:
  [ticket/12224] Add assign_block_vars_array() test.
  [ticket/12224] Add template wrapper method to assign block arrays
2014-03-10 23:49:37 +01:00
Joas Schilling
fe63ac888f [ticket/12261] Fix doc block
PHPBB3-12261
2014-03-10 17:09:28 +01:00
Joas Schilling
f43da31bba [ticket/12261] Validate the redirect hidden field before submitting the form
PHPBB3-12261
2014-03-10 15:27:48 +01:00
rxu
d29514f3e7 [ticket/12224] Add assign_block_vars_array() test.
Add tests, also change return value to null.

PHPBB3-12224
2014-03-10 20:59:45 +08:00
Joas Schilling
e8fdc1545a [ticket/12261] Add a functional test for redirect after using login_box()
PHPBB3-12261
2014-03-10 12:35:30 +01:00
Nathaniel Guse
50dd76aef3 [ticket/12202] Fix tests
PHPBB3-12202
2014-03-09 17:16:45 -05:00
Nathan Guse
49734db9cd [ticket/12202] Test for parse_cfg_file
PHPBB3-12202
2014-03-09 15:20:42 -05:00
Joas Schilling
0119a21862 [ticket/12090] Comment out broken test
PHPBB3-12090
2014-03-09 19:17:12 +01:00
Joas Schilling
b29c4c6358 [ticket/12090] Move find() call to container and fix tests
PHPBB3-12090
2014-03-09 19:03:15 +01:00
Joas Schilling
2eb24d0ace [ticket/12090] Split finding routes and returning routes into 2 methods
PHPBB3-12090
2014-03-09 18:38:21 +01:00
Dhruv
baed78bde7 [ticket/11288] Add unit test cases for foo-bar like queries
foo-bar and foo -bar are interpreted differently by
native search backend now.

PHPBB3-11288
2014-03-09 22:30:22 +05:30
Nathan Guse
c655757aa6 [ticket/9871] Fix tests
PHPBB3-9871
2014-03-08 17:43:58 -06:00
Dhruv
0036b00fc4 [ticket/10945] Remove mark test incomplete for native search backend
PHPBB3-10945
2014-03-08 21:46:14 +05:30
Dhruv
304c0799ba [ticket/10945] Fix Unit Tests as per new changes to split_keywords
PHPBB3-10945
2014-03-08 21:45:23 +05:30
Dhruv
41fa32bae4 [ticket/10945] Remove mark test incomplete for mysql and postgres
PHPBB3-10945
2014-03-08 21:45:07 +05:30
Joas Schilling
07c07171f9 [ticket/12090] Make provider a service and inject it into the helper
PHPBB3-12090
2014-03-08 16:37:22 +01:00
Joas Schilling
275910d8b0 [ticket/12090] Fix pagination for routes
No clickable "jump to" at the moment, as we can not get the route url
by the route name in js yet. Need to find another solution later.

PHPBB3-12090
2014-03-08 16:02:44 +01:00