summaryrefslogtreecommitdiffstats
path: root/db/migrate
Commit message (Collapse)AuthorAgeFilesLines
* Adds index on issues nested set columns.Jean-Philippe Lang2010-03-131-0/+9
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3578 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds subtasking (#443) including:Jean-Philippe Lang2010-03-131-0/+17
| | | | | | | | | | | | | | | * priority, start/due dates, progress, estimate, spent time roll-up to parent issues * descendant issues tree displayed on the issue view with context menu support * issue tree display on the gantt chart * issue tree copy on project copy * unlimited nesting Defining subtasks requires the new permission 'Manage subtasks'. Subtasks can not belong to a different project than the parent task. Implementation is based on scoped nested sets for fast reads and updates. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3573 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a missing index (speeds up changesets loading).Jean-Philippe Lang2010-02-211-0/+9
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3471 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Set status of existing versions to 'open' (#4504).Jean-Philippe Lang2009-12-291-0/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3259 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Enlarge wiki content for MySQL databases (#1071).Jean-Philippe Lang2009-12-271-0/+16
| | | | | | Limit changed from 64KB to 16MB. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3254 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removes column opt in enumerations table.Jean-Philippe Lang2009-12-251-0/+12
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3240 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Do not mass create API keys for existing users.Jean-Philippe Lang2009-12-231-13/+0
| | | | | | They will be created on the fly if needed, just like for new users. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3221 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added an API token for each User to use when making API requests. (#3920)Eric Davis2009-12-231-0/+13
| | | | | | | | The API key will be displayed on My Account page with a link to reset or generate a new one. All existing users will have a token generated by the migration. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3217 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added some database indexes to commonly queried fields.Eric Davis2009-12-203-0/+33
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3206 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a Setting to control how an Issue's done_ratio is calculated:Eric Davis2009-12-111-0/+9
| | | | | | | | | * Issue field (default) - the done_ratio field for the Issue * Issue status - uses the Issue Status's value #4274 git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3151 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Version sharing (#465) + optional inclusion of subprojects in the roadmap ↵Jean-Philippe Lang2009-12-061-0/+10
| | | | | | | | | | | | | | | | view (#2666). Each version of a project can be shared with: * subprojects * projects in the project hierarchy: ancestors + descendants (needs versions management permission on the root project) * projects in the project tree: root project + all its descendants (same as above) * all projects (can be set by admin users only) Notes: * when sharing a version of a private project with others projects, its name will be visible within the other projects * a project with versions used by non descendant projects can not be archived git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3123 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add view_issues permission (#3187).Jean-Philippe Lang2009-11-141-0/+13
| | | | | | | A migration adds this permission to all existing roles to preserve current behaviour. This permission controls access to issues, roadmap and changelog. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3039 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds version status to limit issue assignments (#1245).Jean-Philippe Lang2009-11-081-0/+9
| | | | | | | | | Available version statuses are: * open: no restriction * locked: can not assign new issues to the version * closed: can not assign new issues and can not reopen assigned issues git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3020 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add indexes on various timestamps to speed up the activity view.Jean-Philippe Lang2009-10-251-0/+25
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2981 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added project specific Enumeration overrides.Eric Davis2009-10-212-0/+20
| | | | | | | | | | These will be used to track if Enumeration's custom data or active state is overridden on a project. An overridden Enumeration is one that is associated with a parent Enumeration. #4077 git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2947 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added an active field track if an Enumeration is active on the frontend view.Eric Davis2009-10-211-0/+9
| | | | | | | | | | | * Changed TimelogHelper#activity_collection_for_select_options to only use active TimeEntryActivities. * Changed TimelogHelper#activity_collection_for_select_options to return a blank option if the time_entry's current activity is inactive. #4077 git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2946 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adding missing database indexes for foreign keys and STI fields.Eric Davis2009-10-1730-0/+312
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2928 e93f8b46-1217-0410-a6f0-8f06a7374b81
* 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