Commit Graph

1051 Commits

Author SHA1 Message Date
Toshi MARUYAMA 46fb8a8505 Rails3: replace deprecated 'after_destroy' method at Attachment model.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6763 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-30 05:08:21 +00:00
Toshi MARUYAMA 9f5a6a2954 Rails3: replace deprecated 'before_save' method at Attachment model.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6756 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-30 04:11:48 +00:00
Toshi MARUYAMA bc169cf466 Rails3: replace deprecated 'before_create' to declared method at Changeset model.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6744 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-29 14:03:11 +00:00
Toshi MARUYAMA 80c5f34c07 Rails3: replace deprecated 'after_create' to declared method at Repository model.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6740 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-29 12:42:12 +00:00
Toshi MARUYAMA 38ba617f99 Rails3: replace deprecated 'validate_on_create' to declared validation method at Repository model.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6717 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-29 05:48:11 +00:00
Toshi MARUYAMA af7ec57f15 Rails3: replace deprecate 'validate' instance method to declared validation method at Attachment model.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6714 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-29 02:32:18 +00:00
Toshi MARUYAMA a0995cbafb remove trailing white-spaces from app/models/time_entry_custom_field.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6708 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-29 01:07:13 +00:00
Toshi MARUYAMA 46581fafcc remove trailing white-spaces from app/models/time_entry_activity_custom_field.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6707 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-29 01:06:42 +00:00
Toshi MARUYAMA ffb951b50f remove trailing white-spaces from app/models/time_entry_activity.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6706 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-29 01:06:15 +00:00
Toshi MARUYAMA 339f79b929 remove trailing white-spaces from app/models/journal_detail.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6527 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-22 13:31:08 +00:00
Toshi MARUYAMA 5a7c888df9 remove trailing white-spaces from app/models/attachment.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6526 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-22 13:30:33 +00:00
Toshi MARUYAMA 9bd9988d9b remove trailing white-spaces from app/models/tracker.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6523 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-22 02:08:37 +00:00
Toshi MARUYAMA 62986f0c06 remove trailing white-spaces from app/models/issue_category.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6522 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-22 02:07:58 +00:00
Toshi MARUYAMA 44147ee8f2 remove trailing white-spaces from app/models/project.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6517 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-21 08:46:33 +00:00
Toshi MARUYAMA b81c2f17b4 remove trailing white-spaces except SQL from app/models/issue.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6516 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-21 08:46:10 +00:00
Toshi MARUYAMA aa84f622c7 remove trailing white-spaces from app/models/custom_value.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6514 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-21 04:45:20 +00:00
Toshi MARUYAMA 63bb5a38dd remove trailing white-spaces from app/models/custom_field.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6513 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-21 04:44:35 +00:00
Toshi MARUYAMA 66a1504db6 remove trailing white-spaces from app/models/auth_source_ldap.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6512 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-21 04:43:55 +00:00
Toshi MARUYAMA ff8af0ea2e remove trailing white-spaces from app/models/wiki_page.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6511 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-21 02:00:35 +00:00
Toshi MARUYAMA d8cb0855dc remove trailing white-spaces from app/models/watcher.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6510 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-21 01:59:51 +00:00
Toshi MARUYAMA a20b4c6b23 remove trailing white-spaces from app/models/user_preference.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6509 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-21 01:58:55 +00:00
Toshi MARUYAMA 04fe3babc1 remove trailing white-spaces from app/models/token.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6508 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-21 01:58:11 +00:00
Toshi MARUYAMA e86f9711b9 remove trailing white-spaces from app/models/user.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6507 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-21 01:57:25 +00:00
Toshi MARUYAMA 33745d1972 remove trailing white-spaces from app/models/message.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6506 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-21 01:56:43 +00:00
Toshi MARUYAMA 65cc96e334 remove trailing white-spaces from app/models/issue_relation.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6505 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-21 01:56:03 +00:00
Toshi MARUYAMA b335f1dc87 remove trailing white-spaces from app/models/issue_status.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6504 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-21 01:55:08 +00:00
Toshi MARUYAMA 67169fe9dd remove trailing white-spaces from app/models/member.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6503 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-21 01:54:24 +00:00
Toshi MARUYAMA a8c0583e5e remove trailing white-spaces from app/models/member_role.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6502 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-21 01:53:41 +00:00
Toshi MARUYAMA 8be05afff8 remove trailing white-spaces from app/models/enumeration.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6501 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-21 01:14:40 +00:00
Toshi MARUYAMA 3605a18137 remove trailing white-spaces from app/models/query.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6465 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-20 03:38:29 +00:00
Jean-Philippe Lang 7f77744e86 Include issues asigned to user's groups when using "assigned to me" filter (#2964).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6332 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-31 10:22:36 +00:00
Jean-Philippe Lang 1317b99c3d Fixes mail handler for when there's no attachments (#8651).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6325 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-29 17:05:26 +00:00
Jean-Philippe Lang 4f4b3594db Fixed: attachments from Apple Mail not added by mail handler (#8651).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6324 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-29 17:01:29 +00:00
Jean-Philippe Lang 6db66f7183 Fixed: file uploads broken by r6312 (#8912).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6320 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-29 15:28:59 +00:00
Jean-Philippe Lang 9cebf65568 Fixed: pagination do not show total visible issue count (#8633).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6314 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-24 16:48:26 +00:00
Jean-Philippe Lang 521eaa79cb Ability to load relations on /issues API (#7366).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6313 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-24 15:34:41 +00:00
Jean-Philippe Lang 49900051ea Fixed: MailHandler does not include JournalDetail for attached files (#7966).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6312 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-24 09:34:23 +00:00
Jean-Philippe Lang 2ce3191639 Assignee is removed on issue update if assignee account is locked (#8884).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6308 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-23 19:24:02 +00:00
Jean-Philippe Lang 578fdc62f2 Ability to assign issues to groups (#2964).
Option is disabled by default. It can be turned on in application settings.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6306 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-23 18:18:13 +00:00
Jean-Philippe Lang 18103cafbc Refactor: extract specific filter statements to methods.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6301 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-20 17:44:10 +00:00
Jean-Philippe Lang 5f79a6a190 Fixed: additional workflow transitions not available when set to both author and assignee (#8836).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6300 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-20 17:05:17 +00:00
Jean-Philippe Lang cf56698d91 Refactor builtin roles creation.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6299 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-20 16:34:55 +00:00
Jean-Philippe Lang 4f92276654 Validate custom field regexp (#8865).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6298 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-20 16:29:34 +00:00
Jean-Philippe Lang 6c5b29bb68 More accurate date validation.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6265 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-11 14:36:43 +00:00
Jean-Philippe Lang 308a922d80 Validate date filters values.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6264 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-11 14:13:59 +00:00
Jean-Philippe Lang c6da451621 Typo.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6258 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-11 11:38:46 +00:00
Jean-Philippe Lang 73236e5b41 Fixes "=" filter on float values.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6256 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-11 11:35:53 +00:00
Toshi MARUYAMA c2e9e2cf56 scm: mercurial: do nothing in fetching if info is nil (#8777).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6246 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-11 00:56:09 +00:00
Jean-Philippe Lang c25a79a61b Keep invalid values and add validation error message.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6229 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-10 18:34:49 +00:00
Jean-Philippe Lang bedbb166b7 Reject non numeric values for numeric fields.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6228 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-10 18:19:21 +00:00