Toshi MARUYAMA
a6fad1eb66
scm: mercurial: add compatible test for "info" method.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4838 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-02-16 01:13:49 +00:00
Toshi MARUYAMA
aed08706e0
scm: bazaar: move cat and annotate test from unit app test to unit lib test.
...
Bazaar supports revision number and do not need to read database.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4836 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-02-15 11:05:33 +00:00
Toshi MARUYAMA
2547e57168
scm: mercurial: add Mercurial helper extension ( #4455 ).
...
* 'rhsummary' and 'rhmanifest' for reducing the number of hg command calls.
* 'rhdiff' for compatibility with Mercurial < 1.1.
Also renamed TEMPLATES_DIR to HELPERS_DIR because the directory now contains
templates and a helper extension.
Original version was written by Alessio Franceschelli,
downloaded from http://www.redmine.org/attachments/3395/overhaul.py
Contributed by Alessio Franceschelli and Yuya Nishihara.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4833 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-02-15 11:04:30 +00:00
Toshi MARUYAMA
2afc8e8c95
scm: cvs: add methods of getting cvs version and add unit lib test ( #4273 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4832 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-02-15 08:04:11 +00:00
Toshi MARUYAMA
50bbb97848
scm: bazaar: add methods of getting bazaar version and add unit lib test ( #4273 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4831 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-02-15 07:04:49 +00:00
Toshi MARUYAMA
4f1b1d9242
scm: git: add methods of getting git version and add unit lib test ( #4273 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4829 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-02-15 05:58:31 +00:00
Toshi MARUYAMA
5d026d6fd3
scm: subversion: change unit app test project id from 1 to 3.
...
Fixtures have project id 1 subversion changesets and changes.
Change file:/// to file://.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4826 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-02-15 02:29:47 +00:00
Toshi MARUYAMA
41f190e8ed
scm: subversion: refactor getting svn version and add lib test ( #4273 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4825 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-02-15 02:12:39 +00:00
Toshi MARUYAMA
632151dfff
scm: bazaar: fix typo and mistakes.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4810 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-02-11 16:00:57 +00:00
Toshi MARUYAMA
cee9df5b2f
scm: git: fix typo of unit lib test.
...
This file includes UTF-8 "literal".
We need to consider Ruby 1.9 compatibility.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4809 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-02-11 15:44:52 +00:00
Toshi MARUYAMA
a88077a0bd
scm: cvs: fix unit lib test fails on Windows.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4808 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-02-11 15:32:45 +00:00
Toshi MARUYAMA
fe37f45cb5
scm: bazaar: prepare version string unit lib test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4807 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-02-11 15:31:11 +00:00
Toshi MARUYAMA
ddaf897596
scm: git: prepare version string unit lib test and git log encoding ( #3396 ).
...
This file includes UTF-8 literal.
We need to consider Ruby 1.9 compatibity.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4805 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-02-11 15:30:22 +00:00
Toshi MARUYAMA
95638e8f6d
scm: subversion: prepare version string unit lib test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4803 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-02-10 18:13:10 +00:00
Toshi MARUYAMA
109fd2cdfc
scm: cvs: generate pseudo scmid for auto issue close text ( #6706 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4802 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-02-07 10:26:15 +00:00
Toshi MARUYAMA
e9ab2de1e7
scm: cvs: change temporary revision number from "_N" to "tmpN" ( #996 , #3761 , #6706 ).
...
'_' is SQL "like" special character.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4801 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-02-07 10:25:52 +00:00
Toshi MARUYAMA
10ca61a13b
scm: cvs: use localtime at cvs rlog -d option ( #996 , #3761 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4794 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-02-02 13:13:44 +00:00
Toshi MARUYAMA
33d6b90616
scm: cvs: add unit lib test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4793 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-02-02 13:13:20 +00:00
Toshi MARUYAMA
9f1a63075e
scm: mercurial: add unit lib test for the previous changeset isn't the parent ( #7253 , #7518 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4792 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-02-02 10:01:22 +00:00
Toshi MARUYAMA
08f02c5b65
scm: cvs: add fetch_changesets at all unit app test methods.
...
Redmine generates pseudo revision number, so all tests need to read database.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4791 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-02-02 10:00:20 +00:00
Toshi MARUYAMA
f922fa765f
scm: cvs: change project id of unit app test from 1 to 3.
...
Project id 1 has Subversion fixtures.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4788 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-02-02 04:00:36 +00:00
Jean-Philippe Lang
73a2d926f6
Fixed: no email sent with 'Notifiy for any event on the selected projects only' ( #7421 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4761 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-01-24 17:28:59 +00:00
Jean-Philippe Lang
a2a01e6b72
Moves link_to_message to ApplicationHelper to make it available to redmine links.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4760 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-01-23 17:02:10 +00:00
Jean-Philippe Lang
777ccf1328
Adds support for cross project Redmine links ( #7409 ).
...
See public/help/wiki_syntax_detailed.html for the syntax.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4758 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-01-23 16:12:38 +00:00
Jean-Philippe Lang
4cefae0aaa
Adds an application configuration file: config/configuration.yml ( #7408 ).
...
Email delivery settings that were stored in config/email.yml should be moved to this new configuration file.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4752 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-01-23 10:22:00 +00:00
Toshi MARUYAMA
abd2762aed
scm: darcs: add compatible test of Darcs 2.3 and 2.4 ( #7415 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4748 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-01-23 04:17:03 +00:00
Toshi MARUYAMA
0d3703c0b3
scm: darcs: change io.gets to io.read and add darcs version unit ( #4494 , #5404 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4743 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-01-22 15:38:23 +00:00
Toshi MARUYAMA
8fb9728b45
scm: darcs: add unit lib test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4742 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-01-22 15:37:59 +00:00
Jean-Philippe Lang
419b195019
Fixed: subtasks are deleted (not destroyed) when destroying parent issue ( #7385 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4735 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-01-22 11:46:15 +00:00
Jean-Philippe Lang
e17fadd07a
Do not show "for only project I select" notification option on application settings form ( #7294 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4730 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-01-16 15:36:42 +00:00
Jean-Philippe Lang
0e3017dc62
Fixed: "Notifiy for only project I select" is randomly displayed ( #7294 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4727 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-01-16 14:40:38 +00:00
Jean-Philippe Lang
e809d40f4e
When destroying a user, remove all references to that user ( #7296 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4726 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-01-16 14:27:02 +00:00
Jean-Philippe Lang
befd725b8b
Prevent SystemStackError on Issue#all_dependent_issues with circular dependency ( #7320 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4723 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-01-15 14:12:18 +00:00
Jean-Philippe Lang
d2b6a6bc2c
Adds a test for issue circular dependency validation.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4721 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-01-15 14:03:39 +00:00
Jean-Philippe Lang
a81953ef84
Adds a test for TimeEntry#spent_on= with invalid string.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4709 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-01-14 18:45:28 +00:00
Jean-Philippe Lang
88d847a1d5
Fixes TimeEntry#spent_on= so that datetimes don't get stored in SQLite3 ( #7258 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4708 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-01-14 18:04:16 +00:00
Toshi MARUYAMA
7a35682cd9
scm: mercurial: unit lib test for entries accept both of revision number and changeset id ( #3724 , #3421 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4705 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-01-13 12:05:11 +00:00
Toshi MARUYAMA
89627d0334
scm: mercurial: fix error on revision page for empty revision ( #7307 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4704 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-01-13 12:04:51 +00:00
Toshi MARUYAMA
98b3a50657
scm: fix error on revision page for empty revision ( #7307 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4703 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-01-13 12:04:30 +00:00
Toshi MARUYAMA
fdd0a2ca9b
scm: mercurial: use revision text mercurial style "2:400bb8672109" ( #3724 ).
...
Contributed by Yuya Nishihara.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4697 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-01-11 16:03:45 +00:00
Toshi MARUYAMA
f17e1ce368
scm: mercurial: add "commit:xxx" and "rNN" link test for mercurial ( #3724 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4696 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-01-11 16:03:24 +00:00
Toshi MARUYAMA
d67185ec7e
scm: mercurial: use scmid as identifier ( #3724 ).
...
Contributed by Yuya Nishihara.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4695 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-01-11 16:03:01 +00:00
Toshi MARUYAMA
fb51f27b8a
scm: fix indents in "commit:xxx" unit test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4692 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-01-11 15:23:42 +00:00
Toshi MARUYAMA
e92cd2091c
scm: fix assert_equal parameter order in subversion and git unit test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4691 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-01-11 15:23:22 +00:00
Toshi MARUYAMA
6a6b68d295
scm: add compatible "commit:xxx" link test for git and darcs.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4690 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-01-11 11:06:56 +00:00
Toshi MARUYAMA
80b329d031
scm: mercurial: change diff option from --git to --config diff.git=false ( #7253 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4688 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-01-11 08:41:35 +00:00
Toshi MARUYAMA
a6f05b5e56
scm: mercurial: diff '-c' option supports above Mercurial 1.2 ( #3724 , #7253 ).
...
r4662 fails in old Mercurial.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4686 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-01-11 05:15:56 +00:00
Jean-Philippe Lang
f1a5dca2ba
Fixed: wiki pages with cyrillic characters not found with postgresql ( #7245 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4680 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-01-10 18:32:04 +00:00
Jean-Philippe Lang
88727bf070
Adds fallback to 'en' locale for untranslated strings ( #5518 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4679 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-01-10 18:25:12 +00:00
Jean-Philippe Lang
bebde1596c
Make sure en is the current locale when running the test ( #7266 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4677 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-01-10 17:55:57 +00:00