summaryrefslogtreecommitdiffstats
path: root/db
Commit message (Collapse)AuthorAgeFilesLines
* scm: add "extra_info" column to repositories table and set serialize (#7146, ↵Toshi MARUYAMA2011-05-121-0/+9
| | | | | | | | | #7047). This column is for specific SCM. Git 7 days problem (#7146) can not resolve unless storing branches info in database. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5762 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Private issues (#7414).Jean-Philippe Lang2011-04-151-0/+9
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5466 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds an issues visibility level on roles (#7412).Jean-Philippe Lang2011-04-111-0/+9
| | | | | | It can be set so that users only see their own issues (created or assigned). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5416 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds an index on users.type for faster retrieval of groups.Jean-Philippe Lang2011-04-011-0/+9
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5288 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: copy global log encoding setting to repository (#1735).Toshi MARUYAMA2011-03-011-0/+18
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4981 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: add log_encoding column to repositories table (#1735).Toshi MARUYAMA2011-03-011-0/+9
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4980 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Keep track of issue description changes (#746).Jean-Philippe Lang2011-02-271-0/+11
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4954 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds support for SCM/LDAP passwords encryption in the database (#7411).Jean-Philippe Lang2011-02-262-0/+18
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4950 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: add "path_encoding" column in repositories table (#2664, #2274).Toshi MARUYAMA2011-02-241-0/+9
| | | | | | Contributed by Yuya Nishihara. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4940 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds random salt to user passwords (#7410).Jean-Philippe Lang2011-02-232-0/+22
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4936 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allow additional workflow transitions for issue author and assignee (#2732).Jean-Philippe Lang2011-02-201-0/+13
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4895 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added missing remove_index in AddUniqueIndexOnMembers down migration. #7212Jean-Baptiste Barth2011-01-011-0/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4610 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: Migration from boolean to varchar fails on PostgreSQL 8.1 (#6943).Jean-Philippe Lang2010-11-202-5/+12
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4413 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Raised maximum length of project names and identifiers to 255 and 100 ↵Jean-Philippe Lang2010-11-142-0/+18
| | | | | | respectively (#6446). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4402 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Make sure existing custom fields visibility is set to true.Jean-Philippe Lang2010-11-071-0/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4383 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a "visible" option on User and Project custom fields (#1738).Jean-Philippe Lang2010-11-071-0/+9
| | | | | | If set to false, the custom field won't be display on user profile/project overview. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4382 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Clean up member_roles if needed.Jean-Philippe Lang2010-11-061-1/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4370 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a unique index on members (#6826).Jean-Philippe Lang2010-11-061-0/+20
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4369 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rewrites UpdateMailNotificationValues migration to avoid model validations ↵Jean-Philippe Lang2010-11-061-16/+3
| | | | | | and failures. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4368 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Correctly update all mail_notification options. #6549Eric Davis2010-10-101-2/+16
| | | | | | | | | * Need to check for 't' values to support sqlite * Need to check the membership count for the 'selected' option Based on patch contributed by Felix Schäfer git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4246 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Converted User#mail_notification from a boolean to a string.Eric Davis2010-09-282-0/+20
| | | | | | The string will now store which type of notification option to use. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4216 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Treat Calendar and Gantt pages as separate modules. #6153Eric Davis2010-08-221-0/+12
| | | | | | | | | | This will let the Issue Tracking, Gantt, and Calendar modules be enabled or disabled as needed. A database migration will enable the Gantt and Calendar for all existing projects that have Issue Tracking enabled. Contributed by Adam Soltys git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4013 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Force-clear the default value for migration from :string to :text. #5846 #5771Eric Davis2010-07-241-0/+3
| | | | | | | | This is a special case for MySQL in Win32. Contributed by Holger Just. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3860 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Force the default value of path to be set on the Change model class. #5771Eric Davis2010-07-061-1/+1
| | | | | | | | | This is needed because MySQL does not support default values on text columns (Error introduced in r3828) Contributed by Holger Just git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3830 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Extend changes.path and changes.from_path to support longer paths. #5771Eric Davis2010-07-061-0/+11
| | | | | | | | | Long paths to SCM files would be truncated or wouldn't insert into some databases. This extends those fields to support arbitrary length filenames. Contributed by Holger Just git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3828 e93f8b46-1217-0410-a6f0-8f06a7374b81
* 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