Jean-Philippe Lang
30d65829b8
Configurable behavour for linking issues on copy ( #18500 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13668 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-29 15:10:59 +00:00
Jean-Philippe Lang
288c014aa7
Edit attachments after upload ( #1326 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13665 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-29 13:41:53 +00:00
Jean-Philippe Lang
4d2688e7a8
Group filters in the filter select list ( #13849 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13662 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-28 09:31:56 +00:00
Jean-Philippe Lang
86d8acb344
Fixed "First argument in form cannot contain nil or be empty" error ( #18275 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13661 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-28 07:59:54 +00:00
Jean-Philippe Lang
552926772a
Error raised on project settings after project wiki is deleted ( #18429 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13660 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-28 07:43:22 +00:00
Toshi MARUYAMA
a199c06899
use English at integration IssuesTest#test_issue_with_user_custom_field
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13653 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-25 11:22:23 +00:00
Jean-Philippe Lang
ee8e7a4e33
Added missing tests for notify_about?
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13650 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-24 21:08:03 +00:00
Jean-Philippe Lang
8127b2b4bd
Removed some test contexts.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13649 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-24 20:56:59 +00:00
Jean-Philippe Lang
aa9e142765
Fixed tests broken by r13646.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13648 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-23 21:07:44 +00:00
Jean-Philippe Lang
1316f6b491
Removed some test contexts.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13647 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-23 20:39:16 +00:00
Jean-Philippe Lang
4989c9f6a8
Removed some test contexts.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13646 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-23 20:25:46 +00:00
Jean-Philippe Lang
e0a034164f
Move wiki page to other project ( #5450 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13643 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-23 13:36:01 +00:00
Jean-Philippe Lang
827ab38725
Selected projects in email notifications on "my account" are lost when the page is redisplayed after a validation error ( #18060 ).
...
Patch by Felix Schäfer.
git-svn-id: http://svn.redmine.org/redmine/trunk@13638 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-22 10:56:59 +00:00
Jean-Philippe Lang
f3e573b5f8
Replaced remaining #assert_tag with #assert_select.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13624 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-22 09:38:21 +00:00
Jean-Philippe Lang
36d487fe50
Replaced some #assert_tag with #assert_select.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13620 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-20 19:57:06 +00:00
Jean-Philippe Lang
2a43f1adbc
Quote values in DOM selectors for Nokogiri compatibility.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13619 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-20 19:38:40 +00:00
Toshi MARUYAMA
08bae5928a
fix English syntax of skipping test comment of Bazaar non ASCII environment
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13614 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-18 11:23:16 +00:00
Jean-Philippe Lang
043c2c92da
Removed deep nested time entries routes.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13609 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-16 21:28:03 +00:00
Jean-Philippe Lang
ecda1c7a4f
Use should_route in routing tests.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13608 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-16 14:23:32 +00:00
Jean-Philippe Lang
d72e1f95ba
Renamed #test_watchers to #test_issue_watchers.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13607 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-16 11:02:04 +00:00
Jean-Philippe Lang
dd2a0554c6
Adds API routing tests for time entries.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13606 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-16 11:00:29 +00:00
Jean-Philippe Lang
d550238894
Removed API tests for routes that are not implemented.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13605 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-16 10:58:15 +00:00
Jean-Philippe Lang
eae9c9ab2b
Isolates all API routing tests to a specific test case.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13604 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-16 10:54:33 +00:00
Jean-Philippe Lang
cd6b2f2268
Adds tests for new routes.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13603 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-16 09:01:44 +00:00
Jean-Philippe Lang
1508cd7b8b
Moved new group user to its own action GroupsController#new_users.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13602 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-16 08:53:39 +00:00
Jean-Philippe Lang
36fc7beb2f
Moved new project member to its own action MemberController#new.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13600 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-15 11:20:47 +00:00
Jean-Philippe Lang
eac3b2b27d
Fixed that Redmine links should not be parsed inside links ( #18301 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13596 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-14 21:31:27 +00:00
Jean-Philippe Lang
46756cbd56
Fixed 500 error when displaying a news with comments in reverse order ( #18332 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13595 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-14 20:53:14 +00:00
Jean-Philippe Lang
9b971925db
Ignore bogus issue strings like [some-string#1234] in email subjects ( #17705 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13593 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-14 20:43:15 +00:00
Jean-Philippe Lang
c12ba8a76c
Fixed that URLs separated by line break are not rendered as links ( #18349 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13592 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-14 20:18:09 +00:00
Toshi MARUYAMA
f2ddfcda9a
add missing fixtures to test/functional/wiki_controller_test.rb
...
Tests fail randomly.
<pre>
1) Error:
WikiControllerTest#test_show_with_sidebar:
ActionView::Template::Error: undefined method `name' for nil:NilClass
app/helpers/application_helper.rb:797:in `block in parse_redmine_links'
app/helpers/application_helper.rb:757:in `gsub!'
app/helpers/application_helper.rb:757:in `parse_redmine_links'
app/helpers/application_helper.rb:601:in `block (2 levels) in textilizable'
app/helpers/application_helper.rb:600:in `each'
app/helpers/application_helper.rb:600:in `block in textilizable'
app/helpers/application_helper.rb:621:in `parse_non_pre_blocks'
app/helpers/application_helper.rb:599:in `textilizable'
app/views/wiki/_content.html.erb:2:in `_app_views_wiki__content_html_erb___3773333740575742579_33736820'
app/views/wiki/show.html.erb:44:in `_app_views_wiki_show_html_erb__965327089377623997_33504680'
app/controllers/wiki_controller.rb:97:in `show'
test/functional/wiki_controller_test.rb:119:in `test_show_with_sidebar'
</pre>
It can be reproduced by following change.
<pre>
class WikiControllerTest < ActionController::TestCase
fixtures :projects, :users, :roles, :members, :member_roles,
:enabled_modules, :wikis, :wiki_pages, :wiki_contents,
- :wiki_content_versions, :attachments
+ :wiki_content_versions, :attachments,
+ :issues #, :issue_statuses
</pre>
git-svn-id: http://svn.redmine.org/redmine/trunk@13590 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-12 03:44:47 +00:00
Jean-Philippe Lang
bdd3ccf8e5
Adds a role setting for controlling visibility of users: all or members of visible projects ( #11724 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13584 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-11 13:08:52 +00:00
Jean-Philippe Lang
140ca9532c
Adds a test for default issue columns order ( #18310 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13583 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-11 12:33:06 +00:00
Jean-Philippe Lang
700736de5d
Fixed duplicate test names ( #18306 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13575 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-08 11:02:44 +00:00
Jean-Philippe Lang
13f9ccaed8
Adds configuration settings to limit valid repository path ( #1415 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13573 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-08 10:52:59 +00:00
Toshi MARUYAMA
34bb545e4f
prevent test failures with "trackers is invalid"
...
See r13571 comment.
git-svn-id: http://svn.redmine.org/redmine/trunk@13572 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-08 07:22:44 +00:00
Toshi MARUYAMA
3815bb3bdc
add missing fixture to test/unit/enabled_module_test.rb
...
Test fails randomly.
<pre>
1) Error:
EnabledModuleTest#test_enabling_wiki_should_create_a_wiki:
ActiveRecord::RecordInvalid: Validation failed: trackers is invalid, trackers is invalid, trackers is invalid
test/unit/enabled_module_test.rb:25:in `test_enabling_wiki_should_create_a_wiki'
</pre>
It can be reproduced on clean db and following change.
<pre>
- fixtures :projects, :wikis
+ fixtures :projects, :trackers, :wikis
</pre>
git-svn-id: http://svn.redmine.org/redmine/trunk@13571 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-08 06:40:38 +00:00
Toshi MARUYAMA
2a5bc15344
remove duplicated IssuesControllerTest#test_new_should_select_default_status ( #5991 , #18305 )
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13570 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-08 04:46:44 +00:00
Toshi MARUYAMA
426780c6b1
add missing fixtures to test/unit/issue_status_test.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13569 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-07 00:38:21 +00:00
Jean-Philippe Lang
5326eb233e
Overrides IssueRelation#to_s.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13563 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-05 16:14:20 +00:00
Jean-Philippe Lang
b2ba7db4e1
Time entries CSV export should include the tracker and subject of the issue ( #18269 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13562 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-05 15:23:22 +00:00
Jean-Philippe Lang
4c9fcb34b6
Typo.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13561 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-05 15:17:21 +00:00
Jean-Philippe Lang
5052d48491
Fixed that setting a status as closed should update issue closed_on attribute ( #18280 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13560 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-05 14:51:04 +00:00
Toshi MARUYAMA
6bb699d65f
use English in test ( #18276 )
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13559 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-04 23:43:17 +00:00
Jean-Philippe Lang
bc3bd8aff2
Let QueryColumn accept a Proc as caption ( #18276 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13558 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-04 21:00:59 +00:00
Jean-Philippe Lang
4cd67587ce
Fixed that a disabled field which is required by workflow rules blocks issue creation/update ( #17744 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13557 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-04 20:49:46 +00:00
Jean-Philippe Lang
984e5a36bb
Fixed that parent column should not include issue subject ( #13673 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13556 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-04 20:17:44 +00:00
Jean-Philippe Lang
db63f5a925
Fixed CSV content for parent issue column ( #13608 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13555 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-04 20:02:27 +00:00
Toshi MARUYAMA
41023cb5ff
add missing fixture to test/unit/query_test.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13551 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-03 08:25:12 +00:00
Toshi MARUYAMA
9357ba1d4b
add missing fixtures to test/functional/custom_fields_controller_test.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13550 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-03 08:13:08 +00:00