aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/db
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | [ticket/12557] Fix doc block errors found by Sami pt1n-aleha2014-08-031-1/+4
| | | | | | | | | | | | | | | | PHPBB3-12557
* | | | Merge pull request #2637 from Nicofuma/ticket/12387Joas Schilling2014-08-0710-138/+247
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ticket/12387] Cleanup *_free_result call and remove @ on that call * Nicofuma/ticket/12387: [ticket/12387] Fix a call to sql_freeresult in full_text_native [ticket/12387] Fix \phpbb\db\driver\mysqli::sql_freeresult [ticket/12387] Use the hash as query_id for caching [ticket/12387] Remove unnecessary checks [ticket/12387] mssql_query return true if a select query returns 0 row [ticket/12387] Cleanup *_free_result call and remove @ on that call
| * | | [ticket/12387] Fix \phpbb\db\driver\mysqli::sql_freeresultTristan Darricau2014-06-221-1/+6
| | | | | | | | | | | | | | | | PHPBB3-12387
| * | | [ticket/12387] Remove unnecessary checksTristan Darricau2014-06-225-5/+5
| | | | | | | | | | | | | | | | PHPBB3-12387
| * | | [ticket/12387] mssql_query return true if a select query returns 0 rowTristan Darricau2014-06-221-2/+12
| | | | | | | | | | | | | | | | PHPBB3-12387
| * | | [ticket/12387] Cleanup *_free_result call and remove @ on that callTristan Darricau2014-06-2210-133/+227
| | | | | | | | | | | | | | | | PHPBB3-12387
* | | | Merge pull request #2767 from Nicofuma/ticket/12882Joas Schilling2014-07-311-0/+34
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ticket/12882] Update search_type when it's not prefixed by phpbb_search * Nicofuma/ticket/12882: [ticket/12882] Use a new migration [ticket/12882] Update search_type when it's not prefixed by phpbb_search
| * | | | [ticket/12882] Use a new migrationTristan Darricau2014-07-212-4/+34
| | | | | | | | | | | | | | | | | | | | PHPBB3-12882
| * | | | [ticket/12882] Update search_type when it's not prefixed by phpbb_searchTristan Darricau2014-07-211-0/+4
| | |/ / | |/| | | | | | | | | | PHPBB3-12882
* | | | [ticket/12870] Add doc blockTristan Darricau2014-07-281-0/+4
| | | | | | | | | | | | | | | | PHPBB3-12870
* | | | [ticket/12870] Create the migrations table with a method in the migratorTristan Darricau2014-07-271-0/+20
| | | | | | | | | | | | | | | | PHPBB3-12870
* | | | Merge pull request #2651 from nickvergessen/ticket/12448Dhruv Goel2014-07-221-6/+31
|\ \ \ \ | |/ / / |/| | | [ticket/12448] Allow null as default value for columns
| * | | [ticket/12448] Fix null columns for MS SQLJoas Schilling2014-06-251-1/+1
| | | | | | | | | | | | | | | | PHPBB3-12448
| * | | [ticket/12448] Fix null columns for postgresJoas Schilling2014-06-251-0/+6
| | | | | | | | | | | | | | | | PHPBB3-12448
| * | | [ticket/12448] Allow null as default value for columnsJoas Schilling2014-06-251-6/+25
| | | | | | | | | | | | | | | | PHPBB3-12448
* | | | [ticket/12846] SQLite3 bug in profilefield_base_migration.phpStanislav Atanasov2014-07-131-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using profilefield_base_migration.php to create a custom profile field with SQlite3 DBMS returns warning: [phpBB Debug] PHP Warning: in file [ROOT]/phpbb/db/driver/sqlite3.php on line 218: SQLite3Result::fetchArray(): Unable to execute statement: constraint failed This is due passing filed_id and lang_id to the DB driver in unspecified format. As they are always int we should cast them in int to prevent the error message appearance. PHPBB3-12846
* | | | [prep-release-3.1.0-RC2] Add migration for 3.1.0-RC2Joas Schilling2014-07-111-0/+31
| | | |
* | | | Merge pull request #2711 from n-aleha/ticket/12829Andreas Fischer2014-07-111-6/+2
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ticket/12829] Remove check for pgsql 8.3/8.2 * n-aleha/ticket/12829: [ticket/12829] Remove check for pgsql 8.3/8.2
| * | | | [ticket/12829] Remove check for pgsql 8.3/8.2n-aleha2014-07-071-6/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove check for pgsql 8.3/8.2 and set multi_insert to true. PHPBB3-12829
* | | | | Merge pull request #2675 from lucifer4o/ticket/12786Joas Schilling2014-07-091-0/+87
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ticket/12786] Extend profilefield_base_migration.php class * lucifer4o/ticket/12786: [ticket/12786] Correcting some tabs [ticket/12786] Array_merge instead copy array parts [ticket/12786] Some changes of the comments. [ticket/12786] Dixing a typo [ticket/12786] Some minor fixes of comments and function naming [ticket/12786] Add clean_cpf_db_entries [ticket/12786] White spaces found [ticket/12786] Add create_language_entries [ticket/12786] Add get_custom_field_id [ticket/12786] Extend profilefield_base_migration.php class
| * | | | | [ticket/12786] Correcting some tabsStanislav Atanasov2014-07-081-21/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some tabs needed corection PHPBB3-12786
| * | | | | [ticket/12786] Array_merge instead copy array partsStanislav Atanasov2014-07-041-5/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | nickvergessen proposed this PHPBB3-12786
| * | | | | [ticket/12786] Some changes of the comments.Stanislav Atanasov2014-07-031-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Comments and quotes PHPBB3-12786 [ticket/12786] PHPBB3-12786 Revert "[ticket/12786]" This reverts commit 61a6647101731110f67689b109de953f7449b03e.
| * | | | | [ticket/12786] Dixing a typoStanislav Atanasov2014-06-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Typos fixed PHPBB3-12786
| * | | | | [ticket/12786] Some minor fixes of comments and function namingStanislav Atanasov2014-06-291-14/+22
| | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-12786
| * | | | | [ticket/12786] Add clean_cpf_db_entriesStanislav Atanasov2014-06-291-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add function to clean the cpf fields entries PHPBB3-12786
| * | | | | [ticket/12786] White spaces foundStanislav Atanasov2014-06-291-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Removed some white spaces PHPBB3-12786
| * | | | | [ticket/12786] Add create_language_entriesStanislav Atanasov2014-06-291-0/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add function to create entries in PROFILE_FIELDS_LANG_TABLE PHPBB3-12786
| * | | | | [ticket/12786] Add get_custom_field_idStanislav Atanasov2014-06-291-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adding function to get CPFs ID PHPBB3-12786
| * | | | | [ticket/12786] Extend profilefield_base_migration.php classStanislav Atanasov2014-06-291-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If extensions authors will use profilefield_base_migration.php class as base class for creation of CPFs, the class need to be extended a bit. At the moment there are two issues with it: It does not create entries for PROFILE_FIELDS_LANG_TABLE (as it can't know what fields to create). The migration is not "cleaning" the DBMS after purging the extension and leaves everything except the CPF column. Adding profilefield_language_data PHPBB3-12786
* | | | | | Merge pull request #2695 from VSEphpbb/ticket/12812Tristan Darricau2014-07-081-0/+125
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ticket/12812] Add a migrator tool for config_text database changes * VSEphpbb/ticket/12812: [ticket/12812] Remove unused global $db from tests [ticket/12812] Improve migrator config_text tool tests [ticket/12812] Improve migrator config_text tool tests [ticket/12812] Add a migrator tool for config_text database changes
| * | | | | | [ticket/12812] Add a migrator tool for config_text database changesMatt Friedman2014-07-051-0/+125
| | |/ / / / | |/| | | | | | | | | | | | | | | | PHPBB3-12812
* | | | | | Merge pull request #2690 from Noxwizard/ticket/12802Tristan Darricau2014-07-071-3/+4
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ticket/12802] Properly handle connection failures in SQLite3 * Noxwizard/ticket/12802: [ticket/12802] Properly handle connection failures in SQLite3
| * | | | | [ticket/12802] Properly handle connection failures in SQLite3Patrick Webster2014-07-031-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-12802
* | | | | | Merge remote-tracking branch 'github-nicofuma/ticket/12446' into ↵Nils Adermann2014-07-0413-15/+630
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | develop-ascraeus * github-nicofuma/ticket/12446: [ticket/12446] Unnecessary db connect inphpbb_bootstrap_enabled_exts
| * | | | | [ticket/12446] Unnecessary db connect inphpbb_bootstrap_enabled_extsTristan Darricau2014-06-2613-15/+630
| | |/ / / | |/| | | | | | | | | | | | | PHPBB3-12446
* | | | | Merge pull request #2660 from marc1706/ticket/12764Joas Schilling2014-06-271-1/+5
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ticket/12764] Properly handle errors upon connecting to MySQLi database * marc1706/ticket/12764: [ticket/12764] Properly handle errors upon connecting to MySQLi database
| * | | | | [ticket/12764] Properly handle errors upon connecting to MySQLi databaseMarc Alexander2014-06-261-1/+5
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As the db_connect_id gets set up by mysql_init(), the db_connect_id will be an object with empty settings instead of just empty. Even if mysql_real_connect() encounters an error upon connecting, the db_connect_id is still set. This will result in trying to just access the database which obviously does nothing. By setting db_connect_id to an empty string, the script will not try to query th database and properly handle any errors that occur upon connecting. PHPBB3-12764
* | | | | [ticket/12771] Shanging substr to strposStanislav Atanasov2014-06-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Logical change ... PHPBB3-12771
* | | | | [ticket/12771] Change var nameStanislav Atanasov2014-06-261-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change var name PHPBB3-12771
* | | | | [ticket/12771] Bug in profilefield_base_migration when used in extStanislav Atanasov2014-06-261-1/+2
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The base migration class should create lang entry for the new CPF but it is supposed to strip it of phpbb_ prefix. As extensions CPFs do not use phpbb_ prefix it will not create a lang entry. This is as simple solution as it can be done. PHPBB3-12771
* | | | [prep-release-3.1.0-RC1] Add migration for 3.1.0-RC1Joas Schilling2014-06-241-0/+39
| | | |
* | | | Merge pull request #2629 from nickvergessen/ticket/12747Andreas Fischer2014-06-222-691/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ticket/12747] Drop support for Firebird * nickvergessen/ticket/12747: [ticket/12747] Remove some methods which are not used anymore [ticket/12747] Drop support for Firebird Conflicts: phpBB/phpbb/db/driver/firebird.php
| * | | | [ticket/12747] Drop support for FirebirdJoas Schilling2014-06-202-683/+1
| | | | | | | | | | | | | | | | | | | | PHPBB3-12747
* | | | | Merge pull request #2591 from rxu/ticket/12704Joas Schilling2014-06-2210-0/+80
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ticket/12704] Improve the load time information in the footer when enabled * rxu/ticket/12704: [ticket/12704] Improve the load time information in the footer when enabled
| * | | | | [ticket/12704] Improve the load time information in the footer when enabledrxu2014-06-2010-0/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR #2570 has added new constant to display load time information without debug mode is being on (https://tracker.phpbb.com/browse/PHPBB3-12687). This patch expands the total load time info with SQL/PHP load times, while hiding the additional info with <abbr> element. PHPBB3-12704
* | | | | | Merge pull request #2615 from Dragooon/ticket/12730Joas Schilling2014-06-221-0/+60
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ticket/12730] Add Google+ profile field * Dragooon/ticket/12730: [ticket/12730] Update Google+ button class to use proper identification [ticket/12730] Update maxlen for type_googleplus to 255 [ticket/12730] Fix type_googleplus_test to use same validation rule as the field [ticket/12730] Update field_length to be 20 by default for Google+ [ticket/12730] Google+ field_order should be 13 [ticket/12730] Switch service name to googleplus for type_googleplus [ticket/12730] Restore field_length to 10 for type_googleplus [ticket/12730] Add functional test for Google+ field [ticket/12730] Value shouldn't be escaped for schema_data.sql [ticket/12730] Missing newline at type_googleplus_test.php [ticket/12730] Set field_active to 1 for Google+ field [ticket/12730] Add unit test for type_googleplus [ticket/12730] Add missing brackets to type_googleplus.php [ticket/12730] Update field_order for Google+ CPF [ticket/12730] Use string template for Google+ CPF instead of a new one [ticket/12730] Minor formatting fixes [ticket/12730] Incorrect indentation for type_googleplus [ticket/12730] Spaces in block header [ticket/12730] Add a Google+ field by default [ticket/12730] Add Google+ profile field type
| * | | | | [ticket/12730] Update maxlen for type_googleplus to 255Shitiz Garg2014-06-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-12730
| * | | | | [ticket/12730] Minor formatting fixesShitiz Garg2014-06-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-12730
| * | | | | [ticket/12730] Add a Google+ field by defaultShitiz Garg2014-06-211-0/+60
| | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-12730