Commit Graph

203 Commits

Author SHA1 Message Date
Jean-Philippe Lang ee1d9647b8 Raised group name maximum length to 255 characters (#13174).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11392 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-15 07:48:37 +00:00
Jean-Philippe Lang 457c27e697 Add unique index on custom_fields_projects.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11330 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-07 18:21:18 +00:00
Jean-Philippe Lang 37a4342bcd Add unique index on custom_fields_trackers (#13059).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11329 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-07 18:20:59 +00:00
Jean-Philippe Lang 0f29e265fc Optionaly inherit members from parent project (#5605).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11298 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-02 12:50:45 +00:00
Jean-Philippe Lang 8b010e85e3 Add unique index on tokens.value.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11295 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-01 20:04:38 +00:00
Jean-Philippe Lang 63cc617bc5 Fixed Redmine case.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11261 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-23 18:09:16 +00:00
Jean-Philippe Lang 48fb02e383 Split "Manage documents" permission into create, edit and delete permissions (#12401).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11206 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-20 11:38:20 +00:00
Jean-Philippe Lang cc47ccb1c2 Check if index exists before removing it (#12713).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11137 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-06 14:46:51 +00:00
Jean-Philippe Lang 9c561f9124 SQLServer does not support changing the type of an indexed column (#12713).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11097 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-03 11:19:08 +00:00
Jean-Philippe Lang c99b638d61 Store attachments in subdirectories (#5298).
Existing files can be moved to their target subdirectories using rake redmine:attachments:move_to_subdirectories.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10990 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-13 12:07:19 +00:00
Jean-Philippe Lang ab066317e6 Adds STI to Query model. Issue queries are now IssueQuery instances.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10964 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-09 14:10:49 +00:00
Jean-Philippe Lang cf69c2da21 Don't force english language for default admin account (#12485).
Contributed by Go MAEDA.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10953 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-08 08:53:09 +00:00
Jean-Philippe Lang 738cf2e187 Replaces find(:first) calls in migrations.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10929 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-03 18:25:57 +00:00
Jean-Philippe Lang abd921736b Replaces find(:all) calls.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10918 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-02 20:28:37 +00:00
Jean-Philippe Lang dc68be983a Use Project.rebuild_tree! instead of .rebuild! in migration.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10868 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-11-23 17:53:12 +00:00
Jean-Philippe Lang 113f8b5cf2 Adds a textual css class for issue priorities (#12216).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10720 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-26 01:25:23 +00:00
Jean-Philippe Lang 0178b5a2fe Private issue notes (#1554).
Adds 2 new permissions for viewing/adding private comments to issues.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10547 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-03 21:36:19 +00:00
Jean-Philippe Lang bc153cb61d Support for subforums (#3831).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10142 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-31 17:17:52 +00:00
Jean-Philippe Lang b53f9c688b Fixed migration broken by r9977.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10049 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-19 17:34:37 +00:00
Jean-Philippe Lang d7b669e50b Workflow enhancement: editable and required fields configurable by role, tracker and status (#703, #3521).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9977 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-15 14:12:17 +00:00
Jean-Philippe Lang 3b207ee77c Adds a configurable timeout for LDAP authentication (#8978).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9931 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-07 09:36:04 +00:00
Jean-Philippe Lang 4cecc1beed Ability to disable standard fields on a per tracker basis (#1091).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9912 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-05 12:20:07 +00:00
Jean-Philippe Lang 61a1fa1b6e Do not trigger model validations when rebuilding the nested set (#10829).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9632 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-05-05 09:39:38 +00:00
Jean-Philippe Lang 5e57a1a9d9 Merged rails-3.2 branch.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9528 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-25 17:17:49 +00:00
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