]>
source.dussan.org Git - redmine.git/log
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Toshi MARUYAMA [Sat, 1 Feb 2014 07:46:45 +0000 (07:46 +0000)]
scm: mercurial: split Repository::Mercurial#latest_changesets_cond for short and long id (#14361)
git-svn-id: http://svn.redmine.org/redmine/trunk@12751
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Sat, 1 Feb 2014 06:08:22 +0000 (06:08 +0000)]
scm: mercurial: add check scmid to RepositoryMercurialTest#test_fetch_changesets_from_scratch (#14361)
git-svn-id: http://svn.redmine.org/redmine/trunk@12750
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Sat, 1 Feb 2014 04:23:53 +0000 (04:23 +0000)]
scm: mercurial: use 12 chars id for format_changeset_identifier (#14361)
git-svn-id: http://svn.redmine.org/redmine/trunk@12749
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Sat, 1 Feb 2014 03:45:33 +0000 (03:45 +0000)]
scm: mercurial: split latest_changesets test to tag and branch
git-svn-id: http://svn.redmine.org/redmine/trunk@12748
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Sat, 1 Feb 2014 02:39:51 +0000 (02:39 +0000)]
remove redundant empty line from RepositoryMercurialTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12747
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Fri, 31 Jan 2014 18:13:42 +0000 (18:13 +0000)]
Adds some test helpers to cleanup tests.
git-svn-id: http://svn.redmine.org/redmine/trunk@12746
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Fri, 31 Jan 2014 17:42:46 +0000 (17:42 +0000)]
Fixed calculation of done_ratio of parent task with child having estimated_time at 0 (#15870).
git-svn-id: http://svn.redmine.org/redmine/trunk@12745
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Fri, 31 Jan 2014 15:35:48 +0000 (15:35 +0000)]
Rails4 compatibility of WatcherTest#test_watcher_users
Rails4 has_many returns ActiveRecord::Associations::CollectionProxy not array
git-svn-id: http://svn.redmine.org/redmine/trunk@12744
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Fri, 31 Jan 2014 10:15:52 +0000 (10:15 +0000)]
remove unneeded Relation#all from Repository::Git model
git-svn-id: http://svn.redmine.org/redmine/trunk@12743
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Fri, 31 Jan 2014 10:15:37 +0000 (10:15 +0000)]
code format clean up Repository::Git model
git-svn-id: http://svn.redmine.org/redmine/trunk@12742
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Fri, 31 Jan 2014 09:38:43 +0000 (09:38 +0000)]
fix source indent of Redmine::Scm::Adapters::AbstractAdapter#without_trailling_slash
git-svn-id: http://svn.redmine.org/redmine/trunk@12741
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Thu, 30 Jan 2014 22:27:08 +0000 (22:27 +0000)]
Removed debug output.
git-svn-id: http://svn.redmine.org/redmine/trunk@12740
e93f8b46-1217-0410-a6f0-
8f06a7374b81