Commit Graph

1015 Commits

Author SHA1 Message Date
Jean-Philippe Lang 55b2ca8170 Updates for 1.2.2 release.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7776 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-11 12:52:55 +00:00
Toshi MARUYAMA 9334d29520 pdf: indent subject of subtask ticket in exported issues PDF (#8617)
Contributed by Hayato Ito.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7761 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-10 10:10:24 +00:00
Toshi MARUYAMA c4c8c3e3e2 set svn:eol-style native at lib/tasks/extract_fixtures.rake
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7744 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-06 17:04:14 +00:00
Toshi MARUYAMA e8b8406ecf change new line 'LF' to 'CRLF' and remove empty bottom line at lib/tasks/extract_fixtures.rake
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7743 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-06 17:02:25 +00:00
Toshi MARUYAMA 1713432ab0 pdf: lib: add a method to export wiki (#401)
Contributed by Jun NAITOH.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7740 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-06 10:48:28 +00:00
Toshi MARUYAMA c71208d18d 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
2011-10-28 05:19:13 +00:00
Toshi MARUYAMA cec6f5c3b0 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
2011-10-28 05:17:46 +00:00
Toshi MARUYAMA 033214578f 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
2011-10-28 05:17:13 +00:00
Toshi MARUYAMA 36f51878a3 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
2011-10-28 04:58:26 +00:00
Toshi MARUYAMA 031b5bf4eb 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
2011-10-28 04:56:41 +00:00
Toshi MARUYAMA 0ff17efb4d 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
2011-10-28 04:55:54 +00:00
Toshi MARUYAMA 887893601e 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
2011-10-28 03:38:02 +00:00
Toshi MARUYAMA 918eac2cbd 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
2011-10-28 02:46:38 +00:00
Toshi MARUYAMA 81ef038587 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
2011-10-25 06:10:12 +00:00
Toshi MARUYAMA ed87fc4e66 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
2011-10-24 09:32:06 +00:00
Toshi MARUYAMA a6d3409a5a 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
2011-10-24 09:31:36 +00:00
Etienne Massip d1efb4f148 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
2011-10-08 13:34:30 +00:00
Etienne Massip f1b4a561ba Escape image urls in wiki formatted HTML text (#9245).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7570 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-03 21:45:17 +00:00
Toshi MARUYAMA e2f57b5874 Rails3: lib: helper: use html_safe for Gantt
Contributed by Sylvain Utard.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7557 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-01 01:13:03 +00:00
Etienne Massip da60f58abe Use prefered syntax for redmine📧test definition (#8611).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7540 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-26 18:14:19 +00:00
Toshi MARUYAMA 8e7b0a7bac fix typos in lib/redmine/hook.rb (#9291)
Contributed by Igor Zubkov.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7432 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-21 09:47:31 +00:00
Toshi MARUYAMA 569e768cdb remove trailing white-spaces from lib/redmine/search.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7419 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-20 02:48:40 +00:00
Toshi MARUYAMA ffe523c79e remove trailing white-spaces from lib/redmine/themes.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7418 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-20 02:48:17 +00:00
Toshi MARUYAMA 55eef24dce remove trailing white-spaces from lib/redmine/notifiable.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7417 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-20 02:47:52 +00:00
Toshi MARUYAMA c1548381ba remove trailing white-spaces from lib/redmine/platform.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7416 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-20 02:47:28 +00:00
Toshi MARUYAMA 1efbd3ddbf remove trailing white-spaces from lib/redmine/pop3.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7415 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-20 02:47:03 +00:00
Toshi MARUYAMA c3a23f9d21 remove trailing white-spaces from lib/redmine/utils.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7414 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-20 02:46:36 +00:00
Toshi MARUYAMA 41f26c7335 remove trailing white-spaces from lib/ar_condition.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7413 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-20 02:46:10 +00:00
Toshi MARUYAMA 94c9f79385 remove trailing white-spaces from lib/redmine/access_control.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7412 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-20 02:45:43 +00:00
Toshi MARUYAMA f299f39f51 remove trailing white-spaces from lib/redmine/custom_field_format.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7411 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-20 02:45:15 +00:00
Toshi MARUYAMA f0f6dc4888 remove trailing white-spaces from lib/redmine/safe_attributes.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7410 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-20 02:44:44 +00:00
Toshi MARUYAMA 125ffb33d3 remove trailing white-spaces from lib/redmine/syntax_highlighting.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7409 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-20 02:44:16 +00:00
Toshi MARUYAMA 3d1d57d04c remove trailing white-spaces from lib/redmine/plugin.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7408 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-20 02:43:47 +00:00
Toshi MARUYAMA e9cbfa032f remove trailing white-spaces from lib/redmine/hook.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7407 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-20 02:12:17 +00:00
Toshi MARUYAMA 58563b4bcb remove trailing white-spaces from lib/redmine/mime_type.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7406 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-20 02:11:54 +00:00
Toshi MARUYAMA 03c6fb1b9d remove trailing white-spaces from lib/tabular_form_builder.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7405 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-20 02:11:30 +00:00
Toshi MARUYAMA 3587d3d105 remove trailing white-spaces from lib/redmine/imap.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7404 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-20 01:14:35 +00:00
Toshi MARUYAMA 22ca26abc0 remove trailing white-spaces from lib/redmine/access_keys.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7401 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-18 08:27:45 +00:00
Toshi MARUYAMA b0bba4884e remove trailing white-spaces from lib/tasks/initializers.rake
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7077 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-07 08:18:52 +00:00
Toshi MARUYAMA d32982ed4c remove trailing white-spaces from lib/tasks/load_default_data.rake
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7076 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-07 08:18:23 +00:00
Toshi MARUYAMA a8f89fa088 remove trailing white-spaces from lib/tasks/locales.rake
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7075 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-07 08:17:58 +00:00
Toshi MARUYAMA 8474b08456 remove trailing white-spaces from lib/tasks/migrate_from_trac.rake
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7074 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-07 08:17:29 +00:00
Toshi MARUYAMA 83133302f4 fix typo in imap examples at lib/tasks/email.rake (#9198)
Contributed by Nathan L Smith.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7068 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-07 01:00:19 +00:00
Toshi MARUYAMA b19e5c5c01 remove trailing white-spaces from lib/redmine/views/api_template_handler.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6962 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-01 02:12:42 +00:00
Toshi MARUYAMA 593f5f6fa4 remove trailing white-spaces from lib/redmine/views/builders.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6961 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-01 02:11:54 +00:00
Toshi MARUYAMA 6f4decc237 remove trailing white-spaces from lib/redmine/views/builders/json.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6960 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-01 02:11:09 +00:00
Toshi MARUYAMA 804a4e3794 remove trailing white-spaces from lib/redmine/views/builders/structure.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6959 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-01 02:10:25 +00:00
Toshi MARUYAMA 65396dbd35 remove trailing white-spaces from lib/redmine/views/builders/xml.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6958 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-01 02:09:41 +00:00
Toshi MARUYAMA 11f1a6846b remove trailing white-spaces from lib/redmine/views/other_formats_builder.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6957 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-01 02:08:54 +00:00
Toshi MARUYAMA 44be7d1a46 remove trailing white-spaces from lib/redmine/activity/fetcher.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6956 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-01 02:08:09 +00:00