Jean-Philippe Lang
52a7fa6176
Changed IssuesController#destroy to DELETE only.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8150 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-10 09:10:51 +00:00
Toshi MARUYAMA
63d27a5389
Rails3: test: replace deprecated Errors#on to Errors#[] and join with to_s at test/functional/issues_controller_test.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@8133 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-09 05:54:51 +00:00
Jean-Philippe Lang
12077a4d44
Fixed that a cross-project custom query is not remembered inside project ( #9738 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8113 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-07 21:35:14 +00:00
Jean-Philippe Lang
9f1c59e9d0
Moves test to non-transactional fixtures tests (failure with postgresql).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8078 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-04 19:20:22 +00:00
Jean-Philippe Lang
cad148cb5c
Fixes test conditions.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8076 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-04 19:12:15 +00:00
Jean-Philippe Lang
e77046ba4e
Adds a test for invalid query statement.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8074 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-04 16:59:03 +00:00
Jean-Philippe Lang
6d498a3c46
Makes spent time column available on the issue list ( #971 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8073 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-04 16:43:32 +00:00
Jean-Philippe Lang
937a954013
Adds a test for parent issues display.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8062 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-03 18:25:53 +00:00
Jean-Philippe Lang
7c0a05360e
Fixes assertion.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8060 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-03 18:21:00 +00:00
Jean-Philippe Lang
3fd504e545
Adds a test for subtasks display.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8059 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-03 18:20:26 +00:00
Jean-Philippe Lang
e7d48427d6
Adds functional tests on issue list content formatting.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7991 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-29 20:56:33 +00:00
Toshi MARUYAMA
0eed9198eb
add tests to export issues csv in Traditional Chinese and French for csv separator ( #8368 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7943 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-27 10:00:04 +00:00
Toshi MARUYAMA
88a713c719
cover the issues pdf test in English and CJK locales
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7940 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-27 02:26:36 +00:00
Jean-Philippe Lang
5a1fcf826f
Sort the issue list by author/assignee according to user display format ( #9669 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7938 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-26 17:37:20 +00:00
Jean-Philippe Lang
e21f60d170
Fixed: log time form not displayed on issue edit with :log_time permission only ( #9405 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7924 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-25 21:58:09 +00:00
Jean-Philippe Lang
ca300ccdea
Adds a dialog box for CSV export options ( #4742 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7874 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 13:23:20 +00:00
Jean-Philippe Lang
8ec1231dbc
Makes author column sortable and groupable on the issue list ( #1567 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7843 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-19 12:47:56 +00:00
Jean-Philippe Lang
bf18ee107d
Moved the project name after the item in the html title ( #9593 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7842 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-19 11:43:11 +00:00
Toshi MARUYAMA
eb498a86ac
fix malformed issues csv encoding in case of unable to convert ( #8549 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7822 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-16 15:36:26 +00:00
Toshi MARUYAMA
dde0de8cc5
add functional test to export issue csv encoded in Big5 on Traditional Chinese locale ( #8549 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7821 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-16 13:49:40 +00:00
Jean-Philippe Lang
a9fb345f96
Fixed failure introduced in r7772 ( #8615 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7774 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-11 12:43:05 +00:00
Etienne Massip
269014ced8
Added an administration setting to allow issue start date to be defaulted to blank (nil) at issue creation ( #2269 ).
...
Based on the patch of #2277 contributed by Mischa The Evil.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7733 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-05 18:40:33 +00:00
Etienne Massip
4eed0dca15
Reverted r7628.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7629 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-18 21:19:58 +00:00
Etienne Massip
33f65c5a48
Filter out illegal values to prevent raise of PostgreSQL exceptions, restored last test part removed with r7625 ( #8371 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7628 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-18 17:51:21 +00:00
Etienne Massip
78a8757846
Restored valid test part removed with r7625 ( #8371 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7627 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-13 06:42:08 +00:00
Etienne Massip
0a67ae2ddb
Removed debugging purpose command.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7626 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-13 06:19:20 +00:00
Etienne Massip
9ba1e19ec7
Removed test part failing with PostgreSQL ( #8371 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7625 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-13 06:18:42 +00:00
Etienne Massip
a118c4ccb0
Fixed shot filter expression parsing depending upon field operators ( #8371 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7624 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-12 23:45:47 +00:00
Toshi MARUYAMA
177906a75f
remove hard-coded '.rxml' from 'test_show_atom' at functional issues controller test ( #6317 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7576 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-04 13:40:30 +00:00
Etienne Massip
98e18b2141
Allow project column to be removed from the global issue list columns ( #8411 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7538 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-26 17:44:20 +00:00
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