]> source.dussan.org Git - redmine.git/log
redmine.git
10 years agoReverts r12855.
Jean-Philippe Lang [Fri, 7 Feb 2014 11:45:25 +0000 (11:45 +0000)]
Reverts r12855.

git-svn-id: http://svn.redmine.org/redmine/trunk@12856 e93f8b46-1217-0410-a6f0-8f06a7374b81

10 years agoAdds JS response support to #render_error (#15760).
Jean-Philippe Lang [Fri, 7 Feb 2014 09:26:27 +0000 (09:26 +0000)]
Adds JS response support to #render_error (#15760).

git-svn-id: http://svn.redmine.org/redmine/trunk@12855 e93f8b46-1217-0410-a6f0-8f06a7374b81

10 years agoProject.activities should always return a ActiveRecord::Relation (#15983).
Jean-Philippe Lang [Fri, 7 Feb 2014 08:36:49 +0000 (08:36 +0000)]
Project.activities should always return a ActiveRecord::Relation (#15983).

git-svn-id: http://svn.redmine.org/redmine/trunk@12854 e93f8b46-1217-0410-a6f0-8f06a7374b81

10 years agoCode cleanup.
Jean-Philippe Lang [Fri, 7 Feb 2014 08:00:39 +0000 (08:00 +0000)]
Code cleanup.

git-svn-id: http://svn.redmine.org/redmine/trunk@12851 e93f8b46-1217-0410-a6f0-8f06a7374b81

10 years agoUpdated locales.
Jean-Philippe Lang [Fri, 7 Feb 2014 07:58:35 +0000 (07:58 +0000)]
Updated locales.

git-svn-id: http://svn.redmine.org/redmine/trunk@12850 e93f8b46-1217-0410-a6f0-8f06a7374b81

10 years agoShow tabs for existing custom field types only and adds a view for choosing the type...
Jean-Philippe Lang [Fri, 7 Feb 2014 07:57:59 +0000 (07:57 +0000)]
Show tabs for existing custom field types only and adds a view for choosing the type when adding a new custom field.

git-svn-id: http://svn.redmine.org/redmine/trunk@12849 e93f8b46-1217-0410-a6f0-8f06a7374b81

10 years agoMake sure that Repository#extra_info returns a Hash or nil (#16032).
Jean-Philippe Lang [Thu, 6 Feb 2014 20:23:06 +0000 (20:23 +0000)]
Make sure that Repository#extra_info returns a Hash or nil (#16032).

git-svn-id: http://svn.redmine.org/redmine/trunk@12848 e93f8b46-1217-0410-a6f0-8f06a7374b81

10 years agofix wrong issue 'assigned-to-my-group' css class (#16038)
Toshi MARUYAMA [Thu, 6 Feb 2014 12:16:27 +0000 (12:16 +0000)]
fix wrong issue 'assigned-to-my-group' css class (#16038)

git-svn-id: http://svn.redmine.org/redmine/trunk@12844 e93f8b46-1217-0410-a6f0-8f06a7374b81

10 years agoRails4: replace hard-coded html with class at ApplicationHelperTest#test_wiki_links_w...
Toshi MARUYAMA [Thu, 6 Feb 2014 04:45:54 +0000 (04:45 +0000)]
Rails4: replace hard-coded html with class at ApplicationHelperTest#test_wiki_links_within_wiki_page_context

See r12784 comment.

git-svn-id: http://svn.redmine.org/redmine/trunk@12843 e93f8b46-1217-0410-a6f0-8f06a7374b81

10 years agouse escaped "Can't" constant at IssuesHelperTest
Toshi MARUYAMA [Thu, 6 Feb 2014 04:45:38 +0000 (04:45 +0000)]
use escaped "Can't" constant at IssuesHelperTest

git-svn-id: http://svn.redmine.org/redmine/trunk@12842 e93f8b46-1217-0410-a6f0-8f06a7374b81

10 years agoRails4: replace ActionView::Helpers::TextHelper#truncate by String#truncate at app...
Toshi MARUYAMA [Thu, 6 Feb 2014 03:36:40 +0000 (03:36 +0000)]
Rails4: replace ActionView::Helpers::TextHelper#truncate by String#truncate at app/views/issues/_list_simple.html.erb

git-svn-id: http://svn.redmine.org/redmine/trunk@12841 e93f8b46-1217-0410-a6f0-8f06a7374b81

10 years agoRails4: replace ActionView::Helpers::TextHelper#truncate by String#truncate at app...
Toshi MARUYAMA [Thu, 6 Feb 2014 03:36:24 +0000 (03:36 +0000)]
Rails4: replace ActionView::Helpers::TextHelper#truncate by String#truncate at app/views/repositories/revision.html.erb

git-svn-id: http://svn.redmine.org/redmine/trunk@12840 e93f8b46-1217-0410-a6f0-8f06a7374b81

10 years agoRails4: replace ActionView::Helpers::TextHelper#truncate by String#truncate at app...
Toshi MARUYAMA [Thu, 6 Feb 2014 03:36:08 +0000 (03:36 +0000)]
Rails4: replace ActionView::Helpers::TextHelper#truncate by String#truncate at app/views/repositories/_dir_list_content.html.erb

git-svn-id: http://svn.redmine.org/redmine/trunk@12839 e93f8b46-1217-0410-a6f0-8f06a7374b81

10 years agoRails4: replace ActionView::Helpers::TextHelper#truncate by String#truncate at app...
Toshi MARUYAMA [Thu, 6 Feb 2014 03:35:52 +0000 (03:35 +0000)]
Rails4: replace ActionView::Helpers::TextHelper#truncate by String#truncate at app/views/repositories/_revisions.html.erb

git-svn-id: http://svn.redmine.org/redmine/trunk@12838 e93f8b46-1217-0410-a6f0-8f06a7374b81

10 years agoRails4: replace ActionView::Helpers::TextHelper#truncate by String#truncate at app...
Toshi MARUYAMA [Thu, 6 Feb 2014 03:35:36 +0000 (03:35 +0000)]
Rails4: replace ActionView::Helpers::TextHelper#truncate by String#truncate at app/views/search/index.html.erb

git-svn-id: http://svn.redmine.org/redmine/trunk@12837 e93f8b46-1217-0410-a6f0-8f06a7374b81

10 years agoRails4: replace ActionView::Helpers::TextHelper#truncate by String#truncate at app...
Toshi MARUYAMA [Thu, 6 Feb 2014 03:35:19 +0000 (03:35 +0000)]
Rails4: replace ActionView::Helpers::TextHelper#truncate by String#truncate at app/views/auto_completes/issues.html.erb

git-svn-id: http://svn.redmine.org/redmine/trunk@12836 e93f8b46-1217-0410-a6f0-8f06a7374b81

10 years agoRails4: replace ActionView::Helpers::TextHelper#truncate by String#truncate at Applic...
Toshi MARUYAMA [Thu, 6 Feb 2014 03:35:01 +0000 (03:35 +0000)]
Rails4: replace ActionView::Helpers::TextHelper#truncate by String#truncate at ApplicationHelper#format_activity_description

git-svn-id: http://svn.redmine.org/redmine/trunk@12835 e93f8b46-1217-0410-a6f0-8f06a7374b81

10 years agoRails4: replace ActionView::Helpers::TextHelper#truncate by String#truncate at Applic...
Toshi MARUYAMA [Thu, 6 Feb 2014 03:34:45 +0000 (03:34 +0000)]
Rails4: replace ActionView::Helpers::TextHelper#truncate by String#truncate at ApplicationHelper#link_to_message

git-svn-id: http://svn.redmine.org/redmine/trunk@12834 e93f8b46-1217-0410-a6f0-8f06a7374b81

10 years agoRails4: replace ActionView::Helpers::TextHelper#truncate by String#truncate at Applic...
Toshi MARUYAMA [Thu, 6 Feb 2014 03:34:27 +0000 (03:34 +0000)]
Rails4: replace ActionView::Helpers::TextHelper#truncate by String#truncate at ApplicationHelper#parse_redmine_links

git-svn-id: http://svn.redmine.org/redmine/trunk@12833 e93f8b46-1217-0410-a6f0-8f06a7374b81

10 years agoRails4: replace ActionView::Helpers::TextHelper#truncate by String#truncate at lib...
Toshi MARUYAMA [Thu, 6 Feb 2014 03:34:09 +0000 (03:34 +0000)]
Rails4: replace ActionView::Helpers::TextHelper#truncate by String#truncate at lib/redmine/export/pdf.rb

git-svn-id: http://svn.redmine.org/redmine/trunk@12832 e93f8b46-1217-0410-a6f0-8f06a7374b81

10 years agoRails4: replace ActionView::Helpers::TextHelper#truncate by String#truncate at Applic...
Toshi MARUYAMA [Thu, 6 Feb 2014 03:33:51 +0000 (03:33 +0000)]
Rails4: replace ActionView::Helpers::TextHelper#truncate by String#truncate at ApplicationHelper#link_to_issue

git-svn-id: http://svn.redmine.org/redmine/trunk@12831 e93f8b46-1217-0410-a6f0-8f06a7374b81

10 years agoRails4: add ApplicationHelper#truncate_single_line_raw method replacing truncate_sing...
Toshi MARUYAMA [Thu, 6 Feb 2014 03:33:33 +0000 (03:33 +0000)]
Rails4: add ApplicationHelper#truncate_single_line_raw method replacing truncate_single_line

git-svn-id: http://svn.redmine.org/redmine/trunk@12830 e93f8b46-1217-0410-a6f0-8f06a7374b81

10 years agoadd tests of ApplicationHelper#link_to_issue subject and title
Toshi MARUYAMA [Thu, 6 Feb 2014 02:38:37 +0000 (02:38 +0000)]
add tests of ApplicationHelper#link_to_issue subject and title

git-svn-id: http://svn.redmine.org/redmine/trunk@12829 e93f8b46-1217-0410-a6f0-8f06a7374b81

10 years agoRails4: replace hard-coded html with class at ApplicationHelperTest#test_pre_content_...
Toshi MARUYAMA [Thu, 6 Feb 2014 01:30:45 +0000 (01:30 +0000)]
Rails4: replace hard-coded html with class at ApplicationHelperTest#test_pre_content_should_not_parse_wiki_and_redmine_links

See r12784 comment.

git-svn-id: http://svn.redmine.org/redmine/trunk@12828 e93f8b46-1217-0410-a6f0-8f06a7374b81

10 years agoRails4: replace hard-coded html with class at ApplicationHelperTest#test_link_to_user...
Toshi MARUYAMA [Thu, 6 Feb 2014 01:30:29 +0000 (01:30 +0000)]
Rails4: replace hard-coded html with class at ApplicationHelperTest#test_link_to_user_should_link_to_locked_user_if_current_user_is_admin

See r12784 comment.

git-svn-id: http://svn.redmine.org/redmine/trunk@12827 e93f8b46-1217-0410-a6f0-8f06a7374b81

10 years agoRails4: replace hard-coded html with class at ApplicationHelperTest#test_link_to_user
Toshi MARUYAMA [Thu, 6 Feb 2014 01:30:12 +0000 (01:30 +0000)]
Rails4: replace hard-coded html with class at ApplicationHelperTest#test_link_to_user

See r12784 comment.

git-svn-id: http://svn.redmine.org/redmine/trunk@12826 e93f8b46-1217-0410-a6f0-8f06a7374b81

10 years agodo stricter ApplicationHelperTest#test_truncate_single_line
Toshi MARUYAMA [Thu, 6 Feb 2014 01:29:56 +0000 (01:29 +0000)]
do stricter ApplicationHelperTest#test_truncate_single_line

git-svn-id: http://svn.redmine.org/redmine/trunk@12825 e93f8b46-1217-0410-a6f0-8f06a7374b81

10 years agoadd tests of ApplicationHelper#truncate_single_line
Toshi MARUYAMA [Thu, 6 Feb 2014 00:36:50 +0000 (00:36 +0000)]
add tests of ApplicationHelper#truncate_single_line

git-svn-id: http://svn.redmine.org/redmine/trunk@12824 e93f8b46-1217-0410-a6f0-8f06a7374b81

10 years agoRails4: replace hard-coded html with class at ApplicationHelperTest#test_wiki_links_a...
Toshi MARUYAMA [Wed, 5 Feb 2014 08:56:35 +0000 (08:56 +0000)]
Rails4: replace hard-coded html with class at ApplicationHelperTest#test_wiki_links_anchor_option_should_prepend_page_title_to_href

See r12784 comment.

git-svn-id: http://svn.redmine.org/redmine/trunk@12823 e93f8b46-1217-0410-a6f0-8f06a7374b81

10 years agoRails4: replace hard-coded html with class at ApplicationHelperTest#test_link_to_project
Toshi MARUYAMA [Wed, 5 Feb 2014 08:56:19 +0000 (08:56 +0000)]
Rails4: replace hard-coded html with class at ApplicationHelperTest#test_link_to_project

See r12784 comment.

git-svn-id: http://svn.redmine.org/redmine/trunk@12822 e93f8b46-1217-0410-a6f0-8f06a7374b81

10 years agoRails4: replace hard-coded html with class at ApplicationHelperTest#test_link_to_atta...
Toshi MARUYAMA [Wed, 5 Feb 2014 08:56:03 +0000 (08:56 +0000)]
Rails4: replace hard-coded html with class at ApplicationHelperTest#test_link_to_attachment

See r12784 comment.

git-svn-id: http://svn.redmine.org/redmine/trunk@12821 e93f8b46-1217-0410-a6f0-8f06a7374b81

10 years agoRails4: replace hard-coded html with class at ApplicationHelperTest#test_cross_projec...
Toshi MARUYAMA [Wed, 5 Feb 2014 08:55:49 +0000 (08:55 +0000)]
Rails4: replace hard-coded html with class at ApplicationHelperTest#test_cross_project_redmine_links

See r12784 comment.

git-svn-id: http://svn.redmine.org/redmine/trunk@12820 e93f8b46-1217-0410-a6f0-8f06a7374b81

10 years agocode format clean up ApplicationHelperTest#test_cross_project_redmine_links
Toshi MARUYAMA [Wed, 5 Feb 2014 08:55:32 +0000 (08:55 +0000)]
code format clean up ApplicationHelperTest#test_cross_project_redmine_links

git-svn-id: http://svn.redmine.org/redmine/trunk@12819 e93f8b46-1217-0410-a6f0-8f06a7374b81

10 years agocode format clean up app/views/issues/_list_simple.html.erb
Toshi MARUYAMA [Wed, 5 Feb 2014 08:55:17 +0000 (08:55 +0000)]
code format clean up app/views/issues/_list_simple.html.erb

git-svn-id: http://svn.redmine.org/redmine/trunk@12818 e93f8b46-1217-0410-a6f0-8f06a7374b81

10 years agoremove unneeded h() from app/views/repositories/_revisions.html.erb
Toshi MARUYAMA [Wed, 5 Feb 2014 08:55:01 +0000 (08:55 +0000)]
remove unneeded h() from app/views/repositories/_revisions.html.erb

git-svn-id: http://svn.redmine.org/redmine/trunk@12817 e93f8b46-1217-0410-a6f0-8f06a7374b81

10 years agoremove unneeded h() from app/views/repositories/_dir_list_content.html.erb
Toshi MARUYAMA [Wed, 5 Feb 2014 08:54:46 +0000 (08:54 +0000)]
remove unneeded h() from app/views/repositories/_dir_list_content.html.erb

git-svn-id: http://svn.redmine.org/redmine/trunk@12816 e93f8b46-1217-0410-a6f0-8f06a7374b81

10 years agoremove unneeded h() from app/views/issues/_list_simple.html.erb
Toshi MARUYAMA [Wed, 5 Feb 2014 08:54:28 +0000 (08:54 +0000)]
remove unneeded h() from app/views/issues/_list_simple.html.erb

git-svn-id: http://svn.redmine.org/redmine/trunk@12815 e93f8b46-1217-0410-a6f0-8f06a7374b81

10 years agocode format clean up app/views/search/index.html.erb
Toshi MARUYAMA [Wed, 5 Feb 2014 08:54:12 +0000 (08:54 +0000)]
code format clean up app/views/search/index.html.erb

git-svn-id: http://svn.redmine.org/redmine/trunk@12814 e93f8b46-1217-0410-a6f0-8f06a7374b81

10 years agoRails4: replace hard-coded html with class at ApplicationHelperTest#test_attachment_links
Toshi MARUYAMA [Wed, 5 Feb 2014 04:14:58 +0000 (04:14 +0000)]
Rails4: replace hard-coded html with class at ApplicationHelperTest#test_attachment_links

See r12784 comment.

git-svn-id: http://svn.redmine.org/redmine/trunk@12813 e93f8b46-1217-0410-a6f0-8f06a7374b81

10 years agoRails4: replace hard-coded html with class at ApplicationHelperTest#test_attachment_l...
Toshi MARUYAMA [Wed, 5 Feb 2014 04:14:43 +0000 (04:14 +0000)]
Rails4: replace hard-coded html with class at ApplicationHelperTest#test_attachment_link_should_link_to_latest_attachment

See r12784 comment.

git-svn-id: http://svn.redmine.org/redmine/trunk@12812 e93f8b46-1217-0410-a6f0-8f06a7374b81

10 years agoRails4: replace hard-coded html with class at ApplicationHelperTest#test_wiki_links_i...
Toshi MARUYAMA [Wed, 5 Feb 2014 04:14:27 +0000 (04:14 +0000)]
Rails4: replace hard-coded html with class at ApplicationHelperTest#test_wiki_links_in_tables

See r12784 comment.

git-svn-id: http://svn.redmine.org/redmine/trunk@12811 e93f8b46-1217-0410-a6f0-8f06a7374b81

10 years agoTraditional Chinese translation updated by ChunChang Lo (#16023)
Toshi MARUYAMA [Wed, 5 Feb 2014 03:24:39 +0000 (03:24 +0000)]
Traditional Chinese translation updated by ChunChang Lo (#16023)

git-svn-id: http://svn.redmine.org/redmine/trunk@12810 e93f8b46-1217-0410-a6f0-8f06a7374b81

10 years agocode format clean up ApplicationHelper#parse_redmine_links
Toshi MARUYAMA [Wed, 5 Feb 2014 03:24:22 +0000 (03:24 +0000)]
code format clean up ApplicationHelper#parse_redmine_links

git-svn-id: http://svn.redmine.org/redmine/trunk@12809 e93f8b46-1217-0410-a6f0-8f06a7374b81

10 years agocode format clean up ApplicationHelper#link_to_issue
Toshi MARUYAMA [Wed, 5 Feb 2014 03:24:07 +0000 (03:24 +0000)]
code format clean up ApplicationHelper#link_to_issue

git-svn-id: http://svn.redmine.org/redmine/trunk@12808 e93f8b46-1217-0410-a6f0-8f06a7374b81

10 years agouse escaped "Can't" constant at ApplicationHelperTest
Toshi MARUYAMA [Wed, 5 Feb 2014 00:42:50 +0000 (00:42 +0000)]
use escaped "Can't" constant at ApplicationHelperTest

git-svn-id: http://svn.redmine.org/redmine/trunk@12807 e93f8b46-1217-0410-a6f0-8f06a7374b81

10 years agoRails4: replace hard-coded html with class at ApplicationHelperTest#test_redmine_link...
Toshi MARUYAMA [Wed, 5 Feb 2014 00:42:34 +0000 (00:42 +0000)]
Rails4: replace hard-coded html with class at ApplicationHelperTest#test_redmine_links_with_a_different_project_before_current_project

See r12784 comment.

git-svn-id: http://svn.redmine.org/redmine/trunk@12806 e93f8b46-1217-0410-a6f0-8f06a7374b81

10 years agouse escaped "Can't" constant at IssueStatusesControllerTest
Toshi MARUYAMA [Tue, 4 Feb 2014 23:52:44 +0000 (23:52 +0000)]
use escaped "Can't" constant at IssueStatusesControllerTest

git-svn-id: http://svn.redmine.org/redmine/trunk@12805 e93f8b46-1217-0410-a6f0-8f06a7374b81

10 years agouse escaped "can't" constant at IssueStatusesControllerTest
Toshi MARUYAMA [Tue, 4 Feb 2014 23:52:28 +0000 (23:52 +0000)]
use escaped "can't" constant at IssueStatusesControllerTest

git-svn-id: http://svn.redmine.org/redmine/trunk@12804 e93f8b46-1217-0410-a6f0-8f06a7374b81

10 years agouse escaped "can't" constant at NewsControllerTest
Toshi MARUYAMA [Tue, 4 Feb 2014 23:52:12 +0000 (23:52 +0000)]
use escaped "can't" constant at NewsControllerTest

git-svn-id: http://svn.redmine.org/redmine/trunk@12803 e93f8b46-1217-0410-a6f0-8f06a7374b81

10 years agouse escaped "can't" constant at ProjectsControllerTest
Toshi MARUYAMA [Tue, 4 Feb 2014 23:51:56 +0000 (23:51 +0000)]
use escaped "can't" constant at ProjectsControllerTest

git-svn-id: http://svn.redmine.org/redmine/trunk@12802 e93f8b46-1217-0410-a6f0-8f06a7374b81

10 years agouse escaped "can't" constant at AuthSourcesControllerTest
Toshi MARUYAMA [Tue, 4 Feb 2014 23:51:39 +0000 (23:51 +0000)]
use escaped "can't" constant at AuthSourcesControllerTest

git-svn-id: http://svn.redmine.org/redmine/trunk@12801 e93f8b46-1217-0410-a6f0-8f06a7374b81

10 years agoRails4: fix "assert_template 'calendar'" fails at CalendarsControllerTest
Toshi MARUYAMA [Tue, 4 Feb 2014 23:51:23 +0000 (23:51 +0000)]
Rails4: fix "assert_template 'calendar'" fails at CalendarsControllerTest

git-svn-id: http://svn.redmine.org/redmine/trunk@12800 e93f8b46-1217-0410-a6f0-8f06a7374b81

10 years agoRails4: use "assert_template 'context_menus/time_entries'" at ContextMenusControllerTest
Toshi MARUYAMA [Tue, 4 Feb 2014 23:51:07 +0000 (23:51 +0000)]
Rails4: use "assert_template 'context_menus/time_entries'" at ContextMenusControllerTest

This asserting does not fail, but use same logic with "assert_template 'context_menus/issues'"

git-svn-id: http://svn.redmine.org/redmine/trunk@12799 e93f8b46-1217-0410-a6f0-8f06a7374b81

10 years agoRails4: fix "assert_template 'context_menu'" fails at ContextMenusControllerTest
Toshi MARUYAMA [Tue, 4 Feb 2014 23:50:49 +0000 (23:50 +0000)]
Rails4: fix "assert_template 'context_menu'" fails at ContextMenusControllerTest

git-svn-id: http://svn.redmine.org/redmine/trunk@12798 e93f8b46-1217-0410-a6f0-8f06a7374b81

10 years agocode format clean up app/views/projects/settings/_members.html.erb
Toshi MARUYAMA [Tue, 4 Feb 2014 23:50:32 +0000 (23:50 +0000)]
code format clean up app/views/projects/settings/_members.html.erb

git-svn-id: http://svn.redmine.org/redmine/trunk@12797 e93f8b46-1217-0410-a6f0-8f06a7374b81

10 years agocode format clean up ProjectsControllerTest
Toshi MARUYAMA [Tue, 4 Feb 2014 23:50:14 +0000 (23:50 +0000)]
code format clean up ProjectsControllerTest

git-svn-id: http://svn.redmine.org/redmine/trunk@12796 e93f8b46-1217-0410-a6f0-8f06a7374b81

10 years agocode format clean up AuthSourcesControllerTest
Toshi MARUYAMA [Tue, 4 Feb 2014 23:49:55 +0000 (23:49 +0000)]
code format clean up AuthSourcesControllerTest

git-svn-id: http://svn.redmine.org/redmine/trunk@12795 e93f8b46-1217-0410-a6f0-8f06a7374b81

10 years agouse escaped "Can't" constant at TrackersControllerTest
Toshi MARUYAMA [Tue, 4 Feb 2014 10:07:57 +0000 (10:07 +0000)]
use escaped "Can't" constant at TrackersControllerTest

git-svn-id: http://svn.redmine.org/redmine/trunk@12794 e93f8b46-1217-0410-a6f0-8f06a7374b81

10 years agodefine constant of escaped "Can't" for tests
Toshi MARUYAMA [Tue, 4 Feb 2014 10:07:41 +0000 (10:07 +0000)]
define constant of escaped "Can't" for tests

git-svn-id: http://svn.redmine.org/redmine/trunk@12793 e93f8b46-1217-0410-a6f0-8f06a7374b81

10 years agouse escaped "can't" constant at TrackersControllerTest
Toshi MARUYAMA [Tue, 4 Feb 2014 10:07:19 +0000 (10:07 +0000)]
use escaped "can't" constant at TrackersControllerTest

git-svn-id: http://svn.redmine.org/redmine/trunk@12792 e93f8b46-1217-0410-a6f0-8f06a7374b81

10 years agoRails4: fix "assert_template 'form'" fails at IssuesControllerTest
Toshi MARUYAMA [Tue, 4 Feb 2014 10:07:02 +0000 (10:07 +0000)]
Rails4: fix "assert_template 'form'" fails at IssuesControllerTest

git-svn-id: http://svn.redmine.org/redmine/trunk@12791 e93f8b46-1217-0410-a6f0-8f06a7374b81

10 years agoreplace shoulda context "#subjects" at GanttHelperTest
Toshi MARUYAMA [Tue, 4 Feb 2014 10:06:46 +0000 (10:06 +0000)]
replace shoulda context "#subjects" at GanttHelperTest

git-svn-id: http://svn.redmine.org/redmine/trunk@12790 e93f8b46-1217-0410-a6f0-8f06a7374b81

10 years agoreplace shoulda context "#number_of_rows_on_project" at GanttHelperTest
Toshi MARUYAMA [Tue, 4 Feb 2014 10:06:28 +0000 (10:06 +0000)]
replace shoulda context "#number_of_rows_on_project" at GanttHelperTest

git-svn-id: http://svn.redmine.org/redmine/trunk@12789 e93f8b46-1217-0410-a6f0-8f06a7374b81

10 years agoreplace shoulda context "#number_of_rows" at GanttHelperTest
Toshi MARUYAMA [Tue, 4 Feb 2014 10:06:11 +0000 (10:06 +0000)]
replace shoulda context "#number_of_rows" at GanttHelperTest

git-svn-id: http://svn.redmine.org/redmine/trunk@12788 e93f8b46-1217-0410-a6f0-8f06a7374b81

10 years agodefine as private GanttHelperTest helper methods
Toshi MARUYAMA [Tue, 4 Feb 2014 10:05:54 +0000 (10:05 +0000)]
define as private GanttHelperTest helper methods

git-svn-id: http://svn.redmine.org/redmine/trunk@12787 e93f8b46-1217-0410-a6f0-8f06a7374b81

10 years agoreplace shoulda context "with workflow privilege" at IssuesControllerTest
Toshi MARUYAMA [Tue, 4 Feb 2014 07:50:55 +0000 (07:50 +0000)]
replace shoulda context "with workflow privilege" at IssuesControllerTest

git-svn-id: http://svn.redmine.org/redmine/trunk@12786 e93f8b46-1217-0410-a6f0-8f06a7374b81

10 years agoreplace shoulda context "without workflow privilege" at IssuesControllerTest
Toshi MARUYAMA [Tue, 4 Feb 2014 07:50:39 +0000 (07:50 +0000)]
replace shoulda context "without workflow privilege" at IssuesControllerTest

git-svn-id: http://svn.redmine.org/redmine/trunk@12785 e93f8b46-1217-0410-a6f0-8f06a7374b81

10 years agoRails4: use link_to instead of hard coded html at ApplicationHelperTest#test_wiki_lin...
Toshi MARUYAMA [Tue, 4 Feb 2014 07:50:20 +0000 (07:50 +0000)]
Rails4: use link_to instead of hard coded html at ApplicationHelperTest#test_wiki_links_within_local_file_generation_context

On Rails 4.0.2, test fails.

<pre>
  --- expected
  +++ actual
  @@ -1 +1 @@
  -"<p><a href=\"CookBook_documentation.html\" class=\"wiki-page\">documentation</a></p>"
  +"<p><a class=\"wiki-page\" href=\"CookBook_documentation.html\">documentation</a></p>"
</pre>

git-svn-id: http://svn.redmine.org/redmine/trunk@12784 e93f8b46-1217-0410-a6f0-8f06a7374b81

10 years agocode format clean up escaped "can't" constant
Toshi MARUYAMA [Tue, 4 Feb 2014 04:41:27 +0000 (04:41 +0000)]
code format clean up escaped "can't" constant

git-svn-id: http://svn.redmine.org/redmine/trunk@12783 e93f8b46-1217-0410-a6f0-8f06a7374b81

10 years agouse escaped "can't" constant at TrackersControllerTest
Toshi MARUYAMA [Tue, 4 Feb 2014 04:32:37 +0000 (04:32 +0000)]
use escaped "can't" constant at TrackersControllerTest

git-svn-id: http://svn.redmine.org/redmine/trunk@12782 e93f8b46-1217-0410-a6f0-8f06a7374b81

10 years agouse escaped "can't" constant at WikisControllerTest
Toshi MARUYAMA [Tue, 4 Feb 2014 04:32:20 +0000 (04:32 +0000)]
use escaped "can't" constant at WikisControllerTest

git-svn-id: http://svn.redmine.org/redmine/trunk@12781 e93f8b46-1217-0410-a6f0-8f06a7374b81

10 years agodefine constant of escaped "can't" for tests
Toshi MARUYAMA [Tue, 4 Feb 2014 04:32:04 +0000 (04:32 +0000)]
define constant of escaped "can't" for tests

git-svn-id: http://svn.redmine.org/redmine/trunk@12780 e93f8b46-1217-0410-a6f0-8f06a7374b81

10 years agocode format clean up TrackersControllerTest
Toshi MARUYAMA [Tue, 4 Feb 2014 04:31:46 +0000 (04:31 +0000)]
code format clean up TrackersControllerTest

git-svn-id: http://svn.redmine.org/redmine/trunk@12779 e93f8b46-1217-0410-a6f0-8f06a7374b81

10 years agocode format clean up WikisControllerTest
Toshi MARUYAMA [Tue, 4 Feb 2014 04:31:29 +0000 (04:31 +0000)]
code format clean up WikisControllerTest

git-svn-id: http://svn.redmine.org/redmine/trunk@12778 e93f8b46-1217-0410-a6f0-8f06a7374b81

10 years agoscm: mercurial: insert long id to DB unless existing id in DB is not short id (#14361)
Toshi MARUYAMA [Sun, 2 Feb 2014 14:53:16 +0000 (14:53 +0000)]
scm: mercurial: insert long id to DB unless existing id in DB is not short id (#14361)

git-svn-id: http://svn.redmine.org/redmine/trunk@12777 e93f8b46-1217-0410-a6f0-8f06a7374b81

10 years agoscm: mercurial: add asserting first and last changeset to test_fetch_changesets_from_...
Toshi MARUYAMA [Sun, 2 Feb 2014 13:08:50 +0000 (13:08 +0000)]
scm: mercurial: add asserting first and last changeset to test_fetch_changesets_from_scratch (#14361)

git-svn-id: http://svn.redmine.org/redmine/trunk@12776 e93f8b46-1217-0410-a6f0-8f06a7374b81

10 years agoscm: mercurial: use scmid_for_assert in assert_parents (#14361)
Toshi MARUYAMA [Sun, 2 Feb 2014 12:20:32 +0000 (12:20 +0000)]
scm: mercurial: use scmid_for_assert in assert_parents (#14361)

git-svn-id: http://svn.redmine.org/redmine/trunk@12775 e93f8b46-1217-0410-a6f0-8f06a7374b81

10 years agoscm: mercurial: use scmid_for_assert in assert_entries (#14361)
Toshi MARUYAMA [Sun, 2 Feb 2014 12:20:16 +0000 (12:20 +0000)]
scm: mercurial: use scmid_for_assert in assert_entries (#14361)

git-svn-id: http://svn.redmine.org/redmine/trunk@12774 e93f8b46-1217-0410-a6f0-8f06a7374b81

10 years agoscm: mercurial: use scmid_for_assert in assert_entry (#14361)
Toshi MARUYAMA [Sun, 2 Feb 2014 12:19:59 +0000 (12:19 +0000)]
scm: mercurial: use scmid_for_assert in assert_entry (#14361)

git-svn-id: http://svn.redmine.org/redmine/trunk@12773 e93f8b46-1217-0410-a6f0-8f06a7374b81

10 years agoscm: mercurial: use scmid_for_assert in assert_copied_files (#14361)
Toshi MARUYAMA [Sun, 2 Feb 2014 12:19:42 +0000 (12:19 +0000)]
scm: mercurial: use scmid_for_assert in assert_copied_files (#14361)

git-svn-id: http://svn.redmine.org/redmine/trunk@12772 e93f8b46-1217-0410-a6f0-8f06a7374b81

10 years agoscm: mercurial: add test helper method to switch short or long id (#14361)
Toshi MARUYAMA [Sun, 2 Feb 2014 12:19:26 +0000 (12:19 +0000)]
scm: mercurial: add test helper method to switch short or long id (#14361)

git-svn-id: http://svn.redmine.org/redmine/trunk@12771 e93f8b46-1217-0410-a6f0-8f06a7374b81

10 years agoscm: mercurial: split test_parents to sub method (#14361)
Toshi MARUYAMA [Sun, 2 Feb 2014 11:41:17 +0000 (11:41 +0000)]
scm: mercurial: split test_parents to sub method (#14361)

git-svn-id: http://svn.redmine.org/redmine/trunk@12770 e93f8b46-1217-0410-a6f0-8f06a7374b81

10 years agoscm: mercurial: split test_copied_files to sub method (#14361)
Toshi MARUYAMA [Sun, 2 Feb 2014 11:41:01 +0000 (11:41 +0000)]
scm: mercurial: split test_copied_files to sub method (#14361)

git-svn-id: http://svn.redmine.org/redmine/trunk@12769 e93f8b46-1217-0410-a6f0-8f06a7374b81

10 years agoscm: mercurial: split test_entries_short_id to sub method (#14361)
Toshi MARUYAMA [Sun, 2 Feb 2014 11:40:44 +0000 (11:40 +0000)]
scm: mercurial: split test_entries_short_id to sub method (#14361)

git-svn-id: http://svn.redmine.org/redmine/trunk@12768 e93f8b46-1217-0410-a6f0-8f06a7374b81

10 years agoscm: mercurial: split test_entry_short_id to sub method (#14361)
Toshi MARUYAMA [Sun, 2 Feb 2014 11:40:28 +0000 (11:40 +0000)]
scm: mercurial: split test_entry_short_id to sub method (#14361)

git-svn-id: http://svn.redmine.org/redmine/trunk@12767 e93f8b46-1217-0410-a6f0-8f06a7374b81

10 years agoscm: mercurial: split latest_changesets tag test to sub method (#14361)
Toshi MARUYAMA [Sun, 2 Feb 2014 07:57:02 +0000 (07:57 +0000)]
scm: mercurial: split latest_changesets tag test to sub method (#14361)

git-svn-id: http://svn.redmine.org/redmine/trunk@12766 e93f8b46-1217-0410-a6f0-8f06a7374b81

10 years agoscm: mercurial: split latest_changesets default branch test to sub method (#14361)
Toshi MARUYAMA [Sun, 2 Feb 2014 07:56:46 +0000 (07:56 +0000)]
scm: mercurial: split latest_changesets default branch test to sub method (#14361)

git-svn-id: http://svn.redmine.org/redmine/trunk@12765 e93f8b46-1217-0410-a6f0-8f06a7374b81

10 years agoscm: mercurial: split latest_changesets tag test with path or not (#14361)
Toshi MARUYAMA [Sun, 2 Feb 2014 07:56:31 +0000 (07:56 +0000)]
scm: mercurial: split latest_changesets tag test with path or not (#14361)

git-svn-id: http://svn.redmine.org/redmine/trunk@12764 e93f8b46-1217-0410-a6f0-8f06a7374b81

10 years agoscm: mercurial: add latest_changesets "default" branch test (#14361)
Toshi MARUYAMA [Sun, 2 Feb 2014 06:34:31 +0000 (06:34 +0000)]
scm: mercurial: add latest_changesets "default" branch test (#14361)

git-svn-id: http://svn.redmine.org/redmine/trunk@12763 e93f8b46-1217-0410-a6f0-8f06a7374b81

10 years agoscm: mercurial: split latest_changesets tag test with limit or not (#14361)
Toshi MARUYAMA [Sun, 2 Feb 2014 06:34:15 +0000 (06:34 +0000)]
scm: mercurial: split latest_changesets tag test with limit or not (#14361)

git-svn-id: http://svn.redmine.org/redmine/trunk@12762 e93f8b46-1217-0410-a6f0-8f06a7374b81

10 years agoscm: mercurial: use long id in adapter level (#14361)
Toshi MARUYAMA [Sun, 2 Feb 2014 04:44:38 +0000 (04:44 +0000)]
scm: mercurial: use long id in adapter level (#14361)

git-svn-id: http://svn.redmine.org/redmine/trunk@12761 e93f8b46-1217-0410-a6f0-8f06a7374b81

10 years agoscm: mercurial: switch short or long id of entry by existing value in DB (#14361)
Toshi MARUYAMA [Sun, 2 Feb 2014 04:44:20 +0000 (04:44 +0000)]
scm: mercurial: switch short or long id of entry by existing value in DB (#14361)

git-svn-id: http://svn.redmine.org/redmine/trunk@12760 e93f8b46-1217-0410-a6f0-8f06a7374b81

10 years agoscm: mercurial: override entry and scm_entries (#14361)
Toshi MARUYAMA [Sun, 2 Feb 2014 04:44:04 +0000 (04:44 +0000)]
scm: mercurial: override entry and scm_entries (#14361)

git-svn-id: http://svn.redmine.org/redmine/trunk@12759 e93f8b46-1217-0410-a6f0-8f06a7374b81

10 years agoscm: mercurial: add model entry test (#14361)
Toshi MARUYAMA [Sun, 2 Feb 2014 04:43:48 +0000 (04:43 +0000)]
scm: mercurial: add model entry test (#14361)

git-svn-id: http://svn.redmine.org/redmine/trunk@12758 e93f8b46-1217-0410-a6f0-8f06a7374b81

10 years agoscm: mercurial: add model entries test (#14361)
Toshi MARUYAMA [Sun, 2 Feb 2014 04:43:32 +0000 (04:43 +0000)]
scm: mercurial: add model entries test (#14361)

git-svn-id: http://svn.redmine.org/redmine/trunk@12757 e93f8b46-1217-0410-a6f0-8f06a7374b81

10 years agoscm: mercurial: add adapter entry test (#14361)
Toshi MARUYAMA [Sun, 2 Feb 2014 04:43:17 +0000 (04:43 +0000)]
scm: mercurial: add adapter entry test (#14361)

git-svn-id: http://svn.redmine.org/redmine/trunk@12756 e93f8b46-1217-0410-a6f0-8f06a7374b81

10 years agoscm: mercurial: add method to switch short or long id by existing value in DB (#14361)
Toshi MARUYAMA [Sun, 2 Feb 2014 00:41:16 +0000 (00:41 +0000)]
scm: mercurial: add method to switch short or long id by existing value in DB (#14361)

git-svn-id: http://svn.redmine.org/redmine/trunk@12755 e93f8b46-1217-0410-a6f0-8f06a7374b81

10 years agoscm: split Repository#entries (#14361)
Toshi MARUYAMA [Sun, 2 Feb 2014 00:40:59 +0000 (00:40 +0000)]
scm: split Repository#entries (#14361)

git-svn-id: http://svn.redmine.org/redmine/trunk@12754 e93f8b46-1217-0410-a6f0-8f06a7374b81

10 years agoback out r12752 (#14361)
Toshi MARUYAMA [Sat, 1 Feb 2014 08:46:47 +0000 (08:46 +0000)]
back out r12752 (#14361)

Revision, Author and Comment of repository browser are broken.

git-svn-id: http://svn.redmine.org/redmine/trunk@12753 e93f8b46-1217-0410-a6f0-8f06a7374b81

10 years agoscm: mercurial: use long id in adapter level (#14361)
Toshi MARUYAMA [Sat, 1 Feb 2014 07:47:04 +0000 (07:47 +0000)]
scm: mercurial: use long id in adapter level (#14361)

git-svn-id: http://svn.redmine.org/redmine/trunk@12752 e93f8b46-1217-0410-a6f0-8f06a7374b81