aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/db
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'EXreaction/ticket/11413' into developDavid King2013-05-201-0/+92
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * EXreaction/ticket/11413: (23 commits) [ticket/11413] Revert some cache service related changes from earlier [ticket/11413] Use phpbb_user in test [ticket/11413] $user should have been $this->user [ticket/11413] Fix unit tests [ticket/11413] Translate the error [ticket/11413] Rename file to something more helpful [ticket/11413] Remove remaining irrelevant code to this PR [ticket/11413] Remove mock sql_insert_buffer.php (not relevant to PR) [ticket/11413] Remove conversion of user_notifications [ticket/11413] Correct copyright year [ticket/11413] Remove changes for ticket 11420 from this branch [ticket/11413] Include mock class [ticket/11413] Don't use the database for the convert test [ticket/11413] Test get_notification_type_id and _ids functions [ticket/11413] Use sql_insert_buffer [ticket/11413] Create test for notification conversion [ticket/11413] Fix test fixtures and tests [ticket/11413] Fix some more tests [ticket/11413] Fix notification tests [ticket/11413] Prevent recursive function calls ...
| * [ticket/11413] Rename file to something more helpfulNathan Guse2013-05-101-1/+1
| | | | | | | | PHPBB3-11413
| * [ticket/11413] Remove conversion of user_notificationsNathaniel Guse2013-05-021-90/+0
| | | | | | | | PHPBB3-11413
| * [ticket/11413] Correct copyright yearNathaniel Guse2013-05-021-1/+1
| | | | | | | | PHPBB3-11413
| * [ticket/11413] Remove changes for ticket 11420 from this branchNathaniel Guse2013-05-021-0/+64
| | | | | | | | PHPBB3-11413
| * [ticket/11413] Don't use the database for the convert testNathaniel Guse2013-04-301-1/+10
| | | | | | | | | | | | | | Different databases seem to work slightly differently here and are causing errors PHPBB3-11413
| * [ticket/11413] Use sql_insert_bufferNathaniel Guse2013-04-301-19/+8
| | | | | | | | PHPBB3-11413
| * [ticket/11413] Undo editing the user_notifications tableNathaniel Guse2013-04-291-25/+3
| | | | | | | | | | | | | | | | item_type is not equivalent to notification_type_name, it can be a generic string (typically used to be able to subscribe to multiple notification types while only subscribing to one item PHPBB3-11413
| * [ticket/11413] Schema changes and migration fileNathaniel Guse2013-04-282-64/+206
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Notifications tables are dropped because phpBB currently does not have any way to make the necessary changes to the DB schema (and no release has yet been made with these changes). This will fix the following bugs: PHPBB3-11411 PHPBB3-11413 PHPBB3-11414 PHPBB3-11416 PHPBB3-11420 PHPBB3-11413
* | Merge PR #1294 branch 'VSEphpbb/ticket/10155' into developOleg Pudeyev2013-05-081-0/+31
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # By Matt Friedman # Via Matt Friedman * VSEphpbb/ticket/10155: [ticket/10155] Update copyright in new migration file to 2013 [ticket/10155] Make effectively installed test more specific [ticket/10155] Use more descriptive title for migration file [ticket/10155] Use new migration file for jQuery config update [ticket/10155] Update jQuery to 1.8.3
| * | [ticket/10155] Update copyright in new migration file to 2013Matt Friedman2013-05-061-1/+1
| | | | | | | | | | | | PHPBB3-10155
| * | [ticket/10155] Make effectively installed test more specificMatt Friedman2013-03-221-1/+1
| | | | | | | | | | | | PHPBB3-10155
| * | [ticket/10155] Use more descriptive title for migration fileMatt Friedman2013-03-171-1/+1
| | | | | | | | | | | | PHPBB3-10155
| * | [ticket/10155] Use new migration file for jQuery config updateMatt Friedman2013-03-152-1/+32
| | |
| * | [ticket/10155] Update jQuery to 1.8.3Matt Friedman2013-03-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently included jQuery is old by now, v1.6.2. We should update to 1.8.3. This allows us to take advantage of the latest form of jQuery event delegation ($.on). I don't think it wise to update to jQuery 1.9.x yet, as many 3rd party scripts still need to be updated to cope with its deprecated features ($.browser). Therefor, 1.8.3 is the latest and most widely compatible stable version right now. PHPBB3-10155
* | | [ticket/10325] move migration into a new fileDhruv2013-05-082-2/+28
| | | | | | | | | | | | PHPBB3-10325
* | | [ticket/10325] change language varDhruv2013-04-251-1/+1
| | | | | | | | | | | | PHPBB3-10325
* | | [ticket/10325] add new config value to databaseDhruv2013-04-251-0/+2
| |/ |/| | | | | PHPBB3-10325
* | Merge pull request #1326 from dhruvgoel92/ticket/11485Nils Adermann2013-04-241-0/+28
|\ \ | | | | | | [ticket/11485] add columns to update_schema before adding data
| * | [ticket/11485] add revert_schema for the updated columnsDhruv2013-04-091-0/+14
| | | | | | | | | | | | PHPBB3-11485
| * | [ticket/11485] add columns to styles table during updating schema beforeDhruv2013-04-091-0/+14
| | | | | | | | | | | | | | | | | | updating the data PHPBB3-10485
* | | [ticket/10966] Introduce MSSQL base class for native and ODBCJoas Schilling2013-04-193-86/+67
| | | | | | | | | | | | PHPBB3-10966
* | | [ticket/10966] Introduce MySQL base classJoas Schilling2013-04-173-246/+148
|/ / | | | | | | PHPBB3-10966
* | Merge pull request #1323 from t-backoff/ticket/11477Nils Adermann2013-03-311-0/+23
|\ \ | | | | | | Ticket/11477
| * | Changing effectively_installed function to check if the config var is set.Tabitha Backoff2013-03-311-1/+1
| | |
| * | Migration file and change board_home_text to board_index_textTabitha Backoff2013-03-282-2/+23
| | |
| * | 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