aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/db
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | Ticket# 11477 - Allow customisation of "Board index"Tabitha Backoff2013-03-281-0/+2
| | | | | | | |
* | | | | | | | [ticket/11469] Add comment about using bitwise operator.Andreas Fischer2013-03-281-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11469
* | | | | | | | [ticket/11469] Use multi insert property from DB. Do not copy value to buffer.Andreas Fischer2013-03-281-5/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11469
* | | | | | | | [ticket/11469] Use buffer with a single element instead of extra code path.Andreas Fischer2013-03-281-11/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11469
* | | | | | | | [ticket/11469] Cast $result to boolean in insert_all()Joas Schilling2013-03-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |= returns integer values PHPBB3-11469
* | | | | | | | [ticket/11469] Add note about calling flush() after batch insert is done.Andreas Fischer2013-03-271-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11469
* | | | | | | | [ticket/11469] Have all methods of phpbb_db_sql_insert_buffer provide feedback.Andreas Fischer2013-03-271-6/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11469
* | | | | | | | [ticket/11469] Add benefits over collecting huge insert arrays to class doc.Andreas Fischer2013-03-271-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11469
* | | | | | | | Merge remote-tracking branch 'nickvergessen/ticket/bantu/11469' into ↵Andreas Fischer2013-03-271-0/+1
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ticket/11469 * nickvergessen/ticket/bantu/11469: [ticket/11469] Use method to check config count, instead of repeating it [ticket/11469] Return after sql_multi_insert when multi_insert is false [ticket/11469] Add some basic unit tests for phpbb_db_sql_insert_buffer
| * | | | | | | | [ticket/11469] Return after sql_multi_insert when multi_insert is falseJoas Schilling2013-03-271-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11469
* | | | | | | | | Merge remote-tracking branch 'phpbb/develop' into ticket/11469Andreas Fischer2013-03-271-2/+2
|\ \ \ \ \ \ \ \ \ | | |/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * phpbb/develop: [ticket/11476] Remove pass-by-reference from sql_mutli_insert [ticket/11466] Remove old database driver files from PHPUnit exclude [ticket/11448] Use of $user_id parameter to mark a user's notifications read [ticket/11460] Add default behaviour tests for notification and email types. [ticket/11460] Configure functional test board email using dummy SMTP data. [ticket/11460] Add test for whether post_email and topic_email are checked. [ticket/11460] Add methods for checkbox handling to phpbb_functional_test_case. [ticket/11460] Drop incorrect phpbb_notification_{type,method}_ prefix.
| * | | | | | | | [ticket/11476] Remove pass-by-reference from sql_mutli_insertJoas Schilling2013-03-271-2/+2
| | |/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The method never writes to the array passed by reference. So it can be passed by value instead to avoid certain problems. PHPBB3-11476
* | | | | | | | [ticket/11469] Add example code to class documentation.Andreas Fischer2013-03-271-0/+15
| |/ / / / / / |/| | | | | | | | | | | | | | | | | | | | PHPBB3-11469
* | | | | | | [ticket/11469] Add comment about using sql_multi_insert when not buffering.Andreas Fischer2013-03-251-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11469
* | | | | | | [ticket/11469] Add SQL insert buffer allowing easier handling of multi inserts.Andreas Fischer2013-03-211-0/+111
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Tries to prevent going over max packet size by flushing to the database after a certain number of rows have been added. 2. Because of 1., it is less likely to reach a connection timeout when inserting a huge number of rows. 3. By flushing the buffer when a certain size is reached, memory usage should be lower compared to building the whole insert row set first. PHPBB3-11469
* | | | | | Merge remote-tracking branch 'remotes/Blitze/ticket/11383' into developNathaniel Guse2013-03-091-0/+6
|\ \ \ \ \ \ | |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | # By OpenShift guest # Via OpenShift guest * remotes/Blitze/ticket/11383: [ticket/11383] Correctly revert modules added/removed by migrator
| * | | | | [ticket/11383] Correctly revert modules added/removed by migratorOpenShift guest2013-03-031-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11383
* | | | | | [ticket/10202] Add migration file for config_db_text.Andreas Fischer2013-03-051-0/+45
| |_|_|_|/ |/| | | | | | | | | | | | | | PHPBB3-10202
* | | | | [ticket/11398] Correctly call permission_set method in permission toolMarc Alexander2013-03-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The permission_set method calls itself inside the permission tool. Probably due to an oversight, it is called as $this->set(), which causes a fatal error. This patch will get rid of this issue. PHPBB3-11398
* | | | | Merge remote-tracking branch 'EXreaction/ticket/11386-3' into developDavid King2013-03-041-105/+81
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # By Nathaniel Guse # Via Nathaniel Guse * EXreaction/ticket/11386-3: [ticket/11386] Fix missing ; [ticket/11386] Send list of migrations instead of using load_migrations
| * \ \ \ \ Merge branch 'develop' of git://github.com/phpbb/phpbb3 into ticket/11386-3Nathaniel Guse2013-03-043-4/+175
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: phpBB/includes/db/migrator.php
| * | | | | | [ticket/11386] Fix missing ;Nathaniel Guse2013-03-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11386
| * | | | | | [ticket/11386] Send list of migrations instead of using load_migrationsNathaniel Guse2013-03-031-106/+82
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove dependency of extension manager for migrator. Keeping load_migrations function for others to use if they desire but requiring the finder be sent to it in order to use it. PHPBB3-11386
* | | | | | Merge remote-tracking branch 'EXreaction/ticket/11394' into developDavid King2013-03-043-8/+8
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # By Nathaniel Guse # Via Nathaniel Guse * EXreaction/ticket/11394: [ticket/11394] Relax Migration Tools
| * | | | | | [ticket/11394] Relax Migration ToolsNathaniel Guse2013-03-043-8/+8
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Do not throw as many exceptions in the migration tools (when something unexpected occurs but can be safely ignored). PHPBB3-11394
* | | | | | Merge remote-tracking branch 'EXreaction/ticket/11393' into developDavid King2013-03-041-1/+8
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | # By Nathaniel Guse # Via Nathaniel Guse * EXreaction/ticket/11393: [ticket/11393] Give more information on database updater
| * | | | | [ticket/11393] Give more information on database updaterNathaniel Guse2013-03-031-1/+8
| |/ / / / | | | | | | | | | | | | | | | PHPBB3-11393
* | | | | Merge remote-tracking branch 'remotes/marc/feature/avatars' into developNathaniel Guse2013-03-041-0/+67
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # By Marc Alexander (100) and others # Via Marc Alexander (8) and Igor Wiedler (3) * remotes/marc/feature/avatars: (138 commits) [feature/avatars] Update module_auth of ucp module and fix small issues [feature/avatars] Add migrations data file for avatars [feature/avatars] Reduce module auth of ucp avatar settings [feature/avatars] Auto-clear avatar dimensions when first changing avatars [feature/avatars] Use "Main" as category for avatars in root of gallery [feature/avatars] Remove trailing whitespace from avatar code [feature/avatars] Pass phpbb_user to prepare and process form functions [feature/avatars] Document the use of the allowed extensions array [feature/avatars] Use array for allowed extensions and implode if needed [feature/avatars] Use deprecated for compatibility function [feature/avatars] Correct license, copyright and package info [feature/avatars] Move list of supported formats to avatar driver class [feature/avatars] Add include of functions_display.php in BC function [feature/avatars] Add note about when compatibility function was added [feature/avatars] Add compatibility function for get_user_avatar() [feature/avatars] Move definition of driver_collection to avatars.yml [feature/avatars] Remove the obsolete request argument for avatar drivers [feature/avatars] Add missing @var to docblocks in avatar manager [feature/avatars] Remove not needed inline style [feature/avatars] Differentiate tests for get drivers functions ...
| * | | | | [feature/avatars] Update module_auth of ucp module and fix small issuesMarc Alexander2013-03-041-9/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reduced the check effectively_installed() to just checking for the config entry "allow_avatar_gravatar". Also added the missing update of the module_auth of the ucp_profile avatar mode. PHPBB3-10018
| * | | | | [feature/avatars] Add migrations data file for avatarsMarc Alexander2013-03-041-0/+64
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The module_auth of the ucp avatar settings are used for checking if the migration has already been installed. PHPBB3-10018
* | | | | Merge remote-tracking branch 'remotes/nickv/ticket/10411-2' into developNathaniel Guse2013-03-041-0/+104
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # By Joas Schilling # Via Joas Schilling * remotes/nickv/ticket/10411-2: (33 commits) [ticket/10411] Fix call to function on non-object $db->...() [ticket/10411] Remove ajax delete, so the page is refreshed [ticket/10411] Update schema file with new table and remove the column [ticket/10411] Add unit tests for move() with values >1 [ticket/10411] Add migrations file for teampage table [ticket/10411] Revert database_update.php changes from for easier update [ticket/10411] Add maxlength to category name input field [ticket/10411] Test for thrown exceptions when group does not exist [ticket/10411] Catch exceptions from grouppositions [ticket/10411] Throw exceptions instead of using trigger_error() [ticket/10411] Add return values to add/delete function [ticket/10411] Add return value to move functions [ticket/10411] Fix typehinting and change private to protected [ticket/10411] Use template loops instead of defining the html in php files [ticket/10411] Ensure we only get services that do exist [ticket/10411] Add a comment why we left join the group table [ticket/10411] Rename template variable CUR_ to CURRENT_ [ticket/10411] Move globals to the top and use array for cache destroy [ticket/10411] Use new ajax callback name row_up/row_down [ticket/10411] Fix logic error when editing/creating a group ...
| * | | | | [ticket/10411] Fix call to function on non-object $db->...()Joas Schilling2013-03-011-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-10411
| * | | | | [ticket/10411] Add migrations file for teampage tableJoas Schilling2013-02-271-0/+104
| | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-10411
* | | | | | [ticket/11396] Rename insert_migration to set_migration_stateNathaniel Guse2013-03-031-4/+4
| |/ / / / |/| | | | | | | | | | | | | | PHPBB3-11396
* | | | | Merge remote-tracking branch 'EXreaction/ticket/11386' into developDavid King2013-03-021-38/+28
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # By Nathaniel Guse # Via Nathaniel Guse * EXreaction/ticket/11386: [ticket/11386] Fix failing tests from constructor changes [ticket/11386] Fix circular reference error & serialize error [ticket/11386] Remove tests that check if finder cache is working [ticket/11386] Forgot to get the migration classes [ticket/11386] Update tests with new constructors for ext.manager/migrator [ticket/11386] Use finder to find migration files
| * \ \ \ \ Merge branch 'develop' of git://github.com/phpbb/phpbb3 into ticket/11386Nathaniel Guse2013-03-021-26/+26
| |\ \ \ \ \ | | | |/ / / | | |/| | | | | | | | | | | | | | | Conflicts: phpBB/includes/extension/finder.php
| * | | | | [ticket/11386] Fix circular reference error & serialize errorNathaniel Guse2013-03-021-2/+11
| | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11386
| * | | | | [ticket/11386] Forgot to get the migration classesNathaniel Guse2013-03-021-5/+11
| | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11386
| * | | | | [ticket/11386] Use finder to find migration filesNathaniel Guse2013-03-021-39/+14
| | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11386
* | | | | | [ticket/11385] Fix issue with migration module tool not getting extension ↵OpenShift guest2013-03-021-1/+1
| |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | module info PHPBB3-11385
* | | | | [ticket/11363] Fix to make get_module_infos get from all extensionsNathaniel Guse2013-03-011-26/+26
|/ / / / | | | | | | | | | | | | | | | | | | | | Depends on 11381 PHPBB3-11363
* | | | [ticket/11103] Fix effectively installed checkNathan Guse2013-02-281-1/+1
| | | | | | | | | | | | | | | | PHPBB3-11103
* | | | Merge branch 'develop' of github.com:phpbb/phpbb3 into ticket/11103Nathan Guse2013-02-282-41/+30
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # By Nathaniel Guse # Via David King (2) and Nathaniel Guse (1) * 'develop' of github.com:phpbb/phpbb3: [ticket/11363] Fix a couple bugs and throw errors if the file not found [ticket/11372] Migrator should only check if effectively installed if not [ticket/11363] Load module info files for extensions too
| * \ \ \ Merge remote-tracking branch 'EXreaction/ticket/11363' into developDavid King2013-02-281-28/+17
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # By Nathaniel Guse # Via Nathaniel Guse * EXreaction/ticket/11363: [ticket/11363] Fix a couple bugs and throw errors if the file not found [ticket/11363] Load module info files for extensions too
| | * | | | [ticket/11363] Fix a couple bugs and throw errors if the file not foundNathaniel Guse2013-02-271-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11363
| | * | | | [ticket/11363] Load module info files for extensions tooNathaniel Guse2013-02-271-34/+11
| | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | Use the acp_modules::get_module_infos function instead of our own include code PHPBB3-11363
| * | | | Merge remote-tracking branch 'EXreaction/ticket/11372' into developDavid King2013-02-281-13/+13
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # By Nathaniel Guse # Via Nathaniel Guse * EXreaction/ticket/11372: [ticket/11372] Migrator should only check if effectively installed if not
| | * | | | [ticket/11372] Migrator should only check if effectively installed if notNathaniel Guse2013-02-271-13/+13
| | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | installed at all PHPBB3-11372
* | | | | Merge branch 'develop' of github.com:phpbb/phpbb3 into ticket/11103Nathan Guse2013-02-281-23/+18
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # By Nathaniel Guse # Via David King (2) and Nathaniel Guse (1) * 'develop' of github.com:phpbb/phpbb3: [ticket/11370] Effectively installed migrations not inserted into table [ticket/11369] Reverting migration throws error
| * | | | Merge remote-tracking branch 'EXreaction/ticket/11370' into developDavid King2013-02-281-22/+17
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # By Nathaniel Guse # Via Nathaniel Guse * EXreaction/ticket/11370: [ticket/11370] Effectively installed migrations not inserted into table