Jean-Philippe Lang
cf5dba2beb
Check that controller and request methods are available.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8276 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-18 08:40:04 +00:00
Etienne Massip
5a33d7292f
Backout 8239.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8241 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-15 22:15:47 +00:00
Etienne Massip
b49f83a22a
Log return code if error.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8239 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-15 21:59:49 +00:00
Jean-Philippe Lang
f6dd3c5484
Code cleanup.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8229 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-15 10:57:59 +00:00
Jean-Philippe Lang
77e8a76af3
Code cleanup.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8228 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-15 10:43:31 +00:00
Jean-Philippe Lang
6c91e1420a
Removed dependency with monkey-patched rubytree.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8214 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-14 22:51:18 +00:00
Jean-Philippe Lang
7d501eaf81
Code cleanup.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8200 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-13 20:40:03 +00:00
Jean-Philippe Lang
805c65f55d
Extracted new_subclass_instance method to a module.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8183 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-10 19:18:06 +00:00
Jean-Philippe Lang
b1bb26b1e0
ruby1.9: macro must accept 2 arguments.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8168 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-10 13:55:47 +00:00
Toshi MARUYAMA
eb789b147a
scm: git: remove unused --since option ( #4547 , #4716 , #7146 , #6013 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8156 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-10 11:55:02 +00:00
Jean-Philippe Lang
877fbc15da
Renamed TabularFormBuilder to Redmine::Views::LabelledFormBuilder.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8143 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-09 18:45:38 +00:00
Etienne Massip
f385a3e3da
Handle spaces in development scm stderr log file path.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8129 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-08 19:22:00 +00:00
Jean-Philippe Lang
24317f617e
Adds an explicit error message for invalid YAML configuration file ( #9748 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8112 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-07 18:54:41 +00:00
Toshi MARUYAMA
62fb6e0f4b
pdf: move note number to the head of line for single issue's PDF ( #9720 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8099 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-06 03:44:25 +00:00
Jean-Philippe Lang
6a1830e9e3
Replace raw SQL with a .count call.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8093 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-05 18:27:10 +00:00
Jean-Philippe Lang
81afd9d0c7
Fixed time report broken by r8085.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8092 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-05 17:58:01 +00:00
Toshi MARUYAMA
3f79a914d9
pdf: add note number for single issue's PDF ( #9720 )
...
Contributed by Akiko T.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8090 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-05 07:34:52 +00:00
Jean-Philippe Lang
afbdc51e01
Removed ARCondition.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8089 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-04 23:44:59 +00:00
Jean-Philippe Lang
7362cd2e10
Removed unused method.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8065 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-03 21:12:33 +00:00
Jean-Philippe Lang
69a2431dd0
Dropped TimeEntryReportsController.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8027 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-02 19:33:05 +00:00
Jean-Philippe Lang
caf898d7d1
Extracted time report logic from the controller.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8026 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-02 18:46:43 +00:00
Jean-Philippe Lang
2967023a0e
Resourcified boards.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8020 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-01 21:14:09 +00:00
Jean-Philippe Lang
c3c2a4afe0
Resourcified documents.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8010 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-30 19:51:16 +00:00
Jean-Philippe Lang
6372688edd
Set version to 1.3.0.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7993 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-29 21:04:58 +00:00
Jean-Philippe Lang
fd24250be0
Fixed: crypting blank passwords raises an error ( #9137 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7985 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-29 19:47:51 +00:00
Jean-Philippe Lang
d66c8faa9b
Fixed: Wiki section edit escapes pre tags inside pre blocks ( #9673 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7976 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-28 22:08:15 +00:00
Jean-Philippe Lang
c5cabfe106
Fixed: Wiki section edit escapes code tags inside pre blocks ( #9673 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7975 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-28 21:45:02 +00:00
Jean-Philippe Lang
9f15517095
Fixed: Angle brackets within 'pre' blocks are silently replaced by HTML entities during wiki section-edit ( #9673 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7969 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-28 17:56:50 +00:00
Toshi MARUYAMA
9dfaa562fc
pdf: expand relational issues status column width of issue pdf ( #5634 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7965 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-28 05:58:32 +00:00
Jean-Philippe Lang
4ad5182bb2
Exclude gems from test coverage.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7963 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-27 22:42:53 +00:00
Toshi MARUYAMA
c917872e8c
Ruby 1.9: fix TabularFormBuilder to show "translation missing: en, field_lock_version" ( #6853 , #4050 )
...
Contributed by Moritz Breit.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7928 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-26 01:39:20 +00:00
Jean-Philippe Lang
f436918dbe
Fixed that :edit_time_entries permission allows creating time entries ( #9405 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7921 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-24 21:21:15 +00:00
Jean-Philippe Lang
6b43e9462e
Fixed that :view_time_entries permission allows time entry editing ( #9405 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7920 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-24 21:16:44 +00:00
Toshi MARUYAMA
b200fcfdae
pdf: add the new feature to include attachment images ( #3261 )
...
Contributed by Jun NAITOH.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7915 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-24 11:12:00 +00:00
Toshi MARUYAMA
81bbb8f9b8
pdf: lib: prepare to use rfpdf plug-in rmagick feature ( #3261 )
...
Contributed by Jun NAITOH.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7914 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-24 11:11:36 +00:00
Toshi MARUYAMA
1b4fc4aee8
pdf: lib: add "attachments" parameter at RDMwriteHTMLCell method ( #3261 )
...
Contributed by Jun NAITOH.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7913 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-24 11:11:01 +00:00
Toshi MARUYAMA
f936b7b5a4
pdf: lib: add the method to return attachment from filename and encoding ( #3261 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7912 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-24 09:43:01 +00:00
Jean-Philippe Lang
2f1141d765
Removed useless :lang option.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7901 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-23 19:46:19 +00:00
Jean-Philippe Lang
a756103b10
Use controller instead of instance variable.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7896 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-23 18:28:11 +00:00
Jean-Philippe Lang
4f907d5c9e
Initialize @childrenHash.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7895 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-23 18:25:30 +00:00
Toshi MARUYAMA
1a576be384
pdf: lib: remove unused "include Redmine::I18n" from RDMPdfEncoding class
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7893 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-23 16:38:27 +00:00
Jean-Philippe Lang
34c73c7573
REST API for issue categories ( #9553 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7882 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 17:09:01 +00:00
Jean-Philippe Lang
6f4fb8b892
Resourcified issue categories ( #9553 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7881 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 15:55:19 +00:00
Jean-Philippe Lang
886310055b
Omit subtasks/related issues sections when empty on PDF export ( #5634 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7845 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-19 13:36:30 +00:00
Jean-Philippe Lang
1e8a9da131
Handle the case of a text formatter that doesn't support section edit ( #2222 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7831 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-18 16:41:54 +00:00
Jean-Philippe Lang
6fc245327c
Wiki: allows single section edit ( #2222 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7829 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-18 16:25:00 +00:00
Toshi MARUYAMA
c8bbcfbe47
pdf: lib: set image scale at issue_to_pdf method ( #3261 )
...
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
2011-11-18 14:57:20 +00:00
Etienne Massip
cf9c743846
Updated permissions with newly added @create@ and @update@ actions ( #9108 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7826 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-17 19:47:04 +00:00
Toshi MARUYAMA
88f8daf8b7
move repositories helper to_utf8 logic to lib/redmine/codeset_util.rb for common use ( #2371 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7825 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-17 11:53:15 +00:00
Toshi MARUYAMA
8433bbab69
move iconv from utf8 logic from pdf to lib/redmine/codeset_util.rb for common use ( #8549 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7818 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-16 05:07:16 +00:00
Toshi MARUYAMA
b58d029294
code layout clean up lib/redmine/export/pdf.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7816 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-16 03:58:02 +00:00
Toshi MARUYAMA
9a93bd1484
move Changeset#to_utf8 logic to lib/redmine/codeset_util.rb for common use ( #3261 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7810 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-14 23:04:45 +00:00
Toshi MARUYAMA
19fc985daa
pdf: add subtasks and related issues at issue pdf ( #5634 )
...
Contributed by Bernhard Furtmueller and Jun NAITOH.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7788 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-12 11:18:02 +00:00
Toshi MARUYAMA
c57a0842d6
pdf: add ancestor issues at head of issue pdf ( #5634 )
...
Contributed by Bernhard Furtmueller and Jun NAITOH.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7787 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-12 11:17:35 +00:00
Toshi MARUYAMA
c4d9c29de9
pdf: remove unused "require 'rfpdf/fpdf'" ( #8312 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7785 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-12 11:16:26 +00:00
Toshi MARUYAMA
c63ab52201
Rails3: replace deprecated RAILS_DEFAULT_LOGGER at lib/redmine/ciphering.rb ( #9552 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7781 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-11 14:40:49 +00:00
Jean-Philippe Lang
e9f9927534
Fixed: Error when reading ciphered text from the database without cipher key configured ( #9552 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7780 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-11 14:04:33 +00:00
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