aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | | [ticket/11620] Added garbage_collection_testasperous2013-07-222-0/+121
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11620
| * | | | | | | | [ticket/11620] Fixed check_ban_test errors with cache and ban warning messageasperous2013-07-221-6/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11620
| * | | | | | | | [ticket/11620] Fixed a typo on check_ban_testasperous2013-07-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11620
| * | | | | | | | [ticket/11620] Refactored check_isvalid_test to use session_test_caseasperous2013-07-221-20/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since the continue->isvalid refactoring is now in a branch with the session_test_case framework, this test can be refactored to use that framework. PHPBB3-11620
| * | | | | | | | [ticket/11615] Refactored isvalid test to be more imperativeAndy Chase2013-07-222-85/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refactoring the continue/is_valid test to remove the confusing data provider work around, while still keeping redundancies down to a minimum. PHPBB3-11615
| * | | | | | | | [ticket/11615] Rename continue -> check_isvalid for clarityAndy Chase2013-07-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11615
| * | | | | | | | [ticket/11620] Added a test for checking if users are bannedasperous2013-07-223-0/+121
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11620
| * | | | | | | | [ticket/11620] Remove typo in beginning of session_key_testasperous2013-07-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11620
| * | | | | | | | [ticket/11620] Typo in file name session_key_tests -> testasperous2013-07-221-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11620
| * | | | | | | | [ticket/11620] Added a session key reset testasperous2013-07-221-5/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11620
| * | | | | | | | [ticket/11620] Added manual key testasperous2013-07-222-0/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11620
| * | | | | | | | [ticket/11620] Cherry-Pick merge tests from session-storage-cacheAndy Chase2013-07-222-7/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11620
| * | | | | | | | [ticket/11620] Abstracted session setUp into a test_case classasperous2013-07-225-56/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When defining a database test case with a setUp function, it is important to call the parent's setup function, because that is when the database is setup. PHPBB3-11620
| * | | | | | | | [ticket/11620] Removed unnecessary lines and whitespaceAndy Chase2013-07-092-10/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11620
| * | | | | | | | [ticket/11620] Rename provider -> mock_auth_providerAndy Chase2013-07-082-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rename the class and file name to better match what the class is mocking, as well as implement the interface of that class. PHPBB3-11620
| * | | | | | | | [ticket/11620] Minor changes to tests for coding standardsAndy Chase2013-07-084-20/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11620
| * | | | | | | | [ticket/11620] More mock provider methodsAndy Chase2013-07-081-3/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The mock provider object now better matches the interface given for providers. PHPBB3-11620
| * | | | | | | | [ticket/11620] Added validate_session to provider.Andy Chase2013-07-051-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11620
| * | | | | | | | [ticket/11620] Implemented a provider mock object.Andy Chase2013-07-052-1/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Due to an auth_refactor, there is a new dependency in session.php on phpbb_container and a provider. For purposes of testing, implemented a simple one. PHPBB3-11620
| * | | | | | | | [ticket/11620] Reworked create_test without data providerAndy Chase2013-07-051-42/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11620
| * | | | | | | | [ticket/11620] Add create_test with test for bot detectionAndy Chase2013-07-052-10/+102
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added a test for the creation of a session with a simple test for detecting whether a bot is present. PHPBB3-11620
| * | | | | | | | [ticket/11620] Fix typo and confusingly named testAndy Chase2013-07-051-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11620
| * | | | | | | | [ticket/11620] Add indentation, change quote style.Andy Chase2013-07-051-17/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | indentation is probably more important than 80 characters per line apparently. Single quotes instead of double per coding guidelines. PHPBB3-11620
| * | | | | | | | [ticket/11620] Add validate_referrer testAndy Chase2013-07-052-1/+95
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a test for the validate_referrer function. PHPBB3-11620
| * | | | | | | | [ticket/11620] Remove unneeded functions from testable facadeAndy Chase2013-07-051-49/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are functions listed in testable facade that don't have a lot of dependencies, instead mostly just take the input and perform database functions on them. These can be tested without a testable facade function and so will be removed. PHPBB3-11620
| * | | | | | | | [ticket/11620] Add ipv6 test cases and remove extra arguments.Andy Chase2013-07-051-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11620
| * | | | | | | | [ticket/11620] Make testable_facade non-static, expand.Andy Chase2013-07-053-25/+132
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make the class functions of testable_facade no longer static methods, but a class based one and expand the methods to be filled in, in later commits. PHPBB3-11620
| * | | | | | | | [ticket/11620] Add commas in extract_page_testAndy Chase2013-07-051-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11620
| * | | | | | | | [ticket/11620] Fix quotes in extract_hostname_testAndy Chase2013-07-051-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11620
| * | | | | | | | [ticket/11620] Add extract_current_hostnameAndy Chase2013-07-052-1/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a tests for extracting the current hostname from session. PHPBB3-11620
| * | | | | | | | [ticket/11620] Add data provider to extract_pageAndy Chase2013-07-051-14/+91
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These test cases were taken from a live session, more test cases should be added to test specific functionality in this function. PHPBB3-11620
| * | | | | | | | [ticket/11620] Rename class_functions_test -> extract_page_testAndy Chase2013-07-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Renaming this file because it is going to contain a large data provider, so I'd rather split this test out. PHPBB3-11620
| * | | | | | | | [ticket/11620] Remove accidental argument from testable_facade.Andy Chase2013-07-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11620
| * | | | | | | | [ticket/11620] Add test for test_extract_current_pageAndy Chase2013-07-051-0/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11620
| * | | | | | | | [ticket/11620] Add testable facade for sessions.phpAndy Chase2013-07-051-0/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since many functions in session.php have global variables inside the function, this exposes those functions through a testable facade that uses testable_factory's mock global variables to modify global variables used in the functions. This is using the facade pattern to provide a testable "front" to the functions in sessions.php. PHPBB3-11620
* | | | | | | | | Merge remote-tracking branch 'nickvergessen/ticket/11733' into developAndreas Fischer2013-07-233-1/+29
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * nickvergessen/ticket/11733: [ticket/11733] Fix "Illegal offset type" Warning caused by overall feed [ticket/11733] Add browse test for feed.php
| * | | | | | | | | [ticket/11733] Fix "Illegal offset type" Warning caused by overall feedJoas Schilling2013-07-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11733
| * | | | | | | | | [ticket/11733] Add browse test for feed.phpJoas Schilling2013-07-232-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11733
* | | | | | | | | | Merge branch 'develop-olympus' into developAndreas Fischer2013-07-231-3/+0
|\ \ \ \ \ \ \ \ \ \ | |_|_|_|/ / / / / / |/| | | | | | | / / | | |_|_|_|_|_|/ / | |/| | | | | | | * develop-olympus: [ticket/11726] Don't run lint tests on Travis on postgres
| * | | | | | | | Merge remote-tracking branch 'EXreaction/ticket/11726' into develop-olympusAndreas Fischer2013-07-231-3/+0
| |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * EXreaction/ticket/11726: [ticket/11726] Don't run lint tests on Travis on postgres
| | * | | | | | | | [ticket/11726] Don't run lint tests on Travis on postgresNathan Guse2013-07-221-3/+0
| |/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11726
* | | | | | | | | Merge remote-tracking branch 'asperous/ticket/11731' into developAndreas Fischer2013-07-232-2/+4
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * asperous/ticket/11731: [ticket/11731] Remove static calls to captcha garbage collector
| * | | | | | | | | [ticket/11731] Remove static calls to captcha garbage collectorAndy Chase2013-07-222-2/+4
| | |_|_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11731
* | | | | | | | | Merge remote-tracking branch 'nickvergessen/ticket/11728' into developAndreas Fischer2013-07-221-1/+1
|\ \ \ \ \ \ \ \ \ | |_|_|/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | * nickvergessen/ticket/11728: [ticket/11728] Replace topic_approved with topic_visibility
| * | | | | | | | [ticket/11728] Replace topic_approved with topic_visibilityJoas Schilling2013-07-221-1/+1
|/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11728
* | | | | | | | Merge pull request #1589 from marc1706/ticket/11717Nathan Guse2013-07-224-5/+9
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | | [ticket/11717] Use topic_posts_approved instead of topic_replies
| * | | | | | | [ticket/11717] Add 'has' to boolean variable and reduce line lengthMarc Alexander2013-07-221-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11717
| * | | | | | | [ticket/11717] Use topic_posts_approved instead of topic_repliesMarc Alexander2013-07-204-5/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Due to the move to soft-delete, the topic_replies column no longer exists in the topics table. Instead, the column topic_posts_approved should be used. PHPBB3-11717
* | | | | | | | Merge pull request #1513 from nickvergessen/ticket/11582Nathan Guse2013-07-229-222/+566
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Ticket/11582 Split permission logic from translations
| * | | | | | | | [ticket/11582] Move global declaration to beginning of blockJoas Schilling2013-07-221-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11582