aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/install/database_update.php
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | Merge branch 'develop-olympus' into developOleg Pudeyev2011-02-231-2/+10
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * develop-olympus: [ticket/7778] Update all the schema files [ticket/7778] Add the column change to `mysql_upgrader.php` [ticket/7778] BBCode single limit Conflicts: phpBB/install/database_update.php
| * | | [ticket/7778] BBCode single limitErik Frèrejean2011-02-231-2/+9
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are currently two hard limits for the number of BBCodes allowed. One is enforced by the type of the `bbcode_id` column, the other by an hard limit in `acp/acp_bbcode.php`. However this limit can never be reached due to the size of the database column. Suggested fix involves adding a new constant to define the max. number of BBCodes (as with smilies) and chaning the database column from a tinyint to a smallint to actually allow 1511 BBCodes PHPBB3-7778
* | | Merge branch 'develop-olympus' into developOleg Pudeyev2011-02-171-0/+26
|\ \ \ | |/ / | | / | |/ |/| | | | | | | | | * develop-olympus: [ticket/9944] Add empty line before the while() so you can better read the code [ticket/9944] Extension groups naming don't use users' language in ACP Conflicts: phpBB/install/database_update.php
| * [ticket/9944] Add empty line before the while() so you can better read the codeJoas Schilling2011-02-141-0/+1
| | | | | | | | PHPBB3-9944
| * [ticket/9944] Extension groups naming don't use users' language in ACPJoas Schilling2011-01-271-0/+25
| | | | | | | | | | | | Only happens on boards which were installed with 3.0.8 PHPBB3-9944
* | [ticket/10045] Database updater version for 3.1-changes should be 3.1.0-devJoas Schilling2011-02-161-3/+5
| | | | | | | | PHPBB3-10045
* | [feature/system-cron] Set use_system_cron config value during upgrade.Oleg Pudeyev2011-02-121-0/+4
| | | | | | | | PHPBB3-9596
* | Merge branch 'develop-olympus' into developNils Adermann2011-01-161-1/+1
|\ \ | |/ | | | | | | | | | | | | | | * develop-olympus: [ticket/9859] Remove the years from the copyright statements in docs files. [ticket/9859] Remove the year from the copyright meta tag in docs/*.html [ticket/9859] Remove the meta copyright tag as well. [ticket/9859] Remove the credit line comment from all html files. [ticket/9859] Remove years in credit line from some more files.
| * [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
* | [task/config-class] Do not create multiple cache driver instances.Nils Adermann2011-01-121-2/+2
| | | | | | | | | | | | | | Retrieve the driver from the service instead of creating new ones over and over from the factory. PHPBB3-9988
* | [task/config-class] Always specify the config table to use.Nils Adermann2011-01-121-1/+1
| | | | | | | | PHPBB3-9988
* | [task/config-class] Implemented a config class to replace the global array.Nils Adermann2011-01-101-11/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is a phpbb_config class which simply holds an array and does not persist any data. It implements ArrayAccess, Countable and IteratorAggregate to allow regular use of configuration as if it was still an array. The phpbb_config_db class depends on an instance of the dbal and a cache driver. It obtains the configuration data from cache and database as necessary and persists data to the database. The functions set_config and set_config_count remain for backward compatability but they only call methods on the new config class now instead of directly manipulating the database and cache. PHPBB3-9988
* | [task/acm-refactor] Cleaning up left over mentions of ACM and fixing tests.Nils Adermann2011-01-091-3/+3
| | | | | | | | PHPBB3-9983
* | [task/acm-refactor] Refactor the ACM classes to have a common interface.Igor Wiedler2011-01-091-5/+6
| | | | | | | | | | | | | | | | | | | | They are now refered to as cache drivers rather than ACM classes. The additional utility functions from the original cache class have been moved to the cache_service. The class loader is now instantiated without a cache instance and passed one as soon as it is constructed to allow autoloading the cache classes. PHPBB3-9983
* | [ticket/9746] Adding some more calls to phpbb_ip_normalise().Andreas Fischer2011-01-031-2/+5
| | | | | | | | PHPBB3-9746
* | Merge branch 'ticket/igorw/9556' into developNils Adermann2010-12-131-2/+0
|\ \ | | | | | | | | | | | | | | | | | | | | | * ticket/igorw/9556: [ticket/9556] Drop php closing tags, add trailing newline Conflicts: phpBB/includes/constants.php
| * | [ticket/9556] Drop php closing tags, add trailing newlineIgor Wiedler2010-11-111-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Closing tags converted using Oleg's script. remove-php-end-tags.py -a . Trailing newlines added using the following where $ext is file extension. find . -type f -name "*.$ext" -print | xargs printf "e %s\nw\n" | ed -s; Extensions: php, css, html, js, xml. PHPBB3-9556
* | | Merge branch 'develop-olympus' into developNils Adermann2010-11-201-0/+6
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | * develop-olympus: [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.
| * | 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
| | | |
* | | | Merge branch 'develop-olympus' into developAndreas Fischer2010-11-181-2/+2
|\ \ \ \ | |/ / / | | | / | |_|/ |/| | | | | | | | | | | | | | * develop-olympus: [ticket/9899] Change recaptcha theme from default to 'clean' in the ACP. [ticket/9509] Fix a typo and wrong period placement [develop-olympus] Revert accidental revert of db update lang fix and version [develop-olympus] Remove accidentally added trailing newlines. [develop-olympus] Incrementing the version number to 3.0.9-dev.
| * | [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
| |/
* | Merge branch 'develop-olympus' into developNils Adermann2010-11-101-1/+1
|\ \ | |/ | | | | | | | | | | * develop-olympus: [develop-olympus] Updating changelog for last minute 3.0.8-RC1 fixes. [ticket/9140] Check current board version in incremental update packages [ticket/9891] Updater drops language-selection after database-update
| * [ticket/9891] Updater drops language-selection after database-updateJoas Schilling2010-11-101-1/+1
| | | | | | | | PHPBB3-9891
* | Merge branch 'develop-olympus' into developNils Adermann2010-11-101-2/+1
|\ \ | |/ | | | | | | * develop-olympus: [ticket/9886] Update fails on PostgreSQL because of an error in _add_module
| * 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
* | | Merge branch 'develop-olympus' into developNils Adermann2010-11-101-0/+11
|\ \ \ | |/ / | | | | | | | | | * develop-olympus: [ticket/9884] Reduce queue interval to 60 seconds, email package size to 20
| * | [ticket/9884] Reduce queue interval to 60 seconds, email package size to 20Igor Wiedler2010-11-101-0/+11
| | | | | | | | | | | | PHPBB3-9884
* | | Merge branch 'develop-olympus' into developAndreas Fischer2010-11-081-66/+99
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | | | | * develop-olympus: [ticket/9888] Update fails when Bing [Bot] was already added to the users table [develop-olympus] Bumping version number for 3.0.8-RC1. [ticket/9885] Fix extension group name updater. Loop through all languages. [ticket/9847] Fix typo in search synonyms. Use british english for 'judgement'. [ticket/9883] Change an American English spelling to British English. [task/phing-build] Correct the path for update package patch files.
| * | 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 'develop-olympus' into developNils Adermann2010-10-231-0/+8
|\ \ | |/ | | | | | | | | * develop-olympus: [ticket/9807] Update existing module permissions in database [ticket/9807] Hide avatar tab in UCP when avatars are disabled
| * 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
* | | [feature/request-class] Fix missing include in database_updateIgor Wiedler2010-10-051-0/+1
| | | | | | | | | | | | | | | | | | | | | install/database_update.php was missing the include for the class loader. PHPBB3-9716
* | | [feature/request-class] Refactor request classes to use autoloadingIgor Wiedler2010-09-171-7/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | All class names have been adjusted to use a phpbb_request prefix, allowing them to be autoloaded. Also introduces some improvements to autoloading in general. PHPBB3-9716
* | | [feature/request-class] Request class test now uses a type cast helper mock.Nils Adermann2010-09-171-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | Removed the dependency of the request class test on having an actual phpbb_type_cast_helper instance, by replacing it with an object mocking the phpbb_type_cast_helper_interface. PHPBB3-9716
* | | [feature/request-class] Use the request class in the installer & updater.Nils Adermann2010-09-171-3/+10
|/ / | | | | | | | | | | | | | | Just like common.php database_update.php and install/index.php need to include the request class files and create an instance for use in request_var. PHPBB3-9716
* | 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