aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
Commit message (Collapse)AuthorAgeFilesLines
...
| | * | [task/mssql-db-tests] Remove MS SQL helper values from SELECT LIMIT results.Nils Adermann2010-10-251-1/+6
| | | | | | | | | | | | | | | | PHPBB3-9868
| | * | [task/mssql-db-tests] sql_query_limit must return all results when total = 0Nils Adermann2010-10-251-5/+14
| | | | | | | | | | | | | | | | PHPBB3-9868
* | | | Merge branch 'ticket/rxu/9867' into developAndreas Fischer2010-10-304-12/+12
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | * ticket/rxu/9867: [ticket/9867] Adjust the implementation of error messages localization.
| * | | | [ticket/9867] Adjust the implementation of error messages localization.rxu2010-10-264-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use array_map instead of preg_replace. PHPBB3-9867
* | | | | Merge branch 'develop-olympus' into developAndreas Fischer2010-10-301-19/+68
|\ \ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | | | | | | * develop-olympus: [ticket/9061] Simplify conditional statements by reworking the logic. [ticket/9061] Fixed a race condition in queue locking.
| * | | | Merge branch 'ticket/cs278/9061' into develop-olympusAndreas Fischer2010-10-271-19/+68
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * ticket/cs278/9061: [ticket/9061] Simplify conditional statements by reworking the logic. [ticket/9061] Fixed a race condition in queue locking.
| | * | | | [ticket/9061] Simplify conditional statements by reworking the logic.Chris Smith2010-10-271-12/+18
| | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-9061
| | * | | | [ticket/9061] Fixed a race condition in queue locking.Oleg Pudeyev2010-10-271-19/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changed queue locking to cover all queue file operations, in particular the check for queue file existince and inclusion of queue file must be done under one lock. Also refactored queue locking and unlocking into separate methods. PHPBB3-9061
* | | | | | Merge branch 'ticket/bantu/9627' into developIgor Wiedler2010-10-251-0/+168
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * ticket/bantu/9627: [ticket/9627] Prefix function names with 'phpbb_'. [ticket/9627] Adding unit tests for http_byte_range(). [ticket/9627] Adding download unit tests. [ticket/9627] Split http_range_request() into several functions. [ticket/9627] Make sure range request reads till the end of the file. [ticket/9627] Make use of 'static' since the function is called more than once [ticket/9627] Make sure the database record for the filesize is correct. [ticket/9627] Do not increase download counter if file is requested partially. [ticket/9627] Support for HTTP range requests in download/file.php
| * | | | | | [ticket/9627] Prefix function names with 'phpbb_'.Andreas Fischer2010-10-231-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-9627
| * | | | | | [ticket/9627] Split http_range_request() into several functions.Andreas Fischer2010-10-231-31/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Split http_range_request() into several functions for better reusability and to allow some unit testing. PHPBB3-9627
| * | | | | | [ticket/9627] Make sure range request reads till the end of the file.Andreas Fischer2010-10-231-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-9627
| * | | | | | [ticket/9627] Make use of 'static' since the function is called more than onceAndreas Fischer2010-10-231-9/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-9627
| * | | | | | [ticket/9627] Make sure the database record for the filesize is correct.Andreas Fischer2010-10-231-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-9627
| * | | | | | [ticket/9627] Support for HTTP range requests in download/file.phpAndreas Fischer2010-10-231-0/+114
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Initial draft of "resume support" for attachments. This should allow users to resume partially downloaded attachments. PHPBB3-9627
* | | | | | | Merge branch 'develop-olympus' into developIgor Wiedler2010-10-254-28/+63
|\ \ \ \ \ \ \ | | |/ / / / / | |/| | / / / | |_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * develop-olympus: [ticket/9478] Validate maximum number of allowed recipients per PM value. [ticket/9686] Fix mssqlnative database data export [ticket/9595] List min/max characters indexed by search for mysql_fulltext. [ticket/9101] Remove misleading 'below' from RECAPTCHA_EXPLAIN. [ticket/9853] Change recaptcha theme from default to 'clean'.
| | | | | |
| | \ \ \ \
| *-. \ \ \ \ Merge branches 'ticket/bantu/9101', 'ticket/bantu/9595' and ↵Igor Wiedler2010-10-251-0/+8
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'ticket/bantu/9853' into develop-olympus * ticket/bantu/9101: [ticket/9101] Remove misleading 'below' from RECAPTCHA_EXPLAIN. * ticket/bantu/9595: [ticket/9595] List min/max characters indexed by search for mysql_fulltext. * ticket/bantu/9853: [ticket/9853] Change recaptcha theme from default to 'clean'.
| | | * | | | | [ticket/9595] List min/max characters indexed by search for mysql_fulltext.Andreas Fischer2010-10-211-0/+8
| | | | |_|/ / | | | |/| | | | | | | | | | | | | | | | | PHPBB3-9595
| * | | | | | Merge branch 'ticket/naderman/9686' into develop-olympusAndreas Fischer2010-10-252-28/+46
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * ticket/naderman/9686: [ticket/9686] Fix mssqlnative database data export
| | * | | | | | [ticket/9686] Fix mssqlnative database data exportNils Adermann2010-10-252-28/+46
| | | |/ / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We require version 1.1 of the sqlsrv extension anyway so the regular sqlsrv_num_rows can be used instead of buffering the result. The result buffer (class result_mssqlnative) should never automatically free the resource it receives - we consistently close resources using sql_freeresult(). PHPBB3-9686
| * | | | | | Merge branch 'ticket/rxu/9478' into develop-olympusAndreas Fischer2010-10-251-0/+9
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * ticket/rxu/9478: [ticket/9478] Validate maximum number of allowed recipients per PM value.
| | * | | | | | [ticket/9478] Validate maximum number of allowed recipients per PM value.rxu2010-10-251-0/+9
| | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Do not allow to enter the value larger than it's allowed by MySQL mediumnt(8). PHPBB3-9478
* | | | | | | Merge branch 'develop-olympus' into developNils Adermann2010-10-231-1/+1
|\ \ \ \ \ \ \ | |/ / / / / / | | | | / / / | |_|_|/ / / |/| | | | | | | | | | | * develop-olympus: [ticket/9807] Update existing module permissions in database [ticket/9807] Hide avatar tab in UCP when avatars are disabled
| * | | | | Merge branch 'ticket/igorw/9807' into develop-olympusNils Adermann2010-10-231-1/+1
| |\ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | * ticket/igorw/9807: [ticket/9807] Update existing module permissions in database [ticket/9807] Hide avatar tab in UCP when avatars are disabled
| | * | | | [ticket/9807] Hide avatar tab in UCP when avatars are disabledIgor Wiedler2010-09-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-9807
* | | | | | Merge branch 'develop-olympus' into developIgor Wiedler2010-10-191-1/+1
|\ \ \ \ \ \ | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * develop-olympus: [ticket/9509] Remove section 8 from index [ticket/9509] Close anchor tag in coding guidelines [ticket/9854] Revise docs/auth_api.html to add more methods [ticket/9509] The VCS is now git [ticket/9840] Display view unread posts link for guests. Conflicts: phpBB/docs/coding-guidelines.html
| * | | | | Merge branch 'ticket/rxu/9840' into develop-olympusAndreas Fischer2010-10-181-1/+1
| |\ \ \ \ \ | | |_|/ / / | |/| | | | | | | | | | | | | | | | * ticket/rxu/9840: [ticket/9840] Display view unread posts link for guests.
| | * | | | [ticket/9840] Display view unread posts link for guests.rxu2010-10-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Display view unread posts link for guests if applicable. PHPBB3-9840
* | | | | | Merge branch 'develop-olympus' into developIgor Wiedler2010-10-173-2/+12
|\ \ \ \ \ \ | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * develop-olympus: [ticket/7332] Fix post details expand link rendering on Webkit. [ticket/9162] Prevent notice on unset poll title [ticket/7417] Also focus search keywords and username in subsilver2. [ticket/7417] Focus username field when prosilver login page is loaded. [ticket/7417] Focus search keywords field when prosilver search page is loaded. [ticket/9841] Change "Save" to "Save draft", "Load" to "Load draft". [ticket/9664] Resolve conflict with accesskey="t", change addlitsitem to "y". [ticket/7538] Limit user_login_attempts to prevent SQL errors. [ticket/9848] Add avatars, attachments and store files to .gitignore. [ticket/9822] Correct some style related ACP explain statements. [ticket/9698] Add .htaccess to the includes subdirectory. [ticket/9830] Redirect to install directly when config.php does not exist. [ticket/9816] Remove config.php from repository [ticket/9810] Hide "Select All" of code bbcode on print page
| * | | | | Merge branch 'ticket/bantu/9698' into develop-olympusIgor Wiedler2010-10-171-0/+4
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | * ticket/bantu/9698: [ticket/9698] Add .htaccess to the includes subdirectory.
| | * | | | | [ticket/9698] Add .htaccess to the includes subdirectory.Andreas Fischer2010-10-151-0/+4
| | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add .htaccess to the includes folder to prevent full path disclosure when running PHP 5.3. When the error_reporting setting in php.ini contains the E_DEPRECATED error level, the PHP parser throws an error message containing the local filesystem path when accessing one of the captcha plugins directly. This is because the captcha plugins return explicit references for PHP 4 compatibility. PHPBB3-9698
| * | | | | [ticket/7538] Limit user_login_attempts to prevent SQL errors.Andreas Fischer2010-10-152-2/+8
| |/ / / / | | | | | | | | | | | | | | | PHPBB3-7538
* | | | | Merge branch 'feature/igorw/request-class' into developAndreas Fischer2010-10-131-1/+1
|\ \ \ \ \ | | |_|_|/ | |/| | | | | | | | | | | | | * feature/igorw/request-class: [feature/request-class] Check for existence of $request
| * | | | [feature/request-class] Check for existence of $requestIgor Wiedler2010-10-121-1/+1
| | | | | | | | | | | | | | | | | | | | PHPBB3-9716
* | | | | Merge branch 'feature/igorw/request-class' into developIgor Wiedler2010-10-1027-187/+918
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * feature/igorw/request-class: (21 commits) [feature/request-class] Fix mcp.php mode parameter [feature/request-class] Fix remember and session hide on login [feature/request-class] Fix missing include in database_update [feature/request-class] Make additional request test cases run [feature/request-class] Adjust some trailing newlines [feature/request-class] Remove tricky $_* is_array from acp_profile [feature/request-class] Convert any direct access to $_* to use $request [feature/request-class] Add $request to style.php, minor change [feature/request-class] Prevent recursive_set_var from applying htmlspecialchars twice [feature/request-class] Removal of direct access to some superglobals [feature/request-class] Refactor request classes to use autoloading [feature/request-class] Automatically normalize multibyte data in request_var [feature/request-class] Request class test now uses a type cast helper mock. [feature/request-class] Refactored request class and wrapper functions. [feature/request-class] Extracted type casting helpers from the request class. [feature/request-class] Replace direct use of GET/REQUEST with request_var. [feature/request-class] Use the request class in the installer & updater. [feature/request-class] request_var should return after setting the request object. [feature/request-class] Instantiate a global request class instance. [feature/request-class] New request class supports recursive arrays. ...
| * | | | [feature/request-class] Fix remember and session hide on loginIgor Wiedler2010-10-051-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Thanks to SA007. PHPBB3-9716
| * | | | [feature/request-class] Adjust some trailing newlinesIgor Wiedler2010-09-271-1/+1
| | | | | | | | | | | | | | | | | | | | PHPBB3-9716
| * | | | [feature/request-class] Remove tricky $_* is_array from acp_profileIgor Wiedler2010-09-251-1/+1
| | | | | | | | | | | | | | | | | | | | PHPBB3-9716
| * | | | [feature/request-class] Convert any direct access to $_* to use $requestIgor Wiedler2010-09-2521-77/+113
| | | | | | | | | | | | | | | | | | | | PHPBB3-9716
| * | | | [feature/request-class] Prevent recursive_set_var from applying ↵Igor Wiedler2010-09-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | htmlspecialchars twice PHPBB3-9716
| * | | | [feature/request-class] Removal of direct access to some superglobalsIgor Wiedler2010-09-171-10/+2
| | | | | | | | | | | | | | | | | | | | PHPBB3-9716
| * | | | [feature/request-class] Refactor request classes to use autoloadingIgor Wiedler2010-09-176-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | All class names have been adjusted to use a phpbb_request prefix, allowing them to be autoloaded. Also introduces some improvements to autoloading in general. PHPBB3-9716
| * | | | [feature/request-class] Automatically normalize multibyte data in request_varIgor Wiedler2010-09-171-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To save users from having to run everything through utf8_normalize_nfc(), a call is done automatically from within set_var, which is called by request_var. PHPBB3-9716
| * | | | [feature/request-class] Refactored request class and wrapper functions.Nils Adermann2010-09-172-157/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The request class - now makes use of the new type cast helper (dependency injection) - has no static methods anymore. - now has a constructor argument to leave super globals turned on Brought back the set_var function in functions.php. It is now a wrapper around the type cast helper. It creates an instance on the fly. The request_var wrapper function now has an optional last argument to inject the request class instance, rather than abusing the $var_name. PHPBB3-9716
| * | | | [feature/request-class] Extracted type casting helpers from the request class.Nils Adermann2010-09-172-0/+241
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These methods should be available without having to instantiate a request class object, better separation of concerns. A set_var wrapper around this class no longer requires a request object at all. PHPBB3-9716
| * | | | [feature/request-class] Replace direct use of GET/REQUEST with request_var.Nils Adermann2010-09-171-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now with $_VARs causing fatal errors we should really be able to find and delete all of these occurances. PHPBB3-9716
| * | | | [feature/request-class] request_var should return after setting the request ↵Nils Adermann2010-09-171-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | object. If the "dependency injection" mechanism is used there should not be any regular computation of a result value. request_var has to return immediately. PHPBB3-9716
| * | | | [feature/request-class] Adding a request class based on ascraeus-experiment.Nils Adermann2010-09-174-100/+668
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The well known request_var function is now a wrapper that calls a method on a phpbb_request object. The class provides additional functionality. It can replace all super globals with special objects that throw errors when being accessed. They still allow isset operations to keep backward compatibility with isset($_POST['var']) checks. The phpbb_request class implements the phpbb_request_interface which is available for easy mocking of input in tests. PHPBB3-9716
* | | | | Merge branch 'ticket/bantu/9792' into developIgor Wiedler2010-10-041-0/+409
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * ticket/bantu/9792: [ticket/9792] Move function definitions out of download/file.php Conflicts: phpBB/download/file.php
| * | | | | [ticket/9792] Move function definitions out of download/file.phpAndreas Fischer2010-08-301-0/+409
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move functions defined in download/file.php out to includes/functions_download.php so they can be properly reused and unit tested. PHPBB3-9792