Commit Graph

157 Commits

Author SHA1 Message Date
Toshi MARUYAMA de9e3f94d5 remove hard-coded '.rhtml' from "test_index_with_project_and_filter" of functional issues controller test (#6317).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7042 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-02 01:44:07 +00:00
Toshi MARUYAMA 327027e07a remove hard-coded '.rhtml' from "test_index_with_project_and_subprojects" of functional issues controller test (#6317).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7041 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-02 01:43:12 +00:00
Toshi MARUYAMA 0e0b1a0339 remove hard-coded '.rhtml' from "test_index_with_project_and_subprojects_should_show_private_subprojects" of functional issues controller test (#6317).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7040 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-02 01:42:30 +00:00
Toshi MARUYAMA e07a792773 remove hard-coded '.rhtml' from "test_index_with_project" of functional issues controller test (#6317).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7039 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-02 01:41:22 +00:00
Toshi MARUYAMA 2798565ecc remove hard-coded '.rhtml' from "test_index_should_not_list_issues_when_module_disabled" of functional issues controller test (#6317).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7035 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-02 01:09:54 +00:00
Toshi MARUYAMA 8915a90f69 remove hard-coded '.rhtml' from "test_index" of functional issues controller test (#6317).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7034 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-02 01:08:58 +00:00
Toshi MARUYAMA 6331a3ab4b remove duplicate "test_index_should_not_list_issues_when_module_disabled" from functional issues controller test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7033 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-02 01:08:15 +00:00
Toshi MARUYAMA f6316c9367 remove hard-coded '.rhtml' from "test_index_with_query_grouped_by_list_custom_field" of functional issues controller test (#6317).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7032 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-02 00:16:47 +00:00
Toshi MARUYAMA 2693a4b808 remove hard-coded '.rhtml' from "test_index_with_query_grouped_by_tracker" of functional issues controller test (#6317).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7031 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-02 00:16:01 +00:00
Toshi MARUYAMA 148ef588d5 remove hard-coded '.rhtml' from "test_index_with_query" of functional issues controller test (#6317).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7030 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-02 00:15:14 +00:00
Toshi MARUYAMA 2088626b8e remove hard-coded '.rhtml' from "test_index_with_project_and_empty_filters" of functional issues controller test (#6317).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7029 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-02 00:14:31 +00:00
Toshi MARUYAMA 62b42671c6 remove hard-coded '.rhtml' from "test_index_with_project_and_default_filter" of functional issues controller test (#6317).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7028 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-02 00:13:48 +00:00
Toshi MARUYAMA 73c25b1320 remove hard-coded '.rhtml' from "test_show_by_anonymous" of functional issues controller test (#6317).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7027 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-02 00:13:02 +00:00
Toshi MARUYAMA 9281df1bff add test to respond nothing in case of content type is not html with invalid query params (#8883, #6317).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7026 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-01 23:42:08 +00:00
Toshi MARUYAMA 4645cf0ac8 add test to respond nothing in case of content type is html with invalid query params (#8883, #6317).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7025 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-01 23:41:33 +00:00
Toshi MARUYAMA aa05bd7751 remove trailing white-spaces from test/functional/issues_controller_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6913 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-31 14:12:58 +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 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 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 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-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 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
Jean-Philippe Lang fccf15c2a2 Fixed: Private flag ignored when creating an issue with set_own_issues_private permission only (#8472).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5991 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-01 17:16:38 +00:00
Toshi MARUYAMA 6a5c9ed3c7 remove trailing white-spaces from functional IssuesController test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5797 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-16 03:48:18 +00:00
Jean-Philippe Lang f16cddd57a Private issues (#7414).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5466 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-15 13:23:13 +00:00
Jean-Philippe Lang d0ea5fae62 Fixed: empty list for user/version custom fields on bulk edit form (#2096).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5354 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-07 16:34:58 +00:00
Jean-Philippe Lang 5823481d6e Wrap text custom fields in the issue list (#8064).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5332 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-05 22:18:49 +00:00
Jean-Philippe Lang c9a3700cfc Removed a duplicate test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5329 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-05 13:04:59 +00:00
Jean-Philippe Lang 3c06f66d71 Shorten query[column_names] param name.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5304 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-03 14:31:32 +00:00
Jean-Philippe Lang 4e7835c68c Fixed: bulk destroying parent and child issues raises a stale object error (#7920).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5283 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-01 16:26:53 +00:00
Jean-Philippe Lang a669dfbd7f Shortens filter param names.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5279 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-01 15:00:23 +00:00
Jean-Philippe Lang ca5951b4f6 Allow bulk editing of parent issue (#5831).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5224 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-27 15:00:02 +00:00
Jean-Philippe Lang 7927bc2d89 Check for a valid time entry if comments have been entered when updating an issue (#7581).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5110 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-13 16:38:01 +00:00
Jean-Philippe Lang 0c24f88ce1 Fixed: issue description Quote button lost by r3941 (#7122).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4530 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-12-18 13:40:50 +00:00
Jean-Baptiste Barth 17f86d964f Use absolute paths in test/**/* requires for Ruby 1.9.2 compatibility. #4050
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4509 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-12-12 23:24:34 +00:00
Jean-Philippe Lang 06b0176a3e Fixed: submitting a non numerical parent task input creates a 500 error (#6932).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4414 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-11-20 10:20:53 +00:00
Jean-Philippe Lang 8bb75da1ac Initialize TimeEntry attributes with params when editing an issue (#5441).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4411 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-11-17 18:27:38 +00:00
Jean-Philippe Lang 0eb7d8f614 Moved some permission checks for issue update from controller to model.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4393 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-11-11 16:37:16 +00:00
Jean-Philippe Lang 63866407f1 Fixed: unchecking status filter on the issue list has no effect (#6844).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4387 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-11-07 15:38:51 +00:00
Jean-Philippe Lang 1c047dfeb8 Fixed: start date being filled with current date even when blank value is submitted (#6575).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4378 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-11-06 23:23:02 +00:00
Jean-Philippe Lang 7824eca775 Refactor: merged error rendering methods.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4286 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-10-23 11:07:04 +00:00
Jean-Baptiste Barth 156eca4d22 Added ability to edit issues from different project through contextual menu (#5332)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4242 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-10-08 03:09:51 +00:00
Jean-Baptiste Barth b255b7760a Added ability to delete issues from different projects through contextual menu (#5332)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4236 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-10-07 05:11:28 +00:00
Jean-Baptiste Barth 12e10f6956 Fixed "Create and continue" redirection broken by recent changes. #6333
IssuesController#create is no more scoped under project, but
IssuesController#new is, so we need to precise project_id
when redirecting to "New issue" form.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4083 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-09-11 20:21:27 +00:00
Eric Davis 80256cf298 Refactor: extract #bulk_update method from IssuesController#bulk_edit.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4037 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-08-24 15:27:12 +00:00
Eric Davis b67b3820a1 Refactor: move IssuesController#changes to JournalsController#index.
Since #changes is only an Atom feed of journals of a query, it makes
more sense to have it on the JournalsController resource.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4034 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-08-23 15:04:36 +00:00
Eric Davis dfd1d0c7fe Refactor: merge IssuesController#update_form into IssuesController#new
The #update_form action was only refreshing the issue attributes form,
so it's just a specialized JavaScript version of #new.  This also removed
old code that was extracted in other places (@issue.new_statuses_allowed_to).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4011 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-08-20 15:22:19 +00:00
Eric Davis 1fcc1bdc89 Refactor: move IssuesController#context_menu to a new controller.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4006 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-08-19 18:16:54 +00:00
Eric Davis 1f8d396e3f Refactor: move IssuesController#preview to a new controller.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3946 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-08-18 15:01:35 +00:00