aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
Commit message (Collapse)AuthorAgeFilesLines
...
| | * | [feature/new-tz-handling] Correct typo in member comment.Chris Smith2012-03-141-1/+1
| | | | | | | | | | | | | | | | PHPBB3-9558
| | * | [feature/new-tz-handling] Fixed bug with signature of user::create_datetime().Chris Smith2012-03-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | First argument to user::create_datetime() should be optional. PHPBB3-9558
| | * | [feature/new-tz-handling] Added a user::create_datetime() method.Chris Smith2012-03-141-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | New method which handles instantiating new phpbb_datetime objects in the context of the current user. PHPBB3-9558
| | * | [feature/new-tz-handling] Replace user::$timezone with user::$tz.Chris Smith2012-03-141-6/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | user::$tz will store the new DateTimeZone object representing the users timezone instead of the existing user::$timezone and user::$dst combination. PHPBB3-9558
| | * | [feature/new-tz-handling] Remove old user::$dst propertyChris Smith2012-03-141-1/+0
| | | | | | | | | | | | | | | | PHPBB3-9558
| | * | [feature/new-tz-handling] Correct capitalisation of phpbb_datetime.Chris Smith2012-03-141-1/+1
| | | | | | | | | | | | | | | | PHPBB3-9558
| | * | [feature/new-tz-handling] Update user methods to use new date processing class.Chris Smith2012-03-141-63/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | user::setup() now stores a DateTimeZone object in user::$timezone representing the users timezone. For backwards compatibility a numeric value in user/board_timezone will be converted into one of the legacy Etc/GMT±X timezones. This will be used until the user updates his/her timezone in the UCP. user::format_date() is now basically a legacy wrapper that transforms a UTC UNIX timestamp into a formatted localised date using phpbb_datetime::format(). PHPBB3-9558
| | * | [feature/new-tz-handling] Renamed old variables and removed extra conditional.Chris Smith2012-03-141-24/+19
| | | | | | | | | | | | | | | | PHPBB3-9558
| | * | [feature/new-tz-handling] Use phpbb_datetime rather than phpbb_DateTime.Chris Smith2012-03-141-2/+2
| | | | | | | | | | | | | | | | PHPBB3-9558
| | * | [feature/new-tz-handling] Wrapper around DateTime for new date time handling.Chris Smith2012-03-141-0/+160
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Wrapped PHP's DateTime with some extensions for supporting phpBB's relative date formats and provided the DateTime::getTimestamp() method to PHP < 5.3. PHPBB3-9558
* | | | Merge remote-tracking branch 'Fyorl/ticket/10944' into developAndreas Fischer2012-07-191-6/+9
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | * Fyorl/ticket/10944: [ticket/10944] strpos now stricter and removed superfluous ternary [ticket/10944] Reverted changes in PHPBB3-10963
| * | | | [ticket/10944] strpos now stricter and removed superfluous ternaryFyorl2012-07-171-1/+1
| | | | | | | | | | | | | | | | | | | | PHPBB3-10944
| * | | | [ticket/10944] Reverted changes in PHPBB3-10963Fyorl2012-07-171-6/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | is_image now just checks the mimetype reported by the browser and get_mimetype goes back to being unused. PHPBB3-10944
* | | | | [feature/pagination-as-list] New parameter for name of start varDrae2012-07-1819-24/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a new parameter to hold the name of the start variable. This fulfills ticket PHPBB3-8535. PHPBB3-10968
* | | | | [feature/pagination-as-list] Updates for nils commentsDrae2012-07-1820-181/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Re-remove deprecated functions, change on_page to phpbb_on_page, add null returns, remove globals and pass as params. PHPBB3-10968
* | | | | [feature/pagination-as-list] Rename and deprecate functionsDrae2012-07-1820-22/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Returned and marked deprecated topic_generate_pagination. Rename new function in line with coding guidelines. PHPBB3-10968
* | | | | [feature/pagination-as-list] Various fixes and improvementsDrae2012-07-1819-76/+218
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Extracted common template code for prosilver as per subsilver2. Various other fixups and oversight corrections, changed name of the "new" template function and re-introduced existing version. Altered on_page to compensate for removal of some templating vars from pagination routine. PHPBB3-10968
* | | | | [ticket/10968] Render pagination within the templateDrae2012-07-1821-113/+102
| |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since phpBB 2 pagination has been rendered mostly within the source. This limits just what designers can do with pagination. The current form is also questionable in terms of "best practice". The aim is to move rendering completely to the template via the use of a block element. Enabling S_ template vars also allows for control over specific aspects of the pagination output such as next, previous, active and ellipsis. Related to this - merging the capabilities of the topic_generate_pagination with generate_pagination removes an element of duplication. PHPBB3-10968
* | | | Merge remote-tracking branch 'github-bantu/ticket/10969' into developNils Adermann2012-07-172-46/+3
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | * github-bantu/ticket/10969: [ticket/10969] Also remove COMMENTS key from data array in get_available_dbms() [ticket/10969] Remove remove_remarks(&$sql) and remove_comments(&$output).
| * | | | [ticket/10969] Also remove COMMENTS key from data array in get_available_dbms()Andreas Fischer2012-07-081-9/+0
| | | | | | | | | | | | | | | | | | | | PHPBB3-10969
| * | | | [ticket/10969] Remove remove_remarks(&$sql) and remove_comments(&$output).Andreas Fischer2012-07-082-37/+3
| |/ / / | | | | | | | | | | | | | | | | | | | | Merge their bodies into phpbb_remove_comments($input). PHPBB3-10969
* | | | Merge branch 'develop-olympus' into developAndreas Fischer2012-07-171-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | * develop-olympus: [ticket/10995] Return false in mssqlnative sql_fetchrow on empty result
| * | | | [ticket/10995] Return false in mssqlnative sql_fetchrow on empty resultPatrick Webster2012-07-171-1/+1
| | | | | | | | | | | | | | | | | | | | PHPBB3-10995
* | | | | Merge remote-tracking branch 'github-exreaction/ticket/7598' into developNils Adermann2012-07-171-1/+6
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * github-exreaction/ticket/7598: [ticket/7598] Use $user->lang['COMMA_SEPARATOR'] [ticket/7598] Inactive users action notification (ACP)
| * | | | | [ticket/7598] Use $user->lang['COMMA_SEPARATOR']Nathan2012-07-141-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-7598
| * | | | | [ticket/7598] Inactive users action notification (ACP)Nathan2012-07-131-1/+6
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | When performing an action on users in the ACP Inactive Users, such as activating, deleting, or reminding, trigger_error is now called to give a notification that the action was performed PHPBB3-7598
* | | | | Merge remote-tracking branch 'nickvergessen/ticket/10942' into developAndreas Fischer2012-07-176-0/+71
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * nickvergessen/ticket/10942: [ticket/10942] Avoid possible conflicts with magic words in unit tests [ticket/10942] Add access modifiers [ticket/10942] Use ANSI SQL standard || in dbal.php [ticket/10942] Fix up unit tests for sql_case() [ticket/10942] Require same data type and do not cast expressions automatically [ticket/10942] Make unit tests for sql_case simpler [ticket/10942] Add a comment why we cast to sql_case() [ticket/10942] Rename method sql_conditional() to sql_case() [ticket/10942] Change term string to expression to avoid confusion [ticket/10942] Fix sql_conditional for mssql, postgre and oracle [ticket/10942] Fix function name on order_lower_test.php [ticket/10942] Add unit tests for sql_concatenate [ticket/10942] Add sql_concatenate to dbal [ticket/10942] Add unit tests for sql_conditional [ticket/10942] Add sql_conditional to dbal
| * | | | [ticket/10942] Add access modifiersJoas Schilling2012-07-046-7/+7
| | | | | | | | | | | | | | | | | | | | PHPBB3-10942
| * | | | [ticket/10942] Use ANSI SQL standard || in dbal.phpJoas Schilling2012-07-026-25/+17
| | | | | | | | | | | | | | | | | | | | PHPBB3-10942
| * | | | [ticket/10942] Require same data type and do not cast expressions automaticallyJoas Schilling2012-07-026-65/+2
| | | | | | | | | | | | | | | | | | | | PHPBB3-10942
| * | | | [ticket/10942] Add a comment why we cast to sql_case()Joas Schilling2012-06-205-0/+5
| | | | | | | | | | | | | | | | | | | | PHPBB3-10942
| * | | | [ticket/10942] Rename method sql_conditional() to sql_case()Joas Schilling2012-06-206-39/+39
| | | | | | | | | | | | | | | | | | | | PHPBB3-10942
| * | | | [ticket/10942] Change term string to expression to avoid confusionJoas Schilling2012-06-207-17/+17
| | | | | | | | | | | | | | | | | | | | PHPBB3-10942
| * | | | [ticket/10942] Fix sql_conditional for mssql, postgre and oracleJoas Schilling2012-06-205-0/+60
| | | | | | | | | | | | | | | | | | | | PHPBB3-10942
| * | | | [ticket/10942] Add sql_concatenate to dbalJoas Schilling2012-06-207-0/+60
| | | | | | | | | | | | | | | | | | | | PHPBB3-10942
| * | | | [ticket/10942] Add sql_conditional to dbalJoas Schilling2012-06-201-0/+17
| | | | | | | | | | | | | | | | | | | | PHPBB3-10942
* | | | | Merge PR #856 branch 'develop-olympus' into developOleg Pudeyev2012-07-072-5/+52
|\ \ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | | | | | | * 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-072-5/+52
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-072-5/+52
| | |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-032-5/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-10937
* | | | | | | Merge PR #832 branch 'dhruvgoel92/feature/postgresql-fulltext-search' into ↵Oleg Pudeyev2012-07-071-0/+856
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-081-1/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function to return the value of the the private property phrase_search PHPBB3-9730
| * | | | | | | [feature/postgresql-fulltext-search] fix formattingDhruv Goel2012-07-051-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-051-33/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Language key name not incompatible_database instead of version which was misleading PHPBB3-9730
| * | | | | | | [feature/postgresql-fulltext-search] removes pcre checkDhruv Goel2012-07-051-8/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PCRE UTF8 support is already checked globally. adds an option of pgsql version to acp. PHPBB3-9730