aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/install/database_update.php
Commit message (Collapse)AuthorAgeFilesLines
...
| | * | [ticket/10218] Moving global deregistration, etc. to startup.phpYuriy Rusko2011-06-141-23/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Because startup.php deletes all variables, the constants in database_update are used to preserve settings at the top. PHPBB3-10218
| * | | [develop-olympus] Incrementing the version to 3.0.10-dev in develop-olympus.Andreas Fischer2011-06-131-1/+1
| |/ /
* | | Merge branch 'develop-olympus' into developAndreas Fischer2011-06-131-2/+2
|\ \ \ | |/ / | | | | | | | | | * develop-olympus: [ticket/10214] Correct Oracle create table query syntax in db_tools
| * | [ticket/10214] Correct Oracle create table query syntax in db_toolsNils Adermann2011-06-131-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Removes the semicolon at end of oracle CREATE TABLE queries and adds a semicolon to the end of a SELECT query inside of the trigger for a new table's auto increment column before the end keyword PHPBB3-10214
* | | Merge branch 'develop-olympus' into developAndreas Fischer2011-06-131-2/+2
|\ \ \ | |/ / | | | | | | | | | * develop-olympus: [ticket/9892] _sql in the updater needs to return the transaction results
| * | Merge remote-tracking branch 'naderman/ticket/9892' into develop-olympusAndreas Fischer2011-06-131-2/+2
| |\ \ | | | | | | | | | | | | | | | | * naderman/ticket/9892: [ticket/9892] _sql in the updater needs to return the transaction results
| | * | [ticket/9892] _sql in the updater needs to return the transaction resultsNils Adermann2011-06-121-2/+2
| | | | | | | | | | | | | | | | PHPBB3-9892
* | | | Merge branch 'develop-olympus' into developAndreas Fischer2011-06-121-0/+7
|\ \ \ \ | |/ / / | | | | | | | | | | | | * develop-olympus: [ticket/9992] The table name constant needs to be defined in the updater
| * | | Merge remote-tracking branch 'naderman/ticket/9992' into develop-olympusAndreas Fischer2011-06-121-0/+7
| |\ \ \ | | | | | | | | | | | | | | | | | | | | * naderman/ticket/9992: [ticket/9992] The table name constant needs to be defined in the updater
| | * | | [ticket/9992] The table name constant needs to be defined in the updaterNils Adermann2011-06-121-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the database update is run before updating the files the constant is not yet defined. PHPBB3-9992
| * | | | [develop-olympus] Bumping version number for 3.0.9-RC1.Andreas Fischer2011-06-121-1/+1
| | |/ / | |/| |
* | | | Merge branch 'develop-olympus' into developAndreas Fischer2011-06-121-9/+71
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * develop-olympus: [ticket/9892] Correct copyright year [ticket/9892] Remove incorrect use of camel case [ticket/9892] Removing closing php tag from create_schema_files [ticket/9892] Transaction support for database update sql execution function [ticket/9892] count is a keyword in firebird, so renaming this alias [ticket/9892] Q&A CAPTCHA did not work on firebird, so no need to change config [ticket/9892] Shorten login_attempt key names to avoid firebird length problems [ticket/9892] Drop Q&A CAPTCHA tables if left in inconsistent state [ticket/9892] Adding a number of tests for db_tools [ticket/9892] Table prefix lengths influence index lengths in db_tools [ticket/9892] Shorten the index names on the q&a captcha [ticket/9892] column & index name limits, firebird auto increment in db_tools Conflicts: phpBB/develop/create_schema_files.php
| * | | [ticket/9892] Transaction support for database update sql execution functionNils Adermann2011-06-121-5/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Updates would fail before because 'begin' as generated by db_tools::sql_create_table would be executed literally. PHPBB3-9892
| * | | [ticket/9892] Q&A CAPTCHA did not work on firebird, so no need to change configNils Adermann2011-06-121-6/+3
| | | | | | | | | | | | | | | | PHPBB3-9892
| * | | [ticket/9892] Shorten login_attempt key names to avoid firebird length problemsNils Adermann2011-06-121-3/+3
| | | | | | | | | | | | | | | | PHPBB3-9892
| * | | [ticket/9892] Drop Q&A CAPTCHA tables if left in inconsistent stateNils Adermann2011-06-121-0/+24
| | | | | | | | | | | | | | | | PHPBB3-9892
| * | | [ticket/9892] Table prefix lengths influence index lengths in db_toolsNils Adermann2011-06-121-5/+9
| | | | | | | | | | | | | | | | PHPBB3-9892
| * | | [ticket/9892] column & index name limits, firebird auto increment in db_toolsNils Adermann2011-06-121-1/+27
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Column names are limited to 30 characters - Index names are limited to 31 characters. On some dbms the index name contains both table name and actual index name so the limit applies to the sum of the lenghts of table name and index name. - Auto incremented column names are limited to 26 characters to provide an additional 4 characters for sequence names The code for firebird auto increment support using generators/sequences with triggers was copied from create_schema_files.php PHPBB3-9892
* | | Merge branch 'develop-olympus' into developAndreas Fischer2011-06-111-1/+292
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | * develop-olympus: [ticket/9992] Clarify explanations of ip and account limits on login [ticket/9992] Add a comma to language for IP_LOGIN_LIMIT_MAX_EXPLAIN [ticket/9992] Use sql_fetchfield for single row and single column result [ticket/9992] Adding a limit on login attempts per IP. [ticket/9992] Make sql_create_table and sql_table_exists available in updater
| * | [ticket/9992] Adding a limit on login attempts per IP.Nils Adermann2011-06-101-1/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A new table was created to save all failed login attempts with corresponding information on username, ip and useragent. By default the limit is 50 login attempts within 6 hours per IP. The limit is relatively high to avoid big problems on sites behind a reverse proxy that don't receive the forwarded-for value as REMOTE_ADDR but see all users as coming from the same IP address. But if these users run into problems a special forwarded-for option is available to limit logins by forwarded-for value instead of ip. PHPBB3-9992
| * | [ticket/9992] Make sql_create_table and sql_table_exists available in updaterNils Adermann2011-06-101-0/+254
| | | | | | | | | | | | | | | | | | | | | These are defined the same way in db_tools. This duplicated code should be removed together with the rest of the db_tools duplication at some point. PHPBB3-9992
* | | Merge remote-tracking branch 'nickvergessen/ticket/8542' into developOleg Pudeyev2011-05-201-0/+6
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | * nickvergessen/ticket/8542: [ticket/8542] Display custom profile fields in private messages Conflicts: phpBB/install/database_update.php
| * | | [ticket/8542] Display custom profile fields in private messagesJoas Schilling2011-05-201-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | Introduce an option to display the cpf in the PM view. PHPBB3-8542
* | | | Merge branch 'develop-olympus' into developOleg Pudeyev2011-05-101-1/+1
|\ \ \ \ | | |/ / | |/| | | | | | | | | | * develop-olympus: [ticket/10126] Use binary "and not" instead of binary "xor" in error_reporting.
| * | | [ticket/10126] Use binary "and not" instead of binary "xor" in error_reporting.Andreas Fischer2011-05-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Make what we want to achieve clear by using "and not" instead of "xor". PHPBB3-10126
* | | | Merge branch 'feature/rxu/attachment-management-no-reassignment' into developOleg Pudeyev2011-04-241-0/+7
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | * feature/rxu/attachment-management-no-reassignment: [feature/attachment-management-no-reassignment] Handle privacy and some more. [feature/attachment-management-no-reassignment] Further feature adjustments. [feature/attachment-management-no-reassignment] Fix some more errors [feature/attachment-management-no-reassignment] Fix minor flaws in the code. [feature/attachment-management-no-reassignment] Attachments management
| * | | [feature/attachment-management-no-reassignment] Further feature adjustments.rxu2011-04-111-0/+7
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -add database update entry; - add files statistics checks; - improve files deletion procedure; - improve reversed order for pagination; - adjust template file; - add missing comma for orphan key in info module; - change module mode name; - fix module explanation text; - add files comments output; - change attachments per page amount from posts to topics per page value. PHPBB3-9721
* | | [ticket/9684] Move currently existing GAs to a selectable forum while updating.Joas Schilling2011-04-071-0/+140
|/ / | | | | | | PHPBB3-9684
* | Merge branch 'ticket/9549' into developOleg Pudeyev2011-03-011-2/+63
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * ticket/9549: [ticket/9549] Display users in their primary group instead of their first group [ticket/9549] Change default value of "sort legend by group name" to false. [ticket/9549] Fix displaying empty groups [ticket/9549] Fix language strings. [ticket/9549] Only add group to legend/teampage when the checkbox is checked. [ticket/9549] New method move() to move a group more than 1 up/down. [ticket/9549] Fix some minor issues with descriptions and coding-guidelines. [ticket/9549] Throw an error when the given field-name is invalid. [ticket/9549] Make the class non static and extend delete_group function. [ticket/9549] Add template changes for subsilver2. [ticket/9549] Enhance teampage and legend functionality [ticket/9549] Add the module and files for the ACP. [ticket/9549] Update database with the new config values and columns [ticket/9549] Enhance teampage functionality with a new class, group_positions. Conflicts: phpBB/install/database_update.php
| * | [ticket/9549] Change default value of "sort legend by group name" to false.Joas Schilling2011-02-241-1/+1
| | | | | | | | | | | | PHPBB3-9549
| * | [ticket/9549] Make the class non static and extend delete_group function.Joas Schilling2011-02-161-0/+1
| | | | | | | | | | | | | | | | | | | | | delete_group() can now be used, so it does not update the actual group. This can save a query, when you update the group anyway. PHPBB3-9549
| * | [ticket/9549] Update database with the new config values and columnsJoas Schilling2011-02-161-2/+63
| | | | | | | | | | | | PHPBB3-9549
* | | Merge branch 'develop-olympus' into developAndreas Fischer2011-02-241-1/+1
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | | | | * develop-olympus: [ticket/10056] Corrected a typo in Firebird name. [ticket/10041] Use send_status_line more in download/file.php Conflicts: phpBB/download/file.php
| * | Merge branch 'ticket/p/10056' into develop-olympusAndreas Fischer2011-02-241-1/+1
| |\ \ | | | | | | | | | | | | | | | | * ticket/p/10056: [ticket/10056] Corrected a typo in Firebird name.
| | * | [ticket/10056] Corrected a typo in Firebird name.Oleg Pudeyev2011-02-231-1/+1
| | | | | | | | | | | | | | | | PHPBB3-10056
* | | | 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