Commit Graph

7276 Commits

Author SHA1 Message Date
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 f56949af8b Do not add invalid label attribute to input tags.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8564 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-08 17:30:34 +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
Toshi MARUYAMA 3ed0c93857 route: remove redundant :path_prefix from time entries route scoped under project
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8559 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-08 16:04:09 +00:00
Toshi MARUYAMA 89b06fa75d test: route: add test for '/' path
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8558 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-08 13:59:14 +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
Toshi MARUYAMA f134eeef45 svn propset "svn:eol-style" native test/integration/routing/*.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8551 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-08 08:06:59 +00:00
Toshi MARUYAMA 6e290b7251 test: route: add issue_statuses test
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8550 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-08 07:55:27 +00:00
Toshi MARUYAMA b6c920a976 test: route: split documents test whether scoped under project or not
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8549 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-08 06:18:16 +00:00
Toshi MARUYAMA 917d42733a test: route: split issue categories test whether scoped under project or not
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8548 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-08 06:17:21 +00:00
Toshi MARUYAMA c5f41baa94 test: route: split news tests
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8547 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-08 02:38:41 +00:00
Toshi MARUYAMA 03e10cbc8f route: move news after project scope
On Rails 3.0, news test passes.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8546 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-08 02:37:59 +00:00
Toshi MARUYAMA b151e0eba9 test: route: add trackers test
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8545 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-08 01:02:37 +00:00
Toshi MARUYAMA df5551a4e5 test: route: simplify /issues/bulk_edit test
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8544 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-08 00:41:44 +00:00
Toshi MARUYAMA 5e27e32dae replace tabs to spaces at public/stylesheets/scm.css
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8543 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-08 00:41:21 +00:00
Jean-Philippe Lang f7e1ed71fc Typo.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8542 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-07 20:54:51 +00:00
Etienne Massip 48fecd6285 Prevent selection of line numbers when selecting file/code contents (#3382).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8541 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-07 19:05:13 +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
Toshi MARUYAMA dc8fcbaf03 test: route: add groups tests defined as resources
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8535 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-07 13:20:11 +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
Toshi MARUYAMA 3dd97a87c6 test: route: add attachment delete method test
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8530 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-07 08:16:22 +00:00
Toshi MARUYAMA 61f7d37a9d test: route: simplify test_issues_form_update
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8529 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-07 05:24:46 +00:00
Jean-Philippe Lang bc3c151236 Makes /projects/:project_id/issues/new accept PUT requests for when serializing a form with a PUT _method hidden tag.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8528 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-06 21:01:35 +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 d7856a4b74 remove trailing white-space from test/unit/mail_handler_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8519 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-05 14:47:11 +00:00
Toshi MARUYAMA c3c1d4c7ec replace hard-coded Japanese literal to utf-8 hexadecimal at test/unit/mail_handler_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8518 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-05 14:46:37 +00:00