summaryrefslogtreecommitdiffstats
path: root/db/migrate
Commit message (Collapse)AuthorAgeFilesLines
...
* Removed 'not null' constraint on position fields.Jean-Philippe Lang2007-10-225-5/+5
| | | | | | Previous migrations updated for new sqlite databases. git-svn-id: http://redmine.rubyforge.org/svn/trunk@864 e93f8b46-1217-0410-a6f0-8f06a7374b81
* More flexible mail notifications settings at user level. A user has now 3 ↵Jean-Philippe Lang2007-10-202-1/+10
| | | | | | | | | | options: * notification on any event on all his projects * notification on any event on selected projects only (if the user belongs to more than 1 project) * notification only for things that he watches or he is involded in (eg. issues that he watches or he is author or assignee) git-svn-id: http://redmine.rubyforge.org/svn/trunk@855 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added LDAPS support migration and fixed connection test flash messages.Jean-Philippe Lang2007-10-161-0/+9
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@845 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: Migration 71 broken if run with code >= r803 (Enumeration#before_save ↵Jean-Philippe Lang2007-10-051-2/+5
| | | | | | relies on an attribute added in migration 72). git-svn-id: http://redmine.rubyforge.org/svn/trunk@809 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added default value for enumerations.Jean-Philippe Lang2007-10-051-0/+9
| | | | | | Only default issue priority is actually used. git-svn-id: http://redmine.rubyforge.org/svn/trunk@803 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added position on Enumeration model.Jean-Philippe Lang2007-10-041-0/+12
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@800 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added the ability to customize columns of a saved query.Jean-Philippe Lang2007-10-011-0/+9
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@782 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: error when uploading a file with a content type longer than 60 chars.Jean-Philippe Lang2007-09-171-0/+9
| | | | | | (Maximum size changed to 255. Mime type not saved if longer) git-svn-id: http://redmine.rubyforge.org/svn/trunk@739 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added 'Estimated hours' attribute on issues.Jean-Philippe Lang2007-09-151-0/+9
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@731 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added project module concept.Jean-Philippe Lang2007-09-141-0/+18
| | | | | | | | | | A project module (eg. issue tracking, news, wiki,...) is a set of permissions that can enabled/disabled at project level. For each project, modules can be enabled on the project settings view ('Modules' tab). This requires a specific permission: 'Select project modules' (if this permission is turned off, only Redmine administrators can choose which modules a project uses). When applying this migration, all modules are enabled for all existing projects. git-svn-id: http://redmine.rubyforge.org/svn/trunk@725 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added the ability to rename wiki pages (specific permission required).Jean-Philippe Lang2007-09-091-0/+15
| | | | | | Existing links that point to the old page are preserved and automatically redirected to the new page (this behaviour can be disabled when renaming the page). git-svn-id: http://redmine.rubyforge.org/svn/trunk@720 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added an index on custom_values table (customized_type + customized_id ↵Jean-Philippe Lang2007-09-041-0/+9
| | | | | | columns) to speed up issue queries that use custom field filters. git-svn-id: http://redmine.rubyforge.org/svn/trunk@702 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added cache for application settings (Setting model).Jean-Philippe Lang2007-08-311-0/+11
| | | | | | Once the values are cached, only one database query is done at each user request (to check if the cache is still valid). git-svn-id: http://redmine.rubyforge.org/svn/trunk@685 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged 0.6 branch into trunk.Jean-Philippe Lang2007-08-2923-0/+100
| | | | | | | | | Permissions management was rewritten. Some permissions can now be specifically defined for non member and anonymous users. This migration: * is irreversible (please, don't forget to *backup* your database before upgrading) * resets role's permissions (go to "Admin -> Roles & Permissions" to set them after upgrading) git-svn-id: http://redmine.rubyforge.org/svn/trunk@674 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Committer field in the Changesets table is now varchar 255.Jean-Philippe Lang2007-08-251-0/+9
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@656 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added a 'Assignable' boolean on Role model.Jean-Philippe Lang2007-08-161-0/+9
| | | | | | If unchecked, issues can not be assigned to users having this role. git-svn-id: http://redmine.rubyforge.org/svn/trunk@649 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Changed 'versions' table creation to allow null values for 'effective_date' ↵Jean-Philippe Lang2007-08-121-1/+1
| | | | | | | | field. This change was done in migration 048 but seems to have no effect with SQLite. git-svn-id: http://redmine.rubyforge.org/svn/trunk@611 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Each category can now be associated to a user, so that new issues in that ↵Jean-Philippe Lang2007-06-291-0/+9
| | | | | | category are automatically assigned to that user. git-svn-id: http://redmine.rubyforge.org/svn/trunk@577 e93f8b46-1217-0410-a6f0-8f06a7374b81
* A wiki page can now be attached to each version.Jean-Philippe Lang2007-06-141-0/+9
| | | | | | | For that, edit the version and set the wiki page name (project wiki must be enabled). The wiki page content is displayed for each version on the roadmap view. git-svn-id: http://redmine.rubyforge.org/svn/trunk@564 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added basic support for CVS and Mercurial SCMs.Jean-Philippe Lang2007-06-125-0/+47
| | | | | | | | | Browsing, changesets fetching and diff viewing are implemented. Only tested with local repositories. Thanks to Ralph Vater for CVS specific code. git-svn-id: http://redmine.rubyforge.org/svn/trunk@559 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added the ability to archive projects:Jean-Philippe Lang2007-05-271-0/+9
| | | | | | | | | * Only administrators can archive/unarchive projects. * Once archived, the project is visible on the admin project listing only. It doesn't show up anywhere else in the app. Subprojects are also archived. * Archive/unarchive preserve everything on the project (issues, members, ...). * A subproject can not be unarchived if its parent project is archived. git-svn-id: http://redmine.rubyforge.org/svn/trunk@549 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Attachments can now be added to wiki pages (original patch by Pavol Murin). ↵Jean-Philippe Lang2007-05-261-0/+11
| | | | | | | | Only authorized users can add/delete attachments. Attached images can be displayed inline, using textile image tag (for wiki pages, issue descriptions and forum messages). git-svn-id: http://redmine.rubyforge.org/svn/trunk@541 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added the ability to destroy wiki pages (content and its history are deleted ↵Jean-Philippe Lang2007-05-251-0/+9
| | | | | | | | from the database). This permission has to be explicitly given (Roles & Permissions -> Wiki pages/Delete). git-svn-id: http://redmine.rubyforge.org/svn/trunk@540 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Versions can now be created with no date.Jean-Philippe Lang2007-05-201-0/+9
| | | | | | Versions with no date appear at the end of the roadmap, sorted by name. git-svn-id: http://redmine.rubyforge.org/svn/trunk@536 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Per project forums added.Jean-Philippe Lang2007-05-133-0/+52
| | | | | | | | | Permissions for forums management can be set in "Admin -> Roles & Permissions". Forums can be created on the project settings screen ("Forums" tab). Once a project has a forum, a "Forums" link appears in the project menu. For now, posting messages in forums requires to be logged in. Files can be attached to messages. git-svn-id: http://redmine.rubyforge.org/svn/trunk@529 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Changed the length of 'language' column in users table from 2 to 5, to allow ↵Jean-Philippe Lang2007-05-081-0/+9
| | | | | | | | | | long language codes like pt-br. Updated portuguese translation (Arthur Zapparoli). Current pt translation moved to pt-br. git-svn-id: http://redmine.rubyforge.org/svn/trunk@518 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Issue relations first commit (not thoroughly tested). 4 kinds of relation ↵Jean-Philippe Lang2007-05-052-0/+25
| | | | | | | | | | | | | | are available: * relates to: do nothing special. Just to know that the 2 issues are related... * duplicates: will close the related issue with the same status when closing the issue (not implemented yet) * blocks: will require to close the blocking issue before closing the blocked issue (not implemented yet) * precedes (end to start relation): start date of the related issue depends on the due date of the preceding issue (implemented). A delay can be set so that the related issue can only start n days after the end of the preceding issue. When setting dates for an issue, dates of all downstream issues are set according to these relations. To set a relation, the 2 issues have to belong to the same project (may change in the future). So if an issue is moved to another project, all its relations are removed. Circular dependencies are checked when creating a relation. git-svn-id: http://redmine.rubyforge.org/svn/trunk@506 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Updated migration 41 to support table name prefix/sufix.Jean-Philippe Lang2007-04-251-5/+5
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@482 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: 10342 Creation of Schema in OracleJean-Philippe Lang2007-04-255-5/+18
| | | | | | | | | | | | Comment is a reserved keyword for Oracle. The five 'Comment' columns are renamed to 'Commments'. Migration scripts were modified to let oracle users create the database. For the others, migration 41 will rename the columns (only if columns have the 'old' name). Fixed also a few oracle specific issues. Note: currently (in Rails 1.2.3), there's bug in Rails oracle adapter. See: http://dev.rubyonrails.org/ticket/7344 Attached patch is required for redMine to work properly. git-svn-id: http://redmine.rubyforge.org/svn/trunk@479 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Commit messages are now scanned for referenced or fixed issue IDs.Jean-Philippe Lang2007-04-241-0/+13
| | | | | | | | | | | | | Keywords and the status to apply to fixed issues can be defined in Admin -> Settings. Default keywords: - for referencing issues: refs, references, IssueID - for fixing issues: fixes,closes There's no default status defined for fixed issue. You'll have to specify it if you want to enable auto closure of issues. Example of a working commit message: "This commit references #1, #2 and fixes #3" git-svn-id: http://redmine.rubyforge.org/svn/trunk@473 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added create_watchers migrationJean-Philippe Lang2007-04-211-0/+13
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@454 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Custom fields for issues can now be used as filters on issue list.Jean-Philippe Lang2007-04-171-0/+9
| | | | | | To use a custom field as a filter, check "Used as a filter" on the custom field edit screen. git-svn-id: http://redmine.rubyforge.org/svn/trunk@447 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Migration to add identifier attribute on project.Jean-Philippe Lang2007-04-021-0/+9
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@397 e93f8b46-1217-0410-a6f0-8f06a7374b81
* fixed #9542 sqlite3 exception in db:migrate on AddChangesetCommitDateJean-Philippe Lang2007-03-261-1/+1
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@383 e93f8b46-1217-0410-a6f0-8f06a7374b81
* added simple svn statistics graphs, rendered using SVG::GraphJean-Philippe Lang2007-03-251-0/+10
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@380 e93f8b46-1217-0410-a6f0-8f06a7374b81
* SVN commits are now stored in the database, and added to the activity view ↵Jean-Philippe Lang2007-03-252-0/+32
| | | | | | | | | | | and the search engine. New commits are automatically retrieved and stored when consulting the repository in the app. This behaviour can be disabled by unchecking 'Autofecth commits' in configuration settings. Commits can be fetched offline by running (recommanded at least for the initial import of past commits): ruby script/runner "Repository.fetch_changesets" It will load commits for all of the repositories. git-svn-id: http://redmine.rubyforge.org/svn/trunk@377 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Simple time tracking functionality added. Time can be logged at issue or ↵Jean-Philippe Lang2007-03-232-0/+33
| | | | | | | | | | project level. There's no aggregation reports for now, it's just possible to see all time entries for a project or an issue. A new "activities" enumeration is added. Permission for a role to log time must be set (new "Time tracking" section in role permissions screen). git-svn-id: http://redmine.rubyforge.org/svn/trunk@368 e93f8b46-1217-0410-a6f0-8f06a7374b81
* fixed migration scripts to work with mysql 5 running in strict modeJean-Philippe Lang2007-03-193-8/+8
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@349 e93f8b46-1217-0410-a6f0-8f06a7374b81
* fixed problems when svn path doesn't point to the root directory of the ↵Jean-Philippe Lang2007-03-181-0/+9
| | | | | | | | repository. a root_url property has been added on the repository. it's automatically retrieved the first time the repository is browsed git-svn-id: http://redmine.rubyforge.org/svn/trunk@344 e93f8b46-1217-0410-a6f0-8f06a7374b81
* added rss/atom feeds at project levels for:Jean-Philippe Lang2007-03-171-0/+9
| | | | | | | | | | * news * new issues reported * details of issue changes issue cutom queries can be used as feeds git-svn-id: http://redmine.rubyforge.org/svn/trunk@339 e93f8b46-1217-0410-a6f0-8f06a7374b81
* fixed self.down in AddSearchPermission migrationJean-Philippe Lang2007-03-171-1/+1
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@338 e93f8b46-1217-0410-a6f0-8f06a7374b81
* wiki branch merged into trunkJean-Philippe Lang2007-03-103-0/+58
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@323 e93f8b46-1217-0410-a6f0-8f06a7374b81
* feature #9137 Password-protected SVN repositoriesJean-Philippe Lang2007-03-091-0/+11
| | | | | | | * added login and password attributes on repositories * fixed svn calls (svn waiting for user input) git-svn-id: http://redmine.rubyforge.org/svn/trunk@319 e93f8b46-1217-0410-a6f0-8f06a7374b81
* added a simple search engine. left to do:Jean-Philippe Lang2007-02-271-0/+9
| | | | | | | | - full content search (only subject/titles for now) - pagination - results presentation improvement git-svn-id: http://redmine.rubyforge.org/svn/trunk@279 e93f8b46-1217-0410-a6f0-8f06a7374b81
* mail notification removed for projects/roadmap in migrationJean-Philippe Lang2007-02-051-1/+1
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@240 e93f8b46-1217-0410-a6f0-8f06a7374b81
* added roadmap viewJean-Philippe Lang2007-02-042-0/+18
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@228 e93f8b46-1217-0410-a6f0-8f06a7374b81
* custom_field.possible_values is now serialized (no longer pipe separated)Jean-Philippe Lang2007-02-031-0/+13
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@223 e93f8b46-1217-0410-a6f0-8f06a7374b81
* added the ability to set the sort order for trackersJean-Philippe Lang2007-01-311-0/+10
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@209 e93f8b46-1217-0410-a6f0-8f06a7374b81
* added the ability to set the sort order for rolesJean-Philippe Lang2007-01-311-0/+10
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@208 e93f8b46-1217-0410-a6f0-8f06a7374b81
* added the ability to set the sort order for issue statusesJean-Philippe Lang2007-01-311-0/+10
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@205 e93f8b46-1217-0410-a6f0-8f06a7374b81