]> source.dussan.org Git - redmine.git/log
redmine.git
13 years agoscm: db: model: add parent/child relation for changesets (#5501)
Toshi MARUYAMA [Thu, 3 Nov 2011 08:01:41 +0000 (08:01 +0000)]
scm: db: model: add parent/child relation for changesets (#5501)

Contributed by Jan Topiński.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7710 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoadd unit test of escaping image urls (#9245)
Toshi MARUYAMA [Wed, 2 Nov 2011 07:35:51 +0000 (07:35 +0000)]
add unit test of escaping image urls (#9245)

Contributed by Holger Just.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7707 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agofix typos (#9499, #9489)
Toshi MARUYAMA [Mon, 31 Oct 2011 09:55:52 +0000 (09:55 +0000)]
fix typos (#9499, #9489)

Contributed by Igor Zubkov.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7706 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agofix wrong english "description_selected_columns" (#9492, #9489)
Toshi MARUYAMA [Sun, 30 Oct 2011 04:53:45 +0000 (04:53 +0000)]
fix wrong english "description_selected_columns" (#9492, #9489)

Contributed by Ivan Cenov.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7705 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoBulgarian translation updated by Ivan Cenov (#9491)
Toshi MARUYAMA [Sun, 30 Oct 2011 03:49:50 +0000 (03:49 +0000)]
Bulgarian translation updated by Ivan Cenov (#9491)

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7704 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years ago[#9489] use class instead of redundant id for label "no-css"
Toshi MARUYAMA [Sun, 30 Oct 2011 00:27:33 +0000 (00:27 +0000)]
[#9489] use class instead of redundant id for label "no-css"

Contributed by Holger Just.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7701 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoDutch translation updated by Pieter Nicolai (#9494)
Toshi MARUYAMA [Sun, 30 Oct 2011 00:00:19 +0000 (00:00 +0000)]
Dutch translation updated by Pieter Nicolai (#9494)

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7699 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoDon't escape already parsed wiki link title (#9471).
Etienne Massip [Sat, 29 Oct 2011 11:45:59 +0000 (11:45 +0000)]
Don't escape already parsed wiki link title (#9471).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7698 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years ago[#9489] update i18n yamls
Toshi MARUYAMA [Sat, 29 Oct 2011 01:24:37 +0000 (01:24 +0000)]
[#9489] update i18n yamls

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7697 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years ago[#9489] corrected labels and translations for reassign forms
Toshi MARUYAMA [Sat, 29 Oct 2011 01:24:11 +0000 (01:24 +0000)]
[#9489] corrected labels and translations for reassign forms

Contributed by Romano Licker.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7696 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years ago[#9489] made labels visible as this is an accessibility issue even for sighted users
Toshi MARUYAMA [Sat, 29 Oct 2011 01:23:47 +0000 (01:23 +0000)]
[#9489] made labels visible as this is an accessibility issue even for sighted users

Contributed by Romano Licker.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7695 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years ago[#9489] added invisible label
Toshi MARUYAMA [Sat, 29 Oct 2011 01:23:23 +0000 (01:23 +0000)]
[#9489] added invisible label

Contributed by Romano Licker.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7694 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years ago[#9489] added invisible label
Toshi MARUYAMA [Sat, 29 Oct 2011 01:22:56 +0000 (01:22 +0000)]
[#9489] added invisible label

Contributed by Romano Licker.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7693 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years ago[#9489] added invisible label for mail notification, linked label where possible
Toshi MARUYAMA [Sat, 29 Oct 2011 01:22:31 +0000 (01:22 +0000)]
[#9489] added invisible label for mail notification, linked label where possible

Contributed by Romano Licker.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7692 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years ago[#9489] linked labels to their elements
Toshi MARUYAMA [Sat, 29 Oct 2011 01:22:02 +0000 (01:22 +0000)]
[#9489] linked labels to their elements

Contributed by Romano Licker.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7691 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years ago[#9489] linked label to its element
Toshi MARUYAMA [Sat, 29 Oct 2011 01:21:21 +0000 (01:21 +0000)]
[#9489] linked label to its element

Contributed by Romano Licker.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7690 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years ago[#9489] set ids, created invisible labels and linked them
Toshi MARUYAMA [Sat, 29 Oct 2011 01:20:55 +0000 (01:20 +0000)]
[#9489] set ids, created invisible labels and linked them

Contributed by Romano Licker.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7689 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years ago[#9489] linked labels to their element
Toshi MARUYAMA [Sat, 29 Oct 2011 01:20:28 +0000 (01:20 +0000)]
[#9489] linked labels to their element

Contributed by Romano Licker.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7688 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years ago[#9489] link label to element
Toshi MARUYAMA [Sat, 29 Oct 2011 01:20:00 +0000 (01:20 +0000)]
[#9489] link label to element

Contributed by Romano Licker.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7687 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years ago[#9489] linked label to its element
Toshi MARUYAMA [Sat, 29 Oct 2011 01:19:18 +0000 (01:19 +0000)]
[#9489] linked label to its element

Contributed by Romano Licker.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7686 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years ago[#9489] linked labels to their elements
Toshi MARUYAMA [Sat, 29 Oct 2011 01:18:46 +0000 (01:18 +0000)]
[#9489] linked labels to their elements

Contributed by Romano Licker.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7685 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years ago[#9489] added invisible labels for reassign select-tag on destroy views
Toshi MARUYAMA [Sat, 29 Oct 2011 01:18:10 +0000 (01:18 +0000)]
[#9489] added invisible labels for reassign select-tag on destroy views

Contributed by Romano Licker.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7684 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years ago[#9489] set unique id for each checkbox and linked it
Toshi MARUYAMA [Sat, 29 Oct 2011 01:17:30 +0000 (01:17 +0000)]
[#9489] set unique id for each checkbox and linked it

added "no-css" class to overwrite the current label style

Contributed by Romano Licker.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7683 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years ago[#9489] set id for message_subject and linked it to label, added invisible label
Toshi MARUYAMA [Sat, 29 Oct 2011 01:16:48 +0000 (01:16 +0000)]
[#9489] set id for message_subject and linked it to label, added invisible label

Contributed by Romano Licker.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7682 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years ago[#9489] link label to element
Toshi MARUYAMA [Sat, 29 Oct 2011 01:16:11 +0000 (01:16 +0000)]
[#9489] link label to element

Contributed by Romano Licker.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7681 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years ago[#9489] link label to element
Toshi MARUYAMA [Sat, 29 Oct 2011 01:15:37 +0000 (01:15 +0000)]
[#9489] link label to element

Contributed by Romano Licker.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7680 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years ago[#9489] linked labels to their elements
Toshi MARUYAMA [Sat, 29 Oct 2011 01:14:47 +0000 (01:14 +0000)]
[#9489] linked labels to their elements

Contributed by Romano Licker.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7679 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years ago[#9489] added invisible labels for queries
Toshi MARUYAMA [Sat, 29 Oct 2011 01:14:10 +0000 (01:14 +0000)]
[#9489] added invisible labels for queries

Contributed by Romano Licker.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7678 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years ago[#9489] added invisible search label
Toshi MARUYAMA [Sat, 29 Oct 2011 01:13:38 +0000 (01:13 +0000)]
[#9489] added invisible search label

Contributed by Romano Licker.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7677 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years ago[#9489] added invisible project scope label
Toshi MARUYAMA [Sat, 29 Oct 2011 01:13:06 +0000 (01:13 +0000)]
[#9489] added invisible project scope label

Contributed by Romano Licker.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7676 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years ago[#9489] added style to hide content from sighted users
Toshi MARUYAMA [Sat, 29 Oct 2011 01:12:24 +0000 (01:12 +0000)]
[#9489] added style to hide content from sighted users

Contributed by Romano Licker.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7675 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: mercurial: test: lib: update branches test for Branch class (#5501)
Toshi MARUYAMA [Fri, 28 Oct 2011 05:19:58 +0000 (05:19 +0000)]
scm: mercurial: test: lib: update branches test for Branch class (#5501)

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7674 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: mercurial: lib: return array of Branch class instead of array of strings at...
Toshi MARUYAMA [Fri, 28 Oct 2011 05:19:13 +0000 (05:19 +0000)]
scm: mercurial: lib: return array of Branch class instead of array of strings at branches method (#5501)

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7673 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: git: test: lib: update branches test for Branch class (#5501)
Toshi MARUYAMA [Fri, 28 Oct 2011 05:18:28 +0000 (05:18 +0000)]
scm: git: test: lib: update branches test for Branch class (#5501)

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7672 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: git: lib: return array of Branch class instead of array of strings at branches...
Toshi MARUYAMA [Fri, 28 Oct 2011 05:17:46 +0000 (05:17 +0000)]
scm: git: lib: return array of Branch class instead of array of strings at branches method (#5501)

Contributed by Jan Topiński.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7671 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: lib: add Branch class to abstract adapter (#5501)
Toshi MARUYAMA [Fri, 28 Oct 2011 05:17:13 +0000 (05:17 +0000)]
scm: lib: add Branch class to abstract adapter (#5501)

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7670 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: git: test: add test of parents to unit lib test (#5501)
Toshi MARUYAMA [Fri, 28 Oct 2011 04:59:06 +0000 (04:59 +0000)]
scm: git: test: add test of parents to unit lib test (#5501)

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7669 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: git: lib: add parents to Revision class (#5501)
Toshi MARUYAMA [Fri, 28 Oct 2011 04:58:26 +0000 (04:58 +0000)]
scm: git: lib: add parents to Revision class (#5501)

Contributed by Jan Topiński.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7668 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: mercurial: test: add test of parents to unit lib test (#5501)
Toshi MARUYAMA [Fri, 28 Oct 2011 04:57:43 +0000 (04:57 +0000)]
scm: mercurial: test: add test of parents to unit lib test (#5501)

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7667 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: mercurial: lib: add parents to Revision class (#5501)
Toshi MARUYAMA [Fri, 28 Oct 2011 04:56:41 +0000 (04:56 +0000)]
scm: mercurial: lib: add parents to Revision class (#5501)

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7666 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: lib: add parents attribute to Revision class of abstract adapter (#5501)
Toshi MARUYAMA [Fri, 28 Oct 2011 04:55:54 +0000 (04:55 +0000)]
scm: lib: add parents attribute to Revision class of abstract adapter (#5501)

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7665 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: mercurial: remove unused "tags" from xml log templete
Toshi MARUYAMA [Fri, 28 Oct 2011 03:38:02 +0000 (03:38 +0000)]
scm: mercurial: remove unused "tags" from xml log templete

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7664 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: mercurial: add parents to xml log template (#5501)
Toshi MARUYAMA [Fri, 28 Oct 2011 02:46:38 +0000 (02:46 +0000)]
scm: mercurial: add parents to xml log template (#5501)

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7663 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: mercurial: update test repository (#5501)
Toshi MARUYAMA [Fri, 28 Oct 2011 01:44:12 +0000 (01:44 +0000)]
scm: mercurial: update test repository (#5501)

This test repository has one merged revision.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7662 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: git: fix typo of comments about fetching revisions (#9472)
Toshi MARUYAMA [Thu, 27 Oct 2011 01:31:56 +0000 (01:31 +0000)]
scm: git: fix typo of comments about fetching revisions (#9472)

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7660 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: git: recovery and improve comments of fetching from 1.1 about harmful influence...
Toshi MARUYAMA [Thu, 27 Oct 2011 00:35:43 +0000 (00:35 +0000)]
scm: git: recovery and improve comments of fetching from 1.1 about harmful influence that git does not have the revision number (#9472)

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7658 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoMake queries resources fully conform to common behavior (removed additonal routes...
Etienne Massip [Wed, 26 Oct 2011 18:00:56 +0000 (18:00 +0000)]
Make queries resources fully conform to common behavior (removed additonal routes) (#9108).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7657 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoReverted removal of project assignment to query (#9108).
Etienne Massip [Wed, 26 Oct 2011 17:00:16 +0000 (17:00 +0000)]
Reverted removal of project assignment to query (#9108).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7656 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoshow avatars on the news list (#9470)
Toshi MARUYAMA [Tue, 25 Oct 2011 23:43:27 +0000 (23:43 +0000)]
show avatars on the news list (#9470)

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7655 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: git: return saved revision at model "save_revision" (#5501)
Toshi MARUYAMA [Tue, 25 Oct 2011 14:58:03 +0000 (14:58 +0000)]
scm: git: return saved revision at model "save_revision" (#5501)

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7654 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: git: use to_s for branches at model (#5501)
Toshi MARUYAMA [Tue, 25 Oct 2011 14:57:34 +0000 (14:57 +0000)]
scm: git: use to_s for branches at model (#5501)

"scm.branches" will extend to have the revision for the branch.
no "to_s" will have a problem.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7653 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: mercurial: use NUM_REV instead of hard-coded number of revisions at "test_fetch_...
Toshi MARUYAMA [Tue, 25 Oct 2011 10:27:42 +0000 (10:27 +0000)]
scm: mercurial: use NUM_REV instead of hard-coded number of revisions at "test_fetch_changesets_incremental" of unit model test

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7652 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: mercurial: drop supporting below Mercurial 1.1 (#9465)
Toshi MARUYAMA [Tue, 25 Oct 2011 06:10:12 +0000 (06:10 +0000)]
scm: mercurial: drop supporting below Mercurial 1.1 (#9465)

On November 1st 2011, Mercurial 2.0 will be released.

On Mercurial 1.1.2, unit lib test fails with following error.

<pre>
Traceback (most recent call last):
  File "/WEB-DOWN/hg-repo/hg-crew/hg", line 20, in <module>
    mercurial.dispatch.run()
  File "/WEB-DOWN/hg-repo/hg-crew/mercurial/dispatch.py", line 20, in run
    sys.exit(dispatch(sys.argv[1:]))
  File "/WEB-DOWN/hg-repo/hg-crew/mercurial/dispatch.py", line 29, in dispatch
    return _runcatch(u, args)
  File "/WEB-DOWN/hg-repo/hg-crew/mercurial/dispatch.py", line 45, in _runcatch
    return _dispatch(ui, args)
  File "/WEB-DOWN/hg-repo/hg-crew/mercurial/dispatch.py", line 367, in _dispatch
    ret = _runcommand(ui, options, cmd, d)
  File "/WEB-DOWN/hg-repo/hg-crew/mercurial/dispatch.py", line 416, in _runcommand
    return checkargs()
  File "/WEB-DOWN/hg-repo/hg-crew/mercurial/dispatch.py", line 376, in checkargs
    return cmdfunc()
  File "/WEB-DOWN/hg-repo/hg-crew/mercurial/dispatch.py", line 361, in <lambda>
    d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
  File "/WEB-DOWN/hg-repo/hg-crew/mercurial/util.py", line 715, in check
    return func(*args, **kwargs)
  File "/REDMINE-1/hg-workdir/redmine-bb-all/lib/redmine/scm/adapters/mercurial/redminehelper.py", line 149, in rhlog
    if hg.util.version() >= '1.6':
AttributeError: 'module' object has no attribute 'version'

  1) Error:
test_nodes_in_branch(MercurialAdapterTest):
Redmine::Scm::Adapters::MercurialAdapter::HgCommandAborted: hg exited with non-zero status: 1
    lib/redmine/scm/adapters/mercurial_adapter.rb:306:in `hg'
    lib/redmine/scm/adapters/mercurial_adapter.rb:234:in `nodes_in_branch'
    test/unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb:311:in `test_nodes_in_branch'
    test/unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb:304:in `each'
    test/unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb:304:in `test_nodes_in_branch'
</pre>

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7650 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoRefactor : convert queries to REST resources (also fixes #9108).
Etienne Massip [Mon, 24 Oct 2011 20:19:26 +0000 (20:19 +0000)]
Refactor : convert queries to REST resources (also fixes #9108).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7649 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoadd newline at end of app/views/journals/index.builder
Toshi MARUYAMA [Mon, 24 Oct 2011 11:43:12 +0000 (11:43 +0000)]
add newline at end of app/views/journals/index.builder

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7648 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: mercurial: skip failing unit model tests on below Mercurial 1.5 (#9465)
Toshi MARUYAMA [Mon, 24 Oct 2011 09:33:03 +0000 (09:33 +0000)]
scm: mercurial: skip failing unit model tests on below Mercurial 1.5 (#9465)

Tests of non ASCII nor alphabetic nor numeric *named branch* fails on below Mercurial 1.5.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7643 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: mercurial: skip failing unit lib tests on below Mercurial 1.5 (#9465)
Toshi MARUYAMA [Mon, 24 Oct 2011 09:32:38 +0000 (09:32 +0000)]
scm: mercurial: skip failing unit lib tests on below Mercurial 1.5 (#9465)

Tests of non ASCII nor alphabetic nor numeric *named branch* fails on below Mercurial 1.5.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7642 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: mercurial: switch rev parameter of extension rhlog() if above Mercurial 1.6...
Toshi MARUYAMA [Mon, 24 Oct 2011 09:32:06 +0000 (09:32 +0000)]
scm: mercurial: switch rev parameter of extension rhlog() if above Mercurial 1.6 or not (#9465)

On Mercurial 1.5, following error raises.

<pre>
hg --config extensions.redminehelper=lib/redmine/scm/adapters/mercurial/redminehelper.py \
  --rhbranch default --from default --to 0

abort: unknown revision '"default"'!
</pre>

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7641 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: mercurial: fix extension cmdtable on Mercurial 1.5 (#9465)
Toshi MARUYAMA [Mon, 24 Oct 2011 09:31:36 +0000 (09:31 +0000)]
scm: mercurial: fix extension cmdtable on Mercurial 1.5 (#9465)

Before Mercurial revision "40c06bbf58be":http://www.selenic.com/repo/hg-stable/rev/40c06bbf58be ,
following error raises.

<pre>
Traceback (most recent call last):
  File "/WEB-DOWN/hg-repo/hg-crew/hg", line 27, in <module>
    mercurial.dispatch.run()
  File "/WEB-DOWN/hg-repo/hg-crew/mercurial/dispatch.py", line 16, in run
    sys.exit(dispatch(sys.argv[1:]))
  File "/WEB-DOWN/hg-repo/hg-crew/mercurial/dispatch.py", line 30, in dispatch
    return _runcatch(u, args)
  File "/WEB-DOWN/hg-repo/hg-crew/mercurial/dispatch.py", line 47, in _runcatch
    return _dispatch(ui, args)
  File "/WEB-DOWN/hg-repo/hg-crew/mercurial/dispatch.py", line 398, in _dispatch
    cmd, func, args, options, cmdoptions = _parse(lui, args)
  File "/WEB-DOWN/hg-repo/hg-crew/mercurial/dispatch.py", line 277, in _parse
    args = fancyopts.fancyopts(args, c, cmdoptions, True)
  File "/WEB-DOWN/hg-repo/hg-crew/mercurial/fancyopts.py", line 62, in fancyopts
    for short, name, default, comment in options:
ValueError: too many values to unpack

  1) Error:
test_nodes_in_branch(MercurialAdapterTest):
Redmine::Scm::Adapters::MercurialAdapter::HgCommandAborted: hg exited with non-zero status: 1
    lib/redmine/scm/adapters/mercurial_adapter.rb:306:in `hg'
    lib/redmine/scm/adapters/mercurial_adapter.rb:234:in `nodes_in_branch'
    test/unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb:311:in `test_nodes_in_branch'
    test/unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb:304:in `each'
    test/unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb:304:in `test_nodes_in_branch'
</pre>

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7640 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: view: add #to_s to changeset.author (#5501)
Toshi MARUYAMA [Fri, 21 Oct 2011 13:08:11 +0000 (13:08 +0000)]
scm: view: add #to_s to changeset.author (#5501)

On Ruby 1.8.6, following error raises.

undefined method `mb_chars' for #<ActiveRecord::Associations::BelongsToAssociation:0x7f86950f3e58>

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7639 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agocss: set nowrap of changeset author and committed_on (#5501)
Toshi MARUYAMA [Fri, 21 Oct 2011 11:17:58 +0000 (11:17 +0000)]
css: set nowrap of changeset author and committed_on (#5501)

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7638 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: view: truncate author with length 30 (#5501)
Toshi MARUYAMA [Fri, 21 Oct 2011 11:17:31 +0000 (11:17 +0000)]
scm: view: truncate author with length 30 (#5501)

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7637 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agocss: set margin 0px at top and bottom of changeset ul and ol (#5501)
Toshi MARUYAMA [Fri, 21 Oct 2011 08:19:25 +0000 (08:19 +0000)]
css: set margin 0px at top and bottom of changeset ul and ol (#5501)

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7636 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoreplace tabs to spaces and remove trailing white-spaces at public/stylesheets/rtl.css
Toshi MARUYAMA [Thu, 20 Oct 2011 23:03:00 +0000 (23:03 +0000)]
replace tabs to spaces and remove trailing white-spaces at public/stylesheets/rtl.css

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7635 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoreplace tabs to spaces and remove trailing white-spaces at public/stylesheets/context...
Toshi MARUYAMA [Thu, 20 Oct 2011 23:02:23 +0000 (23:02 +0000)]
replace tabs to spaces and remove trailing white-spaces at public/stylesheets/context_menu.css

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7634 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoreplace tabs to spaces at public/stylesheets/application.css
Toshi MARUYAMA [Thu, 20 Oct 2011 23:01:45 +0000 (23:01 +0000)]
replace tabs to spaces at public/stylesheets/application.css

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7633 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoreplace tabs to spaces and fix indents at public/stylesheets/jstoolbar.css
Toshi MARUYAMA [Thu, 20 Oct 2011 23:01:13 +0000 (23:01 +0000)]
replace tabs to spaces and fix indents at public/stylesheets/jstoolbar.css

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7632 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoreplace tabs to spaces at public/stylesheets/scm.css
Toshi MARUYAMA [Thu, 20 Oct 2011 23:00:38 +0000 (23:00 +0000)]
replace tabs to spaces at public/stylesheets/scm.css

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7631 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agocode layout clean up of app/views/repositories/_dir_list_content.html.erb
Toshi MARUYAMA [Thu, 20 Oct 2011 01:07:10 +0000 (01:07 +0000)]
code layout clean up of app/views/repositories/_dir_list_content.html.erb

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7630 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoReverted r7628.
Etienne Massip [Tue, 18 Oct 2011 21:19:58 +0000 (21:19 +0000)]
Reverted r7628.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7629 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoFilter out illegal values to prevent raise of PostgreSQL exceptions, restored last...
Etienne Massip [Tue, 18 Oct 2011 17:51:21 +0000 (17:51 +0000)]
Filter out illegal values to prevent raise of PostgreSQL exceptions, restored last test part removed with r7625 (#8371).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7628 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoRestored valid test part removed with r7625 (#8371).
Etienne Massip [Thu, 13 Oct 2011 06:42:08 +0000 (06:42 +0000)]
Restored valid test part removed with r7625 (#8371).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7627 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoRemoved debugging purpose command.
Etienne Massip [Thu, 13 Oct 2011 06:19:20 +0000 (06:19 +0000)]
Removed debugging purpose command.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7626 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoRemoved test part failing with PostgreSQL (#8371).
Etienne Massip [Thu, 13 Oct 2011 06:18:42 +0000 (06:18 +0000)]
Removed test part failing with PostgreSQL (#8371).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7625 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoFixed shot filter expression parsing depending upon field operators (#8371).
Etienne Massip [Wed, 12 Oct 2011 23:45:47 +0000 (23:45 +0000)]
Fixed shot filter expression parsing depending upon field operators (#8371).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7624 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoUpdate styles (#4264).
Etienne Massip [Mon, 10 Oct 2011 17:38:34 +0000 (17:38 +0000)]
Update styles (#4264).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7623 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoRails3: controller: repositories: use to_s for revision parameter
Toshi MARUYAMA [Sun, 9 Oct 2011 23:34:53 +0000 (23:34 +0000)]
Rails3: controller: repositories: use to_s for revision parameter

On Rails 3.0 and Ruby 1.8.7, following error raises.

Error:
test_revision(RepositoriesControllerTest):
NoMethodError: undefined method `strip' for 1:Fixnum
    app/controllers/repositories_controller.rb:252:in `find_repository'
    test/functional/repositories_controller_test.rb:44:in `test_revision'

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7622 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoFix failing test (#4264).
Etienne Massip [Sat, 8 Oct 2011 13:47:25 +0000 (13:47 +0000)]
Fix failing test (#4264).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7621 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoAdded missing gem spec to coderay vendored gem (#4264).
Etienne Massip [Sat, 8 Oct 2011 13:42:02 +0000 (13:42 +0000)]
Added missing gem spec to coderay vendored gem (#4264).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7620 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoUpdate CodeRay version to 1.0 final (#4264).
Etienne Massip [Sat, 8 Oct 2011 13:35:15 +0000 (13:35 +0000)]
Update CodeRay version to 1.0 final (#4264).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7619 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoUpdate CodeRay version to 1.0 final (#4264).
Etienne Massip [Sat, 8 Oct 2011 13:34:30 +0000 (13:34 +0000)]
Update CodeRay version to 1.0 final (#4264).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7618 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoRails3: test: replace deprecated errors.on at test_moving_an_issue_to_a_descendant_sh...
Toshi MARUYAMA [Fri, 7 Oct 2011 23:54:27 +0000 (23:54 +0000)]
Rails3: test: replace deprecated errors.on at test_moving_an_issue_to_a_descendant_should_not_validate of unit/issue_nested_set_test.rb

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7617 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoRails3: model: replace deprecated errors.add_to_base at validate_issue_relation of...
Toshi MARUYAMA [Fri, 7 Oct 2011 23:53:49 +0000 (23:53 +0000)]
Rails3: model: replace deprecated errors.add_to_base at validate_issue_relation of IssueRelation

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7616 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoRails3: test: replace deprecated errors.on at "fail with unauthorized parent_id"...
Toshi MARUYAMA [Fri, 7 Oct 2011 14:11:41 +0000 (14:11 +0000)]
Rails3: test: replace deprecated errors.on at "fail with unauthorized parent_id" of functional/projects_controller_test.rb

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7615 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoRails3: test: replace deprecated errors.on at "fail without parent_id" of functional...
Toshi MARUYAMA [Fri, 7 Oct 2011 14:11:06 +0000 (14:11 +0000)]
Rails3: test: replace deprecated errors.on at "fail without parent_id" of functional/projects_controller_test.rb

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7614 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoRails3: test: replace deprecated errors.on at "fail with parent_id" of functional...
Toshi MARUYAMA [Fri, 7 Oct 2011 14:10:37 +0000 (14:10 +0000)]
Rails3: test: replace deprecated errors.on at "fail with parent_id" of functional/projects_controller_test.rb

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7613 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoRails3: test: replace deprecated errors.on at test_update_issue_with_required_custom_...
Toshi MARUYAMA [Fri, 7 Oct 2011 14:10:05 +0000 (14:10 +0000)]
Rails3: test: replace deprecated errors.on at test_update_issue_with_required_custom_field_change of unit/time_entry_activity_test.rb

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7612 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoRails3: test: replace deprecated errors.on_base at test_should_not_be_able_to_reopen_...
Toshi MARUYAMA [Fri, 7 Oct 2011 13:07:55 +0000 (13:07 +0000)]
Rails3: test: replace deprecated errors.on_base at test_should_not_be_able_to_reopen_an_issue_assigned_to_a_closed_version of unit/issue_test.rb

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7611 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoRails3: test: replace deprecated errors.on at test_should_not_be_able_to_assign_a_new...
Toshi MARUYAMA [Fri, 7 Oct 2011 13:07:21 +0000 (13:07 +0000)]
Rails3: test: replace deprecated errors.on at test_should_not_be_able_to_assign_a_new_issue_to_a_locked_version of unit/issue_test.rb

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7610 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoRails3: test: replace deprecated errors.on at test_should_not_be_able_to_assign_a_new...
Toshi MARUYAMA [Fri, 7 Oct 2011 13:06:54 +0000 (13:06 +0000)]
Rails3: test: replace deprecated errors.on at test_should_not_be_able_to_assign_a_new_issue_to_a_closed_version of unit/issue_test.rb

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7609 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoRails3: model: replace deprecated errors.add_to_base at validate_on_create of User
Toshi MARUYAMA [Fri, 7 Oct 2011 12:25:20 +0000 (12:25 +0000)]
Rails3: model: replace deprecated errors.add_to_base at validate_on_create of User

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7608 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoRails3: model: replace deprecated errors.add_to_base at cannot_reply_to_locked_topic...
Toshi MARUYAMA [Fri, 7 Oct 2011 12:24:53 +0000 (12:24 +0000)]
Rails3: model: replace deprecated errors.add_to_base at cannot_reply_to_locked_topic of Message

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7607 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agocode layout clean up of test_visible_scope_for_anonymous_with_own_issues_visibility...
Toshi MARUYAMA [Fri, 7 Oct 2011 12:24:29 +0000 (12:24 +0000)]
code layout clean up of test_visible_scope_for_anonymous_with_own_issues_visibility at test/unit/issue_test.rb

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7606 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agocode layout clean up of test_errors_full_messages_should_include_custom_fields_errors...
Toshi MARUYAMA [Fri, 7 Oct 2011 12:24:01 +0000 (12:24 +0000)]
code layout clean up of test_errors_full_messages_should_include_custom_fields_errors at test/unit/issue_test.rb

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7605 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoRails3: test: replace deprecated errors.on at test_should_not_set_a_disabled_tracker...
Toshi MARUYAMA [Fri, 7 Oct 2011 12:23:37 +0000 (12:23 +0000)]
Rails3: test: replace deprecated errors.on at test_should_not_set_a_disabled_tracker of unit/issue_test.rb

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7604 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agocode layout clean up of test_set_issue_to_dates_without_issue_to at test/unit/issue_r...
Toshi MARUYAMA [Fri, 7 Oct 2011 12:23:09 +0000 (12:23 +0000)]
code layout clean up of test_set_issue_to_dates_without_issue_to at test/unit/issue_relation_test.rb

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7603 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agocode layout clean up of test_relation_type_for at test/unit/issue_relation_test.rb
Toshi MARUYAMA [Fri, 7 Oct 2011 12:22:43 +0000 (12:22 +0000)]
code layout clean up of test_relation_type_for at test/unit/issue_relation_test.rb

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7602 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agocode layout clean up of test_follows_relation_should_not_be_reversed_if_validation_fa...
Toshi MARUYAMA [Fri, 7 Oct 2011 12:22:07 +0000 (12:22 +0000)]
code layout clean up of test_follows_relation_should_not_be_reversed_if_validation_fails at test/unit/issue_relation_test.rb

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7601 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agocode layout clean up of test_follows_relation_should_be_reversed at test/unit/issue_r...
Toshi MARUYAMA [Fri, 7 Oct 2011 12:21:35 +0000 (12:21 +0000)]
code layout clean up of test_follows_relation_should_be_reversed at test/unit/issue_relation_test.rb

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7600 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agocode layout clean up of test_create at test/unit/issue_relation_test.rb
Toshi MARUYAMA [Fri, 7 Oct 2011 12:20:59 +0000 (12:20 +0000)]
code layout clean up of test_create at test/unit/issue_relation_test.rb

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7599 e93f8b46-1217-0410-a6f0-8f06a7374b81