aboutsummaryrefslogtreecommitdiffstats
path: root/tests/functions
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge remote-tracking branch 'github-exreaction/ticket/8323' into ↵Nils Adermann2014-05-022-0/+96
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | develop-ascraeus * github-exreaction/ticket/8323: [ticket/8323] Cache auth request [ticket/8323] Combine into a single query [ticket/8323] Comments on phpbb_get_banned_user_ids input for test [ticket/8323] More readability in test case [ticket/8323] Comments [ticket/8323] dataProvider for the test; better test data [ticket/8323] Comments [ticket/8323] Unit test for phpbb_get_banned_user_ids [ticket/8323] Comments for inactive reasons in constants.php [ticket/8323] Only disable administrative deactivated accounts from receiving PMs [ticket/8323] Allow temporarily banned users to receive PMs, but not a notification [ticket/8323] Correct PM notification settings (only notify those who can receive them) [ticket/8323] Cleanup viewtopic code (not sure how this mess happened) [ticket/8323] Allow sending PMs to temporarily banned users [ticket/8323] Do not allow sending PMs to Inactive users [ticket/8323] Hide the Send PM link if users cannot receive the PM [ticket/8323] Correcting the comment [ticket/8323] Do not allow sending of Private Messages to users who are banned [ticket/8323] Remove code used for testing [ticket/8323] Do not allow sending of Private Messages to users who do not have permission to read private messages Conflicts: phpBB/language/en/ucp.php
| * \ Merge branch 'develop' of github.com:phpbb/phpbb3 into ticket/8323Nathan Guse2013-09-0525-44/+1773
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # By Joas Schilling (613) and others # Via Andreas Fischer (214) and others * 'develop' of github.com:phpbb/phpbb3: (2494 commits) [ticket/11825] Move schema_data.php into includes/ instead of phpbb/ [ticket/11215] Remove unnecessary comment [ticket/11755] MySQL upgrader out of date [prep-release-3.0.12] Update Changelog for 3.0.12-RC3 release. [prep-release-3.0.12] Bumping version number for 3.0.12-RC3. [ticket/11823] Set up nginx server to match PHP files with characters after .php [ticket/11812] Fix empty define [ticket/11818] Update Symfony dependencies to 2.3.* [ticket/11791] Load adm/ events from styles/adm/event/ [ticket/11215] Fix helper_url_test.php tests [ticket/11215] Add newline back to .htaccess, fix wording [ticket/11215] Update comment in .htaccess [ticket/11215] Uncomment rewrite rules in .htaccess [ticket/11215] Make controller helper url() method use correct format [ticket/11215] Add commented-out URL rewrite capability to .htaccess [ticket/11821] Fix comma usage next to "You are receiving this notification". [ticket/11769] Allow using 0 as poster name [ticket/11769] Allow '0' as username [ticket/11215] Use new URL structure for controllers [ticket/11215] Everything appears to be working... ... Conflicts: phpBB/includes/functions_privmsgs.php
| * | | [ticket/8323] Comments on phpbb_get_banned_user_ids input for testNathan Guse2012-12-131-0/+3
| | | | | | | | | | | | | | | | PHPBB3-8323
| * | | [ticket/8323] More readability in test caseNathan Guse2012-12-111-3/+14
| | | | | | | | | | | | | | | | PHPBB3-8323
| * | | [ticket/8323] dataProvider for the test; better test dataNathan Guse2012-12-072-7/+23
| | | | | | | | | | | | | | | | PHPBB3-8323
| * | | [ticket/8323] Unit test for phpbb_get_banned_user_idsNathan Guse2012-12-072-0/+66
| | | | | | | | | | | | | | | | PHPBB3-8323
* | | | [ticket/12097] Bug fix and adding unit testNicofuma2014-04-261-0/+39
| |_|/ |/| | | | | | | | PHPBB3-12097
* | | [ticket/12349] Update license header in several new filesJoas Schilling2014-04-031-1/+1
| | | | | | | | | | | | PHPBB3-12349
* | | [ticket/11959] Move phpbb_generate_string_list() to functions_content.php.Cesar G2014-03-291-1/+1
| | | | | | | | | | | | PHPBB3-11959
* | | [ticket/11959] Add unit tests.Cesar G2014-03-191-0/+60
| | | | | | | | | | | | PHPBB3-11959
* | | Merge branch 'develop-olympus' into developJoas Schilling2014-03-141-0/+103
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
| * | | [ticket/12202] Use an array in the data provider instead of exploding manuallyJoas Schilling2014-03-141-38/+44
| | | | | | | | | | | | | | | | PHPBB3-12202
| * | | [ticket/12202] Fix testsNathaniel Guse2014-03-091-5/+5
| | | | | | | | | | | | | | | | PHPBB3-12202
| * | | [ticket/12202] Test for parse_cfg_fileNathan Guse2014-03-091-0/+97
| | | | | | | | | | | | | | | | PHPBB3-12202
* | | | [ticket/12115] Also port user interests to profile fieldsJoas Schilling2014-02-063-32/+0
| | | | | | | | | | | | | | | | PHPBB3-12115
* | | | Merge remote-tracking branch 'bantu/ticket/12056-develop' into developJoas Schilling2013-12-041-0/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * bantu/ticket/12056-develop: [ticket/12056] group_user_attributes: Fix "Creating ... from empty value". [ticket/12056] Fix "Call to undefined function ...\utf8_normalize_nfc()" [ticket/12056] Fix "Call to undefined function ...\utf8_clean_string()" [ticket/12056] Fix "Call to a member function trigger_event() on a non-object". [ticket/12056] Fix "Call to undefined function phpbb\phpbb_get_plural_form()". [ticket/12056] Fix "undefined function phpbb_pcre_utf8_support()". [ticket/12056] validate_config_vars: Fix ".. undefined function utf8_strlen()" [ticket/12056] validate_config_vars: Fix "Creating ... from empty value". [ticket/12056] validate_range: Fix "Creating default object from empty value" [ticket/12056] build_select: Fix "Creating default object from empty value" [ticket/12056] h_radio test: Fix "Creating default object from empty value"
| * | | | [ticket/12056] Fix "undefined function phpbb_pcre_utf8_support()".Andreas Fischer2013-12-041-0/+1
| | | | | | | | | | | | | | | | | | | | PHPBB3-12056
* | | | | Merge branch 'develop-olympus' into developJoas Schilling2013-12-041-1/+2
|\ \ \ \ \ | |/ / / / |/| / / / | |/ / / | | | | * develop-olympus: [ticket/12056] Fix failure due to "Creating default object from empty value".
| * | | [ticket/12056] Fix failure due to "Creating default object from empty value".Andreas Fischer2013-12-041-1/+2
| | | | | | | | | | | | | | | | PHPBB3-12056
* | | | [ticket/11700] Don't prefix dbms classnames with \Nils Adermann2013-09-161-1/+1
| | | | | | | | | | | | | | | | PHPBB3-11700
* | | | [ticket/11700] Fix expected class name output from dbms convertNils Adermann2013-09-161-1/+1
| | | | | | | | | | | | | | | | PHPBB3-11700
* | | | [ticket/11700] Move all recent code to namespacesNils Adermann2013-09-161-1/+1
| |_|/ |/| | | | | | | | PHPBB3-11700
* | | Merge branch 'develop-olympus' into developNathan Guse2013-07-051-0/+75
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | # By Andreas Fischer # Via Andreas Fischer (1) and Nathan Guse (1) * develop-olympus: [ticket/11619] Use HTTP/1.0 because of lack of chunked-encoding handling. [ticket/11619] Some tests for get_remote_file().
| * | [ticket/11619] Some tests for get_remote_file().Andreas Fischer2013-07-031-0/+75
| | | | | | | | | | | | PHPBB3-11619
* | | Merge branch 'develop-olympus' into developAndreas Fischer2013-06-1112-0/+890
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * develop-olympus: [ticket/11579] Add method for validating emails for valid MX and mark as slow [ticket/11579] Do not extend validate_data_helper [ticket/11579] Add missing commas to validate_username_test [ticket/11579] Rework calls to validate_data_helper [ticket/11579] Move simple tests into seperate files [ticket/11579] Use test case helper class and use assert prefix for method [ticket/11579] Move tests into seperate files depending on needed fixture [ticket/11579] Remove unnecessary globals from validate_password() [ticket/11579] Add remaining unit tests for validate_data functions [ticket/11579] Add basic set of unit tests for validate_data() Conflicts: tests/mock/cache.php
| * | Merge remote-tracking branch 'marc1706/ticket/11579' into develop-olympusAndreas Fischer2013-06-1112-0/+890
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * marc1706/ticket/11579: [ticket/11579] Add method for validating emails for valid MX and mark as slow [ticket/11579] Do not extend validate_data_helper [ticket/11579] Add missing commas to validate_username_test [ticket/11579] Rework calls to validate_data_helper [ticket/11579] Move simple tests into seperate files [ticket/11579] Use test case helper class and use assert prefix for method [ticket/11579] Move tests into seperate files depending on needed fixture [ticket/11579] Remove unnecessary globals from validate_password() [ticket/11579] Add remaining unit tests for validate_data functions [ticket/11579] Add basic set of unit tests for validate_data()
| | * | [ticket/11579] Add method for validating emails for valid MX and mark as slowMarc Alexander2013-06-051-3/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | A method for setting up the prerequisities also has been added in order to reduce the amount of necessary code. PHPBB3-11579
| | * | [ticket/11579] Do not extend validate_data_helperMarc Alexander2013-06-051-1/+1
| | | | | | | | | | | | | | | | PHPBB3-11579
| | * | [ticket/11579] Add missing commas to validate_username_testMarc Alexander2013-06-031-6/+6
| | | | | | | | | | | | | | | | PHPBB3-11579
| | * | [ticket/11579] Rework calls to validate_data_helperMarc Alexander2013-06-0310-232/+344
| | | | | | | | | | | | | | | | PHPBB3-11579
| | * | [ticket/11579] Move simple tests into seperate filesMarc Alexander2013-06-037-251/+366
| | | | | | | | | | | | | | | | PHPBB3-11579
| | * | [ticket/11579] Use test case helper class and use assert prefix for methodMarc Alexander2013-06-035-95/+100
| | | | | | | | | | | | | | | | PHPBB3-11579
| | * | [ticket/11579] Move tests into seperate files depending on needed fixtureMarc Alexander2013-05-308-499/+594
| | | | | | | | | | | | | | | | PHPBB3-11579
| | * | [ticket/11579] Add remaining unit tests for validate_data functionsMarc Alexander2013-05-302-62/+347
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This now includes tests for usernames, passwords, emails, and jabber addresses. A few small changes had to be applied to phpbb_mock_cache and phpbb_mock_user in order to incorporate needed methods. PHPBB3-11579
| | * | [ticket/11579] Add basic set of unit tests for validate_data()Marc Alexander2013-05-291-0/+252
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This currently includes tests for the string, num, date, match, and language iso validation functions. PHPBB3-11579
* | | | Merge branch 'ticket/11543' into ticket/develop/11543Joas Schilling2013-06-072-10/+21
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | * ticket/11543: [ticket/11543] Add more users so #hidden <> #normal Conflicts: tests/functions/obtain_online_test.php
| * | | [ticket/11543] Add more users so #hidden <> #normalJoas Schilling2013-06-072-10/+21
| | | | | | | | | | | | | | | | PHPBB3-11543
* | | | [ticket/develop/11543] Use plurals in developJoas Schilling2013-06-061-25/+14
| | | | | | | | | | | | | | | | PHPBB3-11543
* | | | Merge branch 'ticket/11543' into ticket/develop/11543Joas Schilling2013-06-062-0/+348
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | * ticket/11543: [ticket/11543] Use correct IP addresses and inject time for correct values [ticket/11543] Add unit tests for obtain_users_online_string() [ticket/11543] Add unit tests for obtain_users_online() with empty forum [ticket/11543] Add unit tests for obtain_users_online() [ticket/11543] Add unit tests for obtain_guest_count()
| * | | [ticket/11543] Use correct IP addresses and inject time for correct valuesJoas Schilling2013-06-061-22/+25
| | | | | | | | | | | | | | | | PHPBB3-11543
| * | | [ticket/11543] Add unit tests for obtain_users_online_string()Joas Schilling2013-06-062-1/+185
| | | | | | | | | | | | | | | | PHPBB3-11543
| * | | [ticket/11543] Add unit tests for obtain_users_online() with empty forumJoas Schilling2013-06-061-0/+16
| | | | | | | | | | | | | | | | PHPBB3-11543
| * | | [ticket/11543] Add unit tests for obtain_users_online()Joas Schilling2013-06-061-0/+65
| | | | | | | | | | | | | | | | PHPBB3-11543
| * | | [ticket/11543] Add unit tests for obtain_guest_count()Joas Schilling2013-06-062-0/+80
| |/ / | | | | | | | | | PHPBB3-11543
* | | [ticket/11573] Honor MySQL STRICT_TRANS_TABLES in test_style_select.Andreas Fischer2013-05-271-0/+4
| | | | | | | | | | | | PHPBB3-11573
* | | Merge branch 'develop-olympus' into developJoas Schilling2013-05-271-0/+121
|\ \ \ | |/ / | | | | | | | | | | | | | | | * develop-olympus: [ticket/11538] Cut functional tests down a bit as these are more expensive. [ticket/11538] Compare to '' instead of using empty(), so '0' does not pass. [ticket/11538] Add unit tests for phpbb_validate_hex_colour().
| * | [ticket/11538] Add unit tests for phpbb_validate_hex_colour().Andreas Fischer2013-05-261-0/+121
| | | | | | | | | | | | PHPBB3-11538
* | | Merge branch 'develop-olympus' into developAndreas Fischer2013-05-172-7/+7
|\ \ \ | |/ / | | | | | | | | | | | | * develop-olympus: [ticket/11542] Use Czech as example as it contains non-latin characters [ticket/11547] Set MySQL charset to UTF8 in database_test_connection_manager.
| * | [ticket/11542] Use Czech as example as it contains non-latin charactersJoas Schilling2013-05-172-7/+7
| | | | | | | | | | | | PHPBB3-11542
* | | Merge branch 'develop-olympus' into developAndreas Fischer2013-05-172-0/+60
|\ \ \ | |/ / | | | | | | | | | | | | | | | * develop-olympus: [ticket/11542] Add non-existing default value for language select [ticket/11542] Add lang_english_name to fixture [ticket/11542] Add unit tests for language_select()