Commit Graph

3920 Commits

Author SHA1 Message Date
Jean-Philippe Lang cba13a21e9 Removed unused partial.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8652 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-15 18:31:37 +00:00
Jean-Philippe Lang 5f7995f977 Adds repository_id param for activity and search results (#779).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8651 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-15 18:30:52 +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 fb1a2fd7cd Resourcified repositories for CRUD operations to prepare for multiple SCM per project (#779).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8648 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-15 14:23:06 +00:00
Etienne Massip 54c0b531e1 Fixed double escaping of Atom feed links.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8646 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-14 16:08:51 +00:00
Jean-Philippe Lang 002081f224 Change attachment link to download and add a view link for text attachments (#4774).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8645 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-14 15:55:54 +00:00
Jean-Philippe Lang 18ea835739 Display "none" inside square brackets.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8644 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-14 09:55:49 +00:00
Jean-Philippe Lang 980b6db5c0 Adds "me" to user custom fields filters (#9923).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8638 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-13 19:38:06 +00:00
Jean-Philippe Lang 919d0a68c3 Adds "my projects" filter on the cross-project issue list.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8637 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-13 18:16:15 +00:00
Jean-Philippe Lang 3c75d6036f Fixed: Routing error when deleting an issue with spent time.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8632 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-10 22:58:14 +00:00
Jean-Philippe Lang 0bbbaa0dbd Removed hard-coded styles.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8631 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-10 18:24:12 +00:00
Jean-Philippe Lang 0367266f66 Use named routes.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8630 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-10 18:08:46 +00:00
Jean-Philippe Lang 9daa667d0a Adds total number of issues for each version on the roadmap.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8629 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-10 18:05:49 +00:00
Jean-Philippe Lang 8eef72aa1a Separated new/edit views for the timelog controller.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8628 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-10 17:35:09 +00:00
Toshi MARUYAMA f9b0cfb63e code layout clean up app/views/users/_memberships.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8611 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-10 08:43:32 +00:00
Toshi MARUYAMA 04df8dcb39 code layout clean up app/views/groups/_users.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8610 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-10 08:42:59 +00:00
Toshi MARUYAMA ad47832960 code layout clean up app/views/groups/_memberships.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8609 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-10 08:42:26 +00:00
Toshi MARUYAMA b0824ea5a4 code layout clean up app/views/issues/_relations.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8604 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-10 08:06:46 +00:00
Toshi MARUYAMA 35a5369473 code layout clean up app/views/issues/show.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8603 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-10 08:06:06 +00:00
Toshi MARUYAMA e2e872dc72 code layout clean up app/views/projects/settings/_members.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8602 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-10 08:05:28 +00:00
Toshi MARUYAMA 413b0cc324 code layout clean up app/views/messages/show.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8601 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-10 08:04:57 +00:00
Toshi MARUYAMA 4e5490ddef replace tabs to spaces at app/views/news/new.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8597 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-10 05:13:19 +00:00
Jean-Philippe Lang c131a38d7c Do not call _before_save hook without saving.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8596 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-09 18:52:07 +00:00
Jean-Philippe Lang 919e686e93 Do not call _before_save hook without saving.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8595 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-09 18:51:40 +00:00
Jean-Philippe Lang c23e497c42 Avoid an AJAX query if the watchers form is already loaded.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8593 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-09 18:46:37 +00:00
Jean-Philippe Lang 1b1c510ff9 Ability to add non-member users as watchers (#5159).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8592 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-09 18:37:16 +00:00
Toshi MARUYAMA 5835648290 route: use ":controller" instead of ":as" for project_enumerations
Rails3 new route format needs this syntax.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8570 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-09 00:08:50 +00:00
Jean-Philippe Lang 417219bfc4 Fixed: error when displaying an issue with a query sorted by an association, eg. priority (#9936).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8569 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-08 18:21:00 +00:00
Jean-Philippe Lang 381319c4e8 Fixed that SCM selection is not saved when all SCM are disabled (#9937).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8568 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-08 18:03:37 +00:00
Jean-Philippe Lang 839daae8d0 Do not generate duplicate ids.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8567 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-08 17:40:27 +00:00
Jean-Philippe Lang 0960f5e4c6 Moved the div to a valid place.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8566 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-08 17:34:06 +00:00
Jean-Philippe Lang c93f4723d0 Removed invalid div.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8565 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-08 17:31:58 +00:00
Jean-Philippe Lang d5a00cc29b Do not generate duplicate ids.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8563 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-08 17:20:08 +00:00
Jean-Philippe Lang 20f9c98de2 Form tag without action attribute is invalid.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8562 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-08 17:18:53 +00:00
Jean-Philippe Lang 32b91e685e Do not generate duplicate ids and fixes tag attribute.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8561 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-08 17:16:46 +00:00
Jean-Philippe Lang f1b93601b5 Removes spaces in versions anchors.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8560 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-08 17:14:17 +00:00
Jean-Philippe Lang 1fd824f0c1 Do not generate empty uls.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8557 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-08 13:08:06 +00:00
Jean-Philippe Lang a66718239f Do not generate duplicate ids.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8556 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-08 13:06:19 +00:00
Jean-Philippe Lang 31149700cb Fixed labels tags referencing wrong ids.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8555 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-08 13:01:37 +00:00
Jean-Philippe Lang 906fcd290c Initialize watcher_user_ids for new records to prevent useless queries on each #watched_by?.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8554 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-08 12:26:57 +00:00
Jean-Philippe Lang 2a55d37619 Check project assignment on issue copy/move.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8553 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-08 11:48:36 +00:00
Jean-Philippe Lang 121bc44cc5 Use the regular issue form to copy a single issue.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8552 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-08 11:16:54 +00:00
Etienne Massip 59789c7997 Moved Date months/weeks calculations used in Graph to lib.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8540 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-07 19:02:10 +00:00
Jean-Philippe Lang 1653735758 Deprecated Issue#move_to_project.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8539 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-07 18:02:02 +00:00
Jean-Philippe Lang 065376c160 Copy issues via bulk update action.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8538 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-07 17:27:47 +00:00
Jean-Philippe Lang 464cef8643 Removed the "Move" button for issues since they can be moved from the bulk edit form.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8537 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-07 16:26:12 +00:00
Jean-Philippe Lang d29638845a Allows project to be changed from the bulk edit form.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8536 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-07 16:18:53 +00:00
Jean-Philippe Lang c164211c3f Render projects as a tree in the project select field.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8534 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-07 12:57:13 +00:00
Jean-Philippe Lang 14267311aa Removed the "Move" button for single issue since it can be moved from the reguler update form.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8533 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-07 12:46:36 +00:00
Jean-Philippe Lang 6539d04622 Check permission before retrieving projects.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8532 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-07 12:39:26 +00:00
Jean-Philippe Lang 81cf6b2343 Allows project to be changed from the regular issue update action (#4769, #9803).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8531 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-07 12:34:52 +00:00
Jean-Philippe Lang 6d974eb018 Code cleanup.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8527 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-06 20:46:45 +00:00
Jean-Philippe Lang f3a2c8d7f7 Code cleanup.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8526 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-06 20:34:42 +00:00
Jean-Philippe Lang ca1958972e Code cleanup.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8525 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-06 20:06:25 +00:00
Jean-Philippe Lang b3c678da87 Extracted some code from #move_to_project to a callback.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8524 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-06 19:50:02 +00:00
Jean-Philippe Lang 266521a1d3 Use #context_menu helper.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8523 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-06 17:37:32 +00:00
Toshi MARUYAMA 206c7eca78 remove duplicate "private" from MailHandler model
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8522 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-06 07:48:03 +00:00
Toshi MARUYAMA 16cb0ce1c9 remove redundant "email" parameter from MailHandler#create_user_from_email
"email" is defined as attr_reader.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8521 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-06 07:47:38 +00:00
Toshi MARUYAMA f01dc24877 Rails3: replace deprecated Errors#on to Errors#[] at app/models/mail_handler.rb
On Rails2, Errors#[] returns single error if one error raises.
But, on Rails3, Errors#[] always returns the array.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8520 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-05 14:47:35 +00:00
Toshi MARUYAMA 077ddfbea3 code layout clean up app/views/issues/index.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8514 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-05 08:02:19 +00:00
Toshi MARUYAMA 0bd651330b code layout clean up app/models/news.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8513 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-05 03:46:19 +00:00
Jean-Philippe Lang a5ed9c7e2d Adds avatar on changeset view.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8507 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-04 18:41:50 +00:00
Jean-Philippe Lang 87b51d847c Fixed invalid html.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8506 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-04 18:34:38 +00:00
Jean-Philippe Lang 9b27e1cd83 Prevent empty table from being rendered.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8505 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-04 18:31:27 +00:00
Jean-Philippe Lang 091de63f30 Use explicit path name.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8504 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-04 18:24:28 +00:00
Toshi MARUYAMA 50a2a1321d code layout clean up app/views/messages/edit.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8501 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-04 12:55:07 +00:00
Toshi MARUYAMA f25aa90490 Rails3: view: use explicit post method at messages/edit.html.erb
On Rails3, form_for generates hidden "put" input tag.
So, 'No route matches "/boards/1/topics/1/edit"' error raises.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8500 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-04 12:54:24 +00:00
Toshi MARUYAMA 1812e68198 Rails3: view: change html special characters to hexadecimal utf-8 strings at issues/show.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8495 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-04 08:09:20 +00:00
Toshi MARUYAMA 25477e452c Rails3: view: html_safe for repositories/_revision_graph.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8494 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-04 08:08:43 +00:00
Toshi MARUYAMA 4786706591 use i18n label for previous and next issue (#2850)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8493 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-04 05:50:10 +00:00
Jean-Philippe Lang 86a52eaedf Makes .find_ids return integers.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8490 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-03 21:35:00 +00:00
Jean-Philippe Lang b1504ceb43 Adds previous/next links to issue (#2850).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8488 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-03 20:09:44 +00:00
Jean-Philippe Lang bbe1ff3ec9 Faster query.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8487 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-03 18:10:03 +00:00
Toshi MARUYAMA 3d562490d8 code layout clean up app/views/wiki/rename.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8484 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-03 12:09:34 +00:00
Toshi MARUYAMA 27828590d1 Rails3: view: use explicit post method at wiki/rename.html.erb
On Rails3, form_for generates hidden "put" input tag.
So, 'No route matches "/projects/id/wiki/wikiname/rename"' error raises.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8483 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-03 12:08:54 +00:00
Toshi MARUYAMA bddd2a740d Rails3: view: use explicit post method at projects/settings/_modules.html.erb
On Rails3, form_for generates hidden "put" input tag.
So, 'No route matches "/projects/id/modules"' error raises.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8482 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-03 10:48:40 +00:00
Toshi MARUYAMA 737655cebc Rails3: view: use explicit post method at my/account.html.erb
On Rails3, form_for generates hidden "put" input tag.
So, 'No route matches "/my/account"' error raises.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8481 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-03 10:13:00 +00:00
Toshi MARUYAMA 4cc2731996 code layout clean up app/views/wiki/index.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8480 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-03 06:24:43 +00:00
Jean-Philippe Lang d5030c8b81 View cleanup.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8479 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-02 22:53:39 +00:00
Jean-Philippe Lang bbba385198 Missing html_safe.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8474 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-02 17:40:03 +00:00
Jean-Philippe Lang f488ee8b0a Missing html_safe.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8473 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-02 15:39:38 +00:00
Toshi MARUYAMA 65959100f4 code layout cleanup app/views/repositories/_navigation.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8472 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-02 14:41:02 +00:00
Toshi MARUYAMA 2ab7dba964 Rails3: model: mailer: use .to_s at redmine_headers method
On Rails 3.0:
<pre>
DEPRECATION WARNING: Using a non-String object for a header's value is deprecated.
You specified 15 (a Fixnum) for X-Redmine-Issue-Id.
</pre>

On Rails 3.1.3:
<pre>
Error:
test_message_posted_message_id(MailerTest):
NoMethodError: undefined method `index' for 1:Fixnum
    test/unit/mailer_test.rb:226:in `test_message_posted_message_id'
</pre>

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8468 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-02 09:35:50 +00:00
Jean-Philippe Lang 8364f86af1 Give explicit url option.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8464 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-01 20:25:33 +00:00
Jean-Philippe Lang 1f6764e2af Rails3 compat.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8459 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-01 17:58:14 +00:00
Jean-Philippe Lang cd256fe89f Order is already defined on attachments association.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8458 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-01 17:35:34 +00:00
Toshi MARUYAMA 979a4ecb22 Rails3: helper: html_safe for SearchHelper render_results_by_type method
Contributed by Sylvain Utard.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8456 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-01 13:45:30 +00:00
Toshi MARUYAMA c86cb730f1 Rails3: helper: html_safe for SearchHelper highlight_tokens method
Contributed by Sylvain Utard.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8455 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-01 13:44:35 +00:00
Toshi MARUYAMA b67353fdb5 Rails3: helper: html_safe for IssuesHelper render_issue_tooltip method
Contributed by Sylvain Utard.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8454 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-01 11:45:18 +00:00
Toshi MARUYAMA 56ca36ede1 Rails3: view: html_safe for wiki/show.html.erb
Contributed by Sylvain Utard.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8453 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-01 11:44:32 +00:00
Toshi MARUYAMA 29edbd605b Rails3: view: html_safe for my/page_layout.html.erb
Contributed by Sylvain Utard.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8452 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-01 09:51:30 +00:00
Toshi MARUYAMA 2b2eeb0192 Rails3: helper: html_safe for JournalsHelper render_notes method
Contributed by Sernin van de Krol.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8451 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-01 06:39:35 +00:00
Toshi MARUYAMA 48fae14403 Rails3: view: html_safe for timelog/report.html.erb
Contributed by Eric Cline.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8450 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-01 06:11:46 +00:00
Toshi MARUYAMA 09e4fd0500 Rails3: view: html_safe for timelog/_report_criteria.html.erb
Contributed by Eric Cline.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8449 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-01 06:11:01 +00:00
Toshi MARUYAMA 5340a48253 Rails3: view: html_safe for issue_moves/new.html.erb
Contributed by Eric Cline.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8448 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-01 05:52:26 +00:00
Toshi MARUYAMA 0fe8a4248d Rails3: view: html_safe for issues/bulk_edit.html.erb
Contributed by Eric Cline.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8447 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-01 04:45:49 +00:00
Jean-Philippe Lang 852dee37ec Do not add errors on attributes on fake attributes.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8388 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-26 13:34:50 +00:00
Jean-Philippe Lang a03432cbe6 Rails3 compatibility.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8383 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-26 12:22:03 +00:00
Jean-Philippe Lang b20598d755 Use :joins instead of :include in calculations.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8382 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-26 12:07:07 +00:00
Jean-Philippe Lang 20ead6d8f7 Code cleanup.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8345 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-24 09:53:10 +00:00
Jean-Philippe Lang 8f23043851 Dup attributes instead of issue object.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8344 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-24 09:51:26 +00:00
Toshi MARUYAMA 28d2896f90 Rails3: view: html_safe for issues/destroy.html.erb
Contributed by Eric Cline.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8312 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-22 06:51:42 +00:00
Toshi MARUYAMA ab1137159f Rails3: helper: html_safe for WatchersHelper
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8309 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-21 16:47:42 +00:00
Toshi MARUYAMA 0d5df3a73e Rails3: view: html_safe for timelog/bulk_edit.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8308 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-21 13:42:19 +00:00
Toshi MARUYAMA 576d333c2c Rails3: view: html_safe for common/_calendar.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8307 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-21 03:40:06 +00:00
Toshi MARUYAMA 16e8818d9e remove trailing white-spaces from app/models/user.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8296 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-19 04:41:13 +00:00
Jean-Philippe Lang f5987a5ca0 Use validation callback.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8293 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-18 15:48:06 +00:00
Jean-Philippe Lang 14ea087edc Removed unused scope.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8292 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-18 15:04:34 +00:00
Jean-Philippe Lang b7ceb3c333 Removed unused scope.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8291 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-18 15:04:08 +00:00
Jean-Philippe Lang b8ce888d98 Use scoped method instead of merge_conditions.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8290 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-18 15:02:46 +00:00
Jean-Philippe Lang 9e83ee2ddf Removed after_initialize methods.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8288 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-18 14:57:58 +00:00
Jean-Philippe Lang 062fbeae80 Makes models #initialize accept additional arguments.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8287 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-18 13:26:20 +00:00
Jean-Philippe Lang 5eed64b848 human_attribute_name accepts optional argument.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8286 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-18 13:20:19 +00:00
Jean-Philippe Lang 2a0257e8af Use open scope in version issues count methods.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8285 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-18 13:05:46 +00:00
Jean-Philippe Lang f29b57088a html_safe for Rails3
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8283 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-18 12:26:28 +00:00
Jean-Philippe Lang 3717ff34af Rails3.1 compatibility
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8275 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-18 08:21:29 +00:00
Jean-Philippe Lang 7fdb74530c html_safe for Rails3
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8271 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-17 22:15:36 +00:00
Jean-Philippe Lang b59d092e91 html_safe for Rails3
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8270 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-17 22:05:29 +00:00
Jean-Philippe Lang 8269e9a990 html_safe for Rails3
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8269 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-17 22:02:31 +00:00
Jean-Philippe Lang a42ea3ccbb html_safe for Rails3
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8268 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-17 21:48:26 +00:00
Jean-Philippe Lang 8677f069ec html_safe for Rails3
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8267 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-17 21:46:39 +00:00
Jean-Philippe Lang dcce70095b Option to set parent automatically for new wiki pages (#3108).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8255 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-17 11:44:04 +00:00
Jean-Philippe Lang 17d08a939f Changed style of the wiki edit form.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8253 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-17 11:11:13 +00:00
Jean-Philippe Lang b86ca61b49 Invalid HTML generated with ruby1.9.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8251 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-17 09:21:37 +00:00
Toshi MARUYAMA a36904c9ee use same human_attribute_name logic with SCM models at group model (#9795)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8237 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-15 13:07:32 +00:00
Jean-Philippe Lang 4f5e7d678e Fixed: Unrelated error message when creating a group with an invalid name (#9795).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8231 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-15 11:13:36 +00:00
Jean-Philippe Lang b6e6f557f0 Display issue form fields according to permissions.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8227 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-15 10:41:49 +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
Etienne Massip 7d2298f39c Save an @Issue#save@.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8212 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-14 20:31:34 +00:00
Jean-Philippe Lang e43df59168 Added encoding comment to helpers (#9792).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8210 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-14 19:56:23 +00:00
Jean-Philippe Lang f1fec5eee0 Fixed that _revision_graph.html.erb breaks window load events (#9775).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8209 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-14 19:29:35 +00:00
Etienne Massip befb5081f4 Fixed time entries context menu activity update link.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8208 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-14 19:20:19 +00:00
Etienne Massip 8eaa63ccbf Fixed issues context menu attributes update links (#9794).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8207 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-14 19:06:23 +00:00
Etienne Massip 90010d1f3b Removed code duplicated in lib.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8206 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-14 18:07:27 +00:00
Jean-Philippe Lang 7d501eaf81 Code cleanup.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8200 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-13 20:40:03 +00:00
Jean-Philippe Lang 59c1141e08 Moved fields specific to new issues to the new issue form.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8199 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-13 20:02:49 +00:00
Jean-Philippe Lang cd0113a287 Code cleanup.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8198 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-13 19:56:33 +00:00
Jean-Philippe Lang e1f885feda Use safe_attributes for issue watchers assignment.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8197 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-13 19:50:44 +00:00
Jean-Philippe Lang ed5f487cf5 Fixed broken issue form update when changing tracker.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8195 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-12 20:43:51 +00:00
Jean-Philippe Lang e13a763ab4 Adds /search to robots.txt.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8194 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-12 18:12:48 +00:00
Jean-Philippe Lang 804108a87f Adds a hook before the new issue form.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8193 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-12 18:12:03 +00:00
Jean-Philippe Lang f9b6e57d24 Fixed error on project creation due to unrecognized route.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8192 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-12 18:05:13 +00:00
Toshi MARUYAMA f1994ea9c0 Rails3: model: replace deprecated before_validation method at CustomField model
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8191 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-11 12:04:54 +00:00
Jean-Philippe Lang 0471de41ff Resourcified enumerations.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8189 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-11 10:26:12 +00:00
Jean-Philippe Lang 1ad16c2238 Removed fieldset.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8188 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-10 21:33:56 +00:00
Jean-Philippe Lang 8be46ff0b2 Removed double dash.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8186 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-10 21:28:30 +00:00
Jean-Philippe Lang 86d2b223cc Fixed reorder links on custom fields.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8184 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-10 19:27:18 +00:00
Jean-Philippe Lang 805c65f55d Extracted new_subclass_instance method to a module.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8183 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-10 19:18:06 +00:00
Etienne Massip 7ba57e517b Explicitly declare all routes and deactivate default route.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8162 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-10 13:33:01 +00:00
Jean-Philippe Lang 467503fd4b Changed ProjectsController#destroy to DELETE only.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8152 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-10 09:32:41 +00:00