summaryrefslogtreecommitdiffstats
path: root/db/migrate
Commit message (Collapse)AuthorAgeFilesLines
* Fixes User/CustomValue association broken by r2869 (#3978).Jean-Philippe Lang2009-10-101-0/+9
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2905 e93f8b46-1217-0410-a6f0-8f06a7374b81
* User groups branch merged.Jean-Philippe Lang2009-09-123-0/+30
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2869 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: editing a message may cause sticky attribute to be NULL (#3356).Jean-Philippe Lang2009-06-141-0/+9
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2787 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Changed Enumerations to use a Single Table InheritanceEric Davis2009-05-302-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | * Added migrations to change Enumerations to an STI relationship * Added TimeEntryActivity model (STI) * Added DocumentCategory model (STI) * Added IssuePriority model (STI) * Added Enumeration#get_subclasses to get a list of the subclasses of Enumeration * Changed Enumeration to use the STI type field instead of the opt field * Changed Enumeration#opt to return the old opt values but with a deprecation warning. * Removed Enumeration::OPTIONS * Removed the dynamic named_scopes in favor of specific named_scopes. Kept for compatibility reasons. * Added Enumeration#default so each subclass can easily find it's default record. * Fixed Enumeration#default to use the STI scoping with a fake default scope for finding Enumeration's default. * Added a 'all' named scope for getting all records in order by position. * Added Deprecation warnings to the old named_scopes in Enumerations. * Moved various methods off of Enumeration and onto the concrete classes * Changed the EnumerationsController to use types * Updated the Enumeration list template * Added has_many relationships to the Enumeration STI classes. * Fixes for tests. #3007 git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2777 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Clear member_roles table before populating it.Jean-Philippe Lang2009-05-101-0/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2729 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allows multiple roles on the same project (#706). Prerequisite for user ↵Jean-Philippe Lang2009-05-103-0/+32
| | | | | | groups feature. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2726 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Ticket grouping (#2679).Jean-Philippe Lang2009-04-261-0/+9
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2696 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Extend the settings.name column so it can fit longer plugin names.Eric Davis2009-03-191-0/+9
| | | | | | #3010 git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2599 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a unique index on projects_trackers table (#2882).Jean-Philippe Lang2009-03-121-0/+21
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2580 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Ability to save "sort order" in custom queries (#2899).Jean-Philippe Lang2009-03-121-0/+9
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2572 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds an index on watchers table to speed up watched issue filtering.Jean-Philippe Lang2009-02-141-0/+9
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2466 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added identity_url to User. #699Eric Davis2009-02-111-0/+9
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2440 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added OpenID tables. #699Eric Davis2009-02-111-0/+20
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2439 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: migration 98 breaks when using table name prefix.Jean-Philippe Lang2009-02-081-3/+4
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2415 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removes unused projects_count column from projects table.Jean-Philippe Lang2009-01-241-0/+9
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2305 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged nested projects branch. Removes limit on subproject nesting (#594).Jean-Philippe Lang2009-01-242-0/+19
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2304 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes 103_set_custom_fields_editable migration from r2276 (#2526).Jean-Philippe Lang2009-01-181-2/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2279 e93f8b46-1217-0410-a6f0-8f06a7374b81
* User custom fields can now be set as editable so that users can edit them on ↵Jean-Philippe Lang2009-01-172-0/+18
| | | | | | | | | | 'My account'. For existing user custom fields, this new attribute is set to false by default to preserve the prior behaviour (it can turned on by editing the custom field in admin area). Note: on the registration form, *required* custom fields will be displayed even if they are not defined as editable so that the account can be created. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2276 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Maps repository users to Redmine users (#1383).Jean-Philippe Lang2008-11-102-0/+27
| | | | | | Users with same username or email are automatically mapped. Mapping can be manually adjusted in repository settings. Multiple usernames can be mapped to the same Redmine user. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2006 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds 'Delete wiki pages attachments' permission.Jean-Philippe Lang2008-10-181-0/+13
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@1938 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Typo in migration 97 name (#1929).Jean-Philippe Lang2008-09-211-1/+1
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@1896 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds watch/unwatch functionality at forum topic level (#1912).Jean-Philippe Lang2008-09-191-0/+14
| | | | | | Users who create/reply a topic are automatically added as watchers but are now able to unwatch the topic. git-svn-id: http://redmine.rubyforge.org/svn/trunk@1878 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a permission 'view wiki edits' so that wiki history can be hidden to ↵Jean-Philippe Lang2008-09-131-0/+13
| | | | | | | | certain users (#1154). A migration automatically adds this permission to roles that were allowed to view wiki pages. git-svn-id: http://redmine.rubyforge.org/svn/trunk@1815 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged nbc branch @ r1812 (commit access permission and reposman improvements).Jean-Philippe Lang2008-09-131-0/+14
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@1814 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use example.net as domain in default configuration (#1762).Jean-Philippe Lang2008-08-251-1/+1
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@1764 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Wiki page hierarchy (#528). Parent page can be assigned on Rename screen.Jean-Philippe Lang2008-07-261-0/+9
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@1698 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged Rails 2.1 compatibility branch.Jean-Philippe Lang2008-07-042-2/+2
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@1623 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed #1545: migration on fresh install fails (broken by r1592).Jean-Philippe Lang2008-06-291-8/+11
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@1595 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Change projects homepage limit to 255 chars (#663, #1095).Jean-Philippe Lang2008-05-251-0/+9
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@1457 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Wiki page protection (#851, patch #1146 by Mateo Murphy with slight changes).Jean-Philippe Lang2008-05-041-0/+9
| | | | | | New permission added: protect wiki pages. Once a page is protected, it can be edited/renamed/deleted only by users who have this permission. git-svn-id: http://redmine.rubyforge.org/svn/trunk@1415 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged Git support branch (r1200 to r1226).Jean-Philippe Lang2008-03-122-0/+18
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@1236 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes migrations that change string limits for sqlite.Jean-Philippe Lang2008-03-093-3/+3
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@1222 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allow longer version names (#711, closes #712).Jean-Philippe Lang2008-03-091-0/+9
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@1220 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes migration 87 error when running MySQL with STRICT_TRANS_TABLES on (#771).Jean-Philippe Lang2008-03-051-1/+1
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@1189 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds an optional description to attachments.Jean-Philippe Lang2008-02-291-0/+9
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@1180 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: not null constraints not removed with Postgresql.Jean-Philippe Lang2008-02-123-7/+7
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@1140 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed migration 87 (mysql: TEXT column can't have a default value).Jean-Philippe Lang2008-01-221-1/+1
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@1093 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Missing migration for r1090.Jean-Philippe Lang2008-01-201-0/+9
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@1091 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Unlimited and optional project description. The project list will show ↵Jean-Philippe Lang2008-01-201-0/+8
| | | | | | truncated descriptions only (the first fews lines). git-svn-id: http://redmine.rubyforge.org/svn/trunk@1088 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed error on migration 85 with Oracle (index name can not be more than 30 ↵Jean-Philippe Lang2008-01-151-2/+2
| | | | | | characters long). git-svn-id: http://redmine.rubyforge.org/svn/trunk@1069 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Search engine: issue custom fields can now be searched.Jean-Philippe Lang2007-12-141-0/+9
| | | | | | Each issue custom field (excepting numeric, date and boolean fields) can be marked as "Searchable" (default to false). git-svn-id: http://redmine.rubyforge.org/svn/trunk@994 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Performance improvement on workflow setup screen.Jean-Philippe Lang2007-12-071-0/+9
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@957 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Changed the maximum length of LDAP account to 255 characters.Jean-Philippe Lang2007-12-021-0/+9
| | | | | | Added length validations on AuthSource model. git-svn-id: http://redmine.rubyforge.org/svn/trunk@948 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Forums enhancements:Jean-Philippe Lang2007-11-242-0/+18
| | | | | | | | * messages can now be edited/deleted (explicit permissions need to be given) * topics can be locked so that no reply can be added (only by users allowed to edit messages) * topics can be marked as sticky so that they always appear at the top of the list (only by users allowed to edit messages) git-svn-id: http://redmine.rubyforge.org/svn/trunk@926 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added per-project tracker selection. Trackers can be selected on project ↵Jean-Philippe Lang2007-11-201-0/+19
| | | | | | settings. git-svn-id: http://redmine.rubyforge.org/svn/trunk@920 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Anonymous users can now be allowed to create, edit, comment issues, comment ↵Jean-Philippe Lang2007-11-201-0/+10
| | | | | | | | news and post messages in the forums. These permissions need to be explicitly given to the Anonymous role (Admin -> Roles & Permissions -> Anonymous). git-svn-id: http://redmine.rubyforge.org/svn/trunk@919 e93f8b46-1217-0410-a6f0-8f06a7374b81
* * Added time zone support: users can select their time zone on their account ↵Jean-Philippe Lang2007-11-191-0/+9
| | | | | | | | | view. * Updated Polish translation (Mariusz Olejnik). * Fixed: Projects should be listed with case mixed. git-svn-id: http://redmine.rubyforge.org/svn/trunk@917 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Custom fields can now be reordered.Jean-Philippe Lang2007-11-121-0/+15
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@901 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removed IssueStatus html_color attribute.Jean-Philippe Lang2007-11-041-0/+9
| | | | | | Issue list colorization can be done using a custom theme. Each row is given a class that correspond to the issue status (eg. status-1 where 1 is the status position). git-svn-id: http://redmine.rubyforge.org/svn/trunk@881 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removed 'not null' constraint on position fields.Jean-Philippe Lang2007-10-221-0/+14
| | | | | | Previous migrations updated for new sqlite databases. git-svn-id: http://redmine.rubyforge.org/svn/trunk@865 e93f8b46-1217-0410-a6f0-8f06a7374b81