aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [ticket/10941] Changed assertTrue to assertEqualsFyorl2012-07-091-1/+1
| | | | PHPBB3-10941
* [ticket/10941] Now actually checks for the value of errors.Fyorl2012-07-093-25/+29
| | | | | | | | Uses phpbb_mock_lang to return the key used when setting errors to allow that key to be checked for during tests rather than just checking if any error was set. PHPBB3-10941
* [ticket/10941] Re-arranged dataProvidor methods to be near their callersFyorl2012-07-091-67/+67
| | | | PHPBB3-10941
* [ticket/10941] Added a comment explaining the incomplete testFyorl2012-07-091-0/+6
| | | | PHPBB3-10941
* [ticket/10941] tearDown() now uses explicit file listFyorl2012-07-091-5/+19
| | | | | | Instances of $it also renamed for clarity. PHPBB3-10941
* [ticket/10941] Minor adjustments as per PR commentsFyorl2012-07-098-47/+81
| | | | | | Added some comments clarifying globals and lowercased fixture filenames PHPBB3-10941
* [ticket/10941] Marked broken test as incompleteFyorl2012-07-091-0/+1
| | | | PHPBB3-10941
* [ticket/10941] Added functional tests for the fileupload classFyorl2012-07-095-0/+86
| | | | | | | | | | NOTE: test_form_upload() is broken. Uploading files via Symfony fails to retain $_FILES['fileupload']['type'] even if it set explicitely. This appears to be a bug in Symfony. Since the current version of filespec::is_image() relies on the mimetype, these tests will __fail__. filespec::is_image() has been fixed in https://github.com/phpbb/phpbb3/pull/833 however. PHPBB3-10941
* [ticket/10941] Unit tests for fileupload class addedFyorl2012-07-083-0/+132
| | | | PHPBB3-10941
* [ticket/10941] Finished filespec testsFyorl2012-07-082-0/+91
| | | | PHPBB3-10941
* [ticket/10941] Minor adjustments as per PR commentsFyorl2012-07-086-65/+36
| | | | | | | Switched from dirname(__FILE__) to just __DIR__. Removed static definition from data provider methods. PHPBB3-10941
* [ticket/10941] Unit tests for filespec classFyorl2012-07-082-0/+238
| | | | PHPBB3-10941
* Merge remote-tracking branch 'github-bantu/ticket/10973' into developNils Adermann2012-07-0820-31/+4
|\ | | | | | | | | | | | | | | | | | | * github-bantu/ticket/10973: [ticket/10973] Drop all require_once for mocks. Use autoloading. [ticket/10973] Add autoloader for autoloading phpbb_mock_ in tests. Conflicts: tests/bbcode/url_bbcode_test.php tests/text_processing/censor_text_test.php
| * [ticket/10973] Drop all require_once for mocks. Use autoloading.Andreas Fischer2012-07-0819-29/+0
| | | | | | | | PHPBB3-10973
| * [ticket/10973] Add autoloader for autoloading phpbb_mock_ in tests.Andreas Fischer2012-07-081-0/+2
| | | | | | | | PHPBB3-10973
* | Merge branch 'develop-olympus' into developNils Adermann2012-07-083-2/+2
|\ \ | |/ |/| | | | | | | | | | | * develop-olympus: [ticket/10974] Rename tests/mock_user.php -> tests/mock/user.php Conflicts: tests/bbcode/url_bbcode_test.php
| * Merge remote-tracking branch 'github-bantu/ticket/10974' into develop-olympusNils Adermann2012-07-083-2/+2
| |\ | | | | | | | | | | | | * github-bantu/ticket/10974: [ticket/10974] Rename tests/mock_user.php -> tests/mock/user.php
| | * [ticket/10974] Rename tests/mock_user.php -> tests/mock/user.phpAndreas Fischer2012-07-083-2/+2
| | | | | | | | | | | | PHPBB3-10974
* | | Merge PR #854 branch 'dhruvgoel92/ticket/10943' into developOleg Pudeyev2012-07-073-1/+4
|\ \ \ | | | | | | | | | | | | | | | | | | | | * dhruvgoel92/ticket/10943: [ticket/10943] displays searched query in search result [ticket/10943] use keywords variable to display in search box
| * | | [ticket/10943] displays searched query in search resultDhruv Goel2012-07-083-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Search backend displays an additional normalized search query just above the ignored words. PHPBB3-10943
| * | | [ticket/10943] use keywords variable to display in search boxDhruv Goel2012-07-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | $keywords which contains the string as entered by the user should be used to display in search box instead of search_query. PHPBB3-10943
* | | | Merge PR #856 branch 'develop-olympus' into developOleg Pudeyev2012-07-074-8/+55
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | * develop-olympus: [ticket/10937] Update documentation to say which comment styles are removed. [ticket/10937] Comment removal functions: Restore backward compatibility
| * | | Merge PR #856 branch 'prep-release-3.0.11' into develop-olympusOleg Pudeyev2012-07-074-8/+55
| |\ \ \ | | |_|/ | |/| | | | | | | | | | | | | | * prep-release-3.0.11: [ticket/10937] Update documentation to say which comment styles are removed. [ticket/10937] Comment removal functions: Restore backward compatibility
| | * | Merge PR #856 branch 'bantu/ticket/10937' into prep-release-3.0.11Oleg Pudeyev2012-07-074-8/+55
| | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | * bantu/ticket/10937: [ticket/10937] Update documentation to say which comment styles are removed. [ticket/10937] Comment removal functions: Restore backward compatibility
| | | * | [ticket/10937] Update documentation to say which comment styles are removed.Andreas Fischer2012-07-031-1/+1
| | | | | | | | | | | | | | | | | | | | PHPBB3-10937
| | | * | [ticket/10937] Comment removal functions: Restore backward compatibilityAndreas Fischer2012-07-034-8/+55
| | | | | | | | | | | | | | | | | | | | PHPBB3-10937
* | | | | Merge PR #832 branch 'dhruvgoel92/feature/postgresql-fulltext-search' into ↵Oleg Pudeyev2012-07-077-0/+898
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | develop * dhruvgoel92/feature/postgresql-fulltext-search: (28 commits) [feature/postgresql-fulltext-search] supports_phrase_search function [feature/postgresql-fulltext-search] use proper variable name [feature/postgresql-fulltext-search] each config is checked if it is set [feature/postgresql-fulltext-search] fix formatting [feature/postgresql-fulltext-search] add docblocks to functions [feature/postgresql-fulltext-search] remove phrase search code [feature/postgresql-fulltext-search] define access control specifiers [feature/postgresql-fulltext-search] use version_compare [feature/postgresql-fulltext-search] fix language key [feature/postgresql-fulltext-search] remove Readme [feature/postgresql-fulltext-search] removes pcre check [feature/postgresql-fulltext-search] fix language tsearch2 to text search [feature/postgresql-fulltext-search] remove mbstring support [feature/postgresql-fulltext-search] change language for pgsql < 8.3 [feature/postgresql-fulltext-search] use phpbb_pcre_utf8_support() [feature/postgresql-fulltext-search] fix variable name [feature/postgresql-fulltext-search] Fix version comparison for 9.0+. [feature/postgresql-fulltext-search] fixing license [feature/postgresql-fulltext-search] assign empty stats [feature/postgresql-fulltext-search] remove backward compatibility ...
| * | | | | [feature/postgresql-fulltext-search] supports_phrase_search functionDhruv Goel2012-07-082-3/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function to return the value of the the private property phrase_search PHPBB3-9730
| * | | | | [feature/postgresql-fulltext-search] use proper variable nameDhruv Goel2012-07-081-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-9730
| * | | | | [feature/postgresql-fulltext-search] each config is checked if it is setDhruv Goel2012-07-051-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In database_update.php each config value of postgres fulltext search is first checked whether it already exists or not and then added. PHPBB3-9730
| * | | | | [feature/postgresql-fulltext-search] fix formattingDhruv Goel2012-07-052-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | adds proper spaces after control keywords and comment symbol PHPBB3-9730
| * | | | | [feature/postgresql-fulltext-search] add docblocks to functionsDhruv Goel2012-07-051-5/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Docblocks are added to the functions of this search backend. PHPBB3-9730
| * | | | | [feature/postgresql-fulltext-search] remove phrase search codeDhruv Goel2012-07-054-33/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Unused Code for phrase search removed as pgsql doesnt support it. An added message is displayed if user tries to perform exact phrase search. PHPBB3-9730
| * | | | | [feature/postgresql-fulltext-search] define access control specifiersDhruv Goel2012-07-051-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-9730
| * | | | | [feature/postgresql-fulltext-search] use version_compareDhruv Goel2012-07-051-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | version_compare is used for version comparision and pgsql version is now a global variable that is displayed in the acp too. PHPBB3-9730
| * | | | | [feature/postgresql-fulltext-search] fix language keyDhruv Goel2012-07-052-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Language key name not incompatible_database instead of version which was misleading PHPBB3-9730
| * | | | | [feature/postgresql-fulltext-search] remove ReadmeDhruv Goel2012-07-051-23/+0
| | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-9730
| * | | | | [feature/postgresql-fulltext-search] removes pcre checkDhruv Goel2012-07-052-10/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PCRE UTF8 support is already checked globally. adds an option of pgsql version to acp. PHPBB3-9730
| * | | | | [feature/postgresql-fulltext-search] fix language tsearch2 to text searchDhruv Goel2012-07-051-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Language is changed according to the current PostgreSQL documentation. PHPBB3-9730
| * | | | | [feature/postgresql-fulltext-search] remove mbstring supportDhruv Goel2012-07-052-83/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove the usage of mbstring regex engine when PCRE does not support UTF8 since its a requirement for phpbb 3.1 PHPBB3-9730
| * | | | | [feature/postgresql-fulltext-search] change language for pgsql < 8.3Dhruv Goel2012-07-052-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-9730
| * | | | | [feature/postgresql-fulltext-search] use phpbb_pcre_utf8_support()Dhruv Goel2012-07-051-6/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use phpBB's built in function for checking PCRE lib support. PHPBB3-9730
| * | | | | [feature/postgresql-fulltext-search] fix variable nameDhruv Goel2012-07-051-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Variable name used is now tsearch_usable instead of tsearch_builtin to reflect its actual purpose. PHPBB3-9730
| * | | | | [feature/postgresql-fulltext-search] Fix version comparison for 9.0+.Oleg Pudeyev2012-07-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-9730
| * | | | | [feature/postgresql-fulltext-search] fixing licenseDhruv Goel2012-07-051-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-9730
| * | | | | [feature/postgresql-fulltext-search] assign empty statsDhruv Goel2012-07-051-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Blank array is assigned to stats incase pgsql fulltext search backend is not compatible PHPBB3-9730
| * | | | | [feature/postgresql-fulltext-search] remove backward compatibilityDhruv Goel2012-07-051-39/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | removes backward compatibility before PostgreSQL ver 8.3 if version is before 8.3 displays error. PHPBB3-9730
| * | | | | [feature/postgresql-fulltext-search] minor changesDhruv Goel2012-07-051-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes to comply with other backend conventions. include $user as global variable to access it inside init(); PHPBB3-9730
| * | | | | [feature/postgresql-fulltext-search] database changes in database_updateDhruv Goel2012-07-051-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | config entries are now added by database_update.php as well. PostgreSQL will work during update too. PHPBB3-9730
| * | | | | [feature/postgresql-fulltext-search] minor changesDhruv Goel2012-07-053-9/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some changes in code to get it work against current develop. PosgreSQL Fulltext search works for new install now. PHPBB3-9730