]> source.dussan.org Git - redmine.git/log
redmine.git
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

10 years agoscm: mercurial: split Repository::Mercurial#latest_changesets_cond for short and...
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

10 years agoscm: mercurial: add check scmid to RepositoryMercurialTest#test_fetch_changesets_from...
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

10 years agoscm: mercurial: use 12 chars id for format_changeset_identifier (#14361)
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

10 years agoscm: mercurial: split latest_changesets test to tag and branch
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

10 years agoremove redundant empty line from RepositoryMercurialTest
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

10 years agoAdds some test helpers to cleanup tests.
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

10 years agoFixed calculation of done_ratio of parent task with child having estimated_time at...
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

10 years agoRails4 compatibility of WatcherTest#test_watcher_users
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

10 years agoremove unneeded Relation#all from Repository::Git model
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

10 years agocode format clean up Repository::Git model
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

10 years agofix source indent of Redmine::Scm::Adapters::AbstractAdapter#without_trailling_slash
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

10 years agoRemoved debug output.
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

10 years agoReverts r12669 and add a test for #15870.
Jean-Philippe Lang [Thu, 30 Jan 2014 22:18:07 +0000 (22:18 +0000)]
Reverts r12669 and add a test for #15870.

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

10 years agofix r12737 de.yml alphabetical order
Toshi MARUYAMA [Thu, 30 Jan 2014 00:21:10 +0000 (00:21 +0000)]
fix r12737 de.yml alphabetical order

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

10 years agoGerman translation updated by Daniel Felix (#15980)
Toshi MARUYAMA [Wed, 29 Jan 2014 23:10:05 +0000 (23:10 +0000)]
German translation updated by Daniel Felix (#15980)

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

10 years agoupdate copyright year (#15977)
Toshi MARUYAMA [Wed, 29 Jan 2014 22:45:39 +0000 (22:45 +0000)]
update copyright year (#15977)

Contributed by Daniel Felix.

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

10 years agoback out from r12715 to r12720: #connection replacing
Toshi MARUYAMA [Mon, 27 Jan 2014 07:21:47 +0000 (07:21 +0000)]
back out from r12715 to r12720: #connection replacing

These revisions have performance regression on Rails 3.2.16.

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

10 years agoGemfile: use awesome_nested_set 2.1.6 gem
Toshi MARUYAMA [Mon, 27 Jan 2014 06:48:38 +0000 (06:48 +0000)]
Gemfile: use awesome_nested_set 2.1.6 gem

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

10 years agomove r12689 awesome_nested_set modification to config/initializers/10-patches.rb...
Toshi MARUYAMA [Mon, 27 Jan 2014 06:47:46 +0000 (06:47 +0000)]
move r12689 awesome_nested_set modification to config/initializers/10-patches.rb (#7920)

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

10 years agoremove unneeded Relation#all from TimeEntryQuery model
Toshi MARUYAMA [Mon, 27 Jan 2014 02:19:20 +0000 (02:19 +0000)]
remove unneeded Relation#all from TimeEntryQuery model

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

10 years agoremove unneeded Relation#all from Principal model
Toshi MARUYAMA [Mon, 27 Jan 2014 02:19:03 +0000 (02:19 +0000)]
remove unneeded Relation#all from Principal model

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

10 years agoremove unneeded Relation#all from Repository::Subversion model
Toshi MARUYAMA [Mon, 27 Jan 2014 02:18:47 +0000 (02:18 +0000)]
remove unneeded Relation#all from Repository::Subversion model

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

10 years agoremove unneeded Relation#all from Project model
Toshi MARUYAMA [Mon, 27 Jan 2014 02:18:30 +0000 (02:18 +0000)]
remove unneeded Relation#all from Project model

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

10 years agoremove unneeded Relation#all from MemberRole model
Toshi MARUYAMA [Mon, 27 Jan 2014 02:18:13 +0000 (02:18 +0000)]
remove unneeded Relation#all from MemberRole model

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

10 years agoremove unneeded Relation#all from Journal model
Toshi MARUYAMA [Mon, 27 Jan 2014 02:17:57 +0000 (02:17 +0000)]
remove unneeded Relation#all from Journal model

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

10 years agocode format cleanup Repository::Subversion model
Toshi MARUYAMA [Mon, 27 Jan 2014 01:42:31 +0000 (01:42 +0000)]
code format cleanup Repository::Subversion model

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

10 years agoremove unneeded Relation#all from IssueStatus model
Toshi MARUYAMA [Mon, 27 Jan 2014 01:24:41 +0000 (01:24 +0000)]
remove unneeded Relation#all from IssueStatus model

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

10 years agoremove unneeded Relation#all from IssueQuery model
Toshi MARUYAMA [Mon, 27 Jan 2014 01:09:24 +0000 (01:09 +0000)]
remove unneeded Relation#all from IssueQuery model

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

10 years agoremove unneeded Relation#all from Mailer model
Toshi MARUYAMA [Mon, 27 Jan 2014 01:09:09 +0000 (01:09 +0000)]
remove unneeded Relation#all from Mailer model

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

10 years agoremove unneeded Relation#all from IssuePriority model
Toshi MARUYAMA [Mon, 27 Jan 2014 01:08:54 +0000 (01:08 +0000)]
remove unneeded Relation#all from IssuePriority model

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

10 years agoremove unneeded Relation#all from WorkflowsController
Toshi MARUYAMA [Mon, 27 Jan 2014 01:08:40 +0000 (01:08 +0000)]
remove unneeded Relation#all from WorkflowsController

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

10 years agoRails4: replace deprecated #connection from Query model
Toshi MARUYAMA [Mon, 27 Jan 2014 01:08:25 +0000 (01:08 +0000)]
Rails4: replace deprecated #connection from Query model

DEPRECATION WARNING: #connection is deprecated in favour of accessing it via the class.

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

10 years agoRails4: replace deprecated #connection from Project model
Toshi MARUYAMA [Mon, 27 Jan 2014 01:08:09 +0000 (01:08 +0000)]
Rails4: replace deprecated #connection from Project model

DEPRECATION WARNING: #connection is deprecated in favour of accessing it via the class.

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

10 years agoRails4: replace deprecated #connection from Repository model
Toshi MARUYAMA [Mon, 27 Jan 2014 01:07:52 +0000 (01:07 +0000)]
Rails4: replace deprecated #connection from Repository model

DEPRECATION WARNING: #connection is deprecated in favour of accessing it via the class.

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