Commit Graph

179 Commits

Author SHA1 Message Date
Toshi MARUYAMA ee54720556 set svn:eol-style native db/migrate/*.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9100 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-05 03:55:03 +00:00
Jean-Philippe Lang 60741b3e1c Adds an optional LDAP filter (#1060).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9044 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-01 16:26:10 +00:00
Jean-Philippe Lang 231683e8d7 Undefined #builtin= with Rails 3.1.3.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8997 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-25 11:48:29 +00:00
Jean-Philippe Lang a98b65c2d4 Fixed migration broken with Rails 3.1.3 (#10320).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8996 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-25 11:46:19 +00:00
Jean-Philippe Lang 10a37e2769 Makes container_id and container_type columns nullables.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8934 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-23 11:15:39 +00:00
Jean-Philippe Lang a00f04886f Increase username length limit from 30 to 60 (#2719).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8778 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-05 11:50:53 +00:00
Jean-Philippe Lang cd6db6a3cb Adds support for multiselect custom fields (#1189).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8721 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-29 20:51:48 +00:00
Jean-Philippe Lang 1bd5e58c84 Adds support for multiple repositories per project (#779).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8650 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-15 18:19:19 +00:00
Jean-Philippe Lang 7c00a4a11f Restores migration broken by r8182 and removes default scope on Role (#9800).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8213 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-14 22:24:20 +00:00
Jean-Philippe Lang eb15c9eaad Role.all broken in migration due to default sort (columns do not exist yet). Use raw SQL instead.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8182 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-10 17:06:46 +00:00
Jean-Philippe Lang 66cc0fe7ab Typo.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8044 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-03 13:42:58 +00:00
Jean-Philippe Lang 1fbcd1051e Do not trigger repository validation in migration.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8043 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-03 13:38:04 +00:00
Etienne Massip 39ae7b66f8 Enforced unicity of relations between 2 issues with a database index (#9685).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8041 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-03 12:12:53 +00:00
Toshi MARUYAMA f1cc1943df remove trailing white-spaces from db/migrate/20101104182107_add_unique_index_on_members.rb (#9510)
Contributed by Igor Zubkov.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7760 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-09 08:47:57 +00:00
Toshi MARUYAMA 02378acc80 remove trailing white-spaces from db/migrate/007_create_journals.rb (#9510)
Contributed by Igor Zubkov.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7759 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-09 08:47:30 +00:00
Toshi MARUYAMA 47bcd7f3c3 replace tabs to spaces at db/migrate/097_add_view_wiki_edits_permission.rb (#9510)
Contributed by Igor Zubkov.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7758 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-09 08:11:58 +00:00
Toshi MARUYAMA cedeee2e16 replace tabs to spaces at db/migrate/096_add_commit_access_permission.rb (#9510)
Contributed by Igor Zubkov.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7757 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-09 08:11:36 +00:00
Toshi MARUYAMA 67ac04e49a replace tabs to spaces at db/migrate/099_add_delete_wiki_pages_attachments_permission.rb (#9510)
Contributed by Igor Zubkov.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7756 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-09 08:11:13 +00:00
Toshi MARUYAMA 4b38902ef7 remove trailing white-spaces from db/migrate/20100705164950_change_changes_path_length_limit.rb (#9510)
Contributed by Igor Zubkov.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7755 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-09 02:46:23 +00:00
Toshi MARUYAMA a40e2ec5c7 remove trailing white-spaces from db/migrate/081_create_projects_trackers.rb (#9510)
Contributed by Igor Zubkov.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7754 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-09 02:45:49 +00:00
Toshi MARUYAMA f8da2233db remove trailing white-spaces from db/migrate/068_create_enabled_modules.rb (#9510)
Contributed by Igor Zubkov.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7753 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-08 05:11:04 +00:00
Toshi MARUYAMA 9497eb5b48 remove trailing white-spaces from db/migrate/062_insert_builtin_roles.rb (#9510)
Contributed by Igor Zubkov.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7752 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-08 05:10:41 +00:00
Toshi MARUYAMA e154b336bd remove trailing white-spaces from db/migrate/029_create_wiki_contents.rb (#9510)
Contributed by Igor Zubkov.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7750 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-07 00:13:49 +00:00
Toshi MARUYAMA 90c10d16b8 remove trailing white-spaces from db/migrate/055_add_repositories_type.rb (#9510)
Contributed by Igor Zubkov.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7749 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-07 00:13:26 +00:00
Toshi MARUYAMA 5bdbf1aa15 remove trailing white-spaces from db/migrate/20100313132032_add_issues_nested_sets_columns.rb (#9510)
Contributed by Igor Zubkov.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7748 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-07 00:13:01 +00:00
Toshi MARUYAMA e6825e7e0c remove trailing white-spaces from db/migrate/001_setup.rb (#9510)
Contributed by Igor Zubkov.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7746 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-06 17:17:51 +00:00
Toshi MARUYAMA 8c560fa581 remove trailing white-spaces from db/migrate/028_create_wiki_pages.rb (#9510)
Contributed by Igor Zubkov.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7737 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-06 09:16:26 +00:00
Toshi MARUYAMA 418a4e49f8 remove trailing white-spaces from db/migrate/027_create_wikis.rb (#9510)
Contributed by Igor Zubkov.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7736 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-06 07:54:24 +00:00
Toshi MARUYAMA f76e17c18a set svn:eol-style native at db/migrate/001_setup.rb (#9510)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7735 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-06 04:54:10 +00:00
Toshi MARUYAMA 313965e683 change new line 'LF' to 'CRLF' at db/migrate/001_setup.rb (#9510)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7734 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-06 04:51:24 +00:00
Toshi MARUYAMA ef1223dd3a scm: db: model: add parent/child relation for changesets (#5501)
Contributed by Jan Topiński.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7710 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-03 08:01:41 +00:00
Toshi MARUYAMA 30aecd5e25 scm: add "extra_info" column to repositories table and set serialize (#7146, #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
2011-05-12 17:29:18 +00:00
Jean-Philippe Lang f16cddd57a Private issues (#7414).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5466 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-15 13:23:13 +00:00
Jean-Philippe Lang aa0d01b3d9 Adds an issues visibility level on roles (#7412).
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
2011-04-11 17:53:15 +00:00
Jean-Philippe Lang eda002d0df Adds an index on users.type for faster retrieval of groups.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5288 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-01 19:32:07 +00:00
Toshi MARUYAMA c09b6edaf4 scm: copy global log encoding setting to repository (#1735).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4981 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-01 10:14:47 +00:00
Toshi MARUYAMA 165ab7e6c3 scm: add log_encoding column to repositories table (#1735).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4980 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-01 09:47:06 +00:00
Jean-Philippe Lang 2627419131 Keep track of issue description changes (#746).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4954 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-02-27 13:34:41 +00:00
Jean-Philippe Lang a78d565959 Adds support for SCM/LDAP passwords encryption in the database (#7411).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4950 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-02-26 13:09:25 +00:00
Toshi MARUYAMA 4bf84ca468 scm: add "path_encoding" column in repositories table (#2664, #2274).
Contributed by Yuya Nishihara.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4940 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-02-24 05:58:37 +00:00
Jean-Philippe Lang ce84bb1a01 Adds random salt to user passwords (#7410).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4936 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-02-23 17:27:31 +00:00
Jean-Philippe Lang 4b096e9a56 Allow additional workflow transitions for issue author and assignee (#2732).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4895 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-02-20 15:38:07 +00:00
Jean-Baptiste Barth d29052f682 Added missing remove_index in AddUniqueIndexOnMembers down migration. #7212
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4610 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-01-01 23:08:49 +00:00
Jean-Philippe Lang 427ec05c8b Fixed: Migration from boolean to varchar fails on PostgreSQL 8.1 (#6943).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4413 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-11-20 09:55:06 +00:00
Jean-Philippe Lang 8ef06826c3 Raised maximum length of project names and identifiers to 255 and 100 respectively (#6446).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4402 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-11-14 12:33:14 +00:00
Jean-Philippe Lang f8ca6e58aa Make sure existing custom fields visibility is set to true.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4383 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-11-07 14:17:35 +00:00
Jean-Philippe Lang 475530e59f Adds a "visible" option on User and Project custom fields (#1738).
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
2010-11-07 14:15:01 +00:00
Jean-Philippe Lang b67e4a87e4 Clean up member_roles if needed.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4370 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-11-06 11:49:45 +00:00
Jean-Philippe Lang c50b611f85 Adds a unique index on members (#6826).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4369 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-11-06 11:44:38 +00:00
Jean-Philippe Lang 73167fb4f2 Rewrites UpdateMailNotificationValues migration to avoid model validations and failures.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4368 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-11-06 10:57:56 +00:00