summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Omit subtasks/related issues sections when empty on PDF export (#5634).Jean-Philippe Lang2011-11-191-38/+43
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7845 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Handle the case of a text formatter that doesn't support section edit (#2222).Jean-Philippe Lang2011-11-181-0/+5
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7831 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Wiki: allows single section edit (#2222).Jean-Philippe Lang2011-11-182-31/+70
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7829 e93f8b46-1217-0410-a6f0-8f06a7374b81
* pdf: lib: set image scale at issue_to_pdf method (#3261)Toshi MARUYAMA2011-11-181-0/+3
| | | | | | | | wiki_to_pdf method has already done. Contributed by Jun NAITOH. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7827 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Updated permissions with newly added @create@ and @update@ actions (#9108).Etienne Massip2011-11-171-2/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7826 e93f8b46-1217-0410-a6f0-8f06a7374b81
* move repositories helper to_utf8 logic to lib/redmine/codeset_util.rb for ↵Toshi MARUYAMA2011-11-171-0/+34
| | | | | | common use (#2371) git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7825 e93f8b46-1217-0410-a6f0-8f06a7374b81
* move iconv from utf8 logic from pdf to lib/redmine/codeset_util.rb for ↵Toshi MARUYAMA2011-11-162-32/+36
| | | | | | common use (#8549) git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7818 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code layout clean up lib/redmine/export/pdf.rbToshi MARUYAMA2011-11-161-1/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7816 e93f8b46-1217-0410-a6f0-8f06a7374b81
* move Changeset#to_utf8 logic to lib/redmine/codeset_util.rb for common use ↵Toshi MARUYAMA2011-11-141-0/+44
| | | | | | (#3261) git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7810 e93f8b46-1217-0410-a6f0-8f06a7374b81
* pdf: add subtasks and related issues at issue pdf (#5634)Toshi MARUYAMA2011-11-121-0/+45
| | | | | | Contributed by Bernhard Furtmueller and Jun NAITOH. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7788 e93f8b46-1217-0410-a6f0-8f06a7374b81
* pdf: add ancestor issues at head of issue pdf (#5634)Toshi MARUYAMA2011-11-121-2/+12
| | | | | | Contributed by Bernhard Furtmueller and Jun NAITOH. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7787 e93f8b46-1217-0410-a6f0-8f06a7374b81
* pdf: remove unused "require 'rfpdf/fpdf'" (#8312)Toshi MARUYAMA2011-11-121-1/+0
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7785 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails3: replace deprecated RAILS_DEFAULT_LOGGER at lib/redmine/ciphering.rb ↵Toshi MARUYAMA2011-11-111-1/+1
| | | | | | (#9552) git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7781 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: Error when reading ciphered text from the database without cipher key ↵Jean-Philippe Lang2011-11-111-0/+8
| | | | | | configured (#9552). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7780 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Updates for 1.2.2 release.Jean-Philippe Lang2011-11-111-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7776 e93f8b46-1217-0410-a6f0-8f06a7374b81
* pdf: indent subject of subtask ticket in exported issues PDF (#8617)Toshi MARUYAMA2011-11-101-1/+5
| | | | | | Contributed by Hayato Ito. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7761 e93f8b46-1217-0410-a6f0-8f06a7374b81
* set svn:eol-style native at lib/tasks/extract_fixtures.rakeToshi MARUYAMA2011-11-061-22/+22
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7744 e93f8b46-1217-0410-a6f0-8f06a7374b81
* change new line 'LF' to 'CRLF' and remove empty bottom line at ↵Toshi MARUYAMA2011-11-061-2/+1
| | | | | | lib/tasks/extract_fixtures.rake git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7743 e93f8b46-1217-0410-a6f0-8f06a7374b81
* pdf: lib: add a method to export wiki (#401)Toshi MARUYAMA2011-11-061-0/+34
| | | | | | Contributed by Jun NAITOH. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7740 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: mercurial: lib: return array of Branch class instead of array of ↵Toshi MARUYAMA2011-10-281-1/+8
| | | | | | strings at branches method (#5501) git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7673 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: git: lib: return array of Branch class instead of array of strings at ↵Toshi MARUYAMA2011-10-281-2/+6
| | | | | | | | 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
* scm: lib: add Branch class to abstract adapter (#5501)Toshi MARUYAMA2011-10-281-0/+4
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7670 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: git: lib: add parents to Revision class (#5501)Toshi MARUYAMA2011-10-281-4/+10
| | | | | | Contributed by Jan Topiński. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7668 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: mercurial: lib: add parents to Revision class (#5501)Toshi MARUYAMA2011-10-281-1/+6
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7666 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: lib: add parents attribute to Revision class of abstract adapter (#5501)Toshi MARUYAMA2011-10-281-1/+3
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7665 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: mercurial: remove unused "tags" from xml log templeteToshi MARUYAMA2011-10-281-2/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7664 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: mercurial: add parents to xml log template (#5501)Toshi MARUYAMA2011-10-281-1/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7663 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: mercurial: drop supporting below Mercurial 1.1 (#9465)Toshi MARUYAMA2011-10-252-19/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* scm: mercurial: switch rev parameter of extension rhlog() if above Mercurial ↵Toshi MARUYAMA2011-10-241-2/+5
| | | | | | | | | | | | | | | 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
* scm: mercurial: fix extension cmdtable on Mercurial 1.5 (#9465)Toshi MARUYAMA2011-10-241-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Update CodeRay version to 1.0 final (#4264).Etienne Massip2011-10-081-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7618 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Escape image urls in wiki formatted HTML text (#9245).Etienne Massip2011-10-031-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7570 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails3: lib: helper: use html_safe for GanttToshi MARUYAMA2011-10-011-21/+21
| | | | | | Contributed by Sylvain Utard. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7557 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use prefered syntax for redmine:email:test definition (#8611).Etienne Massip2011-09-261-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7540 e93f8b46-1217-0410-a6f0-8f06a7374b81
* fix typos in lib/redmine/hook.rb (#9291)Toshi MARUYAMA2011-09-211-4/+4
| | | | | | Contributed by Igor Zubkov. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7432 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove trailing white-spaces from lib/redmine/search.rbToshi MARUYAMA2011-09-201-8/+8
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7419 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove trailing white-spaces from lib/redmine/themes.rbToshi MARUYAMA2011-09-201-24/+24
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7418 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove trailing white-spaces from lib/redmine/notifiable.rbToshi MARUYAMA2011-09-201-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7417 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove trailing white-spaces from lib/redmine/platform.rbToshi MARUYAMA2011-09-201-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7416 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove trailing white-spaces from lib/redmine/pop3.rbToshi MARUYAMA2011-09-201-4/+4
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7415 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove trailing white-spaces from lib/redmine/utils.rbToshi MARUYAMA2011-09-201-2/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7414 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove trailing white-spaces from lib/ar_condition.rbToshi MARUYAMA2011-09-201-6/+6
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7413 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove trailing white-spaces from lib/redmine/access_control.rbToshi MARUYAMA2011-09-201-23/+23
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7412 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove trailing white-spaces from lib/redmine/custom_field_format.rbToshi MARUYAMA2011-09-201-6/+6
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7411 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove trailing white-spaces from lib/redmine/safe_attributes.rbToshi MARUYAMA2011-09-201-8/+8
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7410 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove trailing white-spaces from lib/redmine/syntax_highlighting.rbToshi MARUYAMA2011-09-201-9/+9
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7409 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove trailing white-spaces from lib/redmine/plugin.rbToshi MARUYAMA2011-09-201-32/+32
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7408 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove trailing white-spaces from lib/redmine/hook.rbToshi MARUYAMA2011-09-201-18/+18
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7407 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove trailing white-spaces from lib/redmine/mime_type.rbToshi MARUYAMA2011-09-201-9/+9
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7406 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove trailing white-spaces from lib/tabular_form_builder.rbToshi MARUYAMA2011-09-201-13/+13
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7405 e93f8b46-1217-0410-a6f0-8f06a7374b81