aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/install/database_update.php
Commit message (Collapse)AuthorAgeFilesLines
* [ticket/9859] Remove years in credit line from some more files.Andreas Fischer2011-01-161-1/+1
| | | | | | | | | | | | | Standard HTML output now includes: Powered by <a href="http://www.phpbb.com/">phpBB</a> &copy; phpBB Group Print output now includes: Powered by phpBB &copy; phpBB Group<br />http://www.phpbb.com/ This also fixes an inconsistency where "phpBB Group" was linked instead of "phpBB". PHPBB3-9859
* Merge branch 'prep-release-3.0.8' into develop-olympusNils Adermann2010-11-201-1/+7
|\ | | | | | | | | | | | | | | | | | | | | | | | | * prep-release-3.0.8: [prep-release-3.0.8] Incrementing version number to 3.0.8 and update changelog [ticket/9903] Script for detecting potentially malicious flash bbcodes [ticket/9904] Update WebPI Parameters.xml to work with WebMatrix. [ticket/9903] Fix XSS in BBcode-parser's Flash-BBcode. Conflicts: phpBB/includes/constants.php phpBB/install/database_update.php phpBB/install/schemas/schema_data.sql
| * [prep-release-3.0.8] Incrementing version number to 3.0.8 and update changelogNils Adermann2010-11-191-5/+11
| |
* | [develop-olympus] Revert accidental revert of db update lang fix and versionNils Adermann2010-11-111-2/+2
| | | | | | | | Really not my day, is it?
* | [develop-olympus] Remove accidentally added trailing newlines.Nils Adermann2010-11-111-7/+7
| |
* | [develop-olympus] Incrementing the version number to 3.0.9-dev.Nils Adermann2010-11-111-1/+1
|/
* [ticket/9891] Updater drops language-selection after database-updateJoas Schilling2010-11-101-1/+1
| | | | PHPBB3-9891
* Merge branch 'ticket/nickvergessen/9886' into develop-olympusNils Adermann2010-11-101-2/+1
|\ | | | | | | | | * ticket/nickvergessen/9886: [ticket/9886] Update fails on PostgreSQL because of an error in _add_module
| * [ticket/9886] Update fails on PostgreSQL because of an error in _add_moduleJoas Schilling2010-11-091-2/+1
| | | | | | | | PHPBB3-9886
* | [ticket/9884] Reduce queue interval to 60 seconds, email package size to 20Igor Wiedler2010-11-101-0/+11
| | | | | | | | PHPBB3-9884
* | Merge branch 'ticket/nickvergessen/9888' into develop-olympusAndreas Fischer2010-11-081-40/+51
|\ \ | | | | | | | | | | | | * ticket/nickvergessen/9888: [ticket/9888] Update fails when Bing [Bot] was already added to the users table
| * | [ticket/9888] Update fails when Bing [Bot] was already added to the users tableJoas Schilling2010-11-081-40/+51
| |/ | | | | | | | | | | Added a check whether the user already exists before we try to add it. PHPBB3-9888
* | Merge branch 'ticket/bantu/9885' into develop-olympusNils Adermann2010-11-081-24/+46
|\ \ | | | | | | | | | | | | * ticket/bantu/9885: [ticket/9885] Fix extension group name updater. Loop through all languages.
| * | [ticket/9885] Fix extension group name updater. Loop through all languages.Andreas Fischer2010-11-081-24/+46
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix a regression introduced by 58dc5a191c0203ea6d98c37df26b0830b3bf8203. The problem is that $user->add_lang() includes language strings from the board root folder instead of the update folder. Because the database updater is run first, the root folder files have not been upgrade yet. Thus, the language strings we're looking for cannot be found. Since the language strings we are looking for have been moved from the install.php language file to acp/attachments.php it should be possible to always find them in either file. When there is an acp/attachments.php file in the update package, it can also be used. We now also loop through all the installed languages as well, because the board could have been installed in a language other than the admin's current language. PHPBB3-9885 PHPBB3-7717
* | [develop-olympus] Bumping version number for 3.0.8-RC1.Nils Adermann2010-11-081-2/+2
|/
* Merge branch 'ticket/igorw/9807' into develop-olympusNils Adermann2010-10-231-0/+8
|\ | | | | | | | | | | * ticket/igorw/9807: [ticket/9807] Update existing module permissions in database [ticket/9807] Hide avatar tab in UCP when avatars are disabled
| * [ticket/9807] Update existing module permissions in databaseIgor Wiedler2010-10-211-0/+8
| | | | | | | | PHPBB3-9807
* | Merge branch 'ticket/bantu/9091' into develop-olympusIgor Wiedler2010-09-161-0/+1
|\ \ | | | | | | | | | | | | * ticket/bantu/9091: [ticket/9091] Extract IPv4 address from addresses mapped into IPv6.
| * | [ticket/9091] Extract IPv4 address from addresses mapped into IPv6.Andreas Fischer2010-07-231-0/+1
| | | | | | | | | | | | PHPBB3-9091
* | | Merge branch 'ticket/bantu/9613' into develop-olympusIgor Wiedler2010-09-161-0/+3
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | * ticket/bantu/9613: [ticket/9613] Slightly update language strings. [ticket/9613] Fix missing database part for unread posts search load switch. [ticket/9613] Implement a load switch for unread posts search feature.
| * | [ticket/9613] Fix missing database part for unread posts search load switch.rxu2010-08-291-0/+3
| | | | | | | | | | | | | | | | | | A record for load_unreads_search parameter had to be added to CONFIG_TABLE. PHPBB3-9613
* | | [ticket/8944] Add index length to CREATE INDEX for MySQL4 in database_updateIgor Wiedler2010-09-031-2/+18
|/ / | | | | | | | | | | | | | | Fixes following SQL error when updating the database to 3.0.6. BLOB column 'post_username' used in key specification without a key length PHPBB3-8944
* | Merge branch 'ticket/bantu/9167' into develop-olympusJosh Woody2010-08-191-0/+46
|\ \ | |/ |/| | | | | | | | | | | | | * ticket/bantu/9167: [ticket/9167] Detect and remove any dead left over shadow topics on update. [ticket/9167] Remove shadow topics from remaining forums when deleting a forum Conflicts: phpBB/install/database_update.php
| * [ticket/9167] Detect and remove any dead left over shadow topics on update.Andreas Fischer2010-06-111-0/+45
| | | | | | | | PHPBB3-9167
* | Merge branch 'ticket/jellydoughnut/9690' into develop-olympusAndreas Fischer2010-07-081-0/+52
|\ \ | | | | | | | | | | | | * ticket/jellydoughnut/9690: [ticket/9690] Add forthcoming Bing Bot to list of recognized bots
| * | [ticket/9690] Add forthcoming Bing Bot to list of recognized botsJosh Woody2010-07-071-0/+52
| |/ | | | | | | | | | | Microsoft will rename MSN Bot to Bing Bot later this year, and change its user agent. This updates phpBB to be aware of Bing Bot PHPBB3-9690
* | Merge branch 'ticket/nickvergessen/9578' into develop-olympusAndreas Fischer2010-07-081-0/+13
|\ \ | | | | | | | | | | | | * ticket/nickvergessen/9578: [ticket/9578] ACP Posting tab is missing "Post settings" module.
| * | [ticket/9578] ACP Posting tab is missing "Post settings" module.Joas Schilling2010-05-281-0/+13
| |/ | | | | | | PHPBB3-9578
* | [ticket/9628] _add_module 'after'-parameter does not work correctly.Joas Schilling2010-05-281-1/+0
|/ | | | | | The modules were grouped by left_id so num_modules is always one (hopefully), but the number of rows is the actual value we'd like to know. Removing the GROUP BY resolves the issue. PHPBB3-9628
* [ticket/7717] Localise default extension groups for attachmentsJoas Schilling2010-05-141-1/+40
| | | | PHPBB3-7717
* Merge branch 'master' into develop-olympusNils Adermann2010-03-061-0/+6
|\
| * Incrementing the version number to 3.0.7-PL1Nils Adermann2010-03-051-1/+7
| |
| * Increment version number to 3.0.7Nils Adermann2010-02-281-1/+1
| | | | | | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_7@10555 89ea8834-ac86-4346-8a33-228a782c2dd0
| * Merge r10520 into 3.0.7 branch.Andreas Fischer2010-02-221-1/+3
| | | | | | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_7@10521 89ea8834-ac86-4346-8a33-228a782c2dd0
| * Bump version to 3.0.7-RC2.Andreas Fischer2010-02-181-1/+1
| | | | | | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_7@10506 89ea8834-ac86-4346-8a33-228a782c2dd0
| * Merge r10503, r10504 into 3.0.7 branch.Andreas Fischer2010-02-181-3/+11
| | | | | | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_7@10505 89ea8834-ac86-4346-8a33-228a782c2dd0
| * Merge r10497 and r10499 into 3.0.7 - #57755Andreas Fischer2010-02-181-0/+35
| | | | | | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_7@10502 89ea8834-ac86-4346-8a33-228a782c2dd0
| * Change version numbers to 3.0.7 and 3.0.7-RC1 for a QA releaseNils Adermann2010-02-011-1/+1
| | | | | | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_7@10467 89ea8834-ac86-4346-8a33-228a782c2dd0
* | We have to use a 'snapshot' of the function there, because it might not be ↵Andreas Fischer2010-02-221-1/+3
| | | | | | | | | | | | available yet. - Bug #57755 git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10520 89ea8834-ac86-4346-8a33-228a782c2dd0
* | Adding 3.0.7-RC2 to database updaterAndreas Fischer2010-02-181-2/+8
| | | | | | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10504 89ea8834-ac86-4346-8a33-228a782c2dd0
* | Revising r10499, #57755Andreas Fischer2010-02-181-2/+4
| | | | | | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10503 89ea8834-ac86-4346-8a33-228a782c2dd0
* | Fix Bug #57755 - Make user_email_hash() function independent from system's ↵Andreas Fischer2010-02-181-0/+28
| | | | | | | | | | | | architecture. git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10499 89ea8834-ac86-4346-8a33-228a782c2dd0
* | Add 3.0.7-RC1 to the updater.Andreas Fischer2010-02-171-0/+7
| | | | | | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10497 89ea8834-ac86-4346-8a33-228a782c2dd0
* | Support for Microsoft's Native SQL Server Driver for PHP - Patch by Chris ↵Nils Adermann2010-02-111-4/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | Pucci at Microsoft [Bug #57055] If you are using SQL Server, please try to test this new dbal so we can safely include it in 3.0.8. If you want to try it on a current phpBB version you can apply the latest version of the patch to your board which you can find attached to the bug tracker ticket (look in the comments for the latest version, the one in the ticket itself is outdated): http://www.phpbb.com/bugs/phpbb3/ticket.php?ticket_id=57055 git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10489 89ea8834-ac86-4346-8a33-228a782c2dd0
* | Change version numbers to 3.0.7 and 3.0.8-dev in preparation for development ↵Nils Adermann2010-02-011-1/+1
|/ | | | | | on next release git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10468 89ea8834-ac86-4346-8a33-228a782c2dd0
* Bug #56545 - Speed up topic move operation by adding an index for topic_id ↵Andreas Fischer2010-01-281-0/+5
| | | | | | on the topics track table. git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10462 89ea8834-ac86-4346-8a33-228a782c2dd0
* Do not store email templates in database. [Bug #54505]Nils Adermann2010-01-261-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To explain what this is about, first a short phpBB code history lesson: ;-) r9823 originally introduced the usage of our template class for emails. The messenger class uses set_custom_template() to initialise the template object which neither disables storedb nor inheritance. These two values are set in $user->theme rather than inside a particular template instance (quite a design failure if I may add). Thus the html page that is displayed to the user also determines these settings for the email templates. This obviously causes problems because both emails and other custom templates can quite simply not be stored in the database because the db table only stores the filename, not the path and requires a template id. r9839 then generally disabled storedb and template inheritance for custom templates to fix Bug #40515. This works for custom templates, but not for emails where lots of template objects are created. In such a situation the last call to set(_custom)_template() would now determine the values of storedb and inheritance in _tpl_load. So any page sending emails would neither load its template from the database nor use template inheritance. The same revision also introduced orig_tpl_* variables in set_template() which on their own are very much pointless, but could allow resetting the storedb and inheritance values if they were used to reset $user->theme just before template execution in _tpl_load. In r10150 these orig_tpl_* variables are correctly used to access information about the template of the page being displayed - contrary to the last template used - from within the bbcode, fixing Bug #51285. However r10150 also introduces a pointless $template_mode parameter for set_custom_template(). $template_mode is really just a boolean flag (value you can be 'template' or an arbitrary other value) that if it set circumvents the unsetting of storedb and template inheritance. The very code that had been added to prevent issues with emails and custom templates. Fixing the problem introduced by r8839 but at the same time reintroducing the much greater problem from the original implementation of email templates. And now an explanation of what I did: Based on this I have now changed the set_custom_template method to always disable storedb. It can now properly use inheritance, you simply tell it the path where the parent template can be found, by default the path is false which will turn inheritance off. To make this work the template class now always overwrites $user->theme storedb and inheritance variabbles with orig_tpl_* just before rendering a template in _tpl_load. This way they are guaranteed to always contain the value they had at the time set_template/set_custom_template were called. This fixes [Bug #54505]. In summary, using global state is simply a horrible idea in object oriented programming. Always Pass values, that an object depends on, as parameters - never through magic global variables. Following this principle will safe you from a lot of headaches. Please test this patch as much as possible to make sure templates still work properly for you, focus on multiple languages, missing language files, and custom templates in systems that make use of the template class outside of phpBB itself. git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10460 89ea8834-ac86-4346-8a33-228a782c2dd0
* Database updater now separates ADD COLUMN from SET NOT NULL and SET DEFAULT, ↵Nils Adermann2010-01-261-1/+23
| | | | | | when using PostgreSQL <= 7.4 [Bug #54435] git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10446 89ea8834-ac86-4346-8a33-228a782c2dd0
* Revert r9564, Fix #54445, Related to #44665.Andreas Fischer2010-01-251-8/+9
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10445 89ea8834-ac86-4346-8a33-228a782c2dd0
* [Feature] Ability to use HTTP authentication in ATOM feeds by passing the ↵Andreas Fischer2010-01-191-0/+1
| | | | | | GET parameter auth=http git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10430 89ea8834-ac86-4346-8a33-228a782c2dd0