Commit Graph

1795 Commits

Author SHA1 Message Date
Toshi MARUYAMA 15bd634933 fix copyright format at test/integration/admin_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6664 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-27 05:48:59 +00:00
Toshi MARUYAMA f908dc5210 remove trailing white-spaces from test/integration/application_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6663 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-27 04:53:24 +00:00
Toshi MARUYAMA 201ad03ce1 remove trailing white-spaces from test/integration/admin_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6662 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-27 04:52:39 +00:00
Toshi MARUYAMA 3791487569 remove trailing white-spaces from test/integration/account_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6655 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-27 02:11:34 +00:00
Toshi MARUYAMA 4b60e577ca remove trailing white-spaces from test/integration/issues_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6654 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-27 02:10:59 +00:00
Toshi MARUYAMA db8beabfa3 remove trailing white-spaces from test/integration/routing_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6653 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-27 02:10:26 +00:00
Toshi MARUYAMA 17c87c1432 remove trailing white-spaces from test/integration/projects_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6652 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-27 02:09:56 +00:00
Toshi MARUYAMA 29c5714297 remove trailing white-spaces from test/integration/layout_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6651 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-27 02:09:21 +00:00
Toshi MARUYAMA 0131edff50 remove trailing white-spaces from test/functional/admin_controller_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6641 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-26 06:36:33 +00:00
Toshi MARUYAMA 0a369b7383 remove trailing white-spaces from test/functional/users_controller_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6628 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-25 01:47:14 +00:00
Toshi MARUYAMA 308c5c8d85 remove trailing white-spaces from test/functional/versions_controller_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6627 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-25 01:46:40 +00:00
Toshi MARUYAMA e5ccceae18 remove trailing white-spaces from test/functional/watchers_controller_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6626 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-25 01:46:07 +00:00
Toshi MARUYAMA 14466c5e30 remove trailing white-spaces from test/functional/welcome_controller_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6625 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-25 01:45:26 +00:00
Toshi MARUYAMA f4eb05a26e remove trailing white-spaces from test/functional/timelog_controller_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6624 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-25 01:44:57 +00:00
Toshi MARUYAMA e2a78e0e3d remove trailing white-spaces from test/functional/trackers_controller_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6623 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-25 01:44:16 +00:00
Toshi MARUYAMA ff1ba32b5c remove trailing white-spaces from test/functional/time_entry_reports_controller_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6612 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-25 01:13:28 +00:00
Toshi MARUYAMA ad65358bbb remove trailing white-spaces from test/functional/roles_controller_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6606 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-25 00:37:56 +00:00
Toshi MARUYAMA bba9dd89d6 remove trailing white-spaces from test/functional/reports_controller_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6599 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-24 08:41:53 +00:00
Toshi MARUYAMA ed4724e34f remove trailing white-spaces from test/functional/my_controller_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6598 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-24 08:41:23 +00:00
Toshi MARUYAMA 4d26ac31d6 remove trailing white-spaces from test/functional/messages_controller_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6593 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-24 07:50:30 +00:00
Toshi MARUYAMA 78e62c69cc remove trailing white-spaces from test/functional/enumerations_controller_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6592 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-24 07:19:25 +00:00
Toshi MARUYAMA 5f4b076284 remove trailing white-spaces from test/functional/boards_controller_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6581 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-24 06:45:13 +00:00
Toshi MARUYAMA 274a04ba21 remove trailing white-spaces from test/functional/auth_sources_controller_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6578 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-24 06:12:08 +00:00
Toshi MARUYAMA 78dba8073b remove trailing white-spaces from test/functional/wiki_controller_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6558 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-24 03:51:20 +00:00
Toshi MARUYAMA 56f4b162db remove trailing white-spaces from test/functional/wikis_controller_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6555 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-24 02:42:02 +00:00
Toshi MARUYAMA 7c7b11591b remove trailing white-spaces from test/unit/helpers/projects_helper_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6524 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-22 07:09:10 +00:00
Toshi MARUYAMA 8a300de9f5 remove trailing white-spaces from test/unit/project_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6520 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-21 11:50:39 +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 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 642d3b6512 Test that forms are well-formed for issue attachment upload.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6322 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-29 16:04:38 +00:00
Jean-Philippe Lang b14576c56b Additional functional tests for issue attachment upload.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6321 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-29 15:51:40 +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 9957883c4d Fixed: Error deleting issue with grandchild (#8880).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6311 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-24 08:35:48 +00:00
Jean-Philippe Lang fdd5367eba Respond with errors and appropriate content type on /issues API calls with invalid query params (#8883).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6309 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-23 19:45: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 ed01ae121d Adds a optgroup for groups in users/groups select tags.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6307 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-23 19:05:22 +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 82f5831545 Adds 'Create and continue' button on the new group form.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6304 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-21 15:55:50 +00:00
Jean-Philippe Lang f595197ecf Adds a 'Create and continue' button on project form.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6303 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-21 15:51:58 +00:00
Jean-Philippe Lang ed23149a6c Fixes assertions (#8836).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6302 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-20 19:01:13 +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 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 8769eb53bc Removed a few assertions.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6296 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-18 21:21:29 +00:00
Jean-Philippe Lang f89483a206 REST API for reading attachments (#7671).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6295 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-18 20:53:10 +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
Toshi MARUYAMA 06be9ebac4 scm: git: add functional test of destroying invalid repository (#6713, #4725).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6250 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-11 01:10:21 +00:00
Toshi MARUYAMA c077f0cde1 scm: git: add functional test of destroying valid repository (#6713, #4725).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6249 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-11 01:09:34 +00:00
Toshi MARUYAMA 61e6dc0a48 scm: git: add instance variable @project at functional test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6248 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-11 01:08:56 +00:00
Toshi MARUYAMA d34d933f31 scm: mercurial: add functional test of destroying invalid repository (#8777, #6713, #4725).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6247 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-11 00:56:49 +00:00
Toshi MARUYAMA bc5587002a scm: mercurial: add functional test of destroying valid repository (#8777, #6713, #4725).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6243 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-11 00:15:34 +00:00
Toshi MARUYAMA a8871a5af7 scm: mercurial: add instance variable @project at functional test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6242 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-11 00:14:49 +00:00
Toshi MARUYAMA e8efb5ef71 scm: cvs: add functional test of destroying invalid repository (#6713, #4725).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6241 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-10 23:55:38 +00:00
Toshi MARUYAMA db6b8da9a5 scm: cvs: add functional test of destroying valid repository (#6713, #4725).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6240 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-10 23:55:15 +00:00
Toshi MARUYAMA fe07aee27e scm: filesystem: add functional test of destroying invalid repository (#6713, #4725).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6239 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-10 23:14:16 +00:00
Toshi MARUYAMA db44c22d04 scm: filesystem: add functional test of destroying valid repository (#6713, #4725).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6238 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-10 23:13:49 +00:00
Toshi MARUYAMA 7a8a98bd93 scm: filesystem: add instance variable @project at functional test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6237 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-10 23:13:19 +00:00
Toshi MARUYAMA dd8218590e scm: bazaar: add functional test of destroying invalid repository (#6713, #4725).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6236 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-10 23:12:47 +00:00
Toshi MARUYAMA 67cbda91ed scm: bazaar: add functional test of destroying valid repository (#6713, #4725).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6235 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-10 23:12:08 +00:00
Toshi MARUYAMA 45e9b00073 scm: darcs: add functional test of destroying invalid repository (#6713, #4725).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6234 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-10 22:51:43 +00:00
Toshi MARUYAMA a50ba1ab39 scm: darcs: add functional test of destroying valid repository (#6713, #4725).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6233 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-10 22:51:22 +00:00
Toshi MARUYAMA 1a1724128b scm: darcs: code clean up functional test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6232 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-10 22:51:00 +00:00
Toshi MARUYAMA 173b5ce965 scm: subversion: code clean up functional test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6231 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-10 21:47:51 +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
Jean-Philippe Lang bf15b06d98 Fixes filters on float values.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6227 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-10 18:09:40 +00:00
Jean-Philippe Lang 4507aa5014 Adds date based filters (#4729) and date range filter (#6954).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6226 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-10 17:29:29 +00:00
Toshi MARUYAMA 7c505aaff3 scm: subversion: add functional test of destroying invalid repository (#8458, #6713, #4725).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6225 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-10 15:48:21 +00:00
Toshi MARUYAMA 6ee6d709f2 scm: subversion: add functional test of destroying valid repository (#8458, #6713, #4725).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6224 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-10 15:47:35 +00:00
Toshi MARUYAMA 7f9f295b4e scm: mercurial: add missing "assert" changesets size at functional test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6223 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-10 13:11:16 +00:00
Toshi MARUYAMA c8ec7820db scm: git: add missing "assert" changesets and entries size at functional test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6222 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-10 13:10:48 +00:00
Toshi MARUYAMA 962ba99115 scm: cvs: add missing "assert" changesets size at functional test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6221 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-10 13:10:14 +00:00
Jean-Philippe Lang 932d4cdfea Adds "between" operator for numeric filters (#6180).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6217 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-10 08:00:25 +00:00
Jean-Philippe Lang 4a4a71349a Fixes "less than", "greater than" filters on custom fields with postgres (#6180).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6216 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-09 21:34:35 +00:00
Jean-Philippe Lang f208fcecca Adds issue id link in the issue creation flash message (#3033).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6210 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-09 19:23:50 +00:00
Jean-Philippe Lang b0728550a3 Fixed: Wiki annotated page does not display author of version 1 (#8449).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6206 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-09 12:01:08 +00:00
Jean-Philippe Lang 389c7779e6 Fixed: search options get lost after clicking on a specific result type (#7501).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6201 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-09 11:25:01 +00:00
Jean-Philippe Lang 2072669769 Fixed: Setting issue attributes from mail should be case-insensitive (#8759).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6199 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-09 10:50:42 +00:00
Toshi MARUYAMA 185dcb9877 scm: git: add unit adapter test of annotate invalid revision (#8767).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6194 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-08 02:06:38 +00:00
Toshi MARUYAMA e510f2e29e scm: git: add unit adapter test of annotate invalid path (#8767).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6193 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-08 02:06:16 +00:00
Toshi MARUYAMA e520a3fbaa scm: git: add unit adapter test of diff invalid revision (#8767).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6192 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-08 02:05:55 +00:00
Toshi MARUYAMA 7a6a0ed50f scm: git: add unit adapter test of diff invalid path (#8767).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6191 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-08 02:05:32 +00:00
Toshi MARUYAMA 38cf4a53db scm: git: add unit adapter test of cat invalid revision (#8767).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6190 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-08 02:05:09 +00:00
Toshi MARUYAMA d573878a34 scm: git: add unit adapter test of cat invalid path (#8767).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6189 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-08 02:04:45 +00:00
Jean-Philippe Lang d48ea90876 Makes custom queries available through the REST API (#5737).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6186 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-06 16:57:04 +00:00
Jean-Philippe Lang da69f086e7 Fixes version url.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6185 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-06 16:28:48 +00:00
Jean-Philippe Lang 42f9dc7d2c Makes relations resource shallow (#7366).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6184 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-05 16:47:34 +00:00
Jean-Philippe Lang 852cb183b1 Makes versions resource shallow (#7403).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6183 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-05 16:29:06 +00:00
Jean-Philippe Lang b86a748b1d Adds REST API for versions (#7403).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6180 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-04 19:34:58 +00:00
Jean-Philippe Lang daa426167f Adds support for GET on /issues/:issue_id/relations (#7366).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6179 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-04 17:44:41 +00:00
Jean-Philippe Lang 79f25c08f8 Document why relation is reversed after validation.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6178 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-04 17:31:06 +00:00
Jean-Philippe Lang ea06b3cca5 Set a default value for relation type.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6177 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-04 17:29:33 +00:00
Jean-Philippe Lang 21b3718744 Adds REST API for issue relations (#7366).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6176 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-04 17:03:04 +00:00
Jean-Philippe Lang 9fca4c440c Fixes test failure when running all functional tests.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6174 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-03 15:50:04 +00:00
Jean-Philippe Lang b184caec13 Fixes a functional test case.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6172 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-03 15:19:22 +00:00
Jean-Philippe Lang 5811bd1344 Fixes test failure when running all functional tests.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6171 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-03 15:17:46 +00:00
Jean-Philippe Lang f2af44b6fe Do not show 2 validation errors when user mail is blank.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6168 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-03 12:37:57 +00:00
Jean-Philippe Lang 8914d323ee Fixed: private queries should not be accessible to other users (#8729).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6163 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-03 11:01:08 +00:00
Jean-Philippe Lang 66f026aa78 Normalize issue description EOLs do prevent false journal details (#8712).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6149 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-02 11:42:46 +00:00
Jean-Philippe Lang 0a9bf389ef Fixed: Workflow copy does not copy advanced workflow settings (#8739).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6148 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-02 11:13:39 +00:00
Jean-Philippe Lang d0d807caf1 Do not journalize blank description changes (#8712).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6147 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-02 11:05:27 +00:00
Jean-Baptiste Barth fa6fa2dc19 Fixed: queries error messages about custom fields output a 'translation missing' error (#8554).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6126 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-27 01:03:22 +00:00
Jean-Baptiste Barth f982c5b90d Fixed circular dependencies possibly introduced when using reverse relations, for instance "blocked by" relations (#8616).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6124 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-26 12:47:15 +00:00
Toshi MARUYAMA ee527ab47c replace RAILS_ROOT to Rails.root at test/test_helper.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6123 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-23 11:19:05 +00:00
Toshi MARUYAMA e5dfd24aa5 back out r6118. use ActionView::TestCase instead of HelperTestCase at MenuHelperTest.
Tests on CI server fail.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6120 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-22 07:55:02 +00:00
Toshi MARUYAMA b0dfcca230 back out r6117. use ActionView::TestCase instead of HelperTestCase at IssuesHelperTest.
Tests on CI server fail.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6119 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-22 07:54:18 +00:00
Toshi MARUYAMA 2871d56045 use ActionView::TestCase instead of HelperTestCase at test/unit/lib/redmine/menu_manager/menu_helper_test.rb.
ActionView::Helpers::ActiveRecordHelper at test/helper_testcase.rb
does not exist on Rails 3.0.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6118 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-22 04:10:43 +00:00
Toshi MARUYAMA 81e3bc3737 use ActionView::TestCase instead of HelperTestCase at issues_helper_test.rb.
ActionView::Helpers::ActiveRecordHelper at test/helper_testcase.rb
does not exist on Rails 3.0.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6117 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-22 04:10:02 +00:00
Toshi MARUYAMA 6208302840 use ActionView::TestCase instead of HelperTestCase at test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb.
ActionView::Helpers::ActiveRecordHelper at test/helper_testcase.rb
does not exist on Rails 3.0.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6116 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-22 04:02:27 +00:00
Toshi MARUYAMA 0df011ecee use ActionView::TestCase instead of HelperTestCase at test/unit/lib/redmine/wiki_formatting/macros_test.rb.
ActionView::Helpers::ActiveRecordHelper at test/helper_testcase.rb
does not exist on Rails 3.0.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6115 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-22 04:01:45 +00:00
Toshi MARUYAMA 4bc0f9a04a use ActionView::TestCase instead of HelperTestCase at timelog_helper_test.rb.
ActionView::Helpers::ActiveRecordHelper at test/helper_testcase.rb
does not exist on Rails 3.0.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6114 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-22 03:57:10 +00:00
Toshi MARUYAMA b49487e9a1 use ActionView::TestCase instead of HelperTestCase at sort_helper_test.rb.
ActionView::Helpers::ActiveRecordHelper at test/helper_testcase.rb
does not exist on Rails 3.0.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6113 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-22 03:56:24 +00:00
Toshi MARUYAMA 0b404184d5 use ActionView::TestCase instead of HelperTestCase at search_helper_test.rb.
ActionView::Helpers::ActiveRecordHelper at test/helper_testcase.rb
does not exist on Rails 3.0.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6112 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-22 03:56:00 +00:00
Toshi MARUYAMA e715627b3d use ActionView::TestCase instead of HelperTestCase at projects_helper_test.rb.
ActionView::Helpers::ActiveRecordHelper at test/helper_testcase.rb
does not exist on Rails 3.0.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6111 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-22 03:55:20 +00:00
Toshi MARUYAMA 6c92ac4d78 use ActionView::TestCase instead of HelperTestCase at custom_fields_helper_test.rb.
ActionView::Helpers::ActiveRecordHelper at test/helper_testcase.rb
does not exist on Rails 3.0.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6110 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-22 03:54:40 +00:00
Toshi MARUYAMA 50dc1ad54a use ActiveSupport::TestCase instead of HelperTestCase at test/unit/lib/redmine/views/builders/xml_test.rb.
ActionView::Helpers::ActiveRecordHelper at test/helper_testcase.rb
does not exist on Rails 3.0.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6109 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-22 03:50:35 +00:00
Toshi MARUYAMA 148b1e491a use ActiveSupport::TestCase instead of HelperTestCase at test/unit/lib/redmine/views/builders/json_test.rb.
ActionView::Helpers::ActiveRecordHelper at test/helper_testcase.rb
does not exist on Rails 3.0.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6108 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-22 03:49:53 +00:00
Toshi MARUYAMA fe566992f0 scm: use ActionView::TestCase instead of HelperTestCase at repository_helper_test.rb.
ActionView::Helpers::ActiveRecordHelper at test/helper_testcase.rb
does not exist on Rails 3.0.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6107 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-22 00:57:17 +00:00
Toshi MARUYAMA e4d082a421 replace RAILS_ROOT to Rails.root at test/test_helper.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6103 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-20 12:33:58 +00:00
Jean-Baptiste Barth 8a50151780 Added a test to ensure 'Project' column can be removed on issues list (#8411)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6099 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-20 01:09:38 +00:00
Jean-Baptiste Barth 88bd76b0e4 Added Project#enable_module! and Project#disable_module! (#7115)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6098 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-19 23:45:22 +00:00
Toshi MARUYAMA 391760a666 replace RAILS_ROOT to Rails.root at test/unit/lib/redmine/hook_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6091 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-17 05:04:16 +00:00
Toshi MARUYAMA 583be064c8 back out r6089.
NoMethodError: undefined method `load!' for #<Pathname:/app/views>

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6090 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-17 04:59:07 +00:00
Toshi MARUYAMA 05f83d180e replace RAILS_ROOT to Rails.root at test/unit/lib/redmine/hook_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6089 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-17 01:57:11 +00:00
Toshi MARUYAMA d893bdcd76 replace RAILS_ROOT to Rails.root in test/test_helper.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6081 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-16 04:02:31 +00:00
Toshi MARUYAMA 153028f14a back out r6078.
NoMethodError: undefined method `mkdir_p' for #<Pathname:0x7f56f9deb3c0>

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6080 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-16 03:53:07 +00:00
Toshi MARUYAMA 2797b1f388 replace RAILS_ROOT to Rails.root in test/fixtures/repositories.yml.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6079 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-16 01:54:47 +00:00
Toshi MARUYAMA 99dc549232 replace RAILS_ROOT to Rails.root in test/test_helper.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6078 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-16 01:54:05 +00:00
Toshi MARUYAMA 7f458eb853 replace RAILS_ROOT to Rails.root in functional attachments controller test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6077 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-16 01:53:24 +00:00
Toshi MARUYAMA dd176828bf replace RAILS_ROOT to Rails.root if functional application controller test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6075 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-16 01:15:16 +00:00
Jean-Baptiste Barth 115d227298 Do not cache I18n strings when truncating a long diff (#5089).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6073 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-13 22:09:01 +00:00
Jean-Baptiste Barth ffe7aef0ea Do not show inactive document categories where not necessary (#8573).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6071 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-13 20:33:06 +00:00
Jean-Baptiste Barth d5cc7424a8 Do not show inactive issue priorities where not necessary (#8573).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6070 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-13 19:43:40 +00:00
Toshi MARUYAMA 204eabba41 scm: cvs: replace RAILS_ROOT to Rails.root in functional test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6061 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-10 12:54:02 +00:00
Toshi MARUYAMA ee2418f076 scm: cvs: replace RAILS_ROOT to Rails.root in unit model test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6060 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-10 12:53:41 +00:00
Toshi MARUYAMA 9b09aad1d5 scm: cvs: replace RAILS_ROOT to Rails.root in unit adapter test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6059 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-10 12:53:19 +00:00
Toshi MARUYAMA 406b582a82 scm: bazaar: replace RAILS_ROOT to Rails.root in functional test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6058 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-10 12:03:20 +00:00
Toshi MARUYAMA fa93c2b2bb scm: bazaar: replace RAILS_ROOT to Rails.root in unit model test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6057 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-10 12:02:44 +00:00
Toshi MARUYAMA 01656ff590 scm: bazaar: replace RAILS_ROOT to Rails.root in unit adapter test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6056 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-10 12:02:10 +00:00
Toshi MARUYAMA d91cf134b0 scm: filesystem: replace RAILS_ROOT to Rails.root in functional test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6055 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-10 11:12:38 +00:00
Toshi MARUYAMA 407761985e scm: filesystem: replace RAILS_ROOT to Rails.root in unit model test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6054 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-10 11:11:58 +00:00
Toshi MARUYAMA 7786633ddc scm: filesystem: replace RAILS_ROOT to Rails.root in unit adapter test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6053 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-10 11:11:28 +00:00
Toshi MARUYAMA 3b3616ed21 scm: mercurial: replace RAILS_ROOT to Rails.root in functional test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6052 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-10 11:11:00 +00:00
Toshi MARUYAMA 7e38ccab55 scm: mercurial: replace RAILS_ROOT to Rails.root in unit model test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6051 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-10 11:10:23 +00:00
Toshi MARUYAMA 3baabca8f2 scm: mercurial: replace RAILS_ROOT to Rails.root in unit adapter test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6050 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-10 11:09:50 +00:00
Toshi MARUYAMA 5538d84171 scm: darcs: replace RAILS_ROOT to Rails.root in functional test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6049 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-10 10:12:19 +00:00
Toshi MARUYAMA ea9847bb37 scm: darcs: replace RAILS_ROOT to Rails.root in unit model test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6048 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-10 10:11:57 +00:00